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.

  • 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

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.

Update: Another requirement seems to be the omission of the playbuton overlay.

  • This seems to be true also for playback in Acrobat itself, when I tried to add a path to the resource. The movie was able to play only in the machine I compiled (presumably it looked for the referred file in the filesystem rather than the embedded one. – alfC Apr 22 '14 at 9:49
  • I don't think so. I tested with a typical unix path /home/... and it played well on a Windows PC. – AlexG Apr 22 '14 at 9:56
  • As we speak, I am trying with Linux (to compile) and Mac (to play) and it only works if I have the movie in the same path as the document (that is, I can include it without the full path). If I try to have the movie in some other location it doesn't play in the Mac. Not sure if I am missing something. – alfC Apr 22 '14 at 9:58
  • This amazes me, since the FlashPlayer plugin used by AR isn't allowed to access the local disk for file resources. On the Windows PC I use for viewing, the absolute linux path written into the PDF is definitely not valid. – AlexG Apr 22 '14 at 10:06
  • 1
    @alfC As for embedded file attachments, I am working on it. – AlexG Apr 23 '14 at 7:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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