Mobile app version of vmapp.org
Login or Join
Michele947

: YouTube fullscreen not displaying For some reason YouTube videos in my website do not get the fullscreen button, even if I added the parameter allowFullScreen set to true both in the object

@Michele947

Posted in: #Embed #Youtube

For some reason YouTube videos in my website do not get the fullscreen button, even if I added the parameter allowFullScreen set to true both in the object and embed tag.

Here's an example page: www.indievault.it/2011/11/09/indie-vault-alla-games-week-2011-online-la-video-gallery/
Just take a quick look at the source. The allowFullScreen param is there, but the button won't show. Here's an excerpt from the code in that page:

<object width="540" height="325"><param name="movie" value="http://www.youtube.com/v/dvYQhJwwkgA"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/dvYQhJwwkgA" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="540" height="325"></embed </object>

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Michele947

2 Comments

Sorted by latest first Latest Oldest Best

 

@Annie201

This works for me

<object width="540" height="325"><param name="movie" value="http://www.youtube.com/v/dvYQhJwwkgA?version=3&amp;hl=en_US&amp;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/dvYQhJwwkgA?version=3&amp;hl=en_US&amp;rel=0" type="application/x-shockwave-flash" width="540" height="325" allowscriptaccess="always" allowfullscreen="true"></embed></object>​

10% popularity Vote Up Vote Down


 

@BetL925

Try to change your code with this one:

<iframe title="YouTube video player"
width="540" height="325"
src="http://www.youtube.com/v/dvYQhJwwkgA?rel=0"
frameborder="0" allowfullscreen>
</iframe>

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme