Skip to content

SourceVideoPlaylist

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

new SourceVideoPlaylist(): SourceVideoPlaylist

SourceVideoPlaylist

getVideoNowPlaying(): Promise<string>

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

return: Promise

Gets the now playing video of this VideoPlaylist item.

Promise<string>

ISourceVideoPlaylist.getVideoNowPlaying


getVideoPlaylistSources(): Promise<string[]>

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

return: Promise<string[]>

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

Promise<string[]>

ISourceVideoPlaylist.getVideoPlaylistSources


isSourceAvailable(): Promise<boolean>

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

return: Promise

Check if file used as source is available

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

Promise<boolean>

ISourceVideoPlaylist.isSourceAvailable


setVideoNowPlaying(value): Promise<SourceVideoPlaylist>

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

param: (value: string|number)

return: Promise

Sets the now playing video of this VideoPlaylist item.

string | number

Promise<SourceVideoPlaylist>

ISourceVideoPlaylist.setVideoNowPlaying


setVideoPlaylistSources(fileItems): Promise<SourceVideoPlaylist>

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

param: (file: string[])

return: Promise

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

string[]

Promise<SourceVideoPlaylist>

ISourceVideoPlaylist.setVideoPlaylistSources