From 84ed74d40df27e1274bba4bbb78cdb9cb284ea65 Mon Sep 17 00:00:00 2001 From: Yiannis Christodoulou Date: Thu, 16 Oct 2025 16:19:20 +0300 Subject: [PATCH] Increase mobile caption font size to 13 Updated the mobileFontSize setting in the captions config from 10 to 13 to improve readability on mobile devices. --- .../video-js/src/components/video-player/VideoJSPlayer.css | 3 ++- frontend-tools/video-js/src/config/playerConfig.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend-tools/video-js/src/components/video-player/VideoJSPlayer.css b/frontend-tools/video-js/src/components/video-player/VideoJSPlayer.css index 22d33d0e..d7156af1 100644 --- a/frontend-tools/video-js/src/components/video-player/VideoJSPlayer.css +++ b/frontend-tools/video-js/src/components/video-player/VideoJSPlayer.css @@ -29,9 +29,10 @@ button { } /* Center the fullscreen button inside its wrapper */ -@media (hover: hover) and (pointer: fine) { +/* @media (hover: hover) and (pointer: fine) { .vjs-fullscreen-control svg { width: 30px !important; height: 30px !important; } } + */ diff --git a/frontend-tools/video-js/src/config/playerConfig.js b/frontend-tools/video-js/src/config/playerConfig.js index 80d6a28b..cd86ff4d 100644 --- a/frontend-tools/video-js/src/config/playerConfig.js +++ b/frontend-tools/video-js/src/config/playerConfig.js @@ -40,7 +40,7 @@ const PlayerConfig = { // Font size in em units fontSize: 14, - mobileFontSize: 10, + mobileFontSize: 13, }, };