Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

youtube embed - fullscreen button does not work

recently I discovered issues with embedded youtube videos on my site - the fullscreen-button does not work anymore. It sure did once. The button is visible, but when clicked, nothing happens.

I'm using the Youtube Javascript API to embed videos in my website, much like this example by Google http://code.google.com/apis/ajax/playground/?exp=youtube#simple_embed

I use the fs=1-Parameter to enable the Fullscreen-Button. If you wanna try this out, just append it to the URL-Parameters in the example and hit "Run Code". It even doesn't seem to work in the Google Code Playground! Is this a general problem or might there be some workaround? I tried this in Chrome, FF and Opera, it's all the same.

My site http://trashnet.de/youloop/?id=HCdkYRx63HM

Best regards :)

like image 589
Ti Hausmann Avatar asked Dec 13 '25 00:12

Ti Hausmann


1 Answers

Ah, figured it out: you need to set allowFullScreen to 'true'.

like image 78
John P Bloch Avatar answered Dec 15 '25 07:12

John P Bloch



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!