mirror of
https://github.com/kmoskwiak/videojs-resolution-switcher.git
synced 2025-10-03 17:59:42 +02:00
jshint tests
This commit is contained in:
parent
1121c822d9
commit
437ecd076c
3 changed files with 12 additions and 3 deletions
|
@ -80,7 +80,7 @@
|
|||
// Probably because of https://github.com/videojs/video-js-swf/issues/124
|
||||
// If player preload is 'none' and then loadeddata not fired. So, we need timeupdate event for seek handle (timeupdate doesn't work properly with flash)
|
||||
var handleSeekEvent = 'loadeddata';
|
||||
if(this.player_.preload() == 'none' && this.player_.techName_ != 'Flash') {
|
||||
if(this.player_.preload() === 'none' && this.player_.techName_ !== 'Flash') {
|
||||
handleSeekEvent = 'timeupdate';
|
||||
}
|
||||
setSourcesSanitized(this.player_, this.src, this.options_.label, customSourcePicker).one(handleSeekEvent, function() {
|
||||
|
@ -201,7 +201,7 @@
|
|||
*/
|
||||
player.getGroupedSrc = function(){
|
||||
return groupedSrc;
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Method used for sorting list of sources
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue