search

goog.ui.media.YoutubeModel

Provided By
Extends

The goog.ui.media.Youtube media data model. It stores a required videoId field, sets the youtube URL, and allows a few optional parameters.

new YoutubeModel( videoId, opt_caption, opt_description )

Parameters
videoIdstring

The youtube video id.

opt_captionstring=

An optional caption of the youtube video.

opt_descriptionstring=

An optional description of the youtube video.

Instance Methods

Static Functions