Coder Social home page Coder Social logo

eatsu / mpv-osc-youtube-ui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maoiscat/mpv-osc-modern

23.0 1.0 1.0 6.59 MB

YouTube-like UI for mpv

License: GNU Lesser General Public License v2.1

Lua 96.62% Python 3.38%
mpv-osc mpv-osc-script mpv-script

mpv-osc-youtube-ui's Introduction

mpv-osc-youtube-ui

An OSC script for mpv that provides a YouTube-like UI, forked from mpv-osc-modern.

preview preview-complex

Notable changes from mpv-osc-modern

  • YouTube-like UI
  • More compact layout
  • Larger clickable area of buttons
  • Hover effect for buttons
  • Softer black gradient background
  • Fade-in effect on popup
  • Shorter duration for fade-in/out
  • No deadzone by default (OSC will show up anywhere in the window with mouse movement)
  • No window controls when full screen
  • Using built-in icons instead of the extra iconic font

Installation

  1. To disable the default OSC, add osc=no to your mpv.conf file:
echo 'osc=no' >> ~/.config/mpv/mpv.conf
  1. Put youtube-ui.lua in your mpv scripts directory:
wget -P ~/.config/mpv/scripts https://github.com/eatsu/mpv-osc-youtube-ui/raw/main/youtube-ui.lua
  1. (optional, but recommended) To show the thumbnail tooltip, put thumbfast.lua from thumbfast in your mpv scripts directory:
wget -P ~/.config/mpv/scripts https://github.com/po5/thumbfast/raw/master/thumbfast.lua

Credits

mpv-osc-youtube-ui's People

Contributors

eatsu avatar maoiscat avatar po5 avatar yutsuten avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

nekosawa

mpv-osc-youtube-ui's Issues

Please add a license file

I'd like to use files from this project in one of my projects, but it doesn't have a license file.

Please add a license file.
Thanks!

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.