This document describes how to upload a video to VOD, process it, and play it back in the superplayer.
Make sure that the following prerequisites are met:
You need to activate VOD in the following steps:
At this point, you have activated VOD.
You need to make sure that hotlink protection for your default distribution domain name is not enabled:
This step describes how to upload a video, transcode it to adaptive bitstream, and generate a thumbnail and image sprite.
LongVideoPreset is a preset task flow, which uses template 10 for adaptive bitrate streaming, thumbnail generation, and image sprite capturing.
3. Click Upload to enter the Uploading page and wait for the upload to complete.
4. Select Media Assets > Video Management and find the newly uploaded video (FileId: 528xxx3757278095). Here, the ID is the
FileId of the uploaded video.
Wait until the Video Status changes from Processing to Normal, which indicates that video processing is completed.
In the previous step, you have uploaded and processed the video. Now, you can use the superplayer for web, iOS, and Android to quickly preview video playback.
Select Media Assets > Video Management, find the video uploaded and processed in step 1, click Manage in the Operation column, and select Superplayer Preview.
Select default for Playback Configuration.
default is a preset superplayer configuration, which is used to output the adaptive bitstream with template 10 and the image sprite with template 10.
In Web Player, click the button in the middle of the player to play back the video on web.
In Mobile Player, click Scan code to download and install "Tencent Cloud Toolkit".
Open Tencent Cloud Toolkit on your mobile phone, select Player > Superplayer, tap the top-right corner to scan the QR code, and you can play back the video on your phone.
In Media Assets > Video Management > Superplayer Preview in the console, you can get the corresponding web player source code for video preview for your reference.
At this point, you have understood how to upload a video to VOD, process it, and play it back in the superplayer.
You can also: