From d78547a79b8356b6040dbc73d922b1b87822b541 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Velad=20Galv=C3=A1n?= Date: Fri, 18 Aug 2023 14:26:53 +0200 Subject: [PATCH] fix(WebVTT): Fix text-shadow in WebVTT not working (#5499) Fixes https://github.com/shaka-project/shaka-player/issues/5020 --- lib/text/vtt_text_parser.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/text/vtt_text_parser.js b/lib/text/vtt_text_parser.js index 79bd06b97e..6a12adb513 100644 --- a/lib/text/vtt_text_parser.js +++ b/lib/text/vtt_text_parser.js @@ -674,6 +674,7 @@ shaka.text.VttTextParser = class { cue.fontWeight = refCue.fontWeight; cue.fontStyle = refCue.fontStyle; cue.opacity = refCue.opacity; + cue.textShadow = refCue.textShadow; cue.wrapLine = refCue.wrapLine; }