Related Content Overlay


As of JW Player SDK for Android 2.5.+ related content overlay is supported.

Related Overlay API Methods

MethodDescription
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

Related Overlay Callbacks

CallbackDescription
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

Did this page help you?