01-09-2018, 06:45 AM | #1 |
Connoisseur
Posts: 51
Karma: 10
Join Date: Feb 2012
Device: none
|
epub3 kobo external video opf issue
Producing an epub3 with videos leads to a kobo nag about manifesting external video files, as per the epub3 spec.
There are six entries in the opf, such as this: Code:
<item id="vid2" href="https://www.website.ext/videofile2.mp4" media-type="video/quicktime"/> Code:
Missing file OEBPS/https://www.website.ext/videofile2.mp4.: java.lang.RuntimeException I've perused the MR forums, the MR wiki, the github/kobolabs/epub-spec and various other kobo materials, to no avail. Anyone have any idea why this occurs, or how to circumvent it, short of bloating the epub to the tune of 78mb? |
01-09-2018, 08:01 AM | #2 | |
Grand Sorcerer
Posts: 12,162
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Quote:
Sent from my Nexus 7 using Tapatalk |
|
Advert | |
|
01-09-2018, 08:23 AM | #3 | |
Connoisseur
Posts: 51
Karma: 10
Join Date: Feb 2012
Device: none
|
Quote:
|
|
01-09-2018, 08:52 AM | #4 |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
|
01-09-2018, 09:03 AM | #5 |
Connoisseur
Posts: 51
Karma: 10
Join Date: Feb 2012
Device: none
|
Yes, I did. For three separate documents, which all have video tags sourcing the remote links.
Example Code:
<item id="h1.xhtml" href="Text/h1.xhtml" media-type="application/xhtml+xml" properties="remote-resources"/> |
Advert | |
|
01-09-2018, 01:52 PM | #6 |
Sigil Developer
Posts: 7,643
Karma: 5433388
Join Date: Nov 2009
Device: many
|
For the record, no where in the official epub3 spec that I could see does it say you should add a manifest property for something not inside the epub3 container. I realize that many people/sites say you should add a manifest item for remote resources but I could not find it in the spec anyplace. If someone can send a link to where in the spec it says it should be that way, I would love to see it. A manifest by its very nature should only include things that are actually contained there-in.
So what happens if you remove the manifest items such as these: Code:
<item id="vid2" href="https://www.website.ext/videofile2.mp4" media-type="video/quicktime"/> |
01-09-2018, 04:03 PM | #7 |
Grand Sorcerer
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Have we been given any solid reason to believe that the subset of EPUB3 specs that Kobo supports even includes remote-resources? Last info I saw showed Kobo supporting about 60% of the EPUB3 spec.
|
01-09-2018, 06:01 PM | #8 | |
Connoisseur
Posts: 51
Karma: 10
Join Date: Feb 2012
Device: none
|
Quote:
Code:
Col: 174: ERROR(RSC-008): Referenced resource is not declared in the OPF manifest. (which made me assume that declaring external links for media files was in the spec somewhere.) To answer your question, I cannot provide you with actual data from the spec, it was an assumption on my part. |
|
01-09-2018, 06:08 PM | #9 |
Connoisseur
Posts: 51
Karma: 10
Join Date: Feb 2012
Device: none
|
Let me ask the question in another way. Does anyone know of a way to have Kobo readers play video content that is not actually present within the epub? ie content that lives on a server somewhere, in order to keep the epub's file size down. Preferably, this would be a solution that does not break the functionality for other platforms, such as ibooks.
|
01-09-2018, 06:13 PM | #10 | |
Grand Sorcerer
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
01-09-2018, 07:31 PM | #11 |
Grand Sorcerer
Posts: 12,162
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Video is only supported by Kobo on Android and IOS (but you most likely know that)
|
01-10-2018, 03:37 AM | #12 | |
Connoisseur
Posts: 51
Karma: 10
Join Date: Feb 2012
Device: none
|
Quote:
It is my understanding that there are kobo devices that run Android. Obviously expecting to run video on eInk devices would be folly, but so would be to require eInk device users to download and host a 80MB KePub on their relatively low-spec'ed machines, just because *some* devices are capable of video playback. Hence the decision to host the video files remotely, which now feels like an impossibility, due to what appears to be a random rakuten testing bug. Thanks for all the suggestions so far. It's hard to believe that no one has run into this. Hopefully someone will yet come forward. I have asked kobo (or well, rakuten, with whom our retailer works) about this issue as well, and will report back once they have responded in a constructive way. |
|
01-10-2018, 06:09 AM | #13 |
Resident Curmudgeon
Posts: 73,931
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
One problem is what if someone is reading that eBook with no Internet access or with WiFi off? Then it won't work for sure.
|
01-10-2018, 06:52 AM | #14 |
Connoisseur
Posts: 51
Karma: 10
Join Date: Feb 2012
Device: none
|
Good point. Another huge problem is that if a person turns their device off, they won't be able to read the epub like at all! How will the world survive?!
|
01-10-2018, 07:36 AM | #15 |
Grand Sorcerer
Posts: 12,162
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
The only Kobo DEVICES that run Android are there long discontinued tablets (ARC and VOX I think).
Yes there is a Kobo app available for both IOS and Android. Sent from my Nexus 7 using Tapatalk |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
EPUB3 Fixed Layout Errors... OPF Version Not Found & Prefix Already Specified | pressmatters | ePub | 3 | 10-29-2014 02:22 PM |
Is there any android epub reader supporting epub3 with audio/video/javascript? | happycoding | Android Developer's Corner | 10 | 07-29-2014 11:16 AM |
Nook Covers OPF Issue | DTM | Sigil | 2 | 08-03-2013 05:39 PM |
How to solve EPUB3/EPUB2 rendering issue on Ipad | E-Books | ePub | 2 | 05-16-2013 07:07 AM |