Skip to content

ISourceVideoPlaylist

Defined in: core/source/ivideoplaylist.ts:7

getVideoNowPlaying(): Promise<string>

Defined in: core/source/ivideoplaylist.ts:13

return: Promise

Gets the now playing video of this VideoPlaylist item.

Promise<string>


getVideoPlaylistSources(): Promise<string[]>

Defined in: core/source/ivideoplaylist.ts:30

return: Promise<string[]>

Gets the file paths of the playlist of this VideoPlaylist item.

Promise<string[]>


isSourceAvailable(): Promise<boolean>

Defined in: core/source/ivideoplaylist.ts:55

return: Promise

Check if file used as source is available

item.isSourceAvailable().then(function(isAvail) {
// The rest of your code here
});

Promise<boolean>


setVideoNowPlaying(value): Promise<SourceVideoPlaylist>

Defined in: core/source/ivideoplaylist.ts:22

param: (value: string|number)

return: Promise

Sets the now playing video of this VideoPlaylist item.

string | number

Promise<SourceVideoPlaylist>


setVideoPlaylistSources(fileItems): Promise<SourceVideoPlaylist>

Defined in: core/source/ivideoplaylist.ts:40

param: (file: string[])

return: Promise

Sets the playlist of this VideoPlaylist item according to the specified file paths.

string[]

Promise<SourceVideoPlaylist>