Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Is there a bug in the media9 package that causes H-264 mp4 files to embed properly and play properly on a computer, but not an iPhone? I embedded the exact same mp4 video file in Acrobat X Pro (Mac OS 10.6.8) using the video tool under Multimedia, in which case the video played perfectly in Acrobat X Pro and ezPDF Reader on the iPhone. However, when I embedded the exact same video file via media9 (testing both VPlayer.swf and StrobeMediaPlayback.swf), the file played in Acrobat, but showed up as a blank media folder icon in ezPDF Reader. Clicking on that folder threw up an error message of

Media playback failure. Can not play format.

My LaTeX2e distribution is MacTeX 2012. I am using the LaTeX engine in TeXShop.

share|improve this question
    
Interesting. I assumed Flash based video playback with Acrobat-9/X compatibility wouldn't work at all on an iPhone. Could you please send me or upload somewhere a minimal Acrobat-X generated example. (Use the mail address in the media9 documentation.) –  AlexG Aug 6 '12 at 7:15
add comment

1 Answer

up vote 4 down vote accepted

MP4/h.264 video and MP3 sound files embedded with media9 version 0.11 are played back in ezPDF Reader on tablets and phones with Android or iOS, yet without using the Flash-based players (StrobeMediaPlayback.swf, VPlayer.swf, APlayer.swf) embedded along with the media file. ezPDF uses its own, built-in player because it doesn't support Flash.

In order to make video and sound files work in ezPDF Reader, they must be embedded without a path component in the file name. If media files reside in another directory than the current one \addmediapath should be used:

\addmediapath{path/to/media/files}
...
\includemedia[
  width=0.4\linewidth,height=0.3\linewidth,
  activate=pageopen,
  addresource=random.mp4,
  flashvars={src=random.mp4}
]{}{StrobeMediaPlayback.swf}
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.