Repository navigation
Control mpv using a web browser. simple-mpv-webui alternative written in Python #17203
Replies: 4 comments 1 reply
|
I had a somewhat similar idea, e. g. have mpv as a pluggable, embedded video player too. Perhaps a bit like winamp, or at the least people could style it nicely. The key idea would I think this should be integrated into mpv though. Otherwise in a few years nobody may Can you embed that window in a webpage as-is? It seems to open an external one |
|
My project doesn't spawn, embed or manage mpv windows at all. The IPC itself is a unix socket on a host where mpv is started, so you can't easily communicate with it from the browser. In other words, it's much simpler than you thought. |
mpv-remote.mp4Hi, inspired by your project, I tried to achieve a similar effect by registering the |
|
You could add such scripts to https://github.com/mpv-player/mpv/wiki/User-Scripts . |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have written an HTTP server that allows you to control mpv using a web browser or curl.
The server itself is a single Python file without external dependencies, which runs on Linux and Windows.
Under the hood it uses mpv's JSON IPC interface.
I recorded a demo. Watch it, to know how to use it.
Questions and comments are welcome.
All reactions