Where to begin??
I recently received the company ipad to stack full of goodies and other little treats for presentations and events.
I have to say… wow! This little thing is a great device for showcasing and presenting work on. The screens incredibly crisp and picks up on every detail within the design.
Any way I'm not writing a ipad review here…
I'm writing to talk about my nightmare with integrating video into a publication to use within ibooks.
I'll firstly explain that I'm a creative designer with a long history of building front end development for websites too and that I'm pretty new to this ipad business!
Coming from the creative side of things I first fired up indesign cs4 and went to work with a case study, looked great, exported as a pdf and dropped it on the ipad using itunes. Took no time at all to transfer, quick swipe of my finger and a tap to load up the ibooks app. There and behold my pdf in all its glory! Tapped to open the pdf up to view the contents, simple easy to use dragging left and right to switch pages and using the multitouch pinching to zoom in and out.
Using indesign was a simple and effective way of getting PDF's onto the ipad in exactly the way you exported them as. The only gripe are the covers, my PDF was all landscape therefore creating a very small landscape book cover. The only way round this was to rotate the cover of the book or redesign the cover as portrait.
So how do I add video into this PDF?
Simple answer is you cant. (Adobe, Apple, sort your life out and make it happen!)
Hours and hours of hunting high and low on the web and reading various forums and blogs I came up with nothing, I tried absolutely everything. The only viewer that allows you to view video within PDF's is adobe's own acrobat reader which isn't available on the ipad. The apple ipad uses it's own rendering system therefore not allowing videos to be displayed. Within adobes acrobat reader the video is prompted with a potential security risk dialog which you have to trust to view. This might be another factor in apple leaving video out of PDF's, plus that acrobat uses quicktime.mov and flash.flv files to render the video is another issue that we all know about (flash support).
So how did I get video into the ibooks app?
Using html5 of course!!
This stage took me a while to get to, hours of exporting files and building files from indesign to realise that indesign doesn't attach the video on export no matter what you try.
So closing indesign and opening up TextEdit was the next step, yes I was going to create an ebook from scratch.
Epub files are nothing but a compressed wrapper holding the ebook together, within this epub file you'll find all the chapters, images, css and contents. Change the .epub filetype to .zip then extract the zip file to view all the contents.
I created my chapter using dreamweaver with html5 video keeping the code incredibly simple. Updated the opf and ncx with the chapters details. Converted the folder back to an epub by compressing and changing the filetype again. Dragged and dropped this over to the ipad using itunes, quick swipe of the finger and tap brought up the ibooks app. There it is!! The epub book I created, tapped it to view the contents… fail… either I got prompted with an unknown error or that was there was only text no video?
Why's this? It's all correct, or isn't it? Going over all my code again, trying multiple versions till everything was streamlined and perfect but still no video or unknown errors.
It turned out to be the smallest, most overlooked thing I could of possibly imagined. The Mac compression of the folder back to a zip then epub file, the mac threw in all sorts of code and files like '.DS_Store' which the epub just went mental over.
I came across this little gem online ePub Zip 1.0.2.app.zip [mobileread] dragging and dropping my folder onto this applescript removed the dirt from the epub file allowing it to run on the ipad.
Another transfer to the ipad, swipe, tap, loading…
I couldn't believe it, finally working video within the epub ibooks application. It looked amazing, the video looked stunning using full screen.
I hope this shed some light on creating publications for ibooks on the ipad, I'll go into detail on my next post about all the files needed to hand create your own epub publication.
Robski
Currently rated 5.0 by 3 people
- Currently 5/5 Stars.
- 1
- 2
- 3
- 4
- 5