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
86e8ccfc
authored
2014-10-29 19:29:52 -0400
by
Gary Katsevman
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
We always have an additional call to selectPlaylist
1 parent
6ca15caa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
test/videojs-hls_test.js
test/videojs-hls_test.js
View file @
86e8ccf
...
...
@@ -454,7 +454,7 @@ test('selects a playlist after segment downloads', function() {
standardXHRResponse
(
requests
[
1
]);
standardXHRResponse
(
requests
[
2
]);
strictEqual
(
calls
,
1
,
'selects after the initial segment'
);
strictEqual
(
calls
,
2
,
'selects after the initial segment'
);
player
.
currentTime
=
function
()
{
return
1
;
};
...
...
@@ -464,7 +464,8 @@ test('selects a playlist after segment downloads', function() {
player
.
trigger
(
'timeupdate'
);
standardXHRResponse
(
requests
[
3
]);
strictEqual
(
calls
,
2
,
'selects after additional segments'
);
strictEqual
(
calls
,
3
,
'selects after additional segments'
);
});
test
(
'moves to the next segment if there is a network error'
,
function
()
{
...
...
Please
register
or
sign in
to post a comment