![]() |
#1 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 557
Karma: 400004
Join Date: Feb 2009
Device: ONYX M96
|
Error in EPUB3 validation
Hi,
I'm trying to validate ad EPUB3 with some video as remote resources. I got a warning that I don not understand: Code:
OPF-018 WARNING The 'remote-resources' property was declared in the OPF, but no reference to remote resources has been found. Make sure this property is legitimate. Code:
<video controls="controls" src="http://www.venerandi.com/video/video.mp4"><p>sorry, you can not see video</p></video> Code:
<item id="video20" href="http://www.venerandi.com/video/video.mp4" media-type="video/mp4"/> Code:
<item id="hello.xhtml" href="Text/hello.xhtml" media-type="application/xhtml+xml" properties="remote-resources"/> Thank you in advance Fabrizio |
![]() |
![]() |
![]() |
#2 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,190
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Code:
<video controls="controls" src="http://www.venerandi.com/video/video.mp4">Your device does not support the video tag.</video> Here's what I added to Section0001.xhtml: Code:
<body> <video width="1280" height="720"> <source src="https://sample-videos.com/video123/mp4/720/big_buck_bunny_720p_1mb.mp4"/> Your browser does not support the video tag. </video> </body> Code:
<item id="Section0001.xhtml" href="Text/Section0001.xhtml" media-type="application/xhtml+xml" properties="remote-resources"/> <item id="extvideo01" href="https://sample-videos.com/video123/mp4/720/big_buck_bunny_720p_1mb.mp4" media-type="video/mp4"/> Good luck! Last edited by DNSB; 10-22-2019 at 05:42 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 557
Karma: 400004
Join Date: Feb 2009
Device: ONYX M96
|
Thank you for the answer. After some tests it SEEMS that the OPF-018 warning wakes up when the video tag is inside a div tag. This has not sense at all, but it is.
I think it is a epubcheck bug, I'll keep investigate. |
![]() |
![]() |
![]() |
#4 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,190
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
There are some weird oddities in the way that epubcheck generates error message so this may be one.
|
![]() |
![]() |
![]() |
#5 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 557
Karma: 400004
Join Date: Feb 2009
Device: ONYX M96
|
yeah, thanks anyway because your message help me to change the tag order.
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
EPUB3 Validation Error - Assertion failed: package dcterms:modified meta element mu | grahamnaismith | ePub | 7 | 02-14-2019 09:44 AM |
Validation Error epub3 | soparch | ePub | 2 | 12-01-2015 11:38 PM |
EPUB3 footnote validation | roger64 | Workshop | 11 | 06-03-2015 07:56 AM |
Epub3 XHTML Validation epub3 | Ramesh Arpitha | ePub | 5 | 06-30-2014 08:32 PM |