![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Oct 2021
Device: Thorium
|
Adding multiple media overlays with EPUB3 ?
Hi,
so, I've recently discovered that the Thorium reader application (and possible others) support media overlays that allow you to synchronize audio narration with the text. I succesfully managed to assemble an EPUB3 book with an audio narration layer using Sigil. Now my question is, does the standard allow to add multiple overlays for the same text passage ? The <par> tag allows only a single <audio> tag inside, and nesting <seq> tags in one <par> doesn't work. I neither found a way to add multiple SMIL definitions for the overlays. I haven't found anything that'd explicitly forbid adding multiple overlays. Can anyone enlighten me whether that's possible within the standard ? Best, n |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
I haven't worked with overlays, but, IIRC, you might be able to use the Sigil Icarus plugin for it.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Oct 2021
Device: Thorium
|
Hmm I read about that plugin, but I wonder whether it is still necessary? I think it stems from a time when Sigil didn't support EPUB3 out-of-the-box?
In fact I tried it and couldn't really make it run, but I was still able to assemble the ebook without it. |
![]() |
![]() |
![]() |
#4 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,478
Karma: 5703586
Join Date: Nov 2009
Device: many
|
The latest spec only allows 0 or 1 audio elements per par.
See: https://www.w3.org/publishing/epub3/...-smil-par-elem Quote:
Have you thought about creating an epub with multiple renditions? Would that help? |
|
![]() |
![]() |
![]() |
#5 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,478
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Based on my limited reading of the spec it states:
Quote:
So the only way to include multiple media overlays to basically the same xhtml content document would be to duplicate that xhtml document under a new name and associate it with the second media overlay. Probably better to just split it into two different epubs. Last edited by KevinH; 10-04-2021 at 10:34 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Oct 2021
Device: Thorium
|
Hmm ok, that's pretty unambiguous ... thanks for helping me interpret
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Convert multiple html files with assets to EPUB3 | wajdi ben ftima | Conversion | 2 | 06-24-2021 08:53 AM |
iBooks Author ePub3 Media Queries | mattmc | ePub | 2 | 10-12-2016 05:55 PM |
Trouble adding multiple books from multiple directories to Calibre | LisaAlissa | Library Management | 17 | 09-02-2015 12:00 PM |
Adding Media Player Start Stop button | mayankparekh | Recipes | 0 | 04-22-2015 07:22 PM |
Media sharing at home: multiple users, NAS | DerBusIsVoll | Library Management | 6 | 02-13-2012 12:01 PM |