Options

Here is a list of the configuration options:

PropertyDescriptionDefault
playofflineStart playing the offline content once it finishes downloading.false
maxheightFilter selected rendition to download by height

Player API Methods

MathodDescriptionArguments
downloadDownload the selected content with given metadatauri and title and image metadata
offlineitemsGet the stored offline items
removeItemIndexRemove item by indexindex
removeItemRemove item given by the chosen item objectchosen item object
playOfflinePlay the chosen item objectchosen item object

Events

eventDescription
offline-itemsOffline items list
download-progressDownload progress percentage between 0 and 1.
online-statusThe online status event.
content-storedDownload complete and content stored.
download-errorDownload error.
download-startDownload started.