diff src/VideoSection.ts @ 45:df51269bcef4

fix back/fwd nav and player loading
author drewp@bigasterisk.com
date Fri, 06 Dec 2024 01:02:33 -0800
parents 44bd161e4779
children c2c51aae3e31
line wrap: on
line diff
--- a/src/VideoSection.ts	Fri Dec 06 01:01:05 2024 -0800
+++ b/src/VideoSection.ts	Fri Dec 06 01:02:33 2024 -0800
@@ -5,6 +5,7 @@
 @customElement("video-section")
 export class VideoSection extends LitElement {
   @property({ type: String }) manifest: string | undefined;
+  @property({ type: String }) webRelPath: string | undefined;
   @property({ type: String }) thumbRelPath: string | undefined;
   @property({ type: String }) title: string = "(unknown)";
   @property({ type: String }) big: boolean = false;
@@ -51,6 +52,7 @@
       new CustomEvent("playVideo", {
         detail: {
           manifest: this.manifest,
+          webRelPath: this.webRelPath,
           zoomFrom: "my location",
         },
       })