mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fixed hlsjs import
This commit is contained in:
parent
159a7f55d3
commit
1829651565
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ function supportsTextTracks() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function requireHlsPlayer(callback) {
|
function requireHlsPlayer(callback) {
|
||||||
require(['hlsjs'], function (hls) {
|
import('hlsjs').then(({default: hls}) => {
|
||||||
window.Hls = hls;
|
window.Hls = hls;
|
||||||
callback();
|
callback();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue