Introduction
This section provides some examples to help with the most common use cases:
📄️ How to programmatically enable or disable audio tracks
This article describes how you can use the MediaTrack API to enable or disable audio tracks.
📄️ How to programmatically detect audio tracks
This article describes how you can use the API to detect audio tracks.
📄️ How to programmatically select a video track quality
This article describes how you can use the API to select a video track quality. If you select a specific quality, you overrule the ABR algorithm.
📄️ How to programmatically detect video track qualities
This article describes how you can use the API to detect video track qualities.
📄️ How to start with a specific quality?
This question is typically asked because developers want their HLS or MPEG-DASH stream to start with a specific rendition of the manifest. They want to implement this use-case to speed up the time-to-first frame, or to serve a better quality to the customer, or to serve a different quality on different platforms.
📄️ How to reduce data usage on mobile devices
Customers that use THEOplayer in mobile web which leverage THEOplayer's preloading capabilities (preload = "auto"), or provide very high qualities, sometimes receive complaints about data usage.
📄️ How to programmatically detect video track quality changes
This article describes how you can use the API to detect video track quality changes.
📄️ How to programmatically detect audio track changes
This article describes how you can use the THEOplayer API to detect audio track quality changes.