WebM video gives error in Safari and Internet Explorer

Created on 17 October 2017, over 7 years ago
Updated 3 June 2025, about 1 month ago

The "Mediatheek Rijksoverheid" recently started to support videos in WebM format. When adding both a MP4 source and a WebM source, the video doesn't play in browsers that don't support WebM videos (Safari, IE).

Both sources are added in the video tag, but only one file (the WebM file) is passed on to the JWPlayer configuration. JWPlayer supports multiple files to be passed on and automatically selects a supported format for the current browser. I made a small patch to pass on both files to the JWPlayer configuration.

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇳🇱Netherlands rikkert86

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024