Optional
fairplayFairPlay specific configuration.
iOS
Optional
nativeOptionally user-defined string id
for the native instance.
Used to access a certain native instance from any point in the source code then call
methods/properties on it.
When left empty, a random UUIDv4
is generated for it.
Accessing or creating the Player
with nativeId
equal to my-player
:
const player = new Player({ nativeId: 'my-player' })
player.play(); // call methods and properties...
Optional
widevineWidevine specific configuration.
Android, iOS (only for casting).
Represents the general Streaming DRM config.