For setting up a clear key using JWT tokens
Hello,
Content playback using the ClearStreamingOnly policy was successful.
But, creating a content key policy with a clear key and then playing back the content results in an error.
The version of MKPlayer I am using is v1.6.0.
The source displayed in the browser console looks like this:
[MKPlayer: DBG]: Starting playback with source: {
"title": "",
"description": "",
"poster": "",
"hls": "https://ep-*****.japaneast.streaming.mediakind.com/********-****-****-****-************/manifest.ism/manifest(format=m3u8-cmaf,encryption=cbc)",
"dash": null,
"options": {
"headers": {
"Authorization": "Bearer=ey******...."
}
}
}
The error is a blocked cross-origin request.
Header 'authorization' not allowed due to header 'Access-Control-Allow-Headers' from CORS preflight response
Please tell me what I am doing wrong and what I am missing.
Thank you,
Have an idea for a feature? Request a feature or an idea!