Git Product home page Git Product logo

highqualityyoutube's Introduction

HighQualityYoutube

This userscript forces YouTube to always play videos at their highest available quality. Recently, I noticed that YouTube was playing all of my videos at 480p when higher definition streams were available. This is why I created this extension that, when coupled with a server that edits the player's base.js, sets the video quality to the maximum available without user interaction.


Installing the Chrome Extension

In order to use this as a Chrome extension, download the .zip file from the current version's release, and extract it to your directory of choice. Next, go to chrome://extensions, enable developer mode, and click Load unpacked. From there you can select the directory where you extracted the files. If you ever move them to a different location, you will need to load the unpacked extension again from the new directory.


Running a server

You will need a dedicated server or something like https://www.heroku.com/ to host the server remotely. Once you have the files extracted to your destination folder. Install node.js if you haven't already, and run npm install to install the dependencies. Once the dependencies are installed, run node ./server/server.js to start the server. If you do not have mongodb installed and you do not want to install it, you can run the mongodb-less version of the server using node ./server/server-nomongo.js. The mongodb version caches the files in a database to avoid excess pings to YouTube's servers, so if you are planning on hosting a server that services multiple users, you will probably want to use the server.js that has mongodb support. Once your server is running, replace the SERVER_HOST constant in editBase.js with the domain name you are running your server at. You will also need to use Nginx or Apache to route requests to your server, but that is a rather lengthy topic so I will leave it up to you to search how to set up a reverse proxy for your choice of server and OS. Once all of these things are done, you should now be able to stream all of your videos in glorious high definition without lifting a finger (if you disregard the work done to get to this point).

highqualityyoutube's People

Contributors

nick-ls avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.