diff --git a/lib/net/http_fetch_plugin.js b/lib/net/http_fetch_plugin.js index c4183f0c71..b5320258c6 100644 --- a/lib/net/http_fetch_plugin.js +++ b/lib/net/http_fetch_plugin.js @@ -306,4 +306,8 @@ if (shaka.net.HttpFetchPlugin.isSupported()) { 'https', shaka.net.HttpFetchPlugin.parse, shaka.net.NetworkingEngine.PluginPriority.PREFERRED, /* progressSupport= */ true); + shaka.net.NetworkingEngine.registerScheme( + 'blob', shaka.net.HttpFetchPlugin.parse, + shaka.net.NetworkingEngine.PluginPriority.PREFERRED, + /* progressSupport= */ true); } diff --git a/lib/net/http_xhr_plugin.js b/lib/net/http_xhr_plugin.js index ece2b6c96f..aec4ec6de2 100644 --- a/lib/net/http_xhr_plugin.js +++ b/lib/net/http_xhr_plugin.js @@ -158,4 +158,8 @@ shaka.net.NetworkingEngine.registerScheme( 'https', shaka.net.HttpXHRPlugin.parse, shaka.net.NetworkingEngine.PluginPriority.FALLBACK, /* progressSupport= */ true); +shaka.net.NetworkingEngine.registerScheme( + 'blob', shaka.net.HttpXHRPlugin.parse, + shaka.net.NetworkingEngine.PluginPriority.FALLBACK, + /* progressSupport= */ true);