mage2tv / issues

This repository is used as an issue tracker for the Mage2 TV website
https://mage2.tv/
9 stars 0 forks source link

Autoplay next video doesn't work #46

Closed Stepa4man closed 5 years ago

Stepa4man commented 5 years ago

Description

After playing current video, player switched to the next one, but doesn't start play it. The only spinner spins: image

ENV

OS: Linux Ubuntu Browser: Google Chrome Version: 71.0.3578.98 (Official Build) (64-bit)

Steps to reproduce

  1. Go to any video page
  2. Switch on autoplay
  3. Watch or scroll video till the end

Expected result

  1. Next vidoe displayed
  2. It starts play automatically

Actual result

  1. Next video displayed
  2. Spinner in front of video started to spin
  3. Nothing happened
Vinai commented 5 years ago

Thanks for the issue @Stepa4man! The vimeo player JavaScript API is a bit unstable it seems. Does this always happen for you? Does it make a difference if you clear local storage and force reload the page?

Stepa4man commented 5 years ago

Hey @Vinai! Happy New year!

It happens all the time at Chrome, FireFox. Even if I clear local storage for both mage2.tv and vimeo. image

Vinai commented 5 years ago

Hi, thanks for reporting your issue. Unfortunately I still can't reproduce the issue on OS X. On some mobile devices (iPads and iPhones) playing video in a browser without user interaction has unfortunately been disabled by Apple.

With chrome browser (regardless on which platform) the autoplay behavior is based on previous interactions with the website. That is, if you have started videos recently a few times explicitly, chrome will allow autoplay to work. I've read reports of similar behavior on Safari, too.

In Firefox it should work. I do not know about Operas behavior in regards to video autoplay.

But just in case it helps, I have added a button to refresh the application state on the bottom of the Account Profile page.

Bildschirmfoto 2019-04-15 um 16 00 29

This at least should help in cases where a video doesn't properly progress to the correct next video after an update to the website.

Vinai commented 5 years ago

Closed, mainly because I haven't heard this issue in a long time.