audio-only-youtube icon indicating copy to clipboard operation
audio-only-youtube copied to clipboard

Enable in current tab only

Open edjroot opened this issue 7 years ago • 5 comments

Hey, thanks for this extension!

I usually leave one tab open for listening to music and others for regular browsing (including YouTube). I imagine many people do the same. Would it be possible to add an option (via browserAction or context menu) to only enable the extension on the current tab?

Thanks for your attention!

edjroot avatar Feb 26 '17 20:02 edjroot

Hi @edjroot,

Sorry, I missed your comment earlier. Well yes, it's possible to do that but I won't be able to implement it up due to time constraints. Although if someone is interested in fixing this up, he/she is most welcomed. :)

Thanks!

Ashish-Bansal avatar Apr 13 '17 01:04 Ashish-Bansal

No worries, thanks!

edjroot avatar Apr 13 '17 14:04 edjroot

I was considering to port #18 and add support for this but on careful thinking, I'm unable to figure it out how would it be helpful ?

@edjroot Why would you like to play one audio and one video(+ audio) streams together ?

Instead enable/disable per domain(so that it doesn't automatically disable videos on other sites which have embedded youtube) makes more sense to me.

CC: @Kompwu

Ashish-Bansal avatar Jul 26 '18 18:07 Ashish-Bansal

Sorry for not replying earlier, I somehow missed the notification.

I'm not using the extension anymore, but at the time I did use it I'd often keep multiple YouTube tabs open, one with music or and others with video (not sure how common this use case is, but it's something I've been doing since forever). So e.g. if I disabled audio-only, as soon as the next song played, it would play as video again, or vice-versa.

(As a side note, I didn't play all tabs at the same time, but I did switch between them very often.)

edjroot avatar Dec 10 '18 13:12 edjroot

I was considering to port #18 and add support for this but on careful thinking, I'm unable to figure it out how would it be helpful ?

@edjroot Why would you like to play one audio and one video(+ audio) streams together ?

For my use case, I load a tab that I'm going to play music (or some video) in the background. I want to set it as audio only, but I don't want to set all future youtube tabs that I open to be audio only, because I'll likely want to watch the video content when I open a youtube tab in the future. The solution would be to set the current tab to be audio only, but have the option to set it for only that tab instead of all tabs. That way it would be possible to set only specific tabs to audio only, while keeping the default behavior to allow video playback for other tabs.

It could be done when clicking on the icon, it could pop up a menu with the buttons "this tab only" and "this and future tabs"

It could be a good idea to save the choice for a tab, for when it's refreshed in the future, or for when the browser session is restored (from restarting the browser), maybe this could be done by adding an argument to the url "audioonly=true"

aljgom avatar Oct 10 '23 07:10 aljgom