diff --git a/frontend-tools/video-js/src/components/controls/AutoplayToggleButton.js b/frontend-tools/video-js/src/components/controls/AutoplayToggleButton.js index 79bf1cea..101f20fb 100644 --- a/frontend-tools/video-js/src/components/controls/AutoplayToggleButton.js +++ b/frontend-tools/video-js/src/components/controls/AutoplayToggleButton.js @@ -1,4 +1,5 @@ import videojs from 'video.js'; +import PlayerConfig from '../../config/playerConfig'; import './AutoplayToggleButton.css'; const Button = videojs.getComponent('Button'); @@ -78,8 +79,8 @@ class AutoplayToggleButton extends Button { // Add appropriate icon class based on state if (this.isAutoplayEnabled) { // this.iconSpan.classList.add('vjs-icon-spinner'); - this.iconSpan.innerHTML = `12321321 - + this.iconSpan.innerHTML = ` + @@ -89,8 +90,8 @@ class AutoplayToggleButton extends Button { `; } else { // this.iconSpan.classList.add('vjs-icon-play-circle'); - this.iconSpan.innerHTML = `1232132 - + this.iconSpan.innerHTML = ` + diff --git a/frontend-tools/video-js/src/config/playerConfig.js b/frontend-tools/video-js/src/config/playerConfig.js index 4ab77b90..9d86e3dc 100644 --- a/frontend-tools/video-js/src/config/playerConfig.js +++ b/frontend-tools/video-js/src/config/playerConfig.js @@ -32,7 +32,7 @@ const PlayerConfig = { height: 3, // Font size in em units - fontSize: 26, + fontSize: 16, }, };