YouTube in New Tab (background/autoplay)

Suggestions and feature requests for the Pale Moon browser
Locked
tor11

YouTube in New Tab (background/autoplay)

Post by tor11 » 2016-09-17, 13:24

So I like to open more youtube videos at once (as new tabs), but obviously I don't want to play them all simultaneously, only the active one/tab.

This works as expected in Opera, video only starts playing when you click/open a tab.

Is this possible in PM, and if not, could you add this feature?

dark_moon

Re: YouTube in New Tab (background/autoplay)

Post by dark_moon » 2016-09-17, 13:57

Maybe you find that function in a addon.:
https://addons.mozilla.org/en/firefox/

adisib
Lunatic
Lunatic
Posts: 380
Joined: 2015-06-13, 03:34
Location: KY

Re: YouTube in New Tab (background/autoplay)

Post by adisib » 2016-09-17, 18:15

If you want, here is a rough user-script I made really quick for you that will pause videos in inactive tabs and automatically play the video in the active tab whenever you switch.

https://gist.github.com/adisib/a5c6ba29 ... c610b99708

tor11

Re: YouTube in New Tab (background/autoplay)

Post by tor11 » 2016-12-16, 22:14

dark_moon, I tried but I'm not really sure what keyword for this feature would be..

adisib, thanks, but not there anymore?

kizo07

Re: YouTube in New Tab (background/autoplay)

Post by kizo07 » 2016-12-16, 22:55

tor11...Youtube Center https://addons.mozilla.org/en-US/firefo ... be-center/
have that function you looking for...and much more nice 'stuff'. I use then for years, just pity that is not upgraded over more one year now. But still full functional exept downloader (google changed something in code) thus chances for download are 50/50, but rest are still excellent. Version on Mozilla site is obsolete, go here https://github.com/YePpHa/YouTubeCenter/wiki and download last dev. version.
Advise, use inough time to configurate :)

tor11

Re: YouTube in New Tab (background/autoplay)

Post by tor11 » 2016-12-17, 02:47

kizo07 thank you, this looks excellent

It's not quite the same as in Opera because I need to click a video for it to start playing when I switch tabs .. but still a great improvement.

kizo07

Re: YouTube in New Tab (background/autoplay)

Post by kizo07 » 2016-12-17, 15:36

It's not quite the same as in Opera because I need to click a video for it to start playing when I switch tabs
Yeah Tor, I haven't thought (tried/tested) about that feature but agree with you...That is convenient to have to.
Some of features/options are litle tricky to configure...some off them will be saved as cookies (needs to be tested by deleting cookies and inport YT center config again). I'm not quite sure but I mean for the next video, not the autoplaying of the current video, there seem to be two autoplays, one for playlists, and one inside the video itself which has an "autoplay" option (videoswitch auto-play).
If you have time you can check here if are some solutions https://github.com/YePpHa/YouTubeCenter/issues/1874 and https://github.com/YePpHa/YouTubeCenter/issues/1245
But, If not already exist, maybe as a feature request?

tor11

Re: YouTube in New Tab (background/autoplay)

Post by tor11 » 2016-12-27, 12:46

I still wonder, if I broaden this question to all tabs in general, can it be done?

All links opened in new tabs not to load until selected/active.

It should be possible, because if PM crashes, all restored tabs are not loaded until selected.

In Options -> Tabs I already have "Don't load tabs until selected" checked though.

kizo07

Re: YouTube in New Tab (background/autoplay)

Post by kizo07 » 2016-12-27, 14:51

tor11 wrote:It should be possible, because if PM crashes, all restored tabs are not loaded until selected.
Hmm...Interesting 'approach'.
Please, let us know if it works. :)

kizo07

Re: YouTube in New Tab (background/autoplay)

Post by kizo07 » 2016-12-29, 01:21

tor11 wrote:I still wonder
Tor, I've played a bit with your idea and settings, but seems that not works either.
But, there is one more add-on whose do simply, same as you requested https://addons.palemoon.org/extensions/ ... oisy-tabs/ but also without 'Opera feature'. Add-on is in active development and updated. What can happen if you ask nicely developer to consider that as feature request? Maybe just some more if's, + and ; and we'll get more convenient YouTubing ;)

tor11

Re: YouTube in New Tab (background/autoplay)

Post by tor11 » 2016-12-29, 14:18

Thanks kizo!! When it comes to my original request about youtube, this is almost perfect! It just stops playback, but tab is still loaded yes..

I might ask about that possibility/feature to not load tabs until selected..

Locked