From 297b7f385933d2f1c9f464cfe75602fdc12df85a Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 5 Oct 2024 23:51:04 -0600 Subject: [PATCH] Update VideoPlayer.vue component --- resources/assets/components/presenter/VideoPlayer.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/resources/assets/components/presenter/VideoPlayer.vue b/resources/assets/components/presenter/VideoPlayer.vue index af1b2e71e..9824a9f1d 100644 --- a/resources/assets/components/presenter/VideoPlayer.vue +++ b/resources/assets/components/presenter/VideoPlayer.vue @@ -45,8 +45,6 @@ import Hls from 'hls.js'; import "plyr/dist/plyr.css"; import Plyr from 'plyr'; - import { p2pml } from '@peertube/p2p-media-loader-core' - import { Engine, initHlsJsPlayer } from '@peertube/p2p-media-loader-hlsjs' export default { props: ['status', 'fixedHeight'], @@ -72,8 +70,8 @@ methods: { handleShouldPlay(){ this.shouldPlay = true; - this.isHlsSupported = this.hlsConfig.enabled && Hls.isSupported(); - this.isP2PSupported = this.hlsConfig.enabled && this.hlsConfig.p2p && Engine.isSupported(); + this.isHlsSupported = false; + this.isP2PSupported = false; this.$nextTick(() => { this.init(); })