mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-12-01 21:09:17 -06:00
Fix broken player on non MSE devices
This commit is contained in:
parent
6c4d6ec831
commit
f2c29ced30
@ -84,6 +84,8 @@ class P2pMediaLoaderPlugin extends Plugin {
|
||||
}
|
||||
|
||||
getCurrentLevel () {
|
||||
if (!this.hlsjs) return undefined
|
||||
|
||||
return this.hlsjs.levels[this.hlsjs.currentLevel]
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user