Skip to content
This repository has been archived by the owner on Dec 10, 2020. It is now read-only.

Set _isSeeking in seekBySeconds even when _hasEnded is set #192

Merged
merged 1 commit into from
Nov 6, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/com/videojs/providers/HTTPVideoProvider.as
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ package com.videojs.providers{
}
else if(_hasEnded)
{
_isSeeking = true;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like this should be pulled up out of the branches of these conditionals entirely.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@imbcmdth pointed out to me that both branches have conditions which may not be mutually exclusive.

_playbackStarted = true;
_hasEnded = false;
}
Expand Down