goog.ui.media.MediaModel
Provided By | |
---|---|
All Known Direct Subclasses |
An base data value class for all media data models.
MediaModels are exact matches to the fields defined in the Yahoo RSS media
specification http://search.yahoo.com/mrss/
.
The current common data shared by medias is to have URLs, mime types,
captions, descriptions, thumbnails and players. Some of these may not be
available, or applications may not want to render them, so null
values are allowed. goog.ui.media.MediaRenderer
checks whether the
values are available before creating DOMs for them.
new MediaModel( opt_url, opt_caption, opt_description, opt_type, opt_medium, opt_duration, opt_width, opt_height )
Parameters |
|
---|