Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

media property

Gets or sets the intended media type of the media source.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.8Internet Explorer 9

 

Syntax

object.put_media(string
           mediatype);object.get_media(string
          * mediatype);

Property values

Type: string

A string that specifies the intended media type.

Standards information

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.

 

 

Community Additions

ADD
Show:
© 2015 Microsoft