Prop Video Preload
π
2026-06-19 | π JavaScript
# Video preload Attribute
[ Video Object](#)
## Example
Check if the video starts loading once the page loads:
var x = document.getElementById("myVideo").preload;
The output of _x_ is:
none //The video should not be loaded when the page loads
[Try it Β»](#)
* * *
## Definition and Usage
The preload attribute is used to set or return the value of the video preload attribute.
The preload attribute sets or returns whether the audio/video should be loaded as soon as the page loads.
**Note:** The autoplay attribute takes precedence over preload if it is set.
**Note:** The