Media Players
The Widget Framework currently supports three players for audio/video playback: JW Player, Flowplayer and MediaElement.js. The players can be used as follows:
-
JW Player for both audio and video
-
Flowplayer for video only
-
MediaElement.js for audio only
Audio/video playback using any of these players is supported by:
- Media widget
-
Can be used to play audio/video using the embedded player on content item pages.
- Teaser widget
-
Can be used to play audio/video in several modes (embedded, pop-up and so on) on both content item pages and section pages.
- Teaser view
-
Can be used to play audio/video in several modes (embedded, pop-up and so on) on both content item pages and section pages.
Player selection
You specify the player you want to use by Adding the following
properties to a properties file in the common configuration layer. Open
configuration-root/com/escenic/framework/frontend/FrontEndConfig.properties
(or create if it does not exist) and add the following
properties:
property.videoPlayer=video-player property.audioPlayer=audio-player
where:
- video-player
-
Is set to either
jwplayer
orflowplayer
. The default value isflowplayer
. - audio-player
-
Is set to either
jwplayer
ormediaelement
. The default value ismediaelement
.