Check that your player configuration matches the capabilities of the browser. Supported on Chrome, Firefox, and Edge.
If your manifest only contains configurations for a specific DRM (e.g., PlayReady ) but the user is on a browser that only supports another (e.g., Chrome with Widevine ), the player will fail to find a match. shaka error 6001
Essentially, this means the player cannot find a configuration that matches the requirements of both the media content (the DRM system used) and the user's current environment (browser/device capabilities). 2. Common Causes Essentially, this means the player cannot find a
The console will now print detailed parsing steps, e.g.: DRM often fails on http:// or localhost without
Ensure the site is running on HTTPS . DRM often fails on http:// or localhost without specific flags enabled.
class MyDashParser extends shaka.dash.DashParser async start(uri, response) // Strip custom nodes let xml = new TextDecoder().decode(response.data); xml = xml.replace(/<MyExtension[^>]*>.*?<\/MyExtension>/gs, ''); const cleanResponse = new shaka.util.Response( uri, data: new TextEncoder().encode(xml), headers: response.headers, ); // Let the original parser do its job return super.start(uri, cleanResponse);