Skip to content
Client
Server

Reference / @open-music-sdk/browser / MUSICKIT_SCRIPT

Variable: MUSICKIT_SCRIPT ​

ts
const MUSICKIT_SCRIPT: "https://js-cdn.music.apple.com/musickit/v3/musickit.js" = "https://js-cdn.music.apple.com/musickit/v3/musickit.js";

Defined in: integrations/browser/src/connect.ts:122

Where Apple serves its MusicKit on the Web script, for your content security policy's script-src. It is one URL with no version in it, and the script cannot be pinned, bundled or re-hosted: Apple serves no other, and its licence forbids the rest.

MIT licensed. Not affiliated with, endorsed by, or sponsored by Apple Inc. Apple Music and MusicKit are trademarks of Apple Inc.