Class media.templates.base
Extends
media.display.
The base template class which all templates should derive.
Defined in: drupal.media.templates.base.js.
Constructor Attributes | Constructor Name and Description |
---|---|
media.templates.base(context, options)
|
Method Attributes | Method Name and Description |
---|---|
onFullScreen(full)
Called when the media player goes into full screen mode.
|
- Methods borrowed from class media.display:
- isValid
- Methods borrowed from class media.plugin:
- construct, setPlayer
Class Detail
media.templates.base(context, options)
- Parameters:
- {object} context
- The jQuery context.
- {object} options
- This components options.
Method Detail
getElements()
onFullScreen(full)
Called when the media player goes into full screen mode.
- Parameters:
- {boolean} full
- TRUE - The player is in fullscreen, FALSE otherwise.