media property

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

 

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.