private dvrDuration: number = null
private edgeMargin: number = null
- private handlers: { [ id in 'play' | 'addtrack' | 'playing' | 'textTracksChange' | 'audioTracksChange' ]: EventListener } = {
+ private handlers: { [ id in 'play' | 'playing' | 'textTracksChange' | 'audioTracksChange' ]: EventListener } = {
play: null,
- addtrack: null,
playing: null,
textTracksChange: null,
audioTracksChange: null
// See comment for `initialize` method.
dispose () {
this.videoElement.removeEventListener('play', this.handlers.play)
- this.videoElement.textTracks.removeEventListener('addtrack', this.handlers.addtrack)
this.videoElement.removeEventListener('playing', this.handlers.playing)
this.player.textTracks().removeEventListener('change', this.handlers.textTracksChange)
this.hls.attachMedia(this.videoElement)
- this.handlers.addtrack = this._updateTextTrackList.bind(this)
- this.videoElement.textTracks.addEventListener('addtrack', this.handlers.addtrack)
-
this.hls.loadSource(this.source.src)
}
console.log(' * [Marie-Cécile Godwin Paccard](https://mcgodwin.com/)')
console.log('\n\n# Icons\n')
- console.log(' * [Feather Icons](feathericons.com/) (MIT)')
+ console.log(' * [Feather Icons](https://feathericons.com) (MIT)')
console.log(' * `playlist add`, `history`, `subscriptions`, `miscellaneous-services.svg` by Material UI (Apache 2.0)')
console.log(' * `support` by Chocobozzz (CC-BY)')
console.log(' * `language` by Aaron Jin (CC-BY)')