Greasy Fork is available in English.

YouTube: Audio Only

No Video Streaming

< Feedback on YouTube: Audio Only

Review: Good - script works

§
Posted: 11. 01. 2024
Edited: 11. 01. 2024

Almost Perfect!

Thanks for making this!

it breaks live stream videos and also there's no easy way to disable it.

§
Posted: 11. 01. 2024
Edited: 11. 01. 2024

Almost Perfect!Thanks for making this!it breaks live stream videos and also there's no easy way to disable it.

You are right. Please update now to have the option for disabling.

If the livestream video is detected, it will show a confirm dialog to ask you to disable.

Click OK -> Disable and Reload the page, and see the video.

Click Cancel -> Ignore the playing, you can just see live chats etc except video & audio.

§
Posted: 11. 01. 2024
Edited: 11. 01. 2024

Thanks that is a bit better.

I was expecting a button on the page close to the video because I want to use it mainly on a mobile browser, so having it in the tampermonkey extension is still a very hard step to turn it off/on.

So, is it impossible to make it work for live streams?

It just makes the live stream page keep loading forever
https://www.youtube.com/embed/jfKfPfyJRdk?autoplay=1&mute=1

So, is it impossible to make it work for live streams?

No

§
Posted: 11. 01. 2024
Edited: 11. 01. 2024

I was expecting a button on the page close to the video

You might suggest the CSS and HTML stuff to let me add the button. I am lazy, and I don't know how to make good on the small page. I am not sure you are using Desktop version or Mobile version of YouTube.

because I want to use it mainly on a mobile browser

I don't think it is possible. It's better to be an apps with persistent background permission. Both iOS and Android kill background apps.

so having it in the tampermonkey extension is still a very hard step to turn it off/on.

There is no point to switch it on and off. You want to save data then you will always save data.

So, is it impossible to make it work for live streams?

There is no such feature for live streaming. YouTube uses different communication to the server to have the livestreaming. That is Video+Audio format. No way to filter just audio. Normal video is stored with different versions (e.g. 1080p, 720p, 480p) so audio only version is available in server too.

It just makes the live stream page keep loading forever

Now it will popup a confirm dialog to ask you to disable. Otherwise it will just show a spinner.

§
Posted: 11. 01. 2024

Sad to hear that it is impossible to make it work on live streams, anyway thanks for trying and letting me know that.

OK I will figure out a way to do that and let you have the codes and publish it then.


The only thing I see on the page I showed you is
An error occurred. Please try again later. (Playback ID: bw6REQLnikRNAMo2)
Learn More

There are no prompts for anything

§
Posted: 12. 01. 2024
Edited: 12. 01. 2024

I was expecting a button on the page close to the video

You might suggest the CSS and HTML stuff to let me add the button. I am lazy, and I don't know how to make good on the small page. I am not sure you are using Desktop version or Mobile version of YouTube.

I'm lazy too... without having to install this, am I understanding correctly that there's no Toggle to dis/enable the mode - like the original script?? So how does it work?

Could you please put screenshot(s) on main page.

Sad to hear that it is impossible to make it work on live streams

Try again.

§
Posted: 01. 02. 2024

Now it keeps loading and loading the white circle and that is it, not sound...

Now it keeps loading and loading the white circle and that is it, not sound...

You need to access the video from the url directly. cannot click from outside.

I don't know how to solve it right now. Just Cut the URL from the address bar, and paste it and enter.

another way is pause it and play it for few times, the circle will disappear and there will be sound.

§
Posted: 02. 02. 2024

Now it keeps loading and loading the white circle and that is it, not sound...

You need to access the video from the url directly. cannot click from outside.

I don't know how to solve it right now. Just Cut the URL from the address bar, and paste it and enter.

What do you even mean?

§
Posted: 02. 02. 2024

pause it and play it for few times doesn't work... on any of the URLs below

https://www.youtube.com/embed/jfKfPfyJRdk
https://www.youtube.com/watch?v=jfKfPfyJRdk

§
Posted: 03. 02. 2024
Edited: 03. 02. 2024

pause it and play it for few times doesn't work... on any of the URLs

below

https://www.youtube.com/embed/jfKfPfyJRdk

https://www.youtube.com/watch?v=jfKfPfyJRdk

Please update and try again

§
Posted: 03. 02. 2024

Wow! Great job!

Now it occasionally works, as long as the URL doesn't have any parameters, or only if I first load https://www.youtube.com/watch?v=jfKfPfyJRdk then load https://www.youtube.com/embed/jfKfPfyJRdk

https://www.youtube.com/embed/jfKfPfyJRdk?autoplay=1&mute=1
An error occurred. Please try again later. (Playback ID: 6_I6CFGpT4pCTbrE)

§
Posted: 03. 02. 2024

It breaks
greasyfork.org/scripts/420723

Also using the keyboard arrows does change the volume visually, but don't actually really change it.

§
Posted: 03. 02. 2024

Right-click menu also gets weirdly very big+large

It breaks greasyfork.org/scripts/420723

Most scripts will not be compatible with this script. They need to solve from their side. Report to them.

Because video element no longer exists.

Right-click menu also gets weirdly very big+large

Yes. No free time to fix. Function is okay just ugly.

Now it occasionally works, as long as the URL doesn't have any parameters

Fixed.

§
Posted: 03. 02. 2024
Edited: 03. 02. 2024

Yh no problem, I never right-click anyway. I just needed an easy button to disable it on the mobile version of YT...

But after seeing that this simple short script is not way too complex with 2k+ lines of code I am not sure if I would even be able to code this button actually.

It still breaks
greasyfork.org/scripts/420723

§
Posted: 03. 02. 2024

Just a question

Does it stream a black screen, or is it just a static black image loaded once on page load?

Just a questionDoes it stream a black screen, or is it just a static black image loaded once on page load?

  • static black background
§
Posted: 03. 02. 2024

Thanks

Now it occasionally breaks on https://www.youtube.com/embed/jfKfPfyJRdk

but works most of the time so I guess that's ok...?

It still breaks
greasyfork.org/scripts/420723

greasyfork.org/scripts/420723

Report to https://greasyfork.org/en/scripts/420723-youtube-better-player/feedback please

§
Posted: 03. 02. 2024

done hopefully he will fix it, in case he doesn't hopefully you will find a fix...

§
Posted: 03. 02. 2024
Edited: 03. 02. 2024

done hopefully he will fix it, in case he doesn't hopefully you will find a fix...

Change

const $video = $('video', $player)

to

const $video = $('audio', $player)

or

const $video = $('.video-stream.html5-main-video', $player)
§
Posted: 06. 02. 2024
Edited: 06. 02. 2024

Live can't be clicked, how do I know that I didn't accidentally play something or because of a phone call the video didn't stop/pause and that I am actually still hearing the "live" video audio?

I don't need it to be clickable or any kind of proof that it is "live", as long as you say that your code "makes sure to always use the live stream audio in all cases", cases like the ones I mentioned above.

§
Posted: 07. 02. 2024
Edited: 07. 02. 2024

It occasionally works, as long as I first load https://www.youtube.com/watch?v=jfKfPfyJRdk then load https://www.youtube.com/embed/jfKfPfyJRdk

loading directly
https://www.youtube.com/embed/jfKfPfyJRdk?autoplay=1&mute=1

Only makes the message below show up.
An error occurred. Please try again later. (Playback ID: 6_I6CFGpT4pCTbrE)

§
Posted: 02. 04. 2024
Edited: 02. 04. 2024

It still breaks
greasyfork.org/scripts/420723

§
Posted: 29. 06. 2024

It's been a long time since it worked. Now I just see An error occurred. Please try again later. (Playback ID: ic44ByOXR-DLEZtf)
Learn More

You need to tell me how to reproduce the issue.

You need to tell me how to reproduce the issue.

Also,

  • embed page or normal watch page or both
  • live or VOD
  • new tab or new background tab or click from external site or click within youtube single page application
  • better to have URLs for reproduction and testing

Thanks.

I cannot reproduce the issue. I believe this is due to the A/B testing update.

try to use another browser, disable other scripts/ extensions, login / logout

I can't disable it anymore, the audio always plays in the background even with the video paused, even if I remove the script.

I can't disable it anymore, the audio always plays in the background even with the video paused, even if I remove the script.

This should be impossible.

Try to disable the script and check again via the userscript manager. Then shift ctrl R in the browser page to make sure the full refresh is performed.

Post reply

Sign in to post a reply.