MediaItem
Creates a new MediaItem object from the information stored in the URL location.
Declaration
new MediaItem(
in String type,
in optional String url
);Parameters
- type:
The type of media item to be created. Valid values are
audioandvideo. The default isvideo. - url:
The URL pointing to the media item information.
Return Value
Returns the MediaItem object found in the location specified by the URL.