Greasy Fork is available in English.

YouTube: Audio Only

No Video Streaming

< Valutazione su YouTube: Audio Only

Recensione: OK - lo script funziona, ma ha degli errori.

§
Pubblicato: 11/01/2024
Modificato: 11/01/2024

Almost Perfect!

Thanks for making this!

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

§
Pubblicato: 11/01/2024
Modificato: 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.

§
Pubblicato: 11/01/2024
Modificato: 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

§
Pubblicato: 11/01/2024

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

No

§
Pubblicato: 11/01/2024
Modificato: 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.

§
Pubblicato: 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

§
Pubblicato: 12/01/2024
Modificato: 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.

§
Pubblicato: 15/01/2024

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

Try again.

§
Pubblicato: 01/02/2024

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

§
Pubblicato: 01/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.

§
Pubblicato: 01/02/2024

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

§
Pubblicato: 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?

§
Pubblicato: 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

§
Pubblicato: 03/02/2024
Modificato: 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

§
Pubblicato: 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)

§
Pubblicato: 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.

§
Pubblicato: 03/02/2024

Right-click menu also gets weirdly very big+large

§
Pubblicato: 03/02/2024

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.

§
Pubblicato: 03/02/2024

Right-click menu also gets weirdly very big+large

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

§
Pubblicato: 03/02/2024

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

Fixed.

§
Pubblicato: 03/02/2024
Modificato: 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

§
Pubblicato: 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?

§
Pubblicato: 03/02/2024

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

  • static black background
§
Pubblicato: 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

§
Pubblicato: 03/02/2024

greasyfork.org/scripts/420723

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

§
Pubblicato: 03/02/2024

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

§
Pubblicato: 03/02/2024
Modificato: 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)
§
Pubblicato: 06/02/2024
Modificato: 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.

§
Pubblicato: 07/02/2024
Modificato: 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)

§
Pubblicato: 02/04/2024
Modificato: 02/04/2024

It still breaks
greasyfork.org/scripts/420723

Pubblica risposta

Accedi per pubblicare una risposta.