Keyword

HACK to fix current version to work with Yahoo Videos

  • blanius
  • blanius's Avatar Topic Author
  • Offline
  • New Member
More
16 years 10 months ago #22014 by blanius
// video.yahoo.com - http://video.yahoo.com/watch/3169238/8981933
"yahoo" => "
<span style=\"width:{VWIDTH}px;height:{VHEIGHT}px;\" class=\"allvideos_player\" title=\"JoomlaWorks AllVideos Player\">
	<object  style=\"width:{VWIDTH}px;height:{VHEIGHT}px;\" >
		<param name=\"movie\" value=\"http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.40\" />
		<param name=\"quality\" value=\"high\" />
		<param name=\"wmode\" value=\"{TRANSPARENCY}\" />
		<param name=\"bgcolor\" value=\"{BACKGROUND}\" />
		<param name=\"autoplay\" value=\"{AUTOPLAY}\" />
		<param name=\"allowfullscreen\" value=\"true\" />
		<param name=\"allowscriptaccess\" value=\"always\" />
		<param name=\"flashvars\" value=\"{AVSOURCE}\" />
				     <embed src=\"http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.40\"  flashVars=\"{AVSOURCE}\" width=\"{VWIDTH}px\" height=\"{VHEIGHT}px\" allowFullScreen=\"true\" AllowScriptAccess=\"always\" bgcolor=\"{BACKGROUND}\" ></embed>
	</object>
</span>

Also for those that want Tangle replace Godtube with:
// tangle.com -http://www.tangle.com/view_video.php?viewkey=4cecaf85f98283ec35a4
"tangle" => "
<span style=\"width:{VWIDTH}px;height:{VHEIGHT}px;\" class=\"allvideos_player\" title=\"JoomlaWorks AllVideos Player\">
	<object type=\"application/x-shockwave-flash\" style=\"width:{VWIDTH}px;height:{VHEIGHT}px;\" data=\"http://www.tangle.com/flash/swf/flvplayer.swf\">
		<param name=\"movie\" value=\"http://www.tangle.com/flash/swf/flvplayer.swf\" />
		<param name=\"quality\" value=\"high\" />
		<param name=\"wmode\" value=\"{TRANSPARENCY}\" />
		<param name=\"bgcolor\" value=\"{BACKGROUND}\" />
		<param name=\"autoplay\" value=\"{AUTOPLAY}\" />
		<param name=\"allowfullscreen\" value=\"true\" />
		<param name=\"allowscriptaccess\" value=\"sameDomain\" />
		<param name=\"flashvars\" value=\"viewkey={AVSOURCE}\" />
	</object>
</span>

Perhaps Joomlaworks will release an update for future so you won't have to hack source PHP

Please Log in or Create an account to join the conversation.

More
16 years 10 months ago #22015 by wmbell
Thanks, blanius!

You may want to remove the word "HACK", from your post's title.  I don't know if this is something they may consider unacceptable?

Maybe change it to... "Fix" AllVideos To Work With Yahoo Videos!



=)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum