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

Add a workaround for the start time race condition in Video.js #928

Open KyleMaas opened 7 months ago

KyleMaas commented 7 months ago

Description

Turns out the timestamp problem is due to a race condition within Video.js. Since we can't really fix that without breaking the ability to update Video.js in the future, this adds a workaround for the race condition so that linking to a particular time in a video works.

Fixes #926

See also https://github.com/mediacms-io/mediacms/discussions/319

Steps

Pre-deploy

Post-deploy