Skip to content

Commit

Permalink
Merge branch 'edge' into ME-18350-srt-support
Browse files Browse the repository at this point in the history
  • Loading branch information
tsi authored Dec 5, 2024
2 parents cd45c82 + 7787c36 commit d8d3be2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ class SourceMenuButton extends MenuButton {
}

// Bind update to qualityLevels changes
// Todo: switch to Function.prototype.bind
this.player_.qualityLevels().on(['change', 'addqualitylevel', 'removequalitylevel'], videojs.bind(this, this.update));
this.player_.qualityLevels().on(['change', 'addqualitylevel', 'removequalitylevel'], this.update.bind(this));
}

/**
Expand Down

0 comments on commit d8d3be2

Please sign in to comment.