Skip to content
EPUBCheck · Package document (OPF)

EPUBCheck OPF-036: video type may not play

Updated:

EPUBCheck OPF-036 is a usage message: “Video type "…" might not be supported by reading systems.” A video uses a media type that reading apps may not support. This is a usage note (shown with -u), and EPUBCheck suggests video/mp4, video/h264 or video/webm instead.

The official message

Video type "%1$s" might not be supported by reading systems

EPUBCheck's suggestion: Use "video/mp4", "video/h264" or "video/webm" instead.

Default severity
Usage. Informative only and hidden by default: it appears when EPUBCheck runs with -u (--usage). It does not make the EPUB invalid.
EPUBCheck version
5.4.0

%1$s, %2$s… are filled in with the file, value or element EPUBCheck found.

Typical causes

  • Video exported in a less common container or codec, such as Ogg or QuickTime.
  • Video copied from a website in whatever format the site used.
  • A manifest media type that does not describe the real file.

How to fix it

  1. Check which formats the reading apps you target can play.
  2. Re-encode the video as MP4 (H.264) or WebM if you need it to play widely.
  3. Update the manifest item's media-type and the source element's type attribute to the new format.

When it's not this

If the video is placed directly in the spine, the rules for spine items and fallbacks (OPF-043) apply as well.

Terms used here

Other OPF messages

  • OPF-035 Media type "text/html" is not appropriate for XHTML/OPS.
  • OPF-037 Found deprecated media-type "…".
  • OPF-034 The spine contains multiple references to the manifest item with id "…".
  • OPF-033 The spine contains no linear resources.
  • OPF-032 Guide references "…" which is not a valid "OPS Content Document".
  • OPF-040 Fallback item with id "…" could not be found.

Sources

Message text and severity from EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Explanation by EpubCC.

FAQ

What does EPUBCheck OPF-036 mean?

EPUBCheck OPF-036 is a usage message: “Video type "…" might not be supported by reading systems.” A video uses a media type that reading apps may not support. This is a usage note (shown with -u), and EPUBCheck suggests video/mp4, video/h264 or video/webm instead.

Is OPF-036 an error?

OPF-036 is reported as usage by default. Informative only and hidden by default: it appears when EPUBCheck runs with -u (--usage). It does not make the EPUB invalid.

PDF to EPUB tools

Every tool uses the same engine and starts with a free 5-page sample.