EPUBCheck MED_010: sin atributo media-overlay
Actualizado:
EPUBCheck MED_010 es un mensaje de error: “EPUB Content Documents referenced from a Media Overlay must specify the "media-overlay" attribute.” Un documento de contenido es utilizado por una superposición de medios, pero su elemento de manifiesto no tiene un atributo media-overlay. El atributo es cómo la aplicación de lectura encuentra la narración de un capítulo, por lo que sin él el audio nunca se reproduce.
El mensaje oficial
EPUB Content Documents referenced from a Media Overlay must specify the "media-overlay" attribute.
- Severidad por defecto
- Error. El EPUB rompe una regla de la especificación y es inválido. Las tiendas y el envío a Kindle pueden rechazarlo, y EPUBCheck sale con estado 1.
- versión de EPUBCheck
- 5.4.0
EPUBCheck imprime este ID con un guion bajo en lugar de un guion; esta página utiliza el ID exactamente como lo informa EPUBCheck.
Causas típicas
- Un archivo SMIL agregado al libro sin actualizar el elemento de manifiesto del capítulo que narra.
- Un manifiesto regenerado por una herramienta que eliminó el atributo.
Cómo arreglarlo
- En el documento de paquete, encuentra el elemento del manifiesto del capítulo EPUBCheck nombres.
- Añadir
media-overlay="..."con el id del elemento de manifiesto de su archivo SMIL, por ejemplo<item id="ch1" href="ch1.xhtml" media-type="application/xhtml+xml" media-overlay="ch1_audio"/>. - Reconstruye el EPUB y ejecuta EPUBCheck nuevamente para confirmar que el mensaje ha desaparecido.
Cuándo no es esto
Si el atributo está presente pero nombra una superposición diferente, el error es MED_012.
Términos usados aquí
Otros mensajes de MED
MED-009The time specified in the clipBegin attribute must not be the same as clipEnd.MED_011EPUB Content Document referenced from multiple Media Overlay Documents.MED-008The time specified in the clipBegin attribute must not be after clipEnd.MED_012The "media-overlay" attribute does not match the ID of the Media Overlay that refers to this document.MED_007Picture "source" elements must define a "type" attribute when they reference foreign resources; found resource "…" of type "…".MED_013Media Overlay Document referenced from the "media-overlay" attribute does not contain a reference to this Content Document.
Fuentes
Texto y severidad del mensaje de EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Explicación por EpubCC.