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
5643052c
authored
2015-03-18 13:44:37 -0400
by
bc-bbay
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
jshint update
1 parent
81a1caac
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 @
5643052
...
...
@@ -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