YouTube: Audio Only

No Video Streaming

< 脚本YouTube: Audio Only的反馈

评价:一般 - 脚本能用,但还有一些问题

§
发表于:2024-01-11
编辑于:2024-01-11

Almost Perfect!

Thanks for making this!

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

§
发表于:2024-01-11
编辑于:2024-01-11

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.

§
发表于:2024-01-11
编辑于:2024-01-11

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

§
发表于:2024-01-11

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

No

§
发表于:2024-01-11
编辑于:2024-01-11

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.

§
发表于:2024-01-11

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

§
发表于:2024-01-12
编辑于:2024-01-12

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.

§
发表于:2024-01-15

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

Try again.

§
发表于:2024-02-01

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

§
发表于:2024-02-01

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.

§
发表于:2024-02-01

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

§
发表于:2024-02-02

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?

§
发表于:2024-02-02

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

§
发表于:2024-02-03
编辑于:2024-02-03

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

§
发表于:2024-02-03

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)

§
发表于:2024-02-03

It breaks
greasyfork.org/scripts/420723

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

§
发表于:2024-02-03

Right-click menu also gets weirdly very big+large

§
发表于:2024-02-03

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.

§
发表于:2024-02-03

Right-click menu also gets weirdly very big+large

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

§
发表于:2024-02-03

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

Fixed.

§
发表于:2024-02-03
编辑于:2024-02-03

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

§
发表于:2024-02-03

Just a question

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

§
发表于:2024-02-03

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

  • static black background
§
发表于:2024-02-03

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

§
发表于:2024-02-03

greasyfork.org/scripts/420723

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

§
发表于:2024-02-03

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

§
发表于:2024-02-03
编辑于:2024-02-03

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)
§
发表于:2024-02-06
编辑于:2024-02-06

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.

§
发表于:2024-02-07
编辑于:2024-02-07

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)

§
发表于:2024-04-02
编辑于:2024-04-02

It still breaks
greasyfork.org/scripts/420723

发表回复

登录以发表回复。