mediacms-io / mediacms

MediaCMS is a modern, fully featured open source video and media CMS, written in Python/Django and React, featuring a REST API.
https://mediacms.io
GNU Affero General Public License v3.0
2.85k stars 531 forks source link

Browser exits fullscreen mode with autoplay #1051

Open Stuw opened 2 months ago

Stuw commented 2 months ago

Describe the issue Fullscreen exits when autoplay switches to another video.

To Reproduce Steps to reproduce the issue:

  1. Go to a video with next video item (for example https://demo.mediacms.io/view?m=GzGPjJEuN, next item is also video)
  2. Check that autoplay is enabled
  3. Start playing video
  4. Enter full screen mode
  5. Optionally change video position closer to the end of the video
  6. Wait for the end
  7. Wait for playing next video
  8. Browser exits fullscreen mode when new video is started

Expected behavior Browser keeps fullscreen mode when new video is started

Environment (please complete the following information):