Skip to content

Commit

Permalink
Fix dash autoplay logic
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpete committed Oct 17, 2017
1 parent 65bc8cc commit 4e3545e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/players/FilePlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default class FilePlayer extends Base {
if (this.shouldUseDASH(url)) {
getSDK(DASH_SDK_URL, DASH_GLOBAL).then(dashjs => {
this.dash = dashjs.MediaPlayer().create()
this.dash.initialize(this.player, url, true)
this.dash.initialize(this.player, url, this.props.playing)
this.dash.getDebug().setLogToBrowserConsole(false)
})
}
Expand Down

0 comments on commit 4e3545e

Please sign in to comment.