- CloseButton
- Countdown
- DurationLabel
- EntryImage
- BaseNextEntry
- GridEntry
- ListEntryPlaceholder
- ListEntry
- MinimalGridEntry
- MinimalNextEntry
- NextEntry
- ListToggleButton
- MultilineText
- Next
- ArrowLeft
- ArrowLeftDisabled
- ArrowRight
- ArrowRightDisabled
- PrePlaybackPlayOverlayWrapper
- RelatedCountdownPreview
- RelatedGrid
- RelatedListHeader
- RelatedList
- RelatedOverlay
- Scrollable
- Thumbnail
- RelatedManager
- Related
- RelatedEvent
- RelatedInternalEvent
- RelatedConfig
- Sources
Button to toggle off related list visibility.
-
props
object Component props.
Counts down from an initial number of seconds and renders the number of seconds remaining.
Displays formatted duration of entry playback, or a live label for live entries.
props
object Duration label props.type
string Entry type.duration
number Entry playack duration.liveText
string Live label text.
Entry image with a duration label.
-
props
object Component props.
Base next entry component with entry image.
-
props
object Component props.props.title
string Entry title.props.id
number Internal id.props.children
object Component children.props.duration
number Entry playback duration.props.type
string Entry type.props.poster
string Entry posterprops.entryDimensions
object Entry render dimensions.props.live
string Live label.props.description
string Entry description.props.countdown
number Countdown for playback of next entry.props.sizeClass
string CSS Class for entry of specific size.props.cancelLabel
string Cancel button label.props.playNowLabel
string Play now button label.props.alwaysShowButtons
boolean If true indicates that buttons should be visible even when countdown is not in progress.
Full size grid entry with image and title.
-
props
object Component props.props.title
string Entry title.props.id
number Internal entry id.props.children
ComponentChildren Component children.props.duration
number Entry duration.props.type
string Entry type.props.poster
string Entry poster.props.entryDimensions
object Dimensions for entry render.props.live
string Live label.
Animated placeholder for a list entry.
-
props
object Component props.props.isVertical
boolean If true, indicates that the entry placeholder is vertical, otherwise it's horizontal.
List entry with image and title.
-
props
object Component props.props.title
string Entry title.props.id
number Entry internal id.props.duration
number Entry duration.props.type
string Entry type.props.poster
string Entry poster.props.entryDimensions
object Dimensions for entry render.props.live
string Live label.props.isVertical
boolean If true, indicates that the list entry is vertical, if false indicates that it's horizontal.
Minimal grid entry with image and title.
-
props
object Component props.
Minimal next entry with image and title. Wraps BaseNextEntry.
-
props
object Component props.props.title
string Entry title.props.id
number Entry internal id.props.children
object Component children.props.duration
number Entry playback duration.props.type
string Entry type.props.poster
string Entry poster.props.entryDimensions
object Entry render dimensions.props.live
string Live label.props.description
string Entry description.props.countdown
number Countdown for playback of next entry.props.upNext
string Up next label.props.upNextIn
string Up next in label.
Full size next entry, with image, title and description. Wraps BaseNextEntry.
-
props
object Component props.props.title
string Entry title.props.id
number Entry internal id.props.children
object Component children.props.duration
number Entry playback duration.props.type
string Entry type.props.poster
string Entry poster.props.entryDimensions
object Entry render dimensions.props.live
string Live label.props.description
string Entry description.props.countdown
number Countdown for playback of next entry.props.upNext
string Up next label.props.upNextIn
string Up next in label.
Related list toggle button.
-
props
object Component props.
Displays text truncated to a set number of lines, with an ellipsis in case of overflow.
-
props
object Component props.
Play next entry button.
-
props
object Component props.
Left pagination arrow.
Disabled left pagination arrow.
Right pagination arrow.
Disabled Right pagination arrow.
Overlay which is displayed on playback end instead of the default playback end overlay.
-
props
object Component props.props.isPlaybackEnded
boolean Indicates whether playback has ended.props.sizeBreakpoint
string Player size breakpoint.props.relatedManager
RelatedManager Related manager instance.props.onLoaded
Function Handler for component loaded event.props.onUnloaded
Function Handler for component unloaded event.props.next
string Next label text.props.startOver
string Start over label text.
Shows preview image of the next entry, with title and countdown.
Displays related entries in grid form with pagination. The grid view changes according to player size.
-
props
object Component props.
Contains related list header text and button to toggle the list off.
Displays related entries in horizontal or vertical list.
props
object Component props.relatedManager
RelatedManager Related manager instance.relatedVideosText
string Related videos label text.isVertical
boolean Indicates whether the list is vertical.
Overlay which wraps the related grid and controls its layout and visibility.
-
props
object Component props.props.relatedManager
RelatedManager Related manager instance.props.isPaused
boolean Indicates whether playback is paused.props.isPlaybackEnded
boolean Indicates whether playback has ended.props.sizeBreakpoint
string Player size breakpoint.
Wraps around child components and displays a styled scrollbar with vertical or horizontal orientation.
-
props
object Component props.props.children
ComponentChildren Child components.props.isVertical
boolean If true, scrollbar has vertical orientation, otherwise - it has horizontal orientation.
Image with fixed dimensions and a fallback option for images which failed to load.
-
props
object Component props.
Manages the plugin state.
Load related entries list according to the configuration options.
config
RelatedConfig related plugin config
Restart current entry playback.
Play the next entry in the list.
seconds
number? seconds to wait before next entry playback
Play the selected entry.
internalIndex
number index of the entry to be played
Clear next entry auto continue timeout.
Register an event listener for a plugin event.
name
string event namelistener
any callback function
Unregister an event listener for a plugin event.
name
string event namelistener
any callback function
Get url of an entry thumbnail image. If possible, get an entry with specific dimensions.
url
string initial thumbnail url
Returns any {(Promise<string | null>)} promise which returns the full url or null if failed to load
isHiddenByUser
Indicates whether the next entry preview has been manually hidden by the user.
Type: boolean
isHiddenByUser
boolean
Indicates whether the related grid should be visible on playback paused.
Type: boolean
Returns boolean
If autoContinue is true, returns the time to wait after playback and before playing the next entry.
Type: number
Returns number
Set related entries array and fire RELATED_ENTRIES_CHANGED event.
Get related entries array.
Indicates whether the related manager has already been initialized by calling load() at least once.
Type: boolean
Returns boolean
Indicates whether the grid is crrently visible.
Type: boolean
Returns boolean
Set grid visibility inidication and fire GRID_VISIBILITY_CHANGED event.
Type: boolean
isGridVisible
boolean
Indicates whether the list is currently visible.
Type: boolean
Returns boolean
Set list visibility indication.
Type: boolean
isListVisible
boolean
Extends KalturaPlayer.core.BasePlugin
name
string Plugin name.player
KalturaPlayerTypes.Player Current kaltura player instance.config
RelatedConfig Related plugin configuation.
The default configuration of the plugin.
Type: RelatedConfig
Returns boolean Whether the plugin is valid.
Player loadMedia callback.
Inject related list panel and list toggle icon components into the ui.
Related plugin events which are dispatched externally through the player.
Fired when the user toggles list visibility on.
Type: string
Fired when the user clicks on a grid or list entry.
Type: string
Related plugin events which are dispatched internally inside the plugin.
Type: string
Fired every time the list of related entries is changed.
Type: string
HIDDEN_STATE_CHANGED
Fired when the a next entry autoplay is manually cancelled by the user on playback end.
Type: string
Fired when the related grid is shown or hidden.
Type: string
Fired when the related list is shown or hidden.
Type: string
Configuration parameters for related plugin.
Indicates whether to continue to to next related entry after playback end.
Type: boolean
If autoContinue is true, indicates the time in seconds to wait after playback end and before continuing to the next entry.
Type: number
Indicates whether the related grid should be visible on playback paused.
Type: boolean
If set, related entries will fetched according to this playlist.
Type: (string | null)
If set, and playlistId is not set, related entries will be fetched according to the items in this list.
Type: Array<KalturaPlayerTypes.MediaInfo>
If set, and playlistId and entryList are not set, this data will be used to set the related entries, without fetching any additional information.
Type: Array<KalturaPlayerTypes.Sources>
If true, and the three other options for related entries were not set, related entries will be fetched using the metadata of the current entry.
Type: boolean
Max number of entries which can be fetched when fetching related entries by context.
Type: number
Position of the related list (top, down, left, right).
Type: string
The relation between the position of the player and of the related list (over, alongside).
Type: string
Extends KalturaPlayerTypes.Sources
Player sources data, extended with additional fields used for presentation of the entry.
Internal index of the entry, used for managing entry order.
Type: number
Formatted entry duration text.
Type: string