Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // None Do not preload any media content. Provides fastest page load time but slower media startup // when user initiates playback. Best for bandwidth-constrained environments. None = Preload("none") // Metadata Preload only metadata (duration, dimensions, first frame). Balanced approach that enables // UI setup while conserving bandwidth. Good compromise for most use cases. Metadata = Preload("metadata") // Auto Preload the entire media file. Provides fastest media startup time but slower initial page // load and higher bandwidth usage. Default browser behavior. Auto = Preload("auto") )
Variables for Preload values
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.