Skip to content

Commit

Permalink
Merge pull request #358 from bharath-exads/dash_fix
Browse files Browse the repository at this point in the history
making dash js api changes to fix bug #324
  • Loading branch information
golikov committed Jul 23, 2019
2 parents d00e427 + aefdfc7 commit 5591cee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fluidplayer.js
Expand Up @@ -4348,7 +4348,7 @@ var fluidPlayerClass = {
if ( typeof ( window.MediaSource || window.WebKitMediaSource ) === "function") {
var playVideo = (!this.autoplayAfterAd) ? this.autoplayAfterAd : this.displayOptions.layoutControls.autoPlay; // If false we want to override the autoPlay, as it comes from postRoll
var dashPlayer = dashjs.MediaPlayer().create();
dashPlayer.getDebug().setLogToBrowserConsole(false); // Remove default logging that clogs up the console
dashPlayer.updateSettings({ 'debug': { 'logLevel': dashjs.Debug.LOG_LEVEL_NONE }}); // Remove default logging that clogs up the console
dashPlayer.initialize(document.getElementById(this.videoPlayerId), this.originalSrc, playVideo);
this.dashPlayer = dashPlayer;
} else {
Expand Down

0 comments on commit 5591cee

Please sign in to comment.