In the iframe created for HTML5 video playback, Youtube videos have the fullscreen button greyed out. I'll upload a simple patch to allow fullscreen in a minute.
The approach I'm taking is to add the "allowfullscreen" attribute automatically to the iframe element that is generated. I see things like "frameborder" added automatically, and I don't see a lot of people who would need to have this as a configurable option for end users.
If the behavior is not wanted automatically, I suppose a variable could be added to the module settings to add this attribute automatically, but using the 80/20 logic, I think it should just be added by default on module installation.
Comments
Comment #2
afinnarn commenteduploading patch
Comment #3
afinnarn commentedadding a patch against the 7.x-3.1 tag...because my other patch wouldn't apply to the version of this module I have.
Comment #4
rvtraveller commentedThe patch in #3 doesn't apply to the dev version of the module because the markup seems to have changed (commit f9a7151492e30e2a10f2247653784ea3970bbdde). Adding a new patch that applies to dev and resolves the issue. It also keeps @afinnarn's approach to just giving everyone fullscreen.
Comment #5
afinnarn commented...attributing credit to employer instead of volunteering time
Comment #6
fullerja commentedPatch in #2 applies to dev and works for me
Comment #7
kevincrafts commented#3 worked for me.
Comment #8
rvtraveller commentedWhoops. Completely missed that @afinnarn's patch in #2 was the same as what I did in #4. Since our patches are the same, +1 to RTBC.
Comment #10
damienmckennaCommitted.
Comment #11
minnur commented