From b2c5b2a41223e826182b4e06fbd08f8e1b106ce3 Mon Sep 17 00:00:00 2001 From: Garrett Date: Fri, 4 Nov 2016 14:18:10 -0400 Subject: [PATCH] docs: Change registerSourceHandler param doc from first to index (#3737) --- src/js/tech/tech.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/tech/tech.js b/src/js/tech/tech.js index 3e10ddfba..fe56df343 100644 --- a/src/js/tech/tech.js +++ b/src/js/tech/tech.js @@ -696,7 +696,7 @@ Tech.withSourceHandlers = function(_Tech) { * 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) * @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) { let handlers = _Tech.sourceHandlers;