drawcode / jquery-oembed

Automatically exported from code.google.com/p/jquery-oembed
0 stars 0 forks source link

YouTube can't play on latest firefox #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I adding youtube video but their can't play on latest firefox. 
After investigate i found the problem is missing parameter 
wmode="transparent" on generate embed code for youtube video 

this is a embed code generated by jquery-oembed (fail to play)

<embed width="480" height="295" allowfullscreen="true" 
allowscriptaccess="always" type="application/x-shockwave-flash" 
src="http://www.youtube.com/v/vGiYX6RCln0&amp;fs=1"/>

it should be add wmode parameter like this 
<embed width="480" height="295" allowfullscreen="true" 
allowscriptaccess="always" type="application/x-shockwave-flash" 
src="http://www.youtube.com/v/vGiYX6RCln0&amp;fs=1" wmode="transparent"/>

My Question how to adding wmode parameter in jquery-oembed? I'm try to edit 
the javascript but i'ts not work to add the parameter :(

Original issue reported on code.google.com by ashadi...@gmail.com on 4 Jun 2010 at 9:39

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I would advise you to not explicitly set the wmode value to transparent, opaque 
is more efficient if you don't actually need transparency in your flash. opaque 
should be used most of the time, it is the correct setting for most video 
players.

http://stackoverflow.com/questions/886864/differences-between-using-wmode-transp
arent-opaque-or-window-for-an-embe

Original comment by omcent...@gmail.com on 8 Mar 2012 at 3:48