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
a44ade4c
authored
2015-03-18 13:44:37 -0400
by
bc-bbay
Committed by
Brandon Bay
2015-03-20 13:02:08 -0400
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
jshint update
1 parent
c51f8a1b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
test/videojs-hls_test.js
test/videojs-hls_test.js
View file @
a44ade4
...
...
@@ -1261,7 +1261,7 @@ test('live playlist starts with correct currentTime value', function() {
player
.
hls
.
playlists
.
trigger
(
'loadedmetadata'
);
player
.
hasClass
=
function
(
classname
)
{
return
player
.
el
().
classList
.
contains
(
classname
);
}
}
;
player
.
hls
.
play
();
...
...
@@ -1742,7 +1742,7 @@ test('calling play() at the end of a video resets the media index', function() {
player
.
hasClass
=
function
(
classname
)
{
return
player
.
el
().
classList
.
contains
(
classname
);
}
}
;
player
.
play
();
strictEqual
(
player
.
hls
.
mediaIndex
,
0
,
'index is 1 after the first segment'
);
...
...
Please
register
or
sign in
to post a comment