1
0
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:
Garrett 2016-11-04 14:18:10 -04:00 committed by Gary Katsevman
parent fb74c71ba6
commit b2c5b2a412

View File

@ -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;