javascript - iOS Youtube iframe bug -


i playing embedded youtube video (iframe) on ios. want manipulate iframe's size dynamically javascript. noticed when change frame's size javascript, video not playing (not clickable) on ios (on pc/android ok).

i simulated here. if remove javascript video playing again!

i think related change on youtube's code, because old code used work until somewhere last week.

any ideas?

thanks!

the code:

<iframe id="aa" src="http://www.youtube.com/embed/54vtxri32mq" frameborder="0" allowfullscreen></iframe> 

js:

$('iframe').css({'height' : '250px'}); $('iframe').css({'width' : '400px'}); 

apparently google's bug (#10, #11). #14's workaround solved problem!


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -