lido-player 0.0.2-1 → 0.0.2-alpha-1

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.
@@ -497,6 +497,8 @@ const AppRoot = class {
497
497
  constructor(hostRef) {
498
498
  index.registerInstance(this, hostRef);
499
499
  this.xmlPath = undefined;
500
+ this.initialIndex = 0;
501
+ this.canplay = true;
500
502
  this.xmlData = undefined;
501
503
  }
502
504
  /**
@@ -537,7 +539,7 @@ const AppRoot = class {
537
539
  return index.h("div", null, "Error loading XML data. Please check the path or URL.");
538
540
  }
539
541
  // Once the XML data is loaded, pass it to the `app-home` component
540
- return index.h("app-home", { initialIndex: 0, canplay: true, xmlData: this.xmlData });
542
+ return index.h("app-home", { initialIndex: this.initialIndex, canplay: this.canplay, xmlData: this.xmlData });
541
543
  }
542
544
  static get assetsDirs() { return ["assets"]; }
543
545
  };