aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
author8man <[email protected]>2023-06-08 09:41:33 +0530
committerGitHub <[email protected]>2023-06-08 11:11:33 +0700
commitab106cd65570a8fb5c0ed41562c77ab8072bfb08 (patch)
tree55e90c592d71c814071158b1148be8b28c92d52e /components
parentUpdate Artplayer.js (diff)
downloadmoopa-ab106cd65570a8fb5c0ed41562c77ab8072bfb08.tar.xz
moopa-ab106cd65570a8fb5c0ed41562c77ab8072bfb08.zip
Added Subtitle Customizations (#20)
* Added Subtitle Customisations * New Subtitle Customizations * Settings icons * new icons * New icons * Updated icons
Diffstat (limited to 'components')
-rw-r--r--components/videoPlayer.js2
1 files changed, 2 insertions, 0 deletions
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",
},
},
}),