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.52k stars 459 forks source link

Empty preview thumbnail in chrome for videos longer 35 minutes #950

Open seregaizsbera opened 5 months ago

seregaizsbera commented 5 months ago

Describe the issue In chrome-based browsers, when video is longer than 35 minutes, time-bar previews are shown as empty rectangles.

To Reproduce Steps to reproduce the issue:

  1. Upload video 35+ minutes long
  2. Play it
  3. Move mouse pointer to the middle of the time-bar control

Expected behavior A preview thumbnail shows up.

Actual behaviour A preview thumbnail appears as empty transparent rectangular.

Screenshots image

Environment (please complete the following information):

Additional context The issue doesn't reproduce in Firefox, nor in Vivaldy. The issue is reported to take place in some other chrome-based browsers.

This seems to be a hard-to-fix issue in chrome with rendering large background images. It is reasonable to use another implementation of preview, operating with collection of smaller images, like youtube does.