Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install in Safari #6

Open
kczempinski opened this issue Mar 21, 2024 · 4 comments
Open

Install in Safari #6

kczempinski opened this issue Mar 21, 2024 · 4 comments

Comments

@kczempinski
Copy link

Any possibility to support Safari on Mac OS?

@DavidBuchanan314
Copy link
Owner

I don't have any macos systems in my daily rotation so I can't commit to maintaining safari support, but PRs would be accepted

@DavidBuchanan314
Copy link
Owner

But, I would question the need for it? Doesn't Safari get you 4K by default?

@kczempinski
Copy link
Author

Yes, 4k works by default, but surround sound does not. I used Boom3D for Netflix ( https://apps.apple.com/pl/app/boom3d-5-1-audio-for-netflix/id6445882848?l=pl&mt=12 ) but now I receive the same error (UI3013)

@kczempinski
Copy link
Author

kczempinski commented Mar 21, 2024

I found a solution to temporarily load the script into Safari:

  1. Enable developer options in Safari
  2. Edit line 31 in cadmium-playercore-shim.js as below
    var cadmium_url = "https://assets.nflxext.com/en_us/ffe/player/html/cadmium-playercore-6.0044.268.911.js"
  3. Check Disable cross-origin restrictions in developer settings
4. Play any video on Netflix
5. From the menu click Develop -> Show Page Source
6. Find cadmium script in Sources

7. Right-click the script and select Create Response Local Override
8. Click Import or Map to File and paste the content of the modified cadmium-playercore-shim.js or point to the file
9. Repeat steps 3-8 after every Safari restart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants