Tumult Hype Forums

Support Center

Known Issue: HTML Widgets containing video files are not allowed in iBooks Author

Last Updated: Feb 27, 2012 10:26AM PST
It appears that an .mp4 reference within an HTML widget produces an error "The HTML Dashcode file “WIDGETNAME” wasn’t added. The file contains a media file that isn’t in a supported format." We believe this is a bug in iBooks Author. Apple's Help page mentions that the mp4 format is supported in widgets, though that doesn't seem to be the case. 

Here's a workaround:
If you have a .mp4 video within a widget you'd like to show, you'll need to reference it within your widget by using an iframe:

1) Upload your HYPE document to a server.
2) Reference it from Index.html using an iframe. Here's example iFrame Code, which needs to be placed in the same location as your Hype div: <iframe src="http://dl.dropbox.com/u/7796/try5/try5.html" width="600" height="400"></iframe>
3) Make sure the document size of your Hype document is reflected in the dimensions of Info.plist. 

If you include this in an iBook, your reader will need to be online to access it. 

A demo file is attached to the bottom of this article.
 
 

Follow our Tweets

assistly@tumultco.com
http://assets1.desk.com/rb2b8f5170ff217b032a9b617ec967c37cd75a1c5/javascripts/
true
hypeapp
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
Invalid characters found
/customer/portal/articles/autocomplete