vimeo / player.js

Interact with and control an embedded Vimeo Player.
https://player.vimeo.com/api/demo
MIT License
1.44k stars 262 forks source link

Autopause not working in Firefox (even private browsing) #377

Closed gilbert-hop closed 5 years ago

gilbert-hop commented 5 years ago

Expected Behavior

With multiple embeds, when a video is clicked to play all other videos should pause.

Actual Behavior

On Firefox, you can play multiple videos at once. Tested in version 64, 65.

Steps to Reproduce

Embed multiple Vimeo videos, try to play 2 of them at once (on Chrome the previous video gets paused, on Firefox both videos play)

gilbert-hop commented 5 years ago

https://www.wendymogel.com/media

Actually a client reported this. I will send your jsfiddle to see if they can replicate the issue with their machine.

Thanks for looking into this.

On Thu, Feb 21, 2019 at 6:02 PM Matt Fisher notifications@github.com wrote:

@gilbert-hop https://github.com/gilbert-hop I am testing https://jsfiddle.net/pLsuoa9q/ on Firefox 65 on OSX and I am unable to replicate your issue. Can you provide a link or example of a configuration where you are encountering this issue?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vimeo/player.js/issues/377#issuecomment-466243673, or mute the thread https://github.com/notifications/unsubscribe-auth/AiJ2C1bLSbpkK3M1_MOnpWnP5-silc61ks5vP0-tgaJpZM4a6CyO .

luwes commented 5 years ago

@gilbert-hop we can replicate this when disabling cookies (also disables localStorage). In turn this breaks the autopause functionality, it relies on localStorage to send data between the separate players that each run in an iframe which are basically separate webpages.

Do you happen to know if the user did disable cookies? Private browsing could have an affect, depends on the browser I believe.

luwes commented 5 years ago

Closing for now as this seems out of our control. Please let us know if you have additional information that could be of help. Thanks