extension ExtPose

Play with MPV

CRX id


Description from extension meta

Sends videos in pages like youtube to an external MPV player

Image from store Play with MPV
Description from store Chrome extension and python server that allows you to play videos in webpages with MPV instead. Right-click links and pages to play videos in MPV. (Or Ctrl+Space) Works on nearly every website thanks to youtube-dl. Requires several dependencies, see website for more info. 1. Install MPV 2. Install Python 2 or 3 and pip 3. Install this chrome extension 4. Install server: `pip install git+git://github.com/thann/play-with-mpv --user` 5. Run server: `play-with-mpv` from the terminal or use linux shortcut 6. (optional) Autostart on linux: `cp ~/.local/share/applications/thann.play-with-mpv.desktop ~/.config/autostart/`

Latest reviews

  • (2021-10-14) Владимир: But with youtube-dl low download speed from youtube, look at yt-dlp.
  • (2021-10-08) Владимир: All works. Thanks.
  • (2021-03-27) Cihan Ceylan: It does not explain how to run the server.
  • (2021-03-23) M M: excellent work on ubuntu 20.04. Thank you!
  • (2021-02-06) Dmitry Fedorchenko: Хм, забавно, но оно работает. Конечно, это окно в окно Хромиума, а отдельное окно mpv. И да - youtube-dl нужно ставить. Без него - нечем качать видос для mpv. Проверял на Japan 8 60fps.
  • (2021-01-28) Vitaly Kotov: Thank You, nice extension. My old notebook alive again!
  • (2021-01-06) Jaroslav Peppe: Briliant! I love you! Love mpv and love youtube-dl! I love smart people! It resurrected my old laptop from the heavy and unsupported with VAAPI browsers. Moreover, it gives possibility to dirrect to the local network where the server is preinstalled and run mpv(SMplayer) with dedicated Raspberry Pi and a big screen for example. Why do I need to use bloatwared Chromecast further ... Wish you good health, happiness and success in your future endeavours!
  • (2020-02-12) Francisco Boni: Perfect extension. Would be even more perfect if it implemented native hosts communication in a different version
  • (2020-01-08) Marc Shawn: No instructions on how to run the sever after install both here and on Github. I don't know how anyone got this to work.
  • (2019-11-25) Jeremy Morrison: I'm running linux with a Haswell GPU and hardware acceleration refuses to work in the browser, so I was suffering up to 250% CPU usage while watching videos. Even though I'm getting an error from play-with-mpv saying there's no support for codec vp9, the CPU has still come down to only about 40%. Awesome!
  • (2019-11-12) Andrew Fader: This extension helps a lot on systems where graphics acceleration does not work well in your browser.
  • (2017-08-20) Akiva Henig: Love this extension, the only thing I would like to see implemented is a way for it to launch the python server automatically so I don't have to do it in terminal every time.
  • (2017-07-02) Alberto Pau: Finally youtube with mpv without having to paste the link in terminal. Maybe it'd be cool to have this in right click menu for a link so you don't have to open the video in browser.
  • (2017-06-30) Jonathan Knapp: I made it, so i might be a little biased ^>^

Latest issues

  • (2021-08-20, v:0.1.0) Daniel Swick: Server not working
    File "/home/xxx/.local/lib/python2.7/site-packages/play_with_mpv.py", line 96 print(f"ERROR: {bin.upper()} does not appear to be installed correctly! please ensure you can launch '{bin}' in the terminal.")
  • (2020-07-09, v:0.1.0) Yannick Oberhauser: Button not working in Manjaro Linux
    When I right click a youtube video and click play with MPV or enter a video and click the extension they won't work. Any hints? Thanks!
  • (2020-06-30, v:0.1.0) William Luo: How do I properly use this with Windows?
    I'm a bit confused about the following steps in the description: 5. Run server: `play-with-mpv` from the terminal or use linux shortcut 6. (optional) Autostart on linux: `cp ~/.local/share/applications/thann.play-with-mpv.desktop ~/.config/autostart/` I'm assuming this is written for Linux users. I found 'play-with-mpv.exe' inside '/AppData/Roaming/Python/Python38/Scripts' How do I set it up so that there is always one instance when I am running Chrome? Any way to also have it set up to quit on Chrome exit, and turn back on when Chrome is turned on?
  • (2020-05-24, v:0.1.0) Michael Glenn Williams: Can MPV play a WebRTC stream?
    Hi, Can we open live WebRTC wss links to play a WebRTC stream in this setup?
  • (2020-04-24, v:0.1.0) niels reinke: help
    when i try to use the plugin this happens: Exception happened during processing of request from ('', 50543) Traceback (most recent call last): File "C:\Users\reink\AppData\Local\Programs\Python\Python38\lib\socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "C:\Users\reink\AppData\Local\Programs\Python\Python38\lib\socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "C:\Users\reink\AppData\Local\Programs\Python\Python38\lib\socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "C:\Users\reink\AppData\Local\Programs\Python\Python38\lib\socketserver.py", line 720, in __init__ self.handle() File "C:\Users\reink\AppData\Local\Programs\Python\Python38\lib\http\server.py", line 427, in handle self.handle_one_request() File "C:\Users\reink\AppData\Local\Programs\Python\Python38\lib\http\server.py", line 415, in handle_one_request method() File "C:\Users\reink\AppData\Roaming\Python\Python38\site-packages\play_with_mpv.py", line 50, in do_GET pipe = Popen(['mpv', url, '--force-window'] + File "C:\Users\reink\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 854, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\reink\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 1307, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] Das System kann die angegebene Datei nicht finden did i do something wrong during the installation?
  • (2020-04-15, v:0.1.0) Dz Scritches: Use existing mpv window?
    Is there any way to get the extension to use an already open mpv instance to play a different video?
  • (2019-08-13, v:0.0.4) FLLUFF GOSHEN: MPV PLAYER or utilizing different codec, H.264, allow direct downloading
    Im in comcast gateway hell. living in 30 house community, with wifi only. ALL HAVE TO SHARE. NO NETWORK ADMIN, SECURITY, or ROUTER FROM THIS CENTURY. LMFAO Thank you in advance, for your time, any help or information will be greatly appreciated. ELLIOTT G.


4,000 history
4.4 (22 votes)
Last update / version
2020-05-01 / 0.1.0
Listing languages