Using a Custom Media Configuration
Once you have defined a custom media configuration, you can use it by adding property settings to one of the following widget/view types:
-
Media widget
-
Teaser widget
-
Teaser view
The property settings you need to add are:
element.media.videoPlayer=video-configuration-name element.media.audioPlayer=audio-configuration-name
where:
- video-configuration-name
-
is the name of a custom video configuration you have created (that is a JWPlayer or Flowplayer configuration)
- audio-configuration-name
-
is the name of a custom audio configuration you have created (that is a JWPlayer or MediaElement.js configuration)
Most widget properties are exposed as widget fields in
Content Studio.
This is not the case for
element.media.videoPlayer
and
element.media.audioPlayer
. These properties must
be manually set. To do so:
-
Open the widget in Content Studio.
-
Click on the Advanced tab.
-
Add your property setting(s) to the list of settings in the Widget properties field.
-
Publish your changes.
The custom configuration you have specified will now override the default media configuration for that widget, wherever you use it.