From 0fe920921def41533af1904eb7a6ef773ece80c9 Mon Sep 17 00:00:00 2001 From: JrMasterModelBuilder Date: Thu, 26 Oct 2023 01:07:13 -0400 Subject: [PATCH] Fixed the custom HTML --- src/projector/html.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/projector/html.ts b/src/projector/html.ts index 238700a..e6dfb1e 100644 --- a/src/projector/html.ts +++ b/src/projector/html.ts @@ -49,17 +49,17 @@ export class ProjectorHtml extends Projector { public pluginspage: string | null = null; /** - * Required src/movie URL. + * Required src/movie URL (unless using custom HTML). */ public src: string = ''; /** - * Required movie width. + * Required movie width (unless using custom HTML). */ public width: string | number | null = null; /** - * Required movie height. + * Required movie height (unless using custom HTML). */ public height: string | number | null = null; @@ -188,7 +188,7 @@ export class ProjectorHtml extends Projector { public async write() { const {path} = this; await mkdir(dirname(path), {recursive: true}); - await writeFile(path, this.getHtmlDefault()); + await writeFile(path, this.getHtml()); } /**