HTML <video> with preload Attribute
HTML <video> with preload Attribute
The preload
attribute is intended to provide a hint to the web browser about what the author thinks will lead to the best user experience.
auto
The auto attribute value specifies that the browser should load the entire video file when the page loads.
Example
Attribute Value
Value | Explanation |
---|---|
auto | The browser should load the entire video file when the page loads. |
metadata | The browser should load only metadata when the page loads i.e) it will not load the entire video file during page load. |
none | The browser should NOT load mute option, sound controller, and video file until the user tries to play the video. |
metadata
The metadata attribute value specifies that the browser should load only metadata when the page loads i.e) it will not load the entire video file during page load.
Example
none
The none attribute value specifies that the browser should NOT load mute option, sound controller, and video file until the user tries to play the video.
Example
Reminder
Hi Developers, we almost covered 99.5% of HTML Tutorials with examples for quick and easy learning.
We are working to cover every Single Concept in HTML.
Please do google search for:
Join Our Channel
Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.
This channel is primarily useful for Full Stack Web Developer.