Giter VIP home page Giter VIP logo

youtube-play-with-mpv-chrome-extension's Introduction

Youtube Play With MPV Chrome Extension

This is an extension that lets you play youtube videos with mpv.

Important

If you install the Native Client after you install the Chrome extension, make sure to disable, then re-enable the Chrome extension.

Usage

There are 3 ways to open a video with this extension:

  1. Right-click on a youtube link:

    • When you right-click on a youtube link you will get a menu item that says "Open In MPV".
  2. If you are on a Youtube video page, a button will be shown below the video:

    • Clicking on the button will open the video in mpv.
  3. Clicking on the button in the chrome extensions toolbar:

    • When you click on the extension button, a popup will display showing all the Youtube links and embeds on the page. Clicking on one of these in the popup will open the video in mpv.

    • Note: if you click on the button when you are on a Youtube video page, it will open that video without showing the popup.

You can open multiple videos at once.

Screenshots

Button On Youtube Video Page

Youtube video page Open In MPV button

Extension Button Popup

Extension popup

Native Client

This extension requires a native client to be installed. You can download the installer for the native client here: https://github.com/Darkle/youtube-play-with-mpv-native-client#readme

Keybindings

I have changed the mpv keybindings slightly:

  • The up and down arrow keys now increase and decrease the volume.
  • The ctrl+right now skips ahead by one minute and ctrl+left skips back one minute (left and right still skip the normal amount: 5 seconds)

You can find the rest of the default mpv keybindings here: https://github.com/mpv-player/mpv/blob/master/etc/input.conf

Support

You can open a support issue here: https://github.com/Darkle/youtube-play-with-mpv-chrome-extension/issues

youtube-play-with-mpv-chrome-extension's People

Contributors

darkle avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

youtube-play-with-mpv-chrome-extension's Issues

Missing youtube-content-script.js and background.js files

Hi, I tried to get your extension working, however in the manifest there is a call to a file named "youtube-content-script.js". But it doesn't exist at all in your Github repo. Would it be possible to add it in order to make your extension work.
At the same time, is it possible to make a release of your project?
Thank you very much for the time you take to my request.
image_2023-01-10_172913701

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.