Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Video not playing in Safari (WebM only): how to fix it

PRF-199Medium impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

WebM is a video container format that is popular because files are small and free to use. Safari, which runs on every iPhone and iPad browser and on Macs, has had patchy WebM support. Older versions cannot play it at all, and newer versions only play some WebM files depending on the codec inside (VP8, VP9) and the device.

Why it costs you leads or sales

Videos often carry the pitch: a product demo above the form, a hero background, or a testimonial near the checkout button. If Apple visitors cannot see it, they lose the explanation you counted on. Mobile traffic often skews towards iPhones, so the gap can be large in some audiences.

Where a WebM-only video breaks the journey
  1. Ad or search clickiPhone visitor lands on the page
  2. Hero or demo videoOnly a .webm source is offered
  3. Product explainedVisitor never sees the demo
  4. Form or checkoutFewer visitors continue

The visitor arrives on Safari, the video fails, and the persuasion steps that depended on it never land.

Illustrative effect of a missing video for Apple visitorsExample numbers
Illustrative effect of a missing video for Apple visitors (example)Chrome (video plays): 3.2 % conversion; Safari (video blank): 2.1 % conversion; Safari after MP4 fix: 3.1 % conversion0123.22.13.1Chrome (video plays)Safari (video blank)Safari after MP4 fix% conversion

Example: made-up numbers showing how conversion for Safari visitors could trail other browsers when the video fails to play.

How to check if your site has it

Check for WebM-only video
  1. Look at the page source

    Right-click the page, choose View Page Source and search for .webm. Note every <video> or <source> tag and check whether an .mp4 is listed next to it.

  2. Check the Network tab

    Open browser developer tools, go to Network, filter by Media and reload. If you only see .webm requests, there is no MP4 fallback.

  3. Test on a real Apple device

    Open the page on an iPhone in Safari and on a Mac in Safari. Check autoplay, the play button and the poster image. Emulators in Chrome do not reproduce Safari's media support.

  4. Check Safari's Web Inspector

    On a Mac, enable the Develop menu in Safari settings, connect your iPhone and inspect the page. Look for media errors in the console.

How to fix it

The core fix is the same everywhere: provide an MP4 (H.264 + AAC) version and list it as a source. Put the MP4 first or second, since browsers use the first source they can play.

Video with MP4 and WebM sourceshtml
<video controls playsinline poster="/media/demo-poster.jpg" width="960" height="540">
  <source src="/media/demo.mp4" type="video/mp4">
  <source src="/media/demo.webm" type="video/webm">
  Your browser does not support the video tag.
</video>
Convert a WebM file to MP4 with ffmpegbash
ffmpeg -i demo.webm -c:v libx264 -pix_fmt yuv420p -profile:v high -c:a aac -movflags +faststart demo.mp4
Add an MP4 source on your platform
  1. Upload an MP4

    Convert the file, then add it in Media > Add New. Check that your upload size limit allows it.

  2. Use the Video block

    The core Video block takes one file, so use an MP4 there. For both formats, use a Custom HTML block with the code above.

  3. Check theme or slider settings

    Some themes and sliders have separate MP4 and WebM fields for background video. Fill in the MP4 field.

WebM only vs MP4 fallback

Before

  • One <source> with a .webm file
  • Chrome and Firefox play it
  • Safari shows a blank box or dead play button
  • Nobody reports it

After

  • MP4 (H.264 + AAC) listed as a source
  • WebM kept as an optional extra
  • Plays in Safari, Chrome, Firefox and Edge
  • Poster image shows while loading

How to confirm it's fixed

Confirmation checklist
  • The page source lists an .mp4 source for every video
  • The video plays on an iPhone in Safari
  • The video plays on a Mac in Safari
  • Muted autoplay videos have muted and playsinline
  • The Network tab shows the MP4 returning a 200 or 206 response
  • The poster image appears if the video is slow to load

How to prevent it happening again

Most WebM-only videos come from a design handoff, a plugin setting or an export from a screen recorder. Put the rule in your process rather than relying on memory.

Prevention habits
  • Export or convert every video to MP4 (H.264 + AAC) as the default
  • Add a Safari check on a real iPhone to your launch checklist
  • Ask designers and freelancers to deliver MP4 first
  • Re-test after theme, plugin or page builder updates
  • Keep a poster image on every video so a failure is less jarring

How FunnelGuard handles this

FunnelGuard does not check video formats yet. A check for unsupported video sources is a possible future addition, but it is not available today, so a WebM-only video would not be reported by FunnelGuard.

What FunnelGuard does cover nearby is the journey itself: a robot visitor runs your lead forms, checkouts and booking or chat buttons on a schedule from the EU or the US, checks each step and the tracking hits, and sends one alert with a screenshot if something breaks. That helps if a broken page stops the journey, but it does not tell you a video is unplayable in Safari.

Questions people ask

Why is my video not playing in Safari but works in Chrome?

Chrome plays WebM, but Safari has limited and version-dependent WebM support. If your page only offers a .webm file, many Safari and iPhone users see a blank player. Add an MP4 file encoded with H.264 and AAC as another source.

Does Safari support WebM?

Partly. Older Safari versions do not play WebM at all, and newer ones support it only for some codec and device combinations. Because of that, you should not rely on WebM alone. MP4 with H.264 is the safest choice.

How do I add an MP4 fallback to an HTML5 video?

Add a second <source> tag inside the <video> element with type="video/mp4" and list it first. The browser uses the first source it can play, so Safari picks the MP4 while other browsers can still use WebM.

How do I convert WebM to MP4?

Use ffmpeg: ffmpeg -i demo.webm -c:v libx264 -pix_fmt yuv420p -c:a aac -movflags +faststart demo.mp4. This creates an H.264 and AAC file that plays in all major browsers. Desktop video editors and online converters can also do it.

Why is my background video not autoplaying on iPhone?

Safari on iPhone only autoplays videos that are muted and marked playsinline. Add autoplay muted loop playsinline to the video tag and make sure an MP4 source exists. Low power mode can also block autoplay.

Do I need to keep the WebM file if I add MP4?

No. MP4 alone works in every current browser. You can keep WebM as a second source if its smaller file size helps, but it is optional.

Can I test Safari video playback without an iPhone?

A Mac with Safari is a good test, and a real iPhone is better. Chrome's device emulation does not reproduce Safari's media support, so it will not show this problem.

Does FunnelGuard check if my video plays in Safari?

No. FunnelGuard does not check video formats yet, though it is a possible future check. It does run your forms, checkouts and buttons on a schedule, so use manual device tests for video playback.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.