Class RelatedConfig.Builder
java.lang.Object
com.jwplayer.pub.api.configuration.RelatedConfig.Builder
- Enclosing class:
- RelatedConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoPlayMessage
(String message) Deprecated.This API has been deprecated, override the key jwplayer_next_up_countdown in strings.xml to customize this message.autoPlayTimer
(Integer timer) build()
onComplete
(String onComplete)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
file
- Parameters:
file
- (Required) Location of an RSS or JSON file containing a feed of related videos.
-
onComplete
- Parameters:
onComplete
- The behavior of our related videos overlay when a single video or playlist is completed. Must be one of the RELATED_DISPLAY_ON_COMPLETE_ constants.
-
onClick
- Parameters:
onClick
- The behavior when a related video is selected. Must be one of the RELATED_DISPLAY_ON_CLICK_ constants.
-
autoPlayTimer
- Parameters:
timer
- The number of seconds to wait before playing the next related video in your content list. Set to 0 to have your next related content to play immediately.
-
autoPlayMessage
Deprecated.This API has been deprecated, override the key jwplayer_next_up_countdown in strings.xml to customize this message.- Parameters:
message
- A custom message that appears during autoplay.
-
build
-