Player Options
Please note: This documentation is currently being revised. It may therefore be incomplete in some parts.
The Player Options allow to customize the behaviour of the Media Player.
The ISO 4217 alphabetic code (e.g. USD) representing the currency to be utilized for displaying product price information.
Specifies the initial position of the floating Media Player.
Value | Description |
---|---|
MediaPlayerOption.FLOAT_POSITION_BOTTOM_LEFT | Media Player is positioned at the bottom left corner of the browser viewport. |
MediaPlayerOption.FLOAT_POSITION_BOTTOM_RIGHT | (Default) Media Player is positioned at the bottom right corner of the browser viewport. |
MediaPlayerOption.FLOAT_POSITION_TOP_LEFT | Media Player is positioned at the top left corner of the browser viewport. |
MediaPlayerOption.FLOAT_POSITION_TOP_RIGHT | Media Player is positioned at the top right corner of the browser viewport. |
{Position} | Media Player is positioned at the specified custom position. |
Specifying a Position object allows you to position the Media Player at an individual position.
- bottom — Offset in pixels to the bottom edge of the browser viewport.
- left — Offset in pixels to the left edge of the browser viewport
- right — Offset in pixels to the right edge of the browser viewport
- top — Offset in pixels to the top edge of the browser viewport
Please note: When using an individual position for the minified Media Player, although all properties are optional, at least the specification of a horizontal and a vertical position is required.
Indicator, whether the player should be opened in `cover` or `float` mode.
The locale to be utilized for displaying translations, e.g. en-US. If not specified explicitly, translation are displayed according to the visitors browser settings, using en
The seek-position of the media player to start media playback of the requested media item at.
startTimeInMs only applies to
The designated template for generating the URL used in social sharing, with automatic inclusion of media-related parameters.
Name | Description |
---|---|
{locale} | The player's locale setting, if defined in the player configuration. Default value: lsc_locale={locale} |
{showId} | The show id, the social sharing option was invoked from. Default value: lsc_show_id={showId} |
{store} | The player's store setting, if defined in the player configuration. Default value: lsc_store={store} |
{storyId} | The story id, the social sharing option was invoked from. Default value: lsc_story_id={storyId} |
The store reference, which determines store specific product data to render.
It must match the reference of one of the Stores, specified in the LiSA console.