mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix broken player on non MSE devices
This commit is contained in:
@@ -84,6 +84,8 @@ class P2pMediaLoaderPlugin extends Plugin {
|
||||
}
|
||||
|
||||
getCurrentLevel () {
|
||||
if (!this.hlsjs) return undefined
|
||||
|
||||
return this.hlsjs.levels[this.hlsjs.currentLevel]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user