How to enforce full video buffering on YouTube

Martin Brinkmann
Aug 31, 2016
Firefox
|
22

If you happen to watch videos on YouTube at times using a web browser, you may have noticed that videos are not buffered fully on the site.

Google changed how videos are buffered on YouTube some time ago, and uses something called DASH. Dash is an acronym for Dynamic Adaptive Streaming over HTTP.

DASH breaks the content into smaller chunks of files. The quality of the video stream is dynamically adjusted based on network conditions by changing the quality level of chunks that are available.

While DASH may offer a better experience, for instance by continuing to stream a video if network conditions get worse, it stopped the option to buffer YouTube videos fully.

What this meant is that you could not pause a video in the first second, wait until it is fully buffered, to start watching it in the selected quality and even offline.

youtube fully buffer videos

The Firefox add-on YouTube without DASH Playback (fully buffer) provides a solution. Basically, what it does is enable or disable support for DASH in Firefox on the user's request.

It adds an icon to Firefox's main toolbar that you may click on to toggle the feature on or off. While designed with YouTube in mind, the author notes that it will work on any site using DASH for HTML5 video streaming.

youtube buffer

You are probably wondering how the Firefox extension achieves that. It toggles the value of the preference media.mediasource.enabled between true and false.

If set to false, DASH becomes unavailable and videos will buffer fully on YouTube.

You may use the preference to disable DASH without installing the add-on. What the add-on adds is an option to toggle DASH which you may find useful.

Do the following to configure the Firefox preference directly:

  1. Type about:config in the browser's address bar.
  2. Confirm that you will be careful if the warning prompt is displayed.
  3. Search for media.mediasource.enabled.
  4. Double-click on the preference to toggle it.

If you want videos on YouTube to buffer fully, set the preference to false.

media.mediasource.enabled

Closing Words

Full buffering on sites like YouTube can be very useful. While DASH makes sure that videos continue to play if network conditions deteriorate, full buffering ensures that the quality remains on the same level.

While that may mean waiting longer before a video is fully buffered, it often makes for a better viewing experience. Additionally, you may watch the video without network connection if it is fully buffered.

There is little need for the extension if you don't use DASH, and don't run into issue on sites that require it as you may set the preference in Firefox directly in this case.

Summary
software image
Author Rating
1star1star1star1stargray
4 based on 13 votes
Software Name
YouTube without DASH Playback (fully buffer)
Software Category
Browser
Landing Page
Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. Guest703 said on September 4, 2016 at 7:37 pm
    Reply

    Dash sounds like an incredibly good thing. If you load a 2 hour video on a 1mb/s connection that is limited to a 20GB monthly cap, it is very good that it prevents the entire video from loading, especially if you’re only meaning to watch the first 5 minutes only. Imagine the enormous waste of bandwidth if video’s always load fully.

  2. A or B, not C. said on September 2, 2016 at 6:05 am
    Reply

    On Google Chrome, u can do the same thing with the Smartvideo for Youtube extension, which also enables embedded videos to be fully buffered b4 playback.

    1. Martin Brinkmann said on September 2, 2016 at 6:16 am
      Reply

      That’s a great tip, is it available in the Chrome Store? Can you post a link?

      1. A or B, not C. said on September 2, 2016 at 7:50 am
        Reply
      2. Martin Brinkmann said on September 2, 2016 at 8:17 am
        Reply

        Thanks!

  3. exrelayman said on September 1, 2016 at 9:01 pm
    Reply

    Interesting experience with 2 laptops.Disabling Dash forced me to reload Silverlight to view Netflix on Lenovo (but the picture quality improved), on my Dell Netflix simply refused to play until I re-enabled Dash. Both are running Windows 10 fully updated.

  4. hhhdjsu said on September 1, 2016 at 8:36 am
    Reply

    I will like to decrease DASH bufer. For now at least 10 minutes is loaded.

    1. adam said on September 25, 2018 at 1:15 am
      Reply

      .. and media.cache_resume_threshold

    2. adam said on September 25, 2018 at 1:10 am
      Reply

      I think that can be done with media.cache_readahead_limit in about:config

      Im not sure what unit the number is, if its kb/mb etc

  5. mikef90000 said on September 1, 2016 at 4:36 am
    Reply

    Google and their millenial hipster programmers seem dead set on ignoring us bandwidth limited users. I don’t use a browser for viewing YT full length videos normally, but it is the only choice for previewing, subscribing, etc.

  6. buck said on September 1, 2016 at 12:37 am
    Reply

    Can’t tell you when I last watched a video directly on the YT site within my browser

  7. Anonymous said on August 31, 2016 at 9:40 pm
    Reply

    On browsers trying to maintain Google’s things fully operational is a nonsense, each month always something going wrong. Better to use Chrome Portable instead of constantly wanting to google-ise your main browser, which is a real bad idea IMO.

  8. Tony said on August 31, 2016 at 9:37 pm
    Reply

    It sounds like these companies need to work on improving the implementation of DASH, and perhaps modify the spec.

  9. MartinDK said on August 31, 2016 at 8:49 pm
    Reply

    For the past month or so, Youtube.com in Firefox (Win10 64bit) has taken an extra few seconds loading all videos with a length of more than a couple of minutes for me (with shorter videos starting immediately, as all videos used to).
    Until the loading is done, the length of the video isn’t even displayed in the video search bar.
    I hadn’t found a solution to the problem yet, so I tried this out just to see what would happen. And I’ll be damned – it works!

    If I can circumvent the initial loading at the cost of not having 1080p available, I’ll take that deal any day (or at least until a better solution comes around).

    Thanks!

    1. MartinDK said on September 1, 2016 at 12:21 pm
      Reply

      Unfortunately, the experience I mention above turned out to be a fluke.
      Immediately after changing the setting, I quickly tested 3 10 min+ videos which all started immediately – which fooled me into thinking it worked. But later in the day, the video buffering started occuring again – regardless of whether media.mediasource.enabled was set to true or false.

      1. MartinDK said on September 1, 2016 at 4:26 pm
        Reply

        I’m pretty confident the videos weren’t shown in Flash. I recently formatted my computer and haven’t installed Flash for Firefox – and a national news site keeps telling me I can’t watch their videos because I don’t have flash installed >.<

      2. Martin Brinkmann said on September 1, 2016 at 1:25 pm
        Reply

        Did you make sure the videos were played using HMTL5 Video and not Flash?

  10. simbin said on August 31, 2016 at 7:37 pm
    Reply

    OMG been wanting that feature back FOREVER!

  11. anon said on August 31, 2016 at 6:42 pm
    Reply

    This is not a solution as it limits your video quality options (you only get 360p or 720p, and no 60 fps).

    1. R7 said on September 1, 2016 at 9:13 am
      Reply

      And thats the reason i don’t use DASH. My connection is 16/1 and i can use 1080p with DASH smoothly. If i wanted to watch 1440p or higher then my connection speed would be the bottleneck and disabling DASH would not help with that.

    2. Jeff-FL said on August 31, 2016 at 8:38 pm
      Reply

      This is true. I tested this extension on the Rocket League Master Guide video.

      On (DASH off) 720p (30fps) was the max option

      Off (DASH on): 1080p 60fps was the max option.

  12. Tom Hawack said on August 31, 2016 at 6:35 pm
    Reply

    I had no idea that setting media.mediasource.enabled to false in Firefox’s about:config would disable DASH

    At this time am using ‘YouTube HD Override’ a script found at GreasyFork which disables DASH playback among several other options.

    DASH is a real pain and even with a DL speed 100MBbps I remember YouTube videos coughing with DASH active. One of the stupidest YouTube initiatives when so many others (not all) are wise and helpful (are or where).

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.