Constructor
new DataUriPlugin()
A networking plugin to handle data URIs.
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:
parseRaw(uri) → {{data: BufferSource, contentType: string}}
Parameters:
Name | Type | Description |
---|---|---|
uri |
string |
- Source:
Returns:
- Type
- {data: BufferSource, contentType: string}