Version: 2.69.0

MediaTrack.enabled

THEOplayer > MediaTrack > enabled

MediaTrack.enabled property

Whether the track is enabled.

Signature:
enabled: boolean;

Remarks


- Only one track of the same type (e.g. video) can be enabled at the same time.
- Enabling a track will disable all other tracks of the same type.
- Disabling a track will not enable a different track of the same type.