+2
-1
@@ -435,7 +435,8 @@ class DPlayer {
|
||||
// https://github.com/Dash-Industry-Forum/dash.js
|
||||
case 'dash':
|
||||
if (window.dashjs) {
|
||||
const dashjsPlayer = window.dashjs.MediaPlayer().create().initialize(video, video.src, false);
|
||||
const dashjsPlayer = window.dashjs.MediaPlayer().create();
|
||||
dashjsPlayer.initialize(video, video.src, false, 0);
|
||||
const options = this.options.pluginOptions.dash;
|
||||
dashjsPlayer.updateSettings(options);
|
||||
this.plugins.dash = dashjsPlayer;
|
||||
|
||||
Reference in New Issue
Block a user