aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player/peertube-player-manager.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/assets/player/peertube-player-manager.ts')
-rw-r--r--client/src/assets/player/peertube-player-manager.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/client/src/assets/player/peertube-player-manager.ts b/client/src/assets/player/peertube-player-manager.ts
index b112e231f..ed82e0496 100644
--- a/client/src/assets/player/peertube-player-manager.ts
+++ b/client/src/assets/player/peertube-player-manager.ts
@@ -220,7 +220,9 @@ export class PeertubePlayerManager {
220 const isHLS = mode === 'p2p-media-loader' 220 const isHLS = mode === 'p2p-media-loader'
221 221
222 let autoplay = this.getAutoPlayValue(commonOptions.autoplay) 222 let autoplay = this.getAutoPlayValue(commonOptions.autoplay)
223 let html5 = {} 223 let html5 = {
224 preloadTextTracks: false
225 }
224 226
225 const plugins: VideoJSPluginOptions = { 227 const plugins: VideoJSPluginOptions = {
226 peertube: { 228 peertube: {
@@ -248,7 +250,7 @@ export class PeertubePlayerManager {
248 if (isHLS) { 250 if (isHLS) {
249 const { hlsjs } = PeertubePlayerManager.addP2PMediaLoaderOptions(plugins, options, p2pMediaLoaderModule) 251 const { hlsjs } = PeertubePlayerManager.addP2PMediaLoaderOptions(plugins, options, p2pMediaLoaderModule)
250 252
251 html5 = hlsjs.html5 253 Object.assign(html5, hlsjs.html5)
252 } 254 }
253 255
254 if (mode === 'webtorrent') { 256 if (mode === 'webtorrent') {