Skip to content

Commit

Permalink
Merge pull request #1222 from GuilhermeMedeiros/master
Browse files Browse the repository at this point in the history
Do not verify if DVR is in use to determine current position
  • Loading branch information
towerz committed Apr 19, 2018
2 parents 920bc58 + dd7c53f commit 3248225
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/playbacks/flashls/flashls.js
Original file line number Diff line number Diff line change
Expand Up @@ -424,10 +424,9 @@ export default class FlasHLS extends BaseFlashPlayback {
this.trigger(Events.PLAYBACK_SETTINGSUPDATE, this.name)
}

if (livePlayback && (!this._dvrEnabled || !this._dvrInUse))
if (livePlayback && !this._dvrEnabled)
position = duration


this.trigger(Events.PLAYBACK_TIMEUPDATE, { current: position, total: duration }, this.name)
}

Expand Down

0 comments on commit 3248225

Please sign in to comment.