Report any technical problems you discover and discuss solutions.

expand youtube video to full screen

Plus d'informations
il y a 10 ans 9 mois #3219 par ronm
Réponse de ronm sur le sujet expand youtube video to full screen
Yes the checking not false rather than equal to true option didn't seem to be working either so either comment out or probably just remove the condition e.g.

//if (iframe.allowfullscreen != false) { --delete this line
html += " allowfullscreen";
//} - and delete this line
Then possibly clear cache/offline files before refreshing and trying again.
HTH
Ron

Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 10 ans 9 mois #3221 par julten
Réponse de julten sur le sujet expand youtube video to full screen
Is here any reason we should not remove the condition?
Maybe it is checking for strings rather than booleans?

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 10 ans 9 mois #3223 par julten
Réponse de julten sur le sujet expand youtube video to full screen
Well, I cannot think of a good reason not to allow the control to be there: it's up to the user whether or not they use it which is in-keeping with our 'put the user in control' principle; it's good on tablets / phones and it's just generally good accessibility-wise. I don't know whether youtube users can choose to disable this when a movie is published, but ultimately surely it's up to the end-user whether they use it or not?

I've commited a change, and removed the condition.
Les utilisateur(s) suivant ont remercié: 0kee

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: ronmjultenJohnSmith
Temps de génération de la page : 0.109 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo