Skip to content

Commit

Permalink
Suppress dash.js logs
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpete committed Sep 9, 2017
1 parent 31c1dac commit 75710e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/players/FilePlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export default class FilePlayer extends Base {
getSDK(DASH_SDK_URL, DASH_GLOBAL).then(dashjs => {
const player = dashjs.MediaPlayer().create()
player.initialize(this.player, url, true)
player.getDebug().setLogToBrowserConsole(false)
})
}
}
Expand Down

0 comments on commit 75710e4

Please sign in to comment.