![]() |
#1 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Feb 2011
Device: many (proff. conversions)
|
adding Audio
I am using Elizabeth Castro's method of adding audio to my epub files in Sigil but, when I go to save, the code with the audio tag simply disapears!! Still present in the manifest.
Can somebody tell me how to stop this from happening? thanks Warren |
![]() |
![]() |
![]() |
#2 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48
Karma: 1916
Join Date: Sep 2010
Device: Cybook Opus
|
Currently, you can't, not with Sigil
![]() <audio> and <video> tag are Apple's proprietary ... and, as they are not part of the standard, Sigil cuts them out. It's already planned for a change of behaviour ... see Issue 917 on Sigil's tracker ![]() EDIT: ok, my mistake, they are not Apple's, they are part of HTML5, but obviously still not part of current EPUB specs. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 697
Karma: 150000
Join Date: Feb 2010
Device: none
|
A workaround is to insert "fake" tags, in the form of comments where the <audio> and/or <video> tags should go. Then when finished, and outside of sigil, expand the epub, edit the appropriate files to replace the fake tags with real ones, and re-zip the epub.
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
Sigil already makes numerous concessions to Apple's failure to meet ePub standards, and these are being expanded (such as retaining the displayoptions xml and supporting code injection for working around the bugs in iBooks). But HTML5 tags will have to wait until Sigil is transitioned to support ePub3. If you really need to add audio and video, inject the tags with javascript.
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Feb 2011
Device: many (proff. conversions)
|
Thanks all,
Fully understand and have edited files outside of Sigil.... cheers Warren |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
iPad Adding videos or audio | hard13 | Apple Devices | 3 | 01-18-2011 05:02 AM |
Adding Audio Books to Kindle DX | nimblem | Amazon Kindle | 0 | 09-08-2010 11:56 AM |
Adding external links to audio for iBooks | nihonjon | ePub | 2 | 07-23-2010 04:29 AM |
Blackstone Audio to release audio books as DRM-free MP3s | Donnageddon | News | 4 | 07-07-2008 12:16 PM |