goog.ui.Component
, which makes it very easy to be embedded on the
page.
goog.ui.media.Media
instances and renders
it. It expects goog.ui.media.Media.getModel
to return a well formed,
previously constructed, set id ,
which is the data model this renderer will use to construct the DOM
structure. for a example of
constructing a control with this renderer.
This design is patterned after
http://go/closure_control_subclassing
It uses goog.ui.media.FlashObject
to embed the flash object.
goog.ui.media.FlickrAlbum
media data model. It stores a required
userId
and setId
fields, sets the flickr Set URL, and
allows a few optional parameters.
goog.ui.media.Media
instances and
renders it. It expects goog.ui.media.Media.getModel
to return a well
formed, previously constructed, GoogleVideo video id, which is the data model
this renderer will use to construct the DOM structure.
for a example of constructing a
control with this renderer.
This design is patterned after http://go/closure_control_subclassing
It uses goog.ui.media.FlashObject
to embed the flash object.
goog.ui.media.GoogleVideo
media data model. It stores a required
videoId
field, sets the GoogleVideo URL, and allows a few optional
parameters.
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.Media
instances and renders
it. It expects goog.ui.media.Media.getModel
to return a well formed,
previously checked, mp3 URL ,
which is the data model this renderer will use to construct the DOM
structure. for an example of
constructing a control with this renderer.
This design is patterned after http://go/closure_control_subclassing
It uses goog.ui.media.FlashObject
to embed the flash object.
goog.ui.media.Media
instances and renders it.
This design is patterned after
http://go/closure_control_subclassing
goog.ui.media.Media
instances and renders it. It expects goog.ui.media.Media.getModel
to
return a well formed, previously constructed, object with a user and album
fields , which is the data model
this renderer will use to construct the DOM structure.
for a example of constructing a
control with this renderer.
goog.ui.media.PicasaAlbum currently displays a picasa-made flash slideshow
with the photos, but could possibly display a handwritten js photo viewer,
in case flash is not available.
This design is patterned after http://go/closure_control_subclassing
It uses goog.ui.media.FlashObject
to embed the flash object.
goog.ui.media.PicasaAlbum
media data model. It stores a required
userId
and albumId
fields, sets the picasa album URL, and
allows a few optional parameters.
goog.ui.media.Media
instances and renders
it. It expects goog.ui.media.Media.getModel
to return a well formed,
previously constructed, vimeoId , which is
the data model this renderer will use to construct the DOM structure.
for a example of constructing a control
with this renderer.
This design is patterned after http://go/closure_control_subclassing
It uses goog.ui.media.FlashObject
to embed the flash object.
goog.ui.media.Vimeo
media data model. It stores a required
videoId
field, sets the vimeo URL, and allows a few optional
parameters.
goog.ui.media.Media
instances and renders it. It expects goog.ui.media.Media.getModel
to
return a well formed, previously constructed, youtube video id, which is the
data model this renderer will use to construct the DOM structure.
for a example of constructing a
control with this renderer.
goog.ui.media.Youtube currently supports all goog.ui.Component.State
.
It will change its DOM structure between SELECTED and !SELECTED, and rely on
CSS definitions on the others. On !SELECTED, the renderer will render a
youtube static goog.ui.media.FlashObject
to embed the flash object.
goog.ui.media.Youtube
media data model. It stores a required
videoId
field, sets the youtube URL, and allows a few optional
parameters.