diff --git a/src/Player.astro b/src/Player.astro index dd7b41f..dd4ac1f 100644 --- a/src/Player.astro +++ b/src/Player.astro @@ -12,6 +12,7 @@ const { AudioAttributes, ShowBackAndForward, + BigPlayButton = false, YouTube = false, YouTubeQuality = '137', @@ -43,6 +44,7 @@ if (YouTube === true) { // 1080p = 137 // 720p = 302 // Dash Audio = 251 + var YTThumbnail = 'https://i.ytimg.com/vi/' + WatchId +'/maxresdefault.jpg' var YTVideo = 'https://' + Invidious +'/latest_version?id=' + WatchId + '&itag=' + YouTubeQuality var YTAudio = 'https://' + Invidious +'/latest_version?id=' + WatchId + '&itag=251' } else if (YouTube === false) { @@ -55,7 +57,7 @@ import './Styles/Iconoir.css' ---
- + {Audio ? : null } {Audio ? : null } {Milieu ? @@ -69,6 +71,11 @@ import './Styles/Iconoir.css' : null } + {BigPlayButton ? + + : + null + } {SettingsMenu ? @@ -81,7 +88,7 @@ import './Styles/Iconoir.css' : } - +