Add centralized video player configuration file

Introduces playerConfig.js to centralize video player customization options, including progress bar position and color settings.
This commit is contained in:
Yiannis Christodoulou 2025-10-09 13:51:24 +03:00
parent ea3cdda18c
commit 40816e6a12

View File

@ -0,0 +1,25 @@
/**
* Video Player Configuration
* Centralized configuration for video player customizations
*/
const PlayerConfig = {
// Progress bar configuration
progressBar: {
// Position: 'top' or 'bottom'
// 'top' - progress bar above control bar
// 'bottom' - progress bar below control bar (default/native style)
position: 'top',
// Progress bar color (hex, rgb, or CSS color name)
color: '#019932',
// Background color of the progress track
trackColor: 'rgba(255, 255, 255, 0.3)',
// Loaded buffer color
bufferColor: 'rgba(255, 255, 255, 0.5)',
},
};
export default PlayerConfig;