logo
THEOplayer
ABR
Ads
Caching
Content protection
Analytics
Casting
Media and Text Tracks
Miscellaneous
Verizon Media
Source
Events
SSAI
Network
Presentation
Player
PreloadTypeTrackTrackEventMapTrackListTrackListEventMap
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 declare 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 © 2020. All Rights Reserved.
Leuven
New York
San Francisco
Singapore
Barcelona