This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

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

See also

Related pages

Attributions