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.
Takes a flickr username and set id and returns an URL.
|
code » | ||||
![]()
No description.
|
code » | ||||
A static convenient method to construct a goog.ui.media.Media control out of
a FlickrSet URL. It extracts the set id information on the URL, sets it
as the data model goog.ui.media.FlickrSet renderer uses, sets the states
supported by the renderer, and returns a Control that binds everything
together. This is what you should be using for constructing FlickrSet videos,
except if you need more fine control over the configuration.
Arguments:
Returns: !goog.ui.media.Media
A Control binded to the FlickrSet renderer.
|
code » | ||||
![]()
Takes a
flickrSetUrl and extracts the flickr username and set id.
Arguments:
Returns: !goog.ui.media.FlickrSetModel
The data model that represents the
Flickr set.
|
code » | ||||
![]()
A static method that sets which flash URL this class should use. Use this if
you want to host your own flash flickr player.
Arguments:
|
code » |