logo
THEOplayer
ABR
Ads
Caching
Content protection
Analytics
Casting
Media and Text Tracks
Miscellaneous
Verizon Media
Source
Events
HESP
SSAI
Network
Presentation
Player
PreloadTypeTrackTrackChangeEventTrackEventMapTrackListTrackListEventMapTrackUpdateEvent
UI
VR

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

Remarks


- 'metadata' loads enough resources to be able determine the ChromelessPlayer.duration.
- 'auto' loads media up to ABRConfiguration.targetBuffer.

github
Make sure to follow us on GitHub!
THEO-logo-white
twitter
facebook
linkedin
Copyright © 2022. All Rights Reserved.
Leuven
New York
Singapore
Barcelona