Skip to content

Commit

Permalink
Version 48:
Browse files Browse the repository at this point in the history
* Fixed a bug introduced in version Version 38 where Reverse Playback caused the player to seek to the end in many cases where it should not.
  • Loading branch information
bp2008 committed Jul 28, 2018
1 parent 81acf6c commit dab0981
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ui3.htm
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
};
</script>
<script type="text/javascript">
var ui_version = "47";
var ui_version = "48";
var bi_version = "%%VERSION%%";
var combined_version = ui_version + "-" + bi_version;
//if (!!navigator.userAgent.match(/ Android /))
Expand Down
4 changes: 2 additions & 2 deletions ui3/ui3.js
Original file line number Diff line number Diff line change
Expand Up @@ -9443,7 +9443,7 @@ function JpegVideoModule()
if (loading.isLive)
startPaused = false;
Activate();
if (playbackControls.GetPlayReverse())
if (playbackControls.GetPlayReverse() && offsetPercent === 0)
offsetPercent = 1;
clipPlaybackPosition = Clamp(offsetPercent, 0, 1) * (loading.msec - 1);
timeLastClipFrame = Date.now();
Expand Down Expand Up @@ -9874,7 +9874,7 @@ function FetchH264VideoModule()
startPaused = false;
Activate();
lastStatusBlock = null;
if (playbackControls.GetPlayReverse())
if (playbackControls.GetPlayReverse() && offsetPercent === 0)
offsetPercent = 1;
currentSeekPositionPercent = Clamp(offsetPercent, 0, 1);
lastFrameAt = performance.now();
Expand Down

0 comments on commit dab0981

Please sign in to comment.