View Full Version : swf-files in ePub


MichaelMBerlin
01-08-2010, 08:12 AM
Hallo,

is there any chance to integrate swf-files into an ePub-Dokument (created via Callibre from an HMTL-Source).

Thanks,

Michael

netseeker
01-08-2010, 08:16 AM
Hallo,

is there any chance to integrate swf-files into an ePub-Dokument (created via Callibre from an HMTL-Source).

Thanks,

Michael
You could embed an swf into the ePub but it wouldn't make much sense because Flash isn't a core media type for ePub and you would have to provide a fallback (http://www.idpf.org/2007/opf/OPF_2.0_final_spec.html#Section2.3.1.1).

MichaelMBerlin
01-08-2010, 08:50 AM
... thanks, I got it. Any ohter way to integrate audio-content that can be launched directly within an ePub-book?

Jellby
01-08-2010, 10:06 AM
You can do it, you just can't expect ePUB readers to support it, because the ePUB spec does not require them to do it (as if requiring was a guaranty for anything :rolleyes:). What I'd do, if I had to include some audio/video content, is provide, as a fallback, a page saying "The reading software does not support playing audio/video files, But you can watch/listen to this content in http://whatever" (that is, if nothing better is possible). That way, in the event some reader supports this, it will be played, but other readers will always have somethin useful instead.

MichaelMBerlin
01-08-2010, 10:57 AM
all right, thanks to both of you.

pietvo
01-08-2010, 11:34 AM
If and when ePub will be extended I hope they will only go with standard formats, like HTML5, SVG animation and MP4.

ninni
01-16-2010, 02:01 PM
Here's a link where you can find instructions for using SWF and fallback images in EPUB:

http://blog.threepress.org/2009/11/14/using-flash-video-in-epub/comment-page-1/