mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-10 10:11:46 +00:00
fix video toggle button appearing when in song mode
This commit is contained in:
@ -56,7 +56,7 @@ function changeDisplay(showVideo) {
|
||||
}
|
||||
|
||||
function videoStarted() {
|
||||
if (player.videoMode_) {
|
||||
if (api.getPlayerResponse().videoDetails.musicVideoType !== 'MUSIC_VIDEO_TYPE_ATV') {
|
||||
// switch to high res thumbnail
|
||||
forceThumbnail($('#song-image img'));
|
||||
// show toggle button
|
||||
|
||||
Reference in New Issue
Block a user