Playing Video - mkv and webm not playing

Hi

I am trying to play mkv and webm videos in Firefox but they won’t play. I can play mp4’s without any problems. Additionally when I play a video there is no close the pop up player button. Any ideas how to sort please?

Thanks

Rich

1 Like

I would like too to understand how to improve video playback, as I have idea to have my all video tutorials on nextcloud and play them whatever I want with web browser or mobile app, but usually I have to leave it with disappointment and just simply download video first.
Ideas how to improve or best practice very welcome.

Nextcloud uses the files_videoplayer app for playing videos, which uses Video.js. I would check-out that website to get an idea which video formats are supported.

1 Like

As far as I know, the easiest solution is to transcode the video and put it in an MP4 container. Matroska has never been a container with a broad audience. If the audio and video streams are already compatible the transcoding should be pretty fast too. Here’s a troubleshooting guide that might offer you some help.

Browsers usually only support mpeg4 or Vp9 video and opus or mp3 audio in mp4 containers.

codec supported by firefox: https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Video_codecs

Yes, in my case this was the problem. I was able to play mkv file with Chrome, but in Firefox I had the error as described in this case :slightly_frowning_face:

There also qustion concernig this here: https://stackoverflow.com/questions/66367508/firefox-video-not-playing-mkv-format

And thre is also bug report on it in Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1422891