nsx1luke
nsx1luke

Reputation: 33

How to add HTML5 support to Chromium?

I would like to know how to add HTML5 video support into a chromium build, by default chromium dose not play them.

Upvotes: 2

Views: 3792

Answers (1)

Asesh
Asesh

Reputation: 3361

Chromium, by default doesn't support playing those file formats. You will have to add support for those codecs when compiling Chromium. Chromium uses Ninja build system, you should pass the below arguments or use this command

gn args out/YourBuildFolder

to open args.gn file in a text editor and paste and save it:

ffmpeg_branding = "Chrome"

proprietary_codecs = true

before compiling Chromium. Now compile your Chromium fork:

ninja -C out/YourBuildFolder chrome

Upvotes: 3

Related Questions