Forum moderator: bigblog |
uCoz Community For Webmasters Custom Solutions How to make your personal jw player for youtube videos (for trailers, movies, gameplays etc...) |
How to make your personal jw player for youtube videos |
belmo996, this is your code:
Code <center><script type='text/javascript' src='http://download-baza.ucoz.com//player/swfobject.js'></script><div id="mediaspace">This text will be replaced</div><script type='text/javascript'> var so = new SWFObject('http://download-baza.ucoz.com//player/player.swf','mpl','580','400','9'); so.addParam('allowfullscreen','true'); so.addParam('allowscriptaccess','always'); so.addParam('wmode','opaque'); so.addVariable('image','your image, logo etc'); so.addVariable('skin','http://download-baza.ucoz.com//player/player.swf'); so.addVariable('file','http://www.youtube.com/watch?v=stKHUgIlNSA&feature=g-all-lik'); so.write('mediaspace'); </script></center><$else?> add <?if($AUTHOR_SITE$)?> in the beginig of the code. end it with <?endif?> not <?else?> and remove: Code so.addVariable('skin','http://download-baza.ucoz.com//player/player.swf'); from the code.... |
| |||