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