ClearKey without MKPlayer

ClearKey without MKPlayer

Hello,

I'm not using MKPlayer but would like to protect my videos with ClearKey encryption using a JWT.

I've created my Content Key and Streaming Locator and am able to play the video using the MK player demo by providing the correct JWT. But I cannot play the video locally using my own video player.

I have provided the header "Authorization" with the bearer token "Bearer=jwt_token" when requesting the video but I am blocked by CORS with this error:
  1. Request header field authorization is not allowed by Access-Control-Allow-Headers in preflight response".

Any ideas on how I can use a JWT in my own player to enable playback on ClearKey protected videos please? Am I doing it right?
    • Topic Participants

    • Adam


    Features & Ideas

    Have an idea for a feature? Request a feature or an idea!