Related Content Overlay

As of JW Player SDK for Android 2.5.+ related content overlay is supported. Read more about Related Videos.

Method Description
openRelatedOverlay() Opens the related videos overlay if the current video/playlist has a related feed enabled. If the video is still playing it will pause
closeRelatedOverlay() Closes the related videos overlay if the current video/playlist has a related feed enabled and is shown
Callback Description
onRelatedOpen(RelatedOpenEvent relatedOpenEvent) Triggers when the related overlay is opened.
onRelatedClose(RelatedCloseEvent relatedCloseEvent) Triggers when the related plugin is closed.
onRelatedPlay(RelatedPlayEvent relatedPlayEvent) Triggers when a user selects an object in a related feed or the first item starts playing