bitmovin-player-ui
    Preparing search index...

    Interface RecommendationConfig

    A configuration for a recommended video that can be shown in the RecommendationOverlay after the playback of the current video has ended.

    interface RecommendationConfig {
        duration?: number;
        resource: SourceConfig | ExternalRecommendationLink;
        title: string;
    }
    Index

    Properties

    duration?: number

    An optional duration of the recommended video which will be displayed on the recommendation.

    resource: SourceConfig | ExternalRecommendationLink

    The recommendation item, either an external link or a source config that can be loaded into the player. If a source config is provided:

    • it will be loaded into the current player instance.
    • the poster image of the source config will be used as thumbnail if available.
    title: string

    The title of the recommended video.