player.js icon indicating copy to clipboard operation
player.js copied to clipboard

Autopause not working in Firefox & chrome

Open stmaheswari opened this issue 3 years ago • 18 comments

Expected Behavior

When have multiple videos on same page , click on 1st one and then next 2nd one. Now the 1st video should be paused but its not happening.

Actual Behavior

Until pause it manually it plays when have multiple videos.

Steps to Reproduce

I have two videos in my div

stmaheswari avatar May 07 '21 08:05 stmaheswari

Thanks for reporting! This has been ticketed for review and fix.

fisherinnovation avatar May 08 '21 01:05 fisherinnovation

Helo! @fisherinnovation

Is there any solution for this? I'm working with tabs, so the user has to click on a button to change tabs.

How can I assign the button to pause all videos? Every time an ID or Class is clicked pausing all the videos on the page, is this possible with the API?

ofmarconi avatar May 21 '21 18:05 ofmarconi

This issue is being reviewed by the engineering team and a fix is in the works. I will ensure this thread is updated when the solution is public facing.

fisherinnovation avatar May 24 '21 21:05 fisherinnovation

@fisherinnovation

any news on this?

RL-av avatar Aug 05 '21 10:08 RL-av

We just got Vimeo premium and we're facing this same issue with background enabled.

Any news on this?

ChazyTheBest avatar Nov 05 '21 17:11 ChazyTheBest

Hi @fisherinnovation

Is there any update on this as it's still an issue?

ltbmedia avatar Jan 19 '22 11:01 ltbmedia

autopause not working on Mac OSX Big Sure, Chrome Version 98.0.4758.80 (Official Build) (x86_64)

PeterVermeulen avatar Feb 03 '22 15:02 PeterVermeulen

I'm sure everyone is aware, but for completeness-sake it's also a problem on Win 10 with Chrome v100.0.x.

Got a hero video which does not pause when a modal video starts playing.

phoshenwen avatar May 06 '22 17:05 phoshenwen

vimeo is tr*sh

ofmarconi avatar Jul 14 '22 23:07 ofmarconi

It would be helpful if someone experiencing this issue could provide a reproducible example. Here's one that I set up using the embed code from OP (but with new clips, as those ones have been deleted): https://jsfiddle.net/rowankrishnan/tpdga0jh/1/

Unable to reproduce this issue on Chrome 103.0.5060.114 or Firefox 102.0.1.

rkrishnan8594 avatar Jul 15 '22 03:07 rkrishnan8594

@rkrishnan8594 https://www.loom.com/share/7e5b41230e0a4583acb250c7997a694d

ofmarconi avatar Jul 15 '22 03:07 ofmarconi

@ofmarconi What OS (+ version) are you using?

rkrishnan8594 avatar Jul 15 '22 03:07 rkrishnan8594

image

thx

ofmarconi avatar Jul 15 '22 11:07 ofmarconi

Thank you. We will take a look at this issue next week.

rkrishnan8594 avatar Jul 15 '22 13:07 rkrishnan8594

@ofmarconi We're not able to reproduce this bug on Windows 10 running Chrome 103. It might be worth confirming your cookie settings in Chrome, as blocking third party cookies under some or all contexts would lead to autopause functionality not working.

rkrishnan8594 avatar Jul 26 '22 03:07 rkrishnan8594

@rkrishnan8594 thanks for investigating, I did another test, in all browsers I have here, none except chrome have some kind of extension, all "virgin"

https://www.loom.com/share/b84c8e6f45b24aca86b49b23cda43c8b

And all with the same issue.

Do you need more information?

I also tested it on another notebook with Windows 10 and the same thing, the two videos are played simultaneously.

ofmarconi avatar Jul 26 '22 12:07 ofmarconi

@ofmarconi We'll be doing some more testing internally; I'll let you know whether we're able to confirm the issue.

rkrishnan8594 avatar Jul 26 '22 13:07 rkrishnan8594

We tested Chrome, Firefox, and Edge on an actual machine running Windows 10 (as opposed to a simulator) and are still not able to reproduce this issue. Here's the screen recording of our test in Chrome: https://vimeo.com/733694733/29252a274a

At this time, there's not much else that we can do to reproduce the issue. I will leave this issue thread open for posterity, but for anyone experiencing this issue, I would encourage you to ensure that you are not blocking 3rd party sites from using cookies or local storage, as that would break autopause functionality.

rkrishnan8594 avatar Jul 26 '22 18:07 rkrishnan8594