mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Explicitly set poster in js
This commit is contained in:
parent
4c194afce9
commit
04dd7d7f90
@ -6,6 +6,7 @@ window.VIDEOJS_NO_DYNAMIC_STYLE = true;
|
||||
|
||||
// Create the player for the first time
|
||||
const player = videojs('video', null, function () {
|
||||
player.poster('/thumbnail.jpg');
|
||||
getStatus();
|
||||
setInterval(getStatus, 5000);
|
||||
setupPlayerEventHandlers();
|
||||
|
Loading…
x
Reference in New Issue
Block a user