videojs / video.js

Video.js - open source HTML5 video player
https://videojs.com
Other
37.51k stars 7.4k forks source link

DRM | Safari | Fair Play License is not being called #8748

Open Nishu2696 opened 1 month ago

Nishu2696 commented 1 month ago

Description

I have a DRM protected content, and to play this content on safari, we have a Fairplay license, but this license URL is not getting triggered, when I check this in the networks tab

'com.apple.fps.1_0': { certificateUri: certificateUri, }

Reduced test case

-

Steps to reproduce

1. 2. 3.

Errors

No Error in the console tab

What version of Video.js are you using?

7.20.3

Video.js plugins used.

No response

What browser(s) including version(s) does this occur with?

Safari 17.5

What OS(es) and version(s) does this occur with?

Mac os

welcome[bot] commented 1 month ago

👋 Thanks for opening your first issue here! 👋

If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines.

Molten-Ben-Kaufman commented 1 month ago

I think this question is relevant mostly for this repo as far as I can tell. I ran into the same problem and it seems like calling player.eme.initLegacyFairplay(); before setting the src worked for me.

see: https://github.com/videojs/videojs-contrib-eme?tab=readme-ov-file#initlegacyfairplay