Class FlexVideo
FlexVideo embeds a video from YouTube, Vimeo or another site that uses iframe, embed or object elements, creating an intrinsic ration that will properly scale the video to any device.
- CWidget
- foundation\widgets\base\Widget
- foundation\widgets\FlexVideo
Namespace: foundation\widgets
Package: foundation\widgets
Author: Antonio Ramirez <amigo.cobos@gmail.com>
See: http://foundation.zurb.com/docs/components/flex-video.html
Located at widgets/FlexVideo.php
Package: foundation\widgets
Author: Antonio Ramirez <amigo.cobos@gmail.com>
See: http://foundation.zurb.com/docs/components/flex-video.html
Located at widgets/FlexVideo.php
Methods summary
public
|
|
public
|
|
public
string
|
Methods inherited from foundation\widgets\base\Widget
display()
,
registerAssets()
,
registerEvents()
,
registerPlugin()
Magic methods summary
Properties summary
public
string
|
$source |
#
the source of the video |
public
integer
|
$width |
#
the width of the video |
public
integer
|
$height |
#
the height of the video |
public
boolean
|
$allowFullScreen |
#
whether to allow fullscreen or not |
public
boolean
|
$widescreen |
#
whether to give the player a widescreen aspect ratio or not |
public
boolean
|
$vimeo |
#
whether to ensure not adding extra padding since Vimeo has control with the player, itself |