From ab106cd65570a8fb5c0ed41562c77ab8072bfb08 Mon Sep 17 00:00:00 2001 From: 8man <99420590+himanshu8443@users.noreply.github.com> Date: Thu, 8 Jun 2023 09:41:33 +0530 Subject: Added Subtitle Customizations (#20) * Added Subtitle Customisations * New Subtitle Customizations * Settings icons * new icons * New icons * Updated icons --- components/videoPlayer.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'components') diff --git a/components/videoPlayer.js b/components/videoPlayer.js index ecd62e0..122f5b8 100644 --- a/components/videoPlayer.js +++ b/components/videoPlayer.js @@ -173,6 +173,8 @@ export default function VideoPlayer({ style: { color: "#FFFF", fontSize: `${defSize?.size}`, + fontFamily: localStorage.getItem("font")? localStorage.getItem("font") : "Arial", + textShadow: localStorage.getItem("subShadow")? JSON.parse(localStorage.getItem("subShadow")).value : "0px 0px 10px #000000", }, }, }), -- cgit v1.2.3