player.js
player.js copied to clipboard
Video don't resume when focus tab again in iPhone
Expected Behavior
When set as loop: true
, autoplay: true
and autopause: false
, we expect the video continue when leave the tab or at least resume when the tab is focused again.
Actual Behavior
The play
event is fired but the player still paused.
Steps to Reproduce
- Goto https://player.vimeo.com/api/demo
- Uncheck the
autopause
flag - Check the
loop
one - Set Mute
Then play the video, change tab for a second and get back to the tab with the Player
Here is a screencast:
https://user-images.githubusercontent.com/784056/167831579-7da7d655-7207-4bb0-8254-fc3da098e972.mp4
Looking the logs, seems that for some reason the video is paused
when switching tab (and it is ok for me), an seems that the event play
is fired, but the video it isn't.
Thanks for filing this issue. Do you only observe this issue on iOS or have you been able to reproduce on other platforms?
have you been able to reproduce on other platforms?
I am able to reproduce only on this phone right now.
In desktop seems to work as expected, since don't pause when switching tab and continues playing.