From 408b31e97a760caa14ff7f124e53564b2dfdd5d2 Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Wed, 2 Apr 2025 13:50:56 -0400 Subject: [PATCH] Fix setting pgs renderer aspect ratio Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com> --- src/plugins/htmlVideoPlayer/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/htmlVideoPlayer/plugin.js b/src/plugins/htmlVideoPlayer/plugin.js index 3a4d5b12f..5afc9d182 100644 --- a/src/plugins/htmlVideoPlayer/plugin.js +++ b/src/plugins/htmlVideoPlayer/plugin.js @@ -2112,7 +2112,7 @@ export class HtmlVideoPlayer { } if (this.#currentPgsRenderer) { - this.#currentPgsRenderer = val === 'auto' ? 'contain' : val; + this.#currentPgsRenderer.aspectRatio = val === 'auto' ? 'contain' : val; } }