Convert Videos to Play in All Browsers

I created a few short videos and tried playing them through the two browsers I usually use: Chrome and Firefox.

The video played—but there was no audio.

I created the videos using the open source program OpenShot Video Editor. It worked great and I exported the video as MP4.

OpenShot Video Editor

OpenShot Video Editor

There was no sound in Chrome, there was no sound in Firefox. Hmmm.

I then tried Opera and Safari. Video and sound worked fine in those browsers.

I read on Mozilla’s (Firefox) site that MP4 is not a preferred format and they listed several that were.

Now, I had to turn my MP4 into a playable video that would work across all browsers.

Here’s what I did:

VLC Video Player

VLC Video Player

I opened the MP4 file with the open source video player, VLC.

Then, I used the Convert/Stream function in VLC.

Convert Video with VLC

Convert Video with VLC

I chose “webm” as the encapsulation. This made the file much smaller, as well.

Then, I tried in all browsers, and, as shown, it worked just fine in Chrome. Problem solved!

Encode as .webm

Encode as .webm

.webm plays in Google Chrome

.webm plays in Google Chrome