Skip to content

Commit

Permalink
Merge pull request #1007 from bbc/20-fasterreload
Browse files Browse the repository at this point in the history
Potential fix for #998
  • Loading branch information
Dan Sparacio authored and Dan Sparacio committed Jan 25, 2016
2 parents b9c7524 + 716241b commit 1680b08
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/streaming/controllers/PlaybackController.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,12 @@ function PlaybackController() {
} else {
if (!isNaN(startTimeOffset) && startTimeOffset < streamInfo.duration && startTimeOffset >= 0) {
presentationStartTime = startTimeOffset;
}else {
presentationStartTime = streamInfo.start;
} else {
if (videoModel.getElement().currentTime != streamInfo.start) {
presentationStartTime = videoModel.getElement().currentTime;
} else {
presentationStartTime = streamInfo.start;
}
}
}

Expand Down

0 comments on commit 1680b08

Please sign in to comment.