Help Center> Video On Demand> FAQs> Playback> Why Does the Encrypted HLS Video Playback Failed?
Updated on 2022-10-24 GMT+08:00

Why Does the Encrypted HLS Video Playback Failed?

Possible causes are as follows:

  • The decryption key cannot be obtained. The possible cause is that the URL for obtaining the key is incorrect. You can press F12 when previewing an encrypted HLS video on the console to check whether the response of the API for obtaining the key is normal.

    For details about HLS encryption, see Using HLS Encryption to Prevent Video Leakage.

  • URL validation has been configured, but the signed URL is not used for playback. Choose Domain Name Management > Settings > Hotlink Protection Settings on the VOD console to check whether URL validation has been configured. If yes, you need to obtain the signed streaming URL on the Audio and Video Management page to play the video.

  • You can also clear the cache of the key management server and play the encrypted HLS video again.
  • After the HLS encryption service is enabled, a key can be obtained but cannot be used for playback. The possible cause is that the obtained key is not encoded and decoded using Base64. Check whether the obtained key uses standard Base64 for codec. For details, see Protecting Videos with HLS Encryption.

Playback FAQs

more