ISourceVideoPlaylist
Defined in: core/source/ivideoplaylist.ts:7
Methods
Section titled “Methods”getVideoNowPlaying()
Section titled “getVideoNowPlaying()”getVideoNowPlaying():
Promise<string>
Defined in: core/source/ivideoplaylist.ts:13
return: Promise
Gets the now playing video of this VideoPlaylist item.
Returns
Section titled “Returns”Promise<string>
getVideoPlaylistSources()
Section titled “getVideoPlaylistSources()”getVideoPlaylistSources():
Promise<string[]>
Defined in: core/source/ivideoplaylist.ts:30
return: Promise<string[]>
Gets the file paths of the playlist of this VideoPlaylist item.
Returns
Section titled “Returns”Promise<string[]>
isSourceAvailable()
Section titled “isSourceAvailable()”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});Returns
Section titled “Returns”Promise<boolean>
setVideoNowPlaying()
Section titled “setVideoNowPlaying()”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.
Parameters
Section titled “Parameters”string | number
Returns
Section titled “Returns”Promise<SourceVideoPlaylist>
setVideoPlaylistSources()
Section titled “setVideoPlaylistSources()”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.
Parameters
Section titled “Parameters”fileItems
Section titled “fileItems”string[]
Returns
Section titled “Returns”Promise<SourceVideoPlaylist>