RelatedContentSource
@objc(THEOplayerRelatedContentSource)
public class RelatedContentSource : NSObject, CodableThe Related Content Source object. Can be used to show additional content, besides the content currently shown, that might also be of interest to the viewer.
- 
                  
                  The duration property can be used to display a duration on the tile of the related content video. DeclarationSwift @objc public let duration: String?
- 
                  
                  The image property can be used to set the background image on the tile of the related content video. DeclarationSwift @objc public let image: String
- 
                  
                  The link property can be used to specify a target URL to navigate to, when clicking the tile of the related content video. Specifying a link will redirect to a new page. DeclarationSwift @objc public let link: String?
- 
                  
                  A source object specifying the source to play. Specifying a source will reset the player’s SourceDescription and allow the same player to play the new source without the need to redirect to a new page. DeclarationSwift @objc public let source: SourceDescription?
- 
                  
                  The title property can be used to display a title on the tile of the related content video. DeclarationSwift @objc public let title: String?
- 
                  
                  Constructs a RelatedContentSource with link DeclarationSwift @objc public convenience init(image: String, link: String, duration: String? = nil, title: String? = nil)ParametersimageThe URL of the background image on the tile of the related content video. linkThe target URL to navigate to, when clicking the tile of the related content video. Specifying a link will redirect to a new page. durationThe duration that will be displayed on the tile of the related content video, in seconds. Defaults to nil. titleThe title that will be displayed on the tile of the related content video. Defaults to nil. 
- 
                  
                  Constructs a RelatedContentSource with link DeclarationSwift @objc public convenience init(image: String, link: String)ParametersimageThe URL of the background image on the tile of the related content video. linkThe target URL to navigate to, when clicking the tile of the related content video. Specifying a link will redirect to a new page. 
- 
                  
                  Constructs a RelatedContentSource with SourceDescription.DeclarationSwift @objc public convenience init(image: String, source: SourceDescription, duration: String? = nil, title: String? = nil)ParametersimageThe URL of the background image on the tile of the related content video. sourceA source object specifying the source to play. Specifying a source will reset the player’s SourceDescription and allow the same player to play the new source without the need to redirect to a new page. durationThe duration that will be displayed on the tile of the related content video, in seconds. Defaults to nil. titleThe title that will be displayed on the tile of the related content video. Defaults to nil. 
- 
                  
                  Constructs a RelatedContentSource with SourceDescription.DeclarationSwift @objc public convenience init(image: String, source: SourceDescription)ParametersimageThe URL of the background image on the tile of the related content video. sourceA source object specifying the source to play. Specifying a source will reset the player’s SourceDescription and allow the same player to play the new source without the need to redirect to a new page. 
 RelatedContentSource Class Reference
      RelatedContentSource Class Reference