ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix embed that does not start on firefox
Chocobozzz4dd551a06642
diff --git a/client/src/assets/player/peertube-videojs-plugin.ts b/client/src/assets/player/peertube-videojs-plugin.tsindex 090cc53ba6..7cf3ea6ccb 100644--- a/client/src/assets/player/peertube-videojs-plugin.ts+++ b/client/src/assets/player/peertube-videojs-plugin.ts@@ -216,7 +216,12 @@ const peertubePlugin = function (options: PeertubePluginOptions) {if (options.autoplay === true) {player.updateVideoFile()} else {- player.one('play', () => player.updateVideoFile())+ player.one('play', () => {+ // Pause, we wait the video to load before+ player.pause()++ player.updateVideoFile(undefined, () => player.play())+ })}setInterval(() => {