Wednesday 5 August 2015

HTML5 video in YouTube

After Firefox blacklisting all versions of Flash, YouTube started annoying me by asking to enable the plugin for the same. So, I decided to try HTML5 video. So, I requested for it. However, I was only getting 360p videos. After reading a bit about it, I found that I had to enable the following options in about:config page of Firefox.
media.mediasource.enabled
media.mediasource.mp4.enabled
media.mediasource.webm.enabled
media.fragmented-mp4.exposed
media.fragmented-mp4.ffmpeg.enabled
Also, to get H.264 codec, I had to install gst-libav package. That solved the issue and I can get all resolution options after that.

No comments: