youtube stops playing when switching chrome tab












5














When playing some youtube video in a frame/embedded (from an external site, not directly on youtube.com), playing pauses when I switch to another tab (make the playing tab inactive).



Is there any way to turn this off?
So that when I switch to some other tab, video will keep playing in it.



A good example is playing some track on https://www.shazam.com/myshazam



P.S This behavior is shared between various browsers - checked and replicated on Chrome & IE.










share|improve this question






















  • Tried turning off javascript?
    – Xen2050
    Apr 28 '17 at 11:39






  • 5




    @Xen2050 Turning off JS globally?! How can you browse the web in 2017 with JS turned off?! That's definitely not an option.
    – user336558
    May 4 '17 at 16:35












  • As a test at least, if it works then you can investigate further. Keeping javascript off at least with NoScript would be a lot safer too, but an infection & identity theft could be fun & exciting if you're into that sort of thing (I'm not)
    – Xen2050
    May 5 '17 at 3:27
















5














When playing some youtube video in a frame/embedded (from an external site, not directly on youtube.com), playing pauses when I switch to another tab (make the playing tab inactive).



Is there any way to turn this off?
So that when I switch to some other tab, video will keep playing in it.



A good example is playing some track on https://www.shazam.com/myshazam



P.S This behavior is shared between various browsers - checked and replicated on Chrome & IE.










share|improve this question






















  • Tried turning off javascript?
    – Xen2050
    Apr 28 '17 at 11:39






  • 5




    @Xen2050 Turning off JS globally?! How can you browse the web in 2017 with JS turned off?! That's definitely not an option.
    – user336558
    May 4 '17 at 16:35












  • As a test at least, if it works then you can investigate further. Keeping javascript off at least with NoScript would be a lot safer too, but an infection & identity theft could be fun & exciting if you're into that sort of thing (I'm not)
    – Xen2050
    May 5 '17 at 3:27














5












5








5


1





When playing some youtube video in a frame/embedded (from an external site, not directly on youtube.com), playing pauses when I switch to another tab (make the playing tab inactive).



Is there any way to turn this off?
So that when I switch to some other tab, video will keep playing in it.



A good example is playing some track on https://www.shazam.com/myshazam



P.S This behavior is shared between various browsers - checked and replicated on Chrome & IE.










share|improve this question













When playing some youtube video in a frame/embedded (from an external site, not directly on youtube.com), playing pauses when I switch to another tab (make the playing tab inactive).



Is there any way to turn this off?
So that when I switch to some other tab, video will keep playing in it.



A good example is playing some track on https://www.shazam.com/myshazam



P.S This behavior is shared between various browsers - checked and replicated on Chrome & IE.







google-chrome youtube






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 28 '17 at 10:11









user336558

83227




83227












  • Tried turning off javascript?
    – Xen2050
    Apr 28 '17 at 11:39






  • 5




    @Xen2050 Turning off JS globally?! How can you browse the web in 2017 with JS turned off?! That's definitely not an option.
    – user336558
    May 4 '17 at 16:35












  • As a test at least, if it works then you can investigate further. Keeping javascript off at least with NoScript would be a lot safer too, but an infection & identity theft could be fun & exciting if you're into that sort of thing (I'm not)
    – Xen2050
    May 5 '17 at 3:27


















  • Tried turning off javascript?
    – Xen2050
    Apr 28 '17 at 11:39






  • 5




    @Xen2050 Turning off JS globally?! How can you browse the web in 2017 with JS turned off?! That's definitely not an option.
    – user336558
    May 4 '17 at 16:35












  • As a test at least, if it works then you can investigate further. Keeping javascript off at least with NoScript would be a lot safer too, but an infection & identity theft could be fun & exciting if you're into that sort of thing (I'm not)
    – Xen2050
    May 5 '17 at 3:27
















Tried turning off javascript?
– Xen2050
Apr 28 '17 at 11:39




Tried turning off javascript?
– Xen2050
Apr 28 '17 at 11:39




5




5




@Xen2050 Turning off JS globally?! How can you browse the web in 2017 with JS turned off?! That's definitely not an option.
– user336558
May 4 '17 at 16:35






@Xen2050 Turning off JS globally?! How can you browse the web in 2017 with JS turned off?! That's definitely not an option.
– user336558
May 4 '17 at 16:35














As a test at least, if it works then you can investigate further. Keeping javascript off at least with NoScript would be a lot safer too, but an infection & identity theft could be fun & exciting if you're into that sort of thing (I'm not)
– Xen2050
May 5 '17 at 3:27




As a test at least, if it works then you can investigate further. Keeping javascript off at least with NoScript would be a lot safer too, but an infection & identity theft could be fun & exciting if you're into that sort of thing (I'm not)
– Xen2050
May 5 '17 at 3:27










3 Answers
3






active

oldest

votes


















5














try to go in chrome://flags (in the address bar) and change pause-background-tabs to disabled. I think it is working for me.






share|improve this answer

















  • 3




    This option doesn't seem to exist anymore. I set #disable-background-video-track and #stop-in-background to 'disabled' but the problem persists.
    – glaed
    Apr 25 '18 at 11:13








  • 1




    btw. my workaround is to use Firefox for non-stop Youtube playback.
    – glaed
    May 30 '18 at 8:18



















0














If you happen to have a music enhancer (extention) in your browser it might also be affecting it. That was basically my case as it overwrites the flags.






share|improve this answer





























    -1














    On Google Chrome Version 71.x



    Disable expensive-background-timer-throttling






    share|improve this answer

















    • 1




      Welcome to Super User. Please improve your post by explaining how this will solve the problem and provide a bit more detail on what to actually do.
      – Twisty Impersonator
      Dec 20 '18 at 11:41











    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1204222%2fyoutube-stops-playing-when-switching-chrome-tab%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    5














    try to go in chrome://flags (in the address bar) and change pause-background-tabs to disabled. I think it is working for me.






    share|improve this answer

















    • 3




      This option doesn't seem to exist anymore. I set #disable-background-video-track and #stop-in-background to 'disabled' but the problem persists.
      – glaed
      Apr 25 '18 at 11:13








    • 1




      btw. my workaround is to use Firefox for non-stop Youtube playback.
      – glaed
      May 30 '18 at 8:18
















    5














    try to go in chrome://flags (in the address bar) and change pause-background-tabs to disabled. I think it is working for me.






    share|improve this answer

















    • 3




      This option doesn't seem to exist anymore. I set #disable-background-video-track and #stop-in-background to 'disabled' but the problem persists.
      – glaed
      Apr 25 '18 at 11:13








    • 1




      btw. my workaround is to use Firefox for non-stop Youtube playback.
      – glaed
      May 30 '18 at 8:18














    5












    5








    5






    try to go in chrome://flags (in the address bar) and change pause-background-tabs to disabled. I think it is working for me.






    share|improve this answer












    try to go in chrome://flags (in the address bar) and change pause-background-tabs to disabled. I think it is working for me.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jun 29 '17 at 0:33









    jpburn

    7412




    7412








    • 3




      This option doesn't seem to exist anymore. I set #disable-background-video-track and #stop-in-background to 'disabled' but the problem persists.
      – glaed
      Apr 25 '18 at 11:13








    • 1




      btw. my workaround is to use Firefox for non-stop Youtube playback.
      – glaed
      May 30 '18 at 8:18














    • 3




      This option doesn't seem to exist anymore. I set #disable-background-video-track and #stop-in-background to 'disabled' but the problem persists.
      – glaed
      Apr 25 '18 at 11:13








    • 1




      btw. my workaround is to use Firefox for non-stop Youtube playback.
      – glaed
      May 30 '18 at 8:18








    3




    3




    This option doesn't seem to exist anymore. I set #disable-background-video-track and #stop-in-background to 'disabled' but the problem persists.
    – glaed
    Apr 25 '18 at 11:13






    This option doesn't seem to exist anymore. I set #disable-background-video-track and #stop-in-background to 'disabled' but the problem persists.
    – glaed
    Apr 25 '18 at 11:13






    1




    1




    btw. my workaround is to use Firefox for non-stop Youtube playback.
    – glaed
    May 30 '18 at 8:18




    btw. my workaround is to use Firefox for non-stop Youtube playback.
    – glaed
    May 30 '18 at 8:18













    0














    If you happen to have a music enhancer (extention) in your browser it might also be affecting it. That was basically my case as it overwrites the flags.






    share|improve this answer


























      0














      If you happen to have a music enhancer (extention) in your browser it might also be affecting it. That was basically my case as it overwrites the flags.






      share|improve this answer
























        0












        0








        0






        If you happen to have a music enhancer (extention) in your browser it might also be affecting it. That was basically my case as it overwrites the flags.






        share|improve this answer












        If you happen to have a music enhancer (extention) in your browser it might also be affecting it. That was basically my case as it overwrites the flags.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 20 '17 at 7:47









        asd

        1




        1























            -1














            On Google Chrome Version 71.x



            Disable expensive-background-timer-throttling






            share|improve this answer

















            • 1




              Welcome to Super User. Please improve your post by explaining how this will solve the problem and provide a bit more detail on what to actually do.
              – Twisty Impersonator
              Dec 20 '18 at 11:41
















            -1














            On Google Chrome Version 71.x



            Disable expensive-background-timer-throttling






            share|improve this answer

















            • 1




              Welcome to Super User. Please improve your post by explaining how this will solve the problem and provide a bit more detail on what to actually do.
              – Twisty Impersonator
              Dec 20 '18 at 11:41














            -1












            -1








            -1






            On Google Chrome Version 71.x



            Disable expensive-background-timer-throttling






            share|improve this answer












            On Google Chrome Version 71.x



            Disable expensive-background-timer-throttling







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Dec 20 '18 at 7:08









            Carl J du Preez

            11




            11








            • 1




              Welcome to Super User. Please improve your post by explaining how this will solve the problem and provide a bit more detail on what to actually do.
              – Twisty Impersonator
              Dec 20 '18 at 11:41














            • 1




              Welcome to Super User. Please improve your post by explaining how this will solve the problem and provide a bit more detail on what to actually do.
              – Twisty Impersonator
              Dec 20 '18 at 11:41








            1




            1




            Welcome to Super User. Please improve your post by explaining how this will solve the problem and provide a bit more detail on what to actually do.
            – Twisty Impersonator
            Dec 20 '18 at 11:41




            Welcome to Super User. Please improve your post by explaining how this will solve the problem and provide a bit more detail on what to actually do.
            – Twisty Impersonator
            Dec 20 '18 at 11:41


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1204222%2fyoutube-stops-playing-when-switching-chrome-tab%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

            Eduardo VII do Reino Unido