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.MediaModel | |
goog.ui.media.VimeoModel | goog.ui.media.MediaModel |
videoId
: string
The vimeo video id.
|
opt_caption
: string=
An optional caption of the vimeo video.
|
opt_description
: string=
An optional description of the vimeo 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 » |
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 » | |||||
![]()
Takes a
vimeoUrl and extracts the video id.
Arguments:
Returns: !goog.ui.media.VimeoModel
The vimeo data model that represents this
URL.
|
code » |
![]()
Regular expression used to extract the vimeo video id out of vimeo URLs.
Copied from http://go/markdownlite.js
TODO(user): add support to https.
|
Code » | |
![]()
No description.
|
Code » |