Skip to content

eatsu/mpv-osc-youtube-ui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

  • Lua 96.6%
  • Python 3.4%