goog.ui.media.GoogleVideo
media data model. It stores a required
videoId
field, sets the GoogleVideo URL, and allows a few optional
parameters.
goog.ui.media.MediaModel | |
goog.ui.media.GoogleVideoModel | goog.ui.media.MediaModel |
videoId
: string
The GoogleVideo video id.
|
opt_caption
: string=
An optional caption of the GoogleVideo video.
|
opt_description
: string=
An optional description of the GoogleVideo
video.
|
opt_autoplay
: boolean=
Whether to autoplay video.
|
Finds the first category with the given scheme.
Arguments:
Returns: goog.ui.media.MediaModel.Category
The category that has the
given scheme. May be null.
|
code » | ||
Finds all credits with the given role.
Arguments:
Returns: !Array.<!goog.ui.media.MediaModel.Credit>
An array of credits
with the given role. May be empty.
|
code » | ||
Gets the caption of this media.
|
code » | ||
Gets the categories of the media.
Returns: Array.<goog.ui.media.MediaModel.Category>
The categories of the
media.
|
code » | ||
Gets the credits of the media.
|
code » | ||
Gets the description of this media.
|
code » | ||
Gets the duration of the media.
|
code » | ||
Gets the height of the media in pixels.
|
code » | ||
![]()
Gets the media medium.
Returns: goog.ui.media.MediaModel.Medium | undefined
The media medium.
|
code » | ||
Gets the player data.
|
code » | ||
Gets the subtitles for the media.
Returns: Array.<goog.ui.media.MediaModel.SubTitle>
The subtitles.
|
code » | ||
Gets the thumbnail urls.
Returns: Array.<goog.ui.media.MediaModel.Thumbnail>
The list of thumbnails.
|
code » | ||
![]()
Gets the media mime type.
Returns: goog.ui.media.MediaModel.MimeType | undefined
The media mime type.
|
code » | ||
Gets the URL of this media.
|
code » | ||
Gets the width of the media in pixels.
|
code » | ||
Sets the caption of this media.
Arguments:
Returns: !goog.ui.media.MediaModel
The object itself, used for chaining.
|
code » | ||
Sets the categories of the media
Arguments:
Returns: !goog.ui.media.MediaModel
The object itself, used for chaining.
|
code » | ||
Sets the credits of the media
Arguments:
Returns: !goog.ui.media.MediaModel
The object itself, used for chaining.
|
code » | ||
Sets the description of this media.
Arguments:
Returns: !goog.ui.media.MediaModel
The object itself, used for chaining.
|
code » | ||
Sets duration of the media.
Arguments:
Returns: !goog.ui.media.MediaModel
The object itself, used for chaining.
|
code » | ||
Sets the height of the media.
Arguments:
Returns: !goog.ui.media.MediaModel
The object itself, used for chaining.
|
code » | ||
Sets the media medium.
Arguments:
Returns: !goog.ui.media.MediaModel
The object itself, used for chaining.
|
code » | ||
Sets the player data.
Arguments:
Returns: !goog.ui.media.MediaModel
The object itself, used for chaining.
|
code » | ||
Sets the subtitles for the media
Arguments:
Returns: !goog.ui.media.MediaModel
The object itself.
|
code » | ||
Sets the thumbnail list.
Arguments:
Returns: !goog.ui.media.MediaModel
The object itself, used for chaining.
|
code » | ||
Sets the media mime type.
Arguments:
Returns: !goog.ui.media.MediaModel
The object itself, used for chaining.
|
code » | ||
Sets the URL of this media.
Arguments:
Returns: !goog.ui.media.MediaModel
The object itself, used for chaining.
|
code » | ||
Sets the width of the media.
Arguments:
Returns: !goog.ui.media.MediaModel
The object itself, used for chaining.
|
code » |
![]()
The caption of the media.
|
Code » | |
![]()
The list of categories that are applied to this media.
|
Code » | |
![]()
The list of credits that pertain to this media object.
|
Code » | |
![]()
A description of the media, typically user generated comments about it.
|
Code » | |
![]()
The duration of the media in seconds.
|
Code » | |
![]()
The height of the media in pixels.
|
Code » | |
![]()
The medium of the media.
|
Code » | |
The media player.
|
Code » | |
![]()
The list of subtitles for the media object.
|
Code » | |
![]()
A list of thumbnails representations of the media (eg different sizes of
the same photo, etc).
|
Code » | |
![]()
The mime type of the media.
|
Code » | |
![]()
The URL of the media.
|
Code » | |
![]()
The width of the media in pixels.
|
Code » |
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 » | |||||
![]()
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 » |
![]()
Regular expression used to extract the GoogleVideo video id (docid) out of
GoogleVideo URLs.
|
Code » | |
![]()
No description.
|
Code » |