Internet videos without Flash

Posted Thursday, March 19th 2015 in FreeBSD - Permalink

I finally found a way to watch videos on Youtube, Twitch, and other sites without needing Adobe Flash!

To begin, we need to install the media player MPV. If you want hardware acceleration for the videos, you will need to compile it from ports. Make sure to set the OPENGL and VDPAU ports. If you are using a multi-monitor setup, also set XINERAMA. Finally, make sure to check YTDL to also build and install the youtube-dl port. This allows extracting video from the Flash objects on certain websites.

Next, make sure that the following ports are also installed: libva-vdpau-driver, libvdpau.

Now, in your home folder, add the following to your ~/.config/mpv/mpv.conf:


This will use hardware acceleration for video decoding and output.

Finally, in Firefox, add the Open With browser extension. Once added, configure it by adding a new program for mpv. Add the --ytdl command line argument, and set the display options to “Display as menu items.”

You should be ready to watch internet videos with MPV!

List Posts Newest Posts Page 1Next Page