media
Property of dom/Elementdom/Element
Syntax
var result = element.media;
element.media = value;
Notes
Remarks
The media property can be used to download different video formats for different sized screens. If the media attribute is omitted, the default value is "all", which means that the media resource is suitable for all media.
Syntax
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.8
See also
Related pages
- sourcesource
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]