EPUBCheck MED-009: klip nakładki o zerowej długości
Zaktualizowane:
EPUBCheck MED-009 jest komunikatem o błędzie: „The time specified in the clipBegin attribute must not be the same as clipEnd.” W nakładce multimedialnej clipBegin i clipEnd są takie same, więc klip nie ma długości. Nic nie byłoby odtwarzane dla tego fragmentu, a EPUBCheck zgłasza to jako błąd.
Oficjalna wiadomość
The time specified in the clipBegin attribute must not be the same as clipEnd.
- Domyślna powaga
- Błąd. EPUB łamie zasady specyfikacji i jest nieprawidłowy. Sklepy i Wysłanie do Kindle mogą go odrzucić, a EPUBCheck kończy działanie ze statusem 1.
- Wersja EPUBCheck
- 5.4.0
Typowe przyczyny
- Klip, który został przycięty do zerowej długości podczas edytowania narracji.
- Narzędzie do wyrównania, które nie mogło umieścić frazy i napisało tę samą godzinę dwa razy.
Jak to naprawić
- Otwórz plik SMIL EPUBCheck i znajdź element audio w linii, którą zgłasza.
- Skoryguj czasy z pliku dźwiękowego lub usuń element par, jeśli fraza nie ma narracji.
- Odbuduj EPUB i uruchom ponownie EPUBCheck, aby potwierdzić, że komunikat zniknął.
Kiedy to nie to
Jeśli clipBegin jest późniejszy niż clipEnd, występuje błąd MED-008.
Terminy używane tutaj
Inne komunikaty MED
MED-008The time specified in the clipBegin attribute must not be after clipEnd.MED_010EPUB Content Documents referenced from a Media Overlay must specify the "media-overlay" attribute.MED_007Picture "source" elements must define a "type" attribute when they reference foreign resources; found resource "…" of type "…".MED_011EPUB Content Document referenced from multiple Media Overlay Documents.MED_012The "media-overlay" attribute does not match the ID of the Media Overlay that refers to this document.MED-005Media Overlay audio reference … to non-standard audio type … found.
Źródła
- EPUB 3.3, §9.2.2.8 The audio element · czytaj
Tekst wiadomości i poważność z EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Wyjaśnienie przez EpubCC.