aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/assets')
-rw-r--r--client/src/assets/player/peertube-player-manager.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/assets/player/peertube-player-manager.ts b/client/src/assets/player/peertube-player-manager.ts
index 4d72523f7..af044c864 100644
--- a/client/src/assets/player/peertube-player-manager.ts
+++ b/client/src/assets/player/peertube-player-manager.ts
@@ -119,6 +119,10 @@ export class PeertubePlayerManager {
119 119
120 private static alreadyPlayed = false 120 private static alreadyPlayed = false
121 121
122 static initState () {
123 PeertubePlayerManager.alreadyPlayed = false
124 }
125
122 static async initialize (mode: PlayerMode, options: PeertubePlayerManagerOptions, onPlayerChange: (player: videojs.Player) => void) { 126 static async initialize (mode: PlayerMode, options: PeertubePlayerManagerOptions, onPlayerChange: (player: videojs.Player) => void) {
123 let p2pMediaLoader: any 127 let p2pMediaLoader: any
124 128