hls.js 1.6.0-beta.3.0.canary.10960 → 1.6.0-beta.3.0.canary.10961

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.
@@ -208,7 +208,7 @@ export class InterstitialEvent {
208
208
  get duration(): number {
209
209
  const playoutLimit = this.playoutLimit;
210
210
  let duration: number;
211
- if (this._duration) {
211
+ if (this._duration !== null) {
212
212
  duration = this._duration;
213
213
  } else if (this.dateRange.duration) {
214
214
  duration = this.dateRange.duration;
@@ -256,6 +256,10 @@ export class InterstitialEvent {
256
256
  return this.base.url;
257
257
  }
258
258
 
259
+ get assetListLoaded(): boolean {
260
+ return this.assetList.length > 0 || this.assetListResponse !== null;
261
+ }
262
+
259
263
  toString(): string {
260
264
  return eventToString(this);
261
265
  }