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.
An auxiliary method that builds URL of the flash movie to be embedded,
out of the GoogleVideo video id.
|
code » | |||||
The opposite of
goog.ui.media.GoogleVideo.newInstance : it takes a
videoId and returns a GoogleVideo URL.
|
code » | |||||
![]()
No description.
|
code » | |||||
A static convenient method to construct a goog.ui.media.Media control out of
a GoogleVideo model. It sets it as the data model goog.ui.media.GoogleVideo
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 GoogleVideo videos, except if you need finer control over the
configuration.
Arguments:
Returns: !goog.ui.media.Media
A Control binded to the GoogleVideo renderer.
|
code » | |||||
![]()
A auxiliary static method that parses a GoogleVideo URL, extracting the ID of
the video, and builds a GoogleVideoModel.
Arguments:
Returns: !goog.ui.media.GoogleVideoModel
The data model that represents the
GoogleVideo URL.
|
code » |