WIP on docs example
This commit is contained in:
		| @ -144,7 +144,7 @@ const ui = { | ||||
|             utils.toggleClass(this.elements.container, this.config.classNames.stopped, this.paused); | ||||
|  | ||||
|             this.toggleControls(!this.playing); | ||||
|         }, 10); | ||||
|         }, 100); | ||||
|     }, | ||||
|  | ||||
|     // Check if media is loading | ||||
|  | ||||
| @ -41,7 +41,9 @@ const utils = { | ||||
|             return this.instanceof(input, window.TextTrackCue) || this.instanceof(input, window.VTTCue); | ||||
|         }, | ||||
|         track(input) { | ||||
|             return this.instanceof(input, window.TextTrack) || this.string(input.kind); | ||||
|             return ( | ||||
|                 this.instanceof(input, window.TextTrack) || (!this.nullOrUndefined(input) && this.string(input.kind)) | ||||
|             ); | ||||
|         }, | ||||
|         nullOrUndefined(input) { | ||||
|             return input === null || typeof input === 'undefined'; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user