Skip to content
This repository has been archived by the owner on Oct 30, 2022. It is now read-only.

Fullscreen for embedded Vimeo video not working in Chrome #48

Open
ismaelw opened this issue Nov 29, 2016 · 3 comments
Open

Fullscreen for embedded Vimeo video not working in Chrome #48

ismaelw opened this issue Nov 29, 2016 · 3 comments

Comments

@ismaelw
Copy link

ismaelw commented Nov 29, 2016

On my website I use this modal to show a video hosted on vimeo.

In every browser it works just fine. But in Google Chrome I don't get it to work. When I click the "fullscreen" button in the vimeo embedded video the whole page goes fullscreen but the video doesn't. In this fullscreen mode you can't do anything on the site. Scrolling and clicking does nothing.

My embedding code looks like this:

<iframe src="https://player.vimeo.com/video/XXXXXXXX?autoplay=1&amp;title=0&amp;byline=0" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe>

What can I do to fix this issue?

@falconshark
Copy link

This is the bug of animated.css on Chrome.
To fix this issue, you can try this workaround:

1. Add a custom class with value:

.full-screen-video{
   animation-fill-mode: none !important;
}

2. Add this class to your modal.

Reference:
http://stackoverflow.com/questions/32323499/full-screen-video-issue-when-using-animate-css-in-chrome

@LordMochito
Copy link

This solved the problem for me. thank you very much :)

@jesserosenfield
Copy link

jesserosenfield commented Mar 27, 2019

also please keep in mind that if your iframe src is

src="//player.vimeo.com/..."

instead of

src="https://player.vimeo.com/..."

chrome will hide the full screen button.

Fancybox 3 does this and I had to update the plugin file to fix it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants