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.
Builds a flash url from the vimeo
videoId .
|
code » | |||||
The opposite of
goog.ui.media.Vimeo.parseUrl : it takes a videoId
and returns a vimeo URL.
|
code » | |||||
![]()
No description.
|
code » | |||||
A static convenient method to construct a goog.ui.media.Media control out of
a Vimeo URL. It extracts the videoId information on the URL, sets it
as the data model goog.ui.media.Vimeo 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 Vimeo videos,
except if you need more fine control over the configuration.
Arguments:
Returns: !goog.ui.media.Media
A Control binded to the Vimeo renderer.
|
code » | |||||
![]()
Takes a
vimeoUrl and extracts the video id.
Arguments:
Returns: !goog.ui.media.VimeoModel
The vimeo data model that represents this
URL.
|
code » |