Description
Have you read the Tutorials?
Yes
Have you read the FAQ and checked for duplicate open issues?
Yes
If the question is related to FairPlay, have you read the tutorial?
Yes
What version of Shaka Player are you using?
4.12.6
What browser and OS are you using?
Safari - macOS Sequoia
Please ask your question
I recently upgraded Shaka Player in my project from 4.7.3 to 4.12.6 and noticed that FairPlay DRM is no longer working. After testing multiple versions, I found that the issue starts from version 4.10.0.
I checked the release notes and documentation, but I couldn’t find any information on what changes I need to make in my code to fix this issue.
Screenshot of the error for reference:
Additionally, I found that my code does not enter the webkitneedkey event when using versions 4.10.0 or later. Specifically, in the following code, the event handler is never triggered:
const addNeedKeyEventToVideo = () => {
let video = ref.current;
video.addEventListener('webkitneedkey', onNeedKey, false);
};
I'm happy to share more code snapshots if needed.
Thanks.