Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fullscreen not working when playing within iframe #148

Closed
tonic20 opened this Issue · 2 comments

2 participants

Anton Kopylov Matthias Dietrich
Anton Kopylov

I found closed month ago issue #119.

But I have absolutely the same issue: Having a video within an iframe. Chrome does nothing when clicking on fullscreen, Firefox goes "full iframe". Both are the latest public versions.

Is is possible to play fullscreen video in iframe without that solution (open a new another window in full screen size)?
What do your think?

Best,
Anton.

Matthias Dietrich

Yes, of course. You have to add the attribute allowfullscreen to the <iframe> tag (with all browser prefixes). Eg.:

<iframe src="..." width="..." height="..." frameborder="0" allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen></iframe>

If you're unable to do this (because the video is already embedded somewhere without your access) you have to go with the workaround (new window in full size).

Anton Kopylov

Thank you!

Anton Kopylov tonic20 closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.