hls.js 1.6.0-beta.1.0.canary.10817 → 1.6.0-beta.1.0.canary.10818

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
@@ -400,7 +400,7 @@ function enableLogs(debugConfig, context, id) {
400
400
  // Some browsers don't allow to use bind on console object anyway
401
401
  // fallback to default if needed
402
402
  try {
403
- newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.0-beta.1.0.canary.10817"}`);
403
+ newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.0-beta.1.0.canary.10818"}`);
404
404
  } catch (e) {
405
405
  /* log fn threw an exception. All logger methods are no-ops. */
406
406
  return createLogger();
@@ -8303,7 +8303,7 @@ class BaseStreamController extends TaskLoop {
8303
8303
  }
8304
8304
  loadFragment(frag, level, targetBufferTime) {
8305
8305
  const config = this.hls.config;
8306
- if (config.interstitialsController && config.enableInterstitialPlayback !== false) {
8306
+ if (config.interstitialsController && config.enableInterstitialPlayback !== false && frag.type !== PlaylistLevelType.SUBTITLE) {
8307
8307
  // Do not load fragments outside the buffering schedule segment
8308
8308
  const interstitials = this.hls.interstitialsManager;
8309
8309
  const bufferingItem = interstitials == null ? void 0 : interstitials.bufferingItem;
@@ -9835,7 +9835,7 @@ var eventemitter3 = {exports: {}};
9835
9835
  var eventemitter3Exports = eventemitter3.exports;
9836
9836
  var EventEmitter = /*@__PURE__*/getDefaultExportFromCjs(eventemitter3Exports);
9837
9837
 
9838
- const version = "1.6.0-beta.1.0.canary.10817";
9838
+ const version = "1.6.0-beta.1.0.canary.10818";
9839
9839
 
9840
9840
  // ensure the worker ends up in the bundle
9841
9841
  // If the worker should not be included this gets aliased to empty.js