Use cover aspect ratio for theme videos

This commit is contained in:
Bill Thornton
2025-10-09 13:49:57 -04:00
parent 76fbfbbe84
commit fd4c897642
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -402,7 +402,7 @@ export class HtmlVideoPlayer {
if (options.resetSubtitleOffset !== false) this.resetSubtitleOffset();
const elem = await this.createMediaElement(options);
this.#applyAspectRatio();
this.#applyAspectRatio(options.aspectRatio || this.getAspectRatio());
await this.updateVideoUrl(options);
return this.setCurrentSrc(elem, options);