mirror of
https://github.com/videojs/video.js.git
synced 2025-03-03 15:12:49 +02:00
docs: Change registerSourceHandler param doc from first to index (#3737)
This commit is contained in:
parent
fb74c71ba6
commit
b2c5b2a412
@ -696,7 +696,7 @@ Tech.withSourceHandlers = function(_Tech) {
|
|||||||
* The source handler pattern is used for adaptive formats (HLS, DASH) that
|
* The source handler pattern is used for adaptive formats (HLS, DASH) that
|
||||||
* manually load video data and feed it into a Source Buffer (Media Source Extensions)
|
* manually load video data and feed it into a Source Buffer (Media Source Extensions)
|
||||||
* @param {Function} handler The source handler
|
* @param {Function} handler The source handler
|
||||||
* @param {Boolean} first Register it before any existing handlers
|
* @param {Number} index The index to register the handler among existing handlers
|
||||||
*/
|
*/
|
||||||
_Tech.registerSourceHandler = function(handler, index) {
|
_Tech.registerSourceHandler = function(handler, index) {
|
||||||
let handlers = _Tech.sourceHandlers;
|
let handlers = _Tech.sourceHandlers;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user