Thread: EPUB container
View Single Post
Old 08-09-2024, 03:31 PM   #1
Daniele Giampà
Member
Daniele Giampà began at the beginning.
 
Daniele Giampà's Avatar
 
Posts: 17
Karma: 20
Join Date: Jan 2024
Location: London
Device: none
EPUB container

Hello

I have a question about a video that I embedded in the introduction of my EPUB3 ebook "Tape Mark 3": https://edgedpub.com/sample_work_6.php

The EPUB-Checker shows me 2 errors (see attachment) that are related to the video on line 173 of the file introduction.xhtml.

<div>
<iframe width="560" height="315" src="https://www.youtube.com/embed/8i7uFCK7G0o" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen=""></iframe>
</div>

I looked for explanations about Error RSC-006 regarding the EPUB container.
On the web page Anatomy of an EPU3 file I read that the file container.xml is in the folder META-INF.

I have 3 questions:

1) Is there a problem with the iframe?

2) What does it mean that I have to "locate the resource in the EPUB container"?

3) How do I insert the video in the manifest? How do I write this line of code for the video?

<item id="..." href="..." media-type="video/..."/>



Thank you for your help.
Daniele
Attached Thumbnails
Click image for larger version

Name:	video.png
Views:	234
Size:	469.3 KB
ID:	210059   Click image for larger version

Name:	container.png
Views:	227
Size:	273.3 KB
ID:	210061  
Daniele Giampà is offline   Reply With Quote