Version: 2.69.0

PreloadType

THEOplayer > PreloadType

PreloadType type

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 declare type PreloadType = 'none' | 'metadata' | 'auto' | '';

Remarks


- `'metadata'` loads enough resources to be able determine the [ChromelessPlayer.duration](/docs/api-reference/theoplayer-chromelessplayer-duration).
- `'auto'` loads media up to [ABRConfiguration.targetBuffer](/docs/api-reference/theoplayer-abrconfiguration-targetbuffer).