This object controls the playlist appearance and behaviors.
|autoplaymessage < 8.6.0 ||A custom message that appears during autoplay. |
WARNING: Starting with JW Player 8.6.0, use the intl object to set this property.
|"__title__ will play in xx seconds"|
|autoplaytimer ||The number of seconds to wait before playing the next related video in your content list. Set to |
|displayMode 8.1.9+ ||Configures the playlist user interface|
Set this value when using a custom external playlist user interface.
When clicked, an overlay takes over the player and pauses playback.
The shelf can be collapsed into a "More Videos" button, which appears above the control bar. Due to size constraints, small players fall back to "overlay" mode.
Use selector to configure shelf location.
|file ||Location of a JSON or RSS file that contains a recommendations playlist|
Use this property to associate a recommendations playlist with all playlists in a player. To associate a recommendations playlist with a specific playlist or playlist item, use playlist.recommendations.
|onclick ||Behavior when a related video is selected|
|oncomplete ||Behavior of the related videos overlay when a single video or playlist is completed|
This option also automatically sets the onclick behavior to
If there is no media item to advance to, the replay button appears.
|selector 8.6.0+ ||CSS selector that points to an HTML element that is used as the container when |
This property can be configured in the following ways:
Undefined HTML element and selector: An element with
You can also assign this ID to a different HTML element on your page. This allows you to set the widget location without defining a new selector. If you assign this ID to a different HTML element, the shelf widget size is responsive to the HTML element.
Defined HTML element and selector: If the HTML element has an ID (