Configuring JW Player
To use JW Player for both video and audio playback, add the following
properties to
configuration-root/com/escenic/framework/frontend/FrontEndConfig.properties
:
property.videoPlayer=jwplayer property.audioPlayer=jwplayer property.media.jwplayer.script.location=script-location property.media.jwplayer.key=license-key
where:
- script-location
-
is the URL of the JW Player javascript file. You can use JW player in two different ways: self-hosted, where you use your own copy of the script, or cloud-hosted, where you use JW Player's copy directly.
- license-key
-
You only need to set this property if you have a self-hosted JW Player.
Cloud-hosted installations may be affected by cross-domain security restrictions. If JW Player needs to access a file that is hosted on a different domain from itself (a VTT file, for example), then you will need to configure the JW Player to allow Cross-domain Resource Loading.
The following features are available using JW Player:
-
Basic video playback
-
Video quality selection
-
Subtitles/closed captioning
-
Cue points
-
Pre-roll ads
-
Social sharing
-
In-line player
-
Google Analytics integration
-
HLS adaptive streaming
-
Live streaming
There are several different editions of JW Player. Some of the above features require the purchase of a Premium or Enterprise edition license.
Some of the additional features offered by JW Player require configuration as well:
JW Player is highly configurable and offers a large number of options
that you can set by adding properties to the
FrontEndConfig.properties
file. For details see
General JW Player Setup Options.
For information on how to configure the Widget Framework to provide JW Player with pre-roll ads, see Configure Video Advertising Services.