mediamodel.js
No description.

File Location

/goog/ui/media/mediamodel.js

Classes

goog.ui.media.MediaModel
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. TODO(user): support asynchronous data models by subclassing goog.events.EventTarget or goog.ds.DataNode. Understand why http://goto/datanode is not available in closure. Add setters to MediaModel once this is supported.
goog.ui.media.MediaModel.Category
A taxonomy to be set that gives an indication of the type of media content, and its particular contents.
goog.ui.media.MediaModel.Credit
Indicates an entity that has contributed to a media object. Based on 'media.credit' in the rss spec.
goog.ui.media.MediaModel.Player
Constructs a player containing details of the player's URL and optionally its size.
goog.ui.media.MediaModel.SubTitle
A reference to the subtitle URI for a media object. Implements the 'media.subTitle' in the rss spec.
goog.ui.media.MediaModel.Thumbnail
Constructs a thumbnail containing details of the thumbnail's image URL and optionally its size.

Enumerations

Directory media

File Reference