A Boolean attribute; if specified, the video automatically begins to play back as soon as it can do so without stopping to finish loading the data.
A Boolean attribute; if specified, the video automatically begins to play back as soon as it can do so without stopping to finish loading the data.
MDN
An attribute you can read to determine the time ranges of the buffered media.
An attribute you can read to determine the time ranges of the buffered media. This attribute contains a TimeRanges object.
MDN
If this attribute is present, the browser will offer controls to allow the user to control video playback, including volume, seeking, and pause/resume playback.
If this attribute is present, the browser will offer controls to allow the user to control video playback, including volume, seeking, and pause/resume playback.
MDN
This enumerated attribute indicates whether to use CORS to fetch the related image.
This enumerated attribute indicates whether to use CORS to fetch the
related image. CORS-enabled resources can be reused in the <canvas>
element without being tainted. The allowed values are:
anonymous: Sends a cross-origin request without a credential. In other words, it sends the Origin: HTTP header without a cookie, X.509 certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (by not setting the Access-Control-Allow-Origin: HTTP header), the image will be tainted, and its usage restricted.
use-credentials: Sends a cross-origin request with a credential. In other words, it sends the Origin: HTTP header with a cookie, a certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (through Access-Control-Allow-Credentials: HTTP header), the image will be tainted and its usage restricted.
When not present, the resource is fetched without a CORS request (i.e.
without sending the Origin: HTTP header), preventing its non-tainted used
in <canvas>
elements. If invalid, it is handled as if the enumerated
keyword anonymous was used. See CORS settings attributes for additional
information.
MDN
This attribute indicates that the track should be enabled unless the user's preferences indicate that another track is more appropriate.
This attribute indicates that the track should be enabled unless the user's preferences indicate that another track is more appropriate. This may only be used on one track element per media element.
MDN
Script to be run when an error occurs when the file is being loaded.
Script to be run when an error occurs when the file is being loaded.
How the text track is meant to be used.
How the text track is meant to be used. If omitted the default kind is subtitles. If the attribute is not present, it will use the subtitles. If the attribute contains an invalid value, it will use metadata. (Versions of Chrome earlier than 52 treated an invalid value as subtitles.)
The following keywords are allowed:
subtitles: Subtitles provide translation of content that cannot be understood by the viewer. For example dialogue or text that is not English in an English language film. Subtitles may contain additional content, usually extra background information. For example the text at the beginning of the Star Wars films, or the date, time, and location of a scene.
captions: Closed captions provide a transcription and possibly a translation of audio. It may include important non-verbal information such as music cues or sound effects. It may indicate the cue's source (e.g. music, text, character). Suitable for users who are deaf or when the sound is muted.
descriptions: Textual description of the video content. Suitable for users who are blind or where the video cannot be seen.
chapters: Chapter titles are intended to be used when the user is navigating the media resource.
metadata: Tracks used by scripts. Not visible to the user.
A user-readable title of the text track which is used by the browser when listing available text tracks.
A user-readable title of the text track which is used by the browser when listing available text tracks.
MDN
A Boolean attribute; if specified, we will, upon reaching the end of the video, automatically seek back to the start.
A Boolean attribute; if specified, we will, upon reaching the end of the video, automatically seek back to the start.
MDN
A Boolean attribute which indicates the default setting of the audio contained in the video.
A Boolean attribute which indicates the default setting of the audio contained in the video. If set, the audio will be initially silenced. Its default value is false, meaning that the audio will be played when the video is played.
MDN
A URL indicating a poster frame to show until the user plays or seeks.
A URL indicating a poster frame to show until the user plays or seeks. If this attribute isn't specified, nothing is displayed until the first frame is available; then the first frame is shown as the poster frame.
MDN
This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience.
This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience. It may have one of the following values:
none: indicates that the video should not be preloaded.
metadata: indicates that only video metadata (e.g. length) is fetched.
auto: indicates that the whole video file could be downloaded, even if the user is not expected to use it.
the empty string: synonym of the auto value.
If not set, its default value is browser-defined (i.e. each browser may have its default value). The spec advises it to be set to metadata.
MDN
The playback volume, in the range 0.0
(silent) to 1.0
(loudest).
Attributes applicable to media elements like
<audio>
,<video>
etc.