new FlashMediaSource()
A flash implmentation of HTML MediaSources and a polyfill
for browsers that don't support native or HTML MediaSources..
- Source:
Extends
- videojs.EventTarget
Methods
addSourceBuffer(type) → {Object}
Create a new flash source buffer and add it to our flash media source.
Parameters:
| Name | Type | Description |
|---|---|---|
type |
String | the content-type of the source |
- Source:
Returns:
the flash source buffer
- Type
- Object
endOfStream(erroropt)
Signals the end of the stream.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
String |
<optional> |
Signals that a playback error has occurred. If specified, it must be either "network" or "decode". |
- Source: