hls.js 1.5.14-0.canary.10517 → 1.5.14-0.canary.10520

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/hls.mjs CHANGED
@@ -421,7 +421,7 @@ function enableLogs(debugConfig, context, id) {
421
421
  // Some browsers don't allow to use bind on console object anyway
422
422
  // fallback to default if needed
423
423
  try {
424
- newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.14-0.canary.10517"}`);
424
+ newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.14-0.canary.10520"}`);
425
425
  } catch (e) {
426
426
  /* log fn threw an exception. All logger methods are no-ops. */
427
427
  return createLogger();
@@ -11033,7 +11033,7 @@ function concatUint8Arrays(chunks, dataLength) {
11033
11033
  return result;
11034
11034
  }
11035
11035
 
11036
- const version = "1.5.14-0.canary.10517";
11036
+ const version = "1.5.14-0.canary.10520";
11037
11037
 
11038
11038
  // ensure the worker ends up in the bundle
11039
11039
  // If the worker should not be included this gets aliased to empty.js
@@ -20128,8 +20128,8 @@ class BufferController extends Logger {
20128
20128
  }
20129
20129
  }
20130
20130
  get mediaSrc() {
20131
- var _this$media;
20132
- const media = ((_this$media = this.media) == null ? void 0 : _this$media.firstChild) || this.media;
20131
+ var _this$media, _this$media$querySele;
20132
+ const media = ((_this$media = this.media) == null ? void 0 : (_this$media$querySele = _this$media.querySelector) == null ? void 0 : _this$media$querySele.call(_this$media, 'source')) || this.media;
20133
20133
  return media == null ? void 0 : media.src;
20134
20134
  }
20135
20135
  _onSBUpdateStart(type) {