wf-core:media
This tag will render video in widget framework.
Syntax
<wf-core:media article="..."? articleID="..."? autoPlay="..."? keyframeAspectVariant="..."? playMode="..."? scale="..."? styleClass="..."?/>
Attributes
article
A
neo.xredsys.presentation.PresentationArticle
: the content item representing the video to be played.articleID
An article id identifying the media content item to be displayed.
styleClass
The name of a CSS style (HTML
class
attribute) to be assigned to the generated HTMLmedia
tag.scale
The media width specified as a percentage of the available space (that is, the width of the media's enclosing element).
playMode
Specifies the play mode how audio and video content should be played. The allowed options are
content
,embedded
orpopup
.autoPlay
Specifies if the audio or video will be played automatically. The default value is
false
.keyframeAspectVariant
Specifies the required media keyframe aspect. The allowed options are
PORTRAIT
,LANDSCAPE
,SQUARE
orFREE
. If no value is specified, then a default ofLANDSCAPE
is used.