Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 05-08-2012, 08:45 AM   #1
Thornchan
Junior Member
Thornchan began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2012
Device: iPad
Epub3 and Interactivity

So... I'm in the biggest rut ever and this is for my bachelor degree... Are you up for a challenge?
(I know the threads on here - it says animation is not supported, etc etc)

I want to create a children's story (it's a poem with 5 pages about stress relief, a friend of mine is illustrating it) with interaction using Epub3.
The epub will be free on various platforms when done. My first direction is however towards iPad.

As long as something HAPPENS when touching different hotspots, I'm happy, BUT...
  • No code that embeds .svg's seems to work and spritesheet animation with css doesn't work as far as I've tried it.
  • I'd love to use and manipulate pixel images (jpeg/png/gif etc etc), not only vector.
  • Embedding a video is supposed to work, but the interface comes with it - an ugly big white "play" button, and there's no real interactivity in staring at a video playing...
  • The only thing so far that works in the epub3 reader I've found (AZARDI), Safari, and on iPad, is a fading rectangle:

Code:
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<rect x="20" y="20" width="250" height="250" style="fill:blue">
<animate attributeType="CSS" attributeName="opacity" from="1" to="0" dur="5s" repeatCount="indefinite" />
</rect>
</svg>
So some manual codes work. I tried using the svg tag to insert a pixel image, but to no avail.

That said, I have also found this:
http://blog.threepress.org/2011/01/3...ok-world-2011/
But of course the code she uses is not shown, just a mild outline.

And as far as I've researched - javascript is not to be trusted and shouldn't be used? Or is there javascript that works with epub3?

Is there any code you know of using some sort of interaction or animation that actually works except that fading rectangle?

Last edited by Thornchan; 05-08-2012 at 09:07 AM.
Thornchan is offline   Reply With Quote
Old 05-08-2012, 02:00 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 36,208
Karma: 17169472
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
It won't work on various platforms as various platforms don't support ePub3. The best you'll get maybe is using iBooks. iBooks is not standard, so you'll have to figure out iBooks' oddities. But any eink reader does not support ePub3 nor ePub with animations.
JSWolf is offline   Reply With Quote
Old 05-08-2012, 04:48 PM   #3
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 2,866
Karma: 2714881
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
The animation part of SVG is also not supported in ePUB v3, just like in ePUB v2. It is in the specifications:
Quote:
The [SVG] Animation Elements and Animation event attributes must not occur.
The specifications are on the site of the IDPF.

Please be aware that there are hardly any ePUB v3 readers or reading applications. The iBooks program is not, as JSWolf already said, a good example. It is tuned to Apple's version of ePUB and deviates from the IDPF specifications. YMMV.
Toxaris is offline   Reply With Quote
Reply

Tags
epub, epub3, interaction, ipad

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
epub3 pbs_ebook Writer2ePub 1 05-06-2011 11:47 AM
Adding Interactivity to ePub File? ldespain ePub 4 09-19-2010 06:36 AM
JavaScript and interactivity in iBooks kjk Apple Devices 2 08-16-2010 10:14 AM
Web fiction hotbed of reader and writer interactivity Falbe Publishing General Discussions 0 06-15-2010 10:35 AM
Epub Revision - rich media & interactivity Nate the great ePub 17 04-11-2010 10:25 PM


All times are GMT -4. The time now is 06:57 PM.


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