View Single Post
Old 04-05-2023, 10:43 PM   #15
differentj
Member
differentj began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Apr 2023
Device: Mac
KevinH, You've definitely spent more time on this than I could have asked for and thank you.

I definitely have a better base to build up from then where I began and that alone makes this worth while for me, Thank you!

I'll see what I can figure out regarding the link issue as it's ultimately what's driving me crazy as I can't change the linking within Sigil for the data-audio and the data-transcript without adding a place in the body where I can grab the location then remove (like an a href), or rename all files when I import them and not break the linking that way.

I've tried some methods I found online for replacing innerhtml through javascript and HTML elements underneath the
Code:
<div id="webvtt-player" data-audio="data-audio" data-transcript="data-transcript">
section or at the beginning of the script section but nothing was working for me.

I'll post if I find a way to change links within the Div id to the files or a workaround in case anyone else comes across something similar in the future.
differentj is offline   Reply With Quote