Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work anymore? #105

Closed
glepretre opened this issue Jun 9, 2023 · 18 comments
Closed

Does not work anymore? #105

glepretre opened this issue Jun 9, 2023 · 18 comments

Comments

@glepretre
Copy link

Does not work on my machine anymore : I still have the message displayed when enabled but the video runs.

Is it a YouTube breaking change?

Google Chrome 114.0.5735.90 on Linux.

Can I bring you more info? Feel free to tell me.

@flmorse
Copy link

flmorse commented Jun 10, 2023

Same

@Dr-Shadow
Copy link

Same issue here

@kofta999
Copy link

Same here

@guplem
Copy link

guplem commented Jun 13, 2023

Same in Chrome 114.0.5735.110 (Official Build) (64-bit).
OS: Windows 11 Pro 22621.1702

@shanmukhasix
Copy link

Same. It seems other similar plugins are not working, so I think it's something YouTube did.

@EinUser2
Copy link

EinUser2 commented Jun 17, 2023

Chrome 114.0.5735.134
Windows 10 Pro (22H2) 19045.3086
But I agree that Google probably has changed something on the YT Api that causes this.

I'm currently using this:
https://chrome.google.com/webstore/detail/audio-only-for-youtube/jbonboilhhoakibpodmnkkcfjhkbajmk

@glepretre
Copy link
Author

This extension still works but it only hides the video (still downloaded): https://chrome.google.com/webstore/detail/music-mode-for-youtube/abbpaepbpakcpipajigmlpnhlnbennna
https://addons.mozilla.org/en-US/firefox/addon/music-mode-for-youtube/
And it's not open source 😕

@p0lygun
Copy link

p0lygun commented Jun 19, 2023

hmmm ok so it look like extension is waiting for a url that has 'mime:audio', but youtube seems to have shifted to mime=video/webm, although i think we can still only stream the audio using some way 🤔 , i'll dig around and make a PR

in the mean time you guys can use https://music.youtube.com/ ?

@Thunderarea
Copy link

This extension still works but it only hides the video (still downloaded): https://chrome.google.com/webstore/detail/music-mode-for-youtube/abbpaepbpakcpipajigmlpnhlnbennna https://addons.mozilla.org/en-US/firefox/addon/music-mode-for-youtube/ And it's not open source 😕

Hi, I am the developer of this extension. The extension used to block the video but after YouTube's latest changes, this feature stopped working. Now as you said, the extension only hides the video.
YouTube still uses URLs with the mime=audio type. However, I have noticed that the response is of type application/vnd.yt-ump. I don't know if this was also the case before the latest YouTube changes. Another thing that I noticed, and this is why YouTube does not longer plays the audio files, is that all the URLs, video or audio, are now not playable by their own. In the past, when you opened one of these URLs in a separate tab, it played the video or audio (depending on the type of the URL). However, now when you open one of these URLs in a separate tab, it downloads a file instead of playing it. So, that's why when you put one of these audio files in the YouTube player, it refuses to play it. I don't know why this happens. Probably, its the thing with the returned content type. But, I say again I don't know if this was also the returned type in the past.
Regarding the code of the extension, I plan to make it open source after a refactoring that I want to do before make it public (better functions and variables names and things like that).
I think that we have to organize a community to try to fix this issue.
image

@xDroni
Copy link
Contributor

xDroni commented Jun 23, 2023

I've created a pull request with the fix:

#108

@Ashish-Bansal
Copy link
Owner

Thanks @xDroni for the fix!

I have submitted a new build to Chrome Store, it's currently in a review state.

@Ashish-Bansal
Copy link
Owner

@Thunderarea Yes, that's right. It's because of the content type change.

Fortunately, for now, we are able to control the content type through query param ump, but it may not be true in the future and we may need to find some other way.

@glepretre
Copy link
Author

Tried the updated 0.10.0 version : works again 😊 🥳 Thanks @xDroni and everyone for contributing 🙏

@p0lygun
Copy link

p0lygun commented Jun 28, 2023

pin and close this ?

@ValkivirIceUse
Copy link

2 months and still not working as before.

@Thunderarea
Copy link

Unfortunately, YouTube has again changed the way that delivers the video in the desktop version. So, now, YouTube sends a file that contains both audio and video and not separate files for audio and video. Thus, you cannot block the video and play only the audio (at least in the way that we did it till now). In YouTube Music and YouTube for mobiles the video and audio are still delivered in separate files

@ValkivirIceUse
Copy link

Doesn't work again? Or need to sth MENTIONED above? Heard that same complicated scripts (hell documentations on web page have so many pages that it caused lags), i will link supposedly working today of i won't forget, just search audio yt, and the biggest file with its
Duplicate of # branches (as those are other scripts, am i right?)

@3052
Copy link

3052 commented Sep 29, 2024

Fortunately, for now, we are able to control the content type through query param ump, but it may not be true in the future and we may need to find some other way.

is this still the case? I just tried it and still got UMP response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

14 participants