![]() |
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:
|
All times are GMT. The time now is 09:23 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:
|