Options

Here is a list of the configuration options:

Property Description Default
playoffline Start playing the offline content once it finishes downloading. false
maxheight Filter selected rendition to download by height

Player API Methods

Mathod Description Arguments
download Download the selected content with given metadata uri and title and image metadata
offlineitems Get the stored offline items
removeItemIndex Remove item by index index
removeItem Remove item given by the chosen item object chosen item object
playOffline Play the chosen item object chosen item object

Events

event Description
offline-items Offline items list
download-progress Download progress percentage between 0 and 1.
online-status The online status event.
content-stored Download complete and content stored.
download-error Download error.
download-start Download started.