diff --git a/src/Player.astro b/src/Player.astro index dd4ac1f..d1fd14c 100644 --- a/src/Player.astro +++ b/src/Player.astro @@ -10,6 +10,7 @@ const { Audio, VideoAttributes, AudioAttributes, + Subtitles, ShowBackAndForward, BigPlayButton = false, @@ -35,6 +36,7 @@ import Controls from './Controls.astro' import MilieuEffect from './Features/Milieu.astro' import Controller from './Controls/Controller.astro' import Seek from './Controls/Seek.astro' +import SubtitlesMenu from './Controls/Subtitles.astro' import Sync from './Controls/Sync.astro' // YouTube @@ -57,7 +59,9 @@ import './Styles/Iconoir.css' ---
- + {Audio ? : null } {Audio ? : null } {Milieu ? @@ -77,8 +81,8 @@ import './Styles/Iconoir.css' null } {SettingsMenu ? - - + +
{Whitelabel ? Zorn Player : null} @@ -86,7 +90,7 @@ import './Styles/Iconoir.css' : - + } @@ -105,4 +109,10 @@ import './Styles/Iconoir.css' var VolumeRange = document.querySelector('#zorn-player-' + PlayerName + ' .vc-volume-controller-input input') VolumeRange.addEventListener("input", (event) => {Player.volume = event.target.value}) +} + +{Subtitles ? + + : + null } \ No newline at end of file