fix video toggle button appearing when in song mode

This commit is contained in:
Araxeus
2021-12-14 00:34:32 +02:00
parent c8ba85be76
commit a273f6f73c

View File

@ -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