Custom url scheme for key url

We are using custom url sheme for the key url eg. myscheme://twelve instead of skd://twelve. This (custom scheme) works on iOS. But it throwing up an error in Safari. Changing the scheme back to skd works in Safari.


It there any limitation on the custom scheme that is supported by Safari? Or is there a method to register such custom sheme?

In case someone else is wondering, it looks like WebKit only triggers the keyNeeded event if the URL scheme is skd:// or clearkey://

See: https://github.com/WebKit/WebKit/blob/9cbc1d2087272e6e7b0928729bfbc4d4c8d4b8c4/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm#L1870
Custom url scheme for key url
 
 
Q