get Thumbnail
Returns a Thumbnail for the provided playback time in the currently active source. Supported thumbnail formats are WebVtt
configured via SourceConfig.thumbnailTrack or HLS Image Media Playlist
in the master playlist. If a WebVtt
thumbnail track is provided potential Image Media Playlist
thumbnails are ignored. A thumbnail track will start loading once Source.loadingState transitions to LoadingState.Loading.
This function returns null
if there is no active playback session
if the thumbnails for the active source were not loaded yet
if there are no thumbnails available for the active source
if there is no thumbnail available for the active source at the provided time
Limitations
There is currently no event in place that signals when thumbnails are loaded.
This function is deprecated. Use Source.getThumbnail on the currently active source instead e.g. Player.source.getThumbnail