Constructor
new ShakaPlayer(target, options)
Build the player.
Parameters:
Name | Type | Description |
---|---|---|
target |
string/HTMLElement | HTML element. |
options |
Object.<string, Array> | Dictionary with input configuration for the player. The configuration can be set for the keys media, thumbnail, cover and poster. They contain the respective URLs. |
- Source: