changeset 48:046673b1cc24

dead code
author drewp@bigasterisk.com
date Fri, 06 Dec 2024 14:20:11 -0800
parents c2c51aae3e31
children 1bd17c2e5517
files src/VideoPage.ts src/VideoSection.ts
diffstat 2 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/VideoPage.ts	Fri Dec 06 09:27:10 2024 -0800
+++ b/src/VideoPage.ts	Fri Dec 06 14:20:11 2024 -0800
@@ -140,7 +140,6 @@
       webRelPath=${video.webRelPath}
       thumbRelPath=${this.thumbSrc(video)}
       title="${video.label}"
-      manifest="${PATH_PREFIX}/files${video.webDataPath}"
     ></video-section>`;
   }
 
--- a/src/VideoSection.ts	Fri Dec 06 09:27:10 2024 -0800
+++ b/src/VideoSection.ts	Fri Dec 06 14:20:11 2024 -0800
@@ -5,7 +5,6 @@
 
 @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)";
@@ -31,15 +30,10 @@
     this.dispatchEvent(
       new CustomEvent("playVideo", {
         detail: {
-          manifest: this.manifest,
           webRelPath: this.webRelPath,
           zoomFrom: "my location",
         },
       })
     );
   }
-  updated() {
-    // const  el=this.querySelector("#video")
-    // console.log(el.clientWidth);
-  }
 }