THEOplayer > PreloadType
The preload type of the player, represented by a value from the following list:
- 'none'
: The player will not load anything on source change.
- 'metadata'
: The player will immediately load metadata on source change.
- 'auto'
: The player will immediately load metadata and media on source change.
Signature:
export type PreloadType = 'none' | 'metadata' | 'auto' | '';
- 'metadata'
loads enough resources to be able determine the ChromelessPlayer.duration.
- 'auto'
loads media up to ABRConfiguration.targetBuffer.