mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +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() {
|
function videoStarted() {
|
||||||
if (player.videoMode_) {
|
if (api.getPlayerResponse().videoDetails.musicVideoType !== 'MUSIC_VIDEO_TYPE_ATV') {
|
||||||
// switch to high res thumbnail
|
// switch to high res thumbnail
|
||||||
forceThumbnail($('#song-image img'));
|
forceThumbnail($('#song-image img'));
|
||||||
// show toggle button
|
// show toggle button
|
||||||
|
|||||||
Reference in New Issue
Block a user