Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 08-24-2011, 11:06 PM   #1
WRB
Junior Member
WRB began at the beginning.
 
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
WRB is offline   Reply With Quote
Old 08-25-2011, 03:39 AM   #2
cuthbert19
Enthusiast
cuthbert19 once ate a cherry pie in a record 7 seconds.cuthbert19 once ate a cherry pie in a record 7 seconds.cuthbert19 once ate a cherry pie in a record 7 seconds.cuthbert19 once ate a cherry pie in a record 7 seconds.cuthbert19 once ate a cherry pie in a record 7 seconds.cuthbert19 once ate a cherry pie in a record 7 seconds.cuthbert19 once ate a cherry pie in a record 7 seconds.cuthbert19 once ate a cherry pie in a record 7 seconds.cuthbert19 once ate a cherry pie in a record 7 seconds.cuthbert19 once ate a cherry pie in a record 7 seconds.cuthbert19 once ate a cherry pie in a record 7 seconds.
 
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.
cuthbert19 is offline   Reply With Quote
Advert
Old 08-25-2011, 01:42 PM   #3
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
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.
st_albert is offline   Reply With Quote
Old 08-25-2011, 11:06 PM   #4
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
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.
charleski is offline   Reply With Quote
Old 08-26-2011, 12:59 AM   #5
WRB
Junior Member
WRB began at the beginning.
 
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
WRB is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 03:12 PM.


MobileRead.com is a privately owned, operated and funded community.