Link to audio in XHTML/EPUB

Posted by wxs on Stack Overflow See other posts from Stack Overflow or by wxs
Published on 2010-05-19T15:55:35Z Indexed on 2010/06/13 1:22 UTC
Read the original article Hit count: 353

Filed under:
|
|
|
|

I'm looking into synchronizing an ebook in epub format (so the content is in XHTML) to an audio file. I'm thinking of putting something along the lines of:

<a class="audiolink" href="sound.ogg?t=1093"></a>

into the body of the document, and then have a custom epub reader that recognizes those tags and synchronizes the audio accordingly. That does seem like a bit of a hack to me though, especially the use of a special class name.

Does anyone have any pointers to how this may be done in a more standards-compliant manner (or somewhere where it has been done before)? Ebooks with audio annotation seem like an idea that may already be out there.

© Stack Overflow or respective owner

Related posts about XHTML

Related posts about audio