Superplayer Configuration

Last updated: 2020-09-24 10:27:35

    When you use the superplayer to play back a video, the video image content is the adaptive bitrate streaming output, and the thumbnail preview is the image sprite output.
    If your video has multiple adaptive bitrate streaming and image sprite outputs, you need to specify:

    • Which adaptive bitstream is to be played back.
    • Which image sprite is to be used as thumbnails.

    An adaptive bitstream contains multiple substreams, which correspond to different resolution names during resolution switch. When specifying the resolution name of each substream displayed in the player, you need to specify the naming rule for the substream resolutions.

    Player Configuration Item

    VOD supports superplayer configuration, where you can specify the adaptive bitrate streaming template ID and image sprite template ID. In addition, it allows you to customize the resolution naming rule (such as LD, SD, and HD) of each substream.

    Configuration Item Configuration Method Feature
    Adaptive bitstream for playback Adaptive bitrate streaming template ID It controls the content played back by the player
    Image sprite template for thumbnail preview Image sprite template ID It controls the thumbnails displayed on the progress bar.
    Substream resolution name displayed by player Naming of the length of substream short side It controls the names of resolutions for resolution switch

    Preset Configuration

    VOD provides the following two preset configurations for your convenience:

    Configuration NameConfiguration Item
    Adaptive bitstream to be played back (template ID)Image sprite to be used (template ID)Resolution naming rule (based on length of substream short side)
    default1010
    • 240p: LD
    • 480p: SD
    • 720p: HD
    • 1080p: FHD
    • 1440p: 2K
    • 2160p: 4K
    • Others: xxp (xx indicates the length of the video short side)
    basicDrmPreset1210
    • If the video content does not require encryption, you can use the LongVideoPreset preset task flow for adaptive bitrate streaming and the default preset superplayer configuration for playback. For specific samples, please see Integration Guide.
    • If you need to play back encrypted content, you can use the SimpleAesEncryptPreset preset task flow for adaptive bitrate streaming and the basicDrmPreset preset superplayer configuration for playback. For specific samples, please see Integration Guide.

    Custom Configuration

    In addition to using preset superplayer configurations, you can also customize the configuration in the console or through API.
    You can use a custom superplayer configuration for playback as instructed in Integration Guide.

    Using Configuration

    If you use a configuration rather than the default preset configuration, you need to use the superplayer signature and specify the configuration name to be used in the pcfg signature parameter.
    You can use the superplayer signature for playback as instructed in Integration Guide.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help