Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
videojs-contrib-hls
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
b5498ea1
authored
2014-09-04 15:00:30 +0800
by
Ryo Chikazawa
Committed by
Gary Katsevman
2014-09-22 14:23:46 -0400
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Abort XHR properly in setCurrentTime
1 parent
c9bfe153
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
src/videojs-hls.js
src/videojs-hls.js
View file @
b5498ea
...
...
@@ -188,7 +188,9 @@ videojs.Hls.prototype.setCurrentTime = function(currentTime) {
// cancel outstanding requests and buffer appends
if
(
this
.
segmentXhr_
)
{
this
.
segmentXhr_
.
onreadystatechange
=
null
;
this
.
segmentXhr_
.
abort
();
this
.
segmentXhr_
=
null
;
}
// fetch new encryption keys, if necessary
...
...
Please
register
or
sign in
to post a comment