How can I download HTML5 videos?

Depends on the site. Firefox has context menus for saving html5 video, but they don't work if the site uses a customized player. For example, if you visit http://www.mozilla.com/en-US/firefox/video/, you will be able to right-click and select the Save video option.

On YouTube, that won't work. In this case, click the YouTube logo in the address bar, then click More information in the mini popup, then click the Media tab in the big popup dialog, then find the video and select it, then click Save As. Change the extension to webm before saving.

Alternatively, you can copy the address and load it on some download manager like DownThemAll or wget via terminal.

However, on YouTube is simpler to use Video Download Helper.

html5 video download


With JDownloader you can download almost every kind of content available on the web. Its up-to-date addon system allows to select available quality and filetype easily (video-audio/audio only).

Not the easiest way but it's one of the most effective.

EDIT: Just discovered youtube-dl command. Its GUI version is also available through a WebUpd8's PPA, but is not that powerful as its backend. As I said before, is one of the most powerful CLI tools to download videos from almost anywhere in the web.

It can be installed from WebUpd8's PPA:

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt update
sudo apt install youtube-dl

Or if you don't want to add a PPA, install latest version:

sudo curl https://yt-dl.org/latest/youtube-dl -o /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl

Update package without apt:

youtube-dl -U

And if you want to keep its manual in a text file (recommended), type this:

man youtube-dl > "youtube-dl manpage.txt"
youtube-dl --help > "youtube-dl quick help.txt"

Now go to your home (~) directory and pick them up, so you can work with the reference in one hand and the terminal in the other.