diff --git a/packages/p2p-media-loader-shaka/src/engine.ts b/packages/p2p-media-loader-shaka/src/engine.ts index c02e7ebb..1f333cbf 100644 --- a/packages/p2p-media-loader-shaka/src/engine.ts +++ b/packages/p2p-media-loader-shaka/src/engine.ts @@ -316,12 +316,14 @@ export class ShakaP2PEngine { }; NetworkingEngine.registerScheme("http", handleLoading); NetworkingEngine.registerScheme("https", handleLoading); + NetworkingEngine.registerScheme("data", handleLoading); } private static unregisterNetworkingEngineSchemes(shaka: Shaka) { const { NetworkingEngine } = shaka.net; NetworkingEngine.unregisterScheme("http"); NetworkingEngine.unregisterScheme("https"); + NetworkingEngine.unregisterScheme("data"); } /**