Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Video and Audio in iBooks Author HTML Widget

I've created an iBooks Author widget with iAd Producer with video and audio files as embedded assets. They are mp4 and m4a respectively. However, when I import the widget into my iBook they video and audio do not play. The video just won't play at all while the audio won't load.


I'm wondering:


  • which formats work for video and audio for iAd -> iBooks
  • am I missing something? The video is automatically set to activate upon a tap/touch right?

iMac

Posted on May 1, 2013 10:01 AM

Reply
Question marked as Best reply

Posted on May 1, 2013 5:57 PM

From http://support.apple.com/kb/HT5068:

Movie and Audio Requirements

You cannot use media that have ".m4v" or ".m4p" file extensions.

It is recommended that you use H.264 video in an MPEG-4 container with an ".mp4" file extension.

For audio, it is recommended that you use AAC audio in an MPEG-4 container with an ".m4a" file extension.

Note: Video and audio media in HTML widget bundles are not DRM-protected.

Note: In some cases, movies and audio files in HTML widgets may not play in iBooks Author but will play in iBooks. If you are unable to play a movie or audio file in your widget in iBooks Author, try previewing on iPad. This should show you how the file will play in your completed book.


Have you tried testing your widget in Widget Tester (Preview -> Preview on Device)? Does it work there, but not when ultimately loaded into iBooks? If it doesn't work on Widget Tester, does the web inspector's console (Preview -> Show Web Inspector When Previewing) show anything? (You will need to select Preview again after enabling the web inspector.)


From our experiences, filenames using anything other than alphanumeric characters can be problematic.


If none of the above helps, I would recommend filing a new problem at bugreport.apple.com and attaching your working project.

13 replies
Question marked as Best reply

May 1, 2013 5:57 PM in response to Connectacademics

From http://support.apple.com/kb/HT5068:

Movie and Audio Requirements

You cannot use media that have ".m4v" or ".m4p" file extensions.

It is recommended that you use H.264 video in an MPEG-4 container with an ".mp4" file extension.

For audio, it is recommended that you use AAC audio in an MPEG-4 container with an ".m4a" file extension.

Note: Video and audio media in HTML widget bundles are not DRM-protected.

Note: In some cases, movies and audio files in HTML widgets may not play in iBooks Author but will play in iBooks. If you are unable to play a movie or audio file in your widget in iBooks Author, try previewing on iPad. This should show you how the file will play in your completed book.


Have you tried testing your widget in Widget Tester (Preview -> Preview on Device)? Does it work there, but not when ultimately loaded into iBooks? If it doesn't work on Widget Tester, does the web inspector's console (Preview -> Show Web Inspector When Previewing) show anything? (You will need to select Preview again after enabling the web inspector.)


From our experiences, filenames using anything other than alphanumeric characters can be problematic.


If none of the above helps, I would recommend filing a new problem at bugreport.apple.com and attaching your working project.

May 14, 2013 10:17 AM in response to patixa

I have made sure that the video file was an MPEG-4 / H.264 with the .mp4 file extension. The video file is still not being activated in iBooks Author Preview or in iBooks itself.


Is it possible that my problem is in iAd Producer? This is my what I'm doing, it'd be great if you could make sure it's correct:


1. Drag mp4 from desktop to iAd page (automatically imports it as an Asset)

2. Select the video on the page

3. Select "Shows Controls", not "Plays full screen"

4. Interaction -> Activated -> Play Video

5. Export


I'm thinking the last thing I might be doing wrong is with the "Interaction". If I select "Activated -> play video", does that means that the video will play when tapped?


* When I preview it in Safari it works and shows the controls. Just not in iBooks or iBooks Author.

May 14, 2013 6:27 PM in response to Connectacademics

Yes, "Activated" means the video will start playing when it is tapped.


And my apologies for asking a possibly insulting question: when you created the iAd Producer project, you selected the "iBooks Author Widget" button at the top, correct? Which template did you start with, Blank or Video?


Would it be possible to post a screenshot of the Layers sidebar and the Properties brick with the video object selected?

Jun 9, 2013 3:26 PM in response to Connectacademics

As noted previously by Takayasu, your file names should not have spaces in them; replace them with dashes or underscores.


Have you tried using the iBooks Author Widget Tester application after enabling Preview > Show Web Inspector When Previewing? Do any useful messages appear in the Console tab? Can you glean anything from the Web Inspector's Resource tool?


Finally, I again recommend filing a problem at bugreport.apple.com and attaching your working project. If you have an iBA account rep or SE you work with, maybe they can help you.

Jun 19, 2013 10:37 AM in response to Connectacademics

I've tried everything mentioned in this discussion so far with my file (a blank doc with 1 audio file). I have yet to get any audio working in the iBooks Author widget, in any format. Everything works in the preview, iOS preview, and even the Widget Tester. But not in an actual iBook previewed on an iPad.


I'd like to know if anyone has gotten the new iAd Producer audio feature to work in a widget in an iBook? Should I bump up to Mavericks to make this work?

Thanks for any help

Jun 19, 2013 11:48 AM in response to Connectacademics

Hi,


(First, please forgive my English 😮)


I had the same problem, I tried with everything you posted on this discussion and nothing worked.


I tried previewing my widget on iAd Producer (Device: iPad) and on Widget Tester and the videos worked, but when I tested my widget on iBooks author and preview it, the videos on the widget doesn't worked.


The thing is that if you want iBooks to play your widget with video you should export it (.ibooks) and then synchronize your iPad with the iBook with iTunes... and voila! there is your video playing correctly on you iBook. I don't know why but on iBooks on Proof it doesn't work.


I hope it helps...


Manuela

Video and Audio in iBooks Author HTML Widget

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.