![]() |
Sorry if I'm asking a question that has previously been answered, but can anyone confirm or not if this works for GameTrailers videos as well? I've searched through the thread and it looks as thought you have to add the code in yourself and I don't really fancy that.
|
Geek any words on my issue yet ? I thought this mod was supported ? DO i have to go to some other site to get support or just asking here is sufficient ?
|
Quote:
My hack seems to be a mess, I just installed 10 functions and the half doesn't work: http://chat.iogames.com/news/54-yout...ternships.html 1. YouTube: OK! 2. MySpace: doesn't respect PLAY or PAUSE [Maybe is the Video] 3. Google: OK! 4. Yahoo: Any URL I enter, shows the SAME video 5. Amazon: OK! 6. MetaCafe: Always shows a LINK, no a player... 7. iFilm: OK! 8. LiveLeak: OK! 9. VideoTube: Doesn't exist!!! 10. Bolt: OK! Ah! and something strange happens, a NEW MEDIA DEFINITION appears in the TOP and it wasn't there the last version... Can somebody help me??? |
Quote:
|
Quote:
|
Quote:
|
Quote:
return ame_process_bbcode(&$parser, $text, $option); to return ame_process_bbcode($parser, $text, $option); And let me know if that helps |
Quote:
The only one Im wondering about is the metacafe as that is default. Can you post some examples of the URLs that are not parsing? The blank item looks like an import or item that was created/edited with no name. Either edit it and put a name in or delete it. HTHs |
Quote:
|
Quote:
|
the Yahoo! Videos RegEx that was created does NOT work ... It plays the same video, no matter what URL you put, so for those who have that one installed, I would disable it by uncheking the "Active" option until a fix for Yahoo! Videos is released.
|
Okay so I'm trying to work on the fix for Yahoo! Videos for AME, but I highly doubt it'll be possible to support Yahoo! Videos because we need two things in order to get the embed to work and display the video, but the URL's only provide one of those two things. Let me explain ...
URL is: Code:
http://video.yahoo.com/video/play?vid=744707&fr=&cache=1 Code:
<embed src="http://us.i1.yimg.com/cosmos.bcst.yahoo.com/player/media/swf/FLVVideoSolo.swf" flashvars="vid=VIDEOvidHERE&id=VIDEOidHERE" type="application/x-shockwave-flash" width="425" height="350"></embed> We need to retrieve the vid= (which is 744707 for this example) and that's great and no problem as we can do that with RegexBuddy, but the other part we need is id=, which is not in the URL, so how can we get it? Any ideas? The id= information can be found on the Video's Yahoo! page under the <embed> code they provide in the "Add to Site:" section. Anyways, if anyone has a solution for this, then let me know cause if not, then Yahoo! Videos is out the question for this Hack. The only solution I can think of right now is for The Geek to add some more coding into the Hack so that the server will request the Yahoo! Video Page and find the contents of id=, then recreate the URL so it includes that information. - Danny PS. For DailyMotion it would be the same exact thing, it wont work unless we can get this Hack to request the Video Page and find the contents of the information needed that's not included in the URL already. |
projectego,
Per your request, here is the GameTrailers RegEx ... Just import and it should work, let me know if anything :up: EDIT (7/19/2007): Re-uploaded and fixed ... Old one was not working properly. Attached the new version as seen here. |
DiesellMinded, per your request ... here is FileCabi.net's RegEx File :up:
NOTE: Only problem is, that the videos AutoStart by default, I cannot seem to be able to get them to load as paused. Other than that, it works fine ... Enjoy! |
Thanks A Ton , Our members just came across this site and they keep posting links !
lol Thanks Again DM |
Great contributions Dannt, thanks for the work!
The pages ARE requested at parse time IF the option to resolve titles is on (and the server config allows it). I suppose I can try to come up with a way to extract the embed code... I just have to figure out how to impliment it as a standard feature. I suppose I could have an additional (optional) regexp for extracting page values. ANy other ideas? |
No problem :up: glad to help ...
It would be awesome if you could make the additional regexp to extract the <embed> code from the page if the information is not included in the URL and have this be an Optional setting in the AME CP ... If you want, you could take a look at passiveVid's code as the author made it to request the information for Yahoo! Videos since they dont contain the id= in the URL. Let me know how that goes ... Thanks again for the support for this Hack ... Oh and the Sites that would require the use of this setting (from the ones requested so far) are: - Yahoo! Videos - DailyMotion.com - esnips.com |
I think someone had requested this, so here it is ... Support for RealMedia Videos (.rm) and for Quicktime Videos (.mov) ... Enjoy! :D:up:;):p
- Danny |
I'm also seeing the warning in the logs:
PHP Warning: Call-time pass-by-reference has been deprecated - argument p assed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future version s may not support this any longer. in ....../includes/class_bbcode.php(181) : eval()'d code on line 7 |
Quote:
|
So is there a way we can get http://www.dailymotion.com
|
Subah, import the attached file on this one to have Support for RealMedia's .ram Files, leave the other one installed though, you'll need both (one for .rm files and the other for .ram files) ... :up: ...
Jammydodger, did you read my post and The Geek's post on the previous page? I think that will answer your question ... Be patient ... Tom1234, did you try to do the edit to the bbcode_create hook for [AME] (AdminCP > Plugins & Products > Plugin Manager)? If not, then ... FIND: Code:
return ame_process_bbcode(&$parser, $text, $option); Code:
return ame_process_bbcode($parser, $text, $option); |
Here is an AME export for videos from CarpixTV.
|
Well I decided to edit my HTML Container so that its a Collapsible Box, instead of just a box ... This way the user has the option to hide/unhide the videos located on the page. If you want to have your AME Media Boxes be Collapsible replace the following in the "Settings" Option of AME CP.
HTML Container Open: HTML Code:
<div align="center"> HTML Code:
</td> |
Quote:
|
:D Glad you like it :up:
The Geek, I PM'ed you about a problem I'm having, can you help me out with that? I'm getting this error when I set a certain RegExp to Active on the AME CP, if it's Inactive then the error goes away. I PM'ed you the contents of the .xml for the RegExp that's causing the error, hopefully you can help me out ... The error displays in the showthread page ... Error: Code:
Warning: preg_replace() [function.preg-replace]: Compilation failed: range out of order in character class at offset 32 in /includes/ame_bbcode.php on line 336 |
I think you need to escape your hyphens like:
PHP Code:
|
DOH! Damn, that makes me feel so dumb, how did I miss that, I looked at the thing like 100 times and didn't catch that ... Thanks!
Alright guys, so I know a lot of you want this one, so I cooked it up, thanks to The_Geek for helping me trouble shoot a little problem I was having, lol ... Enjoy Support for DivX/Stage6! |
Awesome also support for WMV files, and gamespot files would be awesome. E3 started today and i need gamespot video embeds badly :|
Their embed link looks like: Quote:
|
^ WMV Files are already supported, search a few pages back and you'll find the .XML File to download and import into the AME CP ...
As far as gamespot support ... they have way too many different links for different types of videos hosted, some of the links do not include the information that is needed in the embed code, thus not making it work ... |
Quote:
And Geek thank you very much for such a great product! :up: |
Can i just say, this is the best hack i have every installed, exactly what was needed...
Please create imports for: www.pornotube.com www.youporn.com Thanks in advance.... |
How about zshare? www.zshare.net
|
As an FYI, I updated the package to address the occasional php reference error. If you manually applied the fix or are not having problems, don't worry about updating :)
The only change is to the product xml so upgrading means only re-uploading the product xml. Ill update the first and second posts with the latest user contributions. nJoy |
^ Cool, thanks ... Any news on the requesting of the embed code from the site's that dont contain all the information needed in the URL, such as Yahoo?
- Danny |
I started to take a stab at it, but I just didnt have the time to code the back end. It shouldnt take too long, but I have loads of work before I head out on vacation :)
So... no :) Will I get to it before I leave? 50/50 chance :| |
Thanks for this great Mod! Everthing is working fine...but if i want to edit my post or other Users, i see the html code for AME. If i save my post the link is full of html code.
|
Quote:
EDIT: In addition, I am getting some display errors, I updated to the latest version and it's looking wierd ... Could that be fixed? It seems the new version messed up something with the HTML Container ... It is making the video show twice and its also making it be inside another box ... why? NEW EDIT: Nevermind the above, the reason was that when I uploaded the product (per instructions), it re-added all the sites that came default with the Hack, so I just deleted the ones that were doubled and it fixed it .... |
Thanks for the Updating :)
|
Im getting old so I might be a little blind, I saw someone ask on Page 19 if there is a plan for break.com embedding in the near future, but I didnt see a response to that, I want to install it but one of the main sites I want to use it with would be break.com... Did I miss the answer to that question? If so smack me please. :)
|
All times are GMT. The time now is 11:50 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|