Class: shaka.net.DataUriPlugin

A networking plugin to handle data URIs.

Constructor

new DataUriPlugin()

A networking plugin to handle data URIs.

Source:
See:

Methods

parse(uri, request, requestType, progressUpdated) → {shaka.extern.IAbortableOperation.<shaka.extern.Response>}

Parameters:
Name Type Description
uri string
request shaka.extern.Request
requestType shaka.net.NetworkingEngine.RequestType
progressUpdated shaka.extern.ProgressUpdated Called when a progress event happened.
Source:
Returns:
Type
shaka.extern.IAbortableOperation.<shaka.extern.Response>

parseRaw(uri) → {{data: BufferSource, contentType: string}}

Parameters:
Name Type Description
uri string
Source:
Returns:
Type
{data: BufferSource, contentType: string}