wf-core:media
This tag will render video in widget framework.
Syntax
<wf-core:media article="..."? articleID="..."? audioPlayer="..."? autoAdvance="..."? autoPlay="..."? keyframeAspectVariant="..."? playMode="..."? scale="..."? styleClass="..."? videoPlayer="..."?/>
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.autoAdvance
Specifies if the next audio/video will be played automatically in playlist when one is finished. The default value is
true
.videoPlayer
Specifies which video player instance should be used.
audioPlayer
Specific which audio player instance should be used.