Class YouTubeVideo
Define a YouTubeVideo block to be displayed into a JBlocks.
- Defined in: jblocks.block.youtubevideo.js
- Extends Icon
Constructor Attributes | Constructor Name and Description |
---|---|
A YouTubeVideo block displays an embedded video from YouTube. |
Method Summary
Class Detail
YouTubeVideo()
A YouTubeVideo block displays an embedded video from YouTube.
The constructor should not be invoked directly but JBlocks#newBlock or JBlocks#addNewBlock should be used instead.
Method Detail
-
init(layout, options)Initializes a MenuIcon block. The method is invoked by the jBlocks core and must never be called directly.
- Parameters:
- {Object} layout Optional
- see Block#init.
- {Object} options Optional
- in addition to base class options IFrame#init:
- {Array} options.youtubeID Optional
- the ID of the video at YouTube.