Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



I used this extension:

https://addons.mozilla.org/en-US/firefox/addon/open-with/

mpv can easily be configured to open full screen on a specific screen.


So adding that button requires downloading and installing a file, and it has some references to [email protected]. I am not a web programmer but that doesn't seem right. The open with mpv browser extension, seems cleaner. https://addons.mozilla.org/en-US/firefox/addon/send-to-mpv-p...


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/


yes. Seems you're right.


Thanks, I will take a look at that extension.

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.


Here's my config, now that I'm at the computer:

https://www.pastery.net/vurryk/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: