View Single Post
Old 04-05-2023, 05:20 PM   #13
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,887
Karma: 6120478
Join Date: Nov 2009
Device: many
Attached is a working copy of the epub (it works in Sigil anyway). The issue was where the external javascript was being loaded. That javascript will fail to find the webvtt-player node unless it is placed **after** the div in question. It will NOT work if loaded in head like normal javascripts are.

Unfortunately, that javascript code is minified and hard to follow.

Since the epub is over the site limit of 20 meg in size, I have removed the audio and vtt files to create this epub. Just add them back with the names you used before and all should work.

Hope this helps,

KevinH

ps. to get this to work use Sigil's Add menu to add back:

audio.mp3

and

transcript.vtt

And they should end up in Audio/ and Video/ respectively.
Attached Files
File Type: epub working_framework.epub (45.2 KB, 310 views)

Last edited by KevinH; 04-05-2023 at 05:22 PM.
KevinH is online now   Reply With Quote