Quote:
Originally Posted by fbrzvnrnd
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.
The video has been tagged, for example, inside file "hello.xhtml" as:
Code:
<video controls="controls" src="http://www.venerandi.com/video/video.mp4"><p>sorry, you can not see video</p></video>
I do not understand where the error is, maybe I'm missing something?
Thank you in advance
|
I haven't played with remote resources much but I vaguely seem to remember that you do not need the <p></p> tags for the "sorry" message and that you need to specify the source using the <source> tag.
Code:
<video controls="controls" src="http://www.venerandi.com/video/video.mp4">Your device does not support the video tag.</video>
I tried a quick test using Sigil and Page Edit to play.
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>
And these two lines in content.opf:
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"/>
I spread the video tag over multiple lines for ease in reading. A single line works as well.
Good luck!