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
088ba0d0
authored
2014-03-14 17:33:53 -0400
by
Gary Katsevman
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
move startTime before xhr call
1 parent
cbb726a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/videojs-hls.js
src/videojs-hls.js
View file @
088ba0d
...
...
@@ -638,6 +638,8 @@ var
segment
.
uri
);
}
startTime
=
+
new
Date
();
// request the next segment
segmentXhr
=
xhr
({
url
:
segmentUri
,
...
...
@@ -693,8 +695,6 @@ var
updateCurrentPlaylist
();
}
});
startTime
=
+
new
Date
();
};
// load the MediaSource into the player
...
...
Please
register
or
sign in
to post a comment