0

I created a PDF with MP3 files embedded following an example of media9:

\includemedia[
  addresource=sample.mp3,
  transparent,
  flashvars={
    source=sample.mp3
   &autoPlay=true
  },
]{\includegraphics[height=1.44ex]{speaker.png}}{APlayer.swf}

The audio file can be played with Adobe reader on windows perfectly, but not with ezpdf reader on an android device. When I created an PDF embedded with the same mp3 file using Adobe Acrobat 11, it works with ezpdf reader. I am using Tex Live 2017 with media9 v.0.79 installed.
I have found this from previous questions, "ezPDF Reader was reported to playback video and sound files on tablets and phones with Android or iOS. Version 0.11 of media9 is required to make things work."
Does it only work with meidia9 Version 0.11?

2

In order to play in ezPDF Reader, it seems to be necessary to embed the media file with option playbutton=none as in the following example (open on ↗ShareLaTeX):

\documentclass{article}
\usepackage{media9}
\pagestyle{empty}

\begin{document}
\includemedia[
  addresource=bird.mp3,
  transparent,
  playbutton=none,
  flashvars={
    source=bird.mp3
   &autoPlay=true
  }
]{\fbox{\phantom{\rule{3in}{0.4in}}}}{APlayer.swf}
\end{document}

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.