Video Playback

Last updated: 2021-01-12 17:37:12

    VOD provides the superplayer feature free of charge. It allows configuring adaptive bitrate streaming, image sprite, and definition name, so you can use it to specify the output for adaptive bitrate streaming, specify image sprites as thumbnails, and specify the definition name. You can also use it to preview videos in the console.

    Note:

    Superplayer only supports previewing videos processed with adaptive bitrate streaming. If you want to quickly generate videos in compliance with the requirements of the superplayer, please see Using Superplayer for Playback - Integration Guide.

    For videos output by adaptive bitrate streaming, VOD supports previewing them with superplayer in the console.

    Superplayer Configuration

    1. Log in to the VOD console and click Superplayer Configuration on the left sidebar on the non-admin page.
    2. Click Create to create a superplayer that meets your needs. You can customize three configuration items: adaptive bitrate streaming for playback, image sprite for thumbnail preview, and substream for player display.
      Configuration ItemDescription
      Adaptive bitrate streaming for playback This indicates the adaptive bitstream that this superplayer can play back, which is the adaptive bitstream you customize in **Template Settings**.
      Image sprite for thumbnail preview This indicates the specification of the image sprite that this superplayer can play back, which is the screencapture template you customize in **Template Settings**.
      Substream for player display This indicates the name display of the superplayer when it uses different substreams. You can use the default substream name or customize one.
    3. Click OK.

    Superplayer Preview

    After creating a superplayer configuration, you can get the configuration name of the corresponding superplayer. Go to Media Assets, select a video, click Manage in the Operation column on the right, and select the corresponding configuration name in Parameter Information to configure and preview different superplayers.

    Parameter information

    "Playback Configuration" contains all the playback configurations created in the superplayer configuration, where default and basicDrmPreset are the default configurations.

    Note:

    Except the default playback configuration, all playback configurations can be used only after key hotlink protection is enabled for the primary distribution domain name.

    Configuration item

    Configuration items display the configuration content in the selected playback configuration.

    • If a fileID has an adaptive bitrate streaming name for playback and image sprite for thumbnail preview, it can be directly previewed in the web player and device player.
    • If a fileID has no adaptive bitrate streaming name for playback or image sprite for thumbnail preview, the following message will be displayed:

      This means that the video doesn't meet the video or image sprite specification under this player configuration, and you can use this player configuration only after transcoding the video to the corresponding adaptive bitrate streaming and image sprite specifications.

    Playback control

    You can enable key hotlink protection for the playback domain name, so that you can use parameter configuration to control the Playback URL Validity, Preview Duration, and Max Playback IPs:

    Parameter Description
    Playback URL Validity Specifies the expiration time of the video URL
    Preview Duration Specifies the preview duration of the video, which must be more than 30 seconds. If this parameter is left empty, there will be no limit on the preview duration
    Max Playback IPs Specifies the maximum number of IPs allowed for playback

    Video Preview

    If a fileID has an adaptive bitrate streaming name for playback and image sprite for thumbnail preview, it can be directly previewed in the web player and device player.

    Web player

    You can click a video to preview it in the web player. You can also click Copy Code to embed it into a custom webpage.

    Device player

    1. Scan the QR code below to download the Video Cloud Toolkit app.

      Note:

      We recommend you use QQ or a browser to scan the QR code and download the demo for Android.

    2. Use the Video Cloud Toolkit to scan the QR code or enter the appID and fileID to preview the video on the terminal device.