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
7a89bc99
authored
2014-10-27 19:02:03 -0400
by
Gary Katsevman
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
we want to switch if bandwidth is undefined
1 parent
6b8e12ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/videojs-hls.js
src/videojs-hls.js
View file @
7a89bc9
...
...
@@ -114,7 +114,7 @@ videojs.Hls.prototype.handleSourceOpen = function() {
oldMediaPlaylist
=
this
.
playlists
.
media
();
if
(
this
.
bandwidth
!==
this
.
playlists
.
bandwidth
)
{
if
(
this
.
bandwidth
!==
undefined
&&
this
.
bandwidth
<
this
.
playlists
.
bandwidth
)
{
if
(
this
.
bandwidth
===
undefined
||
this
.
bandwidth
!==
undefined
&&
this
.
bandwidth
<
this
.
playlists
.
bandwidth
)
{
this
.
bandwidth
=
this
.
playlists
.
bandwidth
;
selectedPlaylist
=
this
.
selectPlaylist
();
...
...
Please
register
or
sign in
to post a comment