diff options
author | Chocobozzz <me@florianbigard.com> | 2019-12-17 14:20:43 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-12-18 10:14:23 +0100 |
commit | 6377a9f2b0f762be9af61f46b4f0a9efd0c4b7c2 (patch) | |
tree | c632833f4275df8d75a6df55fe8673a7dec7c0ec /client/src/assets/player/p2p-media-loader | |
parent | c3b937916711136cb1ce974f769205439a3d2e04 (diff) | |
download | PeerTube-6377a9f2b0f762be9af61f46b4f0a9efd0c4b7c2.tar.gz PeerTube-6377a9f2b0f762be9af61f46b4f0a9efd0c4b7c2.tar.zst PeerTube-6377a9f2b0f762be9af61f46b4f0a9efd0c4b7c2.zip |
Fix test embed page
Diffstat (limited to 'client/src/assets/player/p2p-media-loader')
-rw-r--r-- | client/src/assets/player/p2p-media-loader/p2p-media-loader-plugin.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/assets/player/p2p-media-loader/p2p-media-loader-plugin.ts b/client/src/assets/player/p2p-media-loader/p2p-media-loader-plugin.ts index c44c184d5..c3f863f72 100644 --- a/client/src/assets/player/p2p-media-loader/p2p-media-loader-plugin.ts +++ b/client/src/assets/player/p2p-media-loader/p2p-media-loader-plugin.ts | |||
@@ -77,6 +77,10 @@ class P2pMediaLoaderPlugin extends Plugin { | |||
77 | clearInterval(this.networkInfoInterval) | 77 | clearInterval(this.networkInfoInterval) |
78 | } | 78 | } |
79 | 79 | ||
80 | getHLSJS () { | ||
81 | return this.hlsjs | ||
82 | } | ||
83 | |||
80 | private initialize () { | 84 | private initialize () { |
81 | initHlsJsPlayer(this.hlsjs) | 85 | initHlsJsPlayer(this.hlsjs) |
82 | 86 | ||