> I have two monitors, so I put a button on my Firefox toolbar to launch MPV with the current URL, and configured MPV to start fullscreen on the second monitor immediately and quit when done. It's made my video-watching experience on the web an order of magnitude better.
How did you do that? I would really like to have that setup also.
Yeah, it didn't look good. The extension you posted downloads and installs the native client on its own, which is worse. However, you can't really do this any better, as the apps are sandboxed and not allowed to launch external programs.
I've audited the script for the extension I posted and it looks good, I've posted mine here: https://www.pastery.net/dyeamx/
After reading the documentation for mpv I found the options --screen=<default|0-32> and --fs-screen=<all|current|0-32> these are used for selecting a specific screen.
How did you do that? I would really like to have that setup also.