Constructors
constructor
-
Parameters
-
Optional playlist: Playlist
-
index: number = 0
Methods
cancelUnusedRequests
- cancelUnusedRequests(): void
preloadNextVideo
- preloadNextVideo(preIncrement?: boolean): void
-
Parameters
-
preIncrement: boolean = false
Returns void
preloadVideo
- preloadVideo(video: Video): void
setPlaylist
- setPlaylist(playlist: Playlist, index?: number): void
setPlaylistIndex
- setPlaylistIndex(index: number): void