Thunderarea / music-mode-for-youtube

Browser extension for blocking the video and playing only the audio on YouTube and YouTube Music
GNU General Public License v3.0
36 stars 2 forks source link

Video is not blocked #29

Open Thunderarea opened 2 months ago

Thunderarea commented 2 months ago

After some recent changes on YouTube, the audio/video files of YouTube videos do not have a parameter mime=audio (or video). In this way, the extension cannot detect the audio files in order to put them in the player. Also, the video files are not detected in order to be blocked. Any contribution is more than welcome!

https://github.com/Thunderarea/music-mode-for-youtube/blob/6fa67b31a665255c549bcb205e29f6aa4ed35183/source/js/video_handler.js#L197C9-L197C48

Newcool1230 commented 1 month ago

Looking at the transfer sizes it seems like they've combined audio+video together most likely to serve built-in ads in the near future. You can however still get mime=audio and mime=video from the mobile browser version (m.youtube.com), this will probably change once they properly implement the audio+video version.

This might be the end of audio only youtube, unless there is something in the request body that can be changed...