Safari HLS#
The Safari HLS module is designed for enabling HLS playback on Safari, supporting both standard and DRM-protected streams. This plugin integrates seamlessly with the KWIKplayer ecosystem, offering smooth playback on Apple's browser.
Initialization#
To enable Safari HLS support, configure the player options as follows:
window.initPlayer('my-video', { safariHlsPlugin: { drm: { certificateUrl: 'https://example.com/certificate', keySystem: 'com.apple.fps.1_0', licenseUrl: 'https://example.com/license, }, } })
Options#
Option | Type | Description |
---|---|---|
certificateUrl | string | URL for the DRM server's FairPlay certificate. |
keySystem | string | The DRM key system to use. Defaults to 'com.apple.fps.1_0'. |
licenseUrl | string | URL for the license server to obtain decryption keys. |