mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 18:29:39 +02:00
udpate
This commit is contained in:
parent
213874cbeb
commit
92a2641de8
48 changed files with 2619 additions and 400 deletions
15
node_modules/videojs-contrib-quality-levels/test/plugin.test.js
generated
vendored
15
node_modules/videojs-contrib-quality-levels/test/plugin.test.js
generated
vendored
|
@ -42,3 +42,18 @@ QUnit.test('registers itself with video.js', function(assert) {
|
|||
'videojs-contrib-quality-levels plugin was registered'
|
||||
);
|
||||
});
|
||||
|
||||
QUnit.test('player qualityLevels method returns the proper object', function(assert) {
|
||||
const qualityLevels = this.player.qualityLevels();
|
||||
|
||||
assert.equal(
|
||||
qualityLevels.length,
|
||||
0,
|
||||
'the returned object contained the length property with the proper value'
|
||||
);
|
||||
assert.equal(
|
||||
qualityLevels.selectedIndex,
|
||||
-1,
|
||||
'the returned object contained the selectedIndex property with the proper value'
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue