Compilation error when using Media9 package

I am compiling this example from example link

\documentclass{beamer}
\usepackage{media9}

\begin{document}

\begin{frame}{dumb frame}
\dots
\end{frame}

\begin{frame}{frame with sound \includemedia[
label=my_sound,
width=1ex, height=1ex, transparent,
activate=pageopen, deactivate=onclick,
flashvars={
source=sound_sample.mp3
&autoPlay=true
&hideBar=true
},
]{}{APlayer.swf}}
\dots
\end{frame}

\begin{frame}{other frame}
\dots
\end{frame}

\pdfpageattr{/AA <</O <</S/JavaScript/JS (annotRM['my_sound'].activated=false;)>> >>}
\begin{frame}{frame where sound stops}
\dots
\end{frame}

\begin{frame}{another dumb frame}
\dots
\end{frame}

\end{document}


I am using Win7 64bit, Miktex 2.9 TeXworks with pdfLaTex compilation. I keep getting this error

("C:\Program Files\MiKTeX 2.9\tex\latex\beamer\translator\dicts\translator-theo rem-dictionary\translator-theorem-dictionary-English.dict") No file embed_mp3.nav.

LaTeX Font Warning: Font shape OT1/cmss/m/n' in size <4> not available (Font) size <5> substituted on input line 8.

[1{C:/Users/Administrator/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}] ! Undefined control sequence. \file_get_full_name:nN {APlayer.swf}\l_mix_file_tl

l.22 \end{frame}

The log file is saved here (as it exceeded the word limit in the question)

I can successfully embed wav file using package multimedia using code

\begin{center}
\movie[label=show,
start=0s,height = 0cm,width = 6cm, showcontrols]{}{media/specific-information-1-of-3.wav}
\end{center}
\vspace{0.2cm}
\begin{center}
\end{center}


But package Media9 never worked and it kept showing the above error message. Thank you.

• I can compile your file but obviously I do not have the mp3 file. – user121799 Nov 16 '18 at 4:51
• Thanks. I definitely have the mp3 file in the right folder. That's why I am puzzled as it seems no one asked this question before. – shj37 Nov 16 '18 at 5:06
• Compiles also fine for me (replacing the mp3 with a dummy one I had lying around). A few wild guesses to check: Can you test to rename your file to soundsample.mp3 (without special characters like _)? Can you test to embeded the sound outside the frametitle and instead try in the body of the frame? Which version of beamer do you have? – samcarter_is_at_topanswers.xyz Nov 16 '18 at 10:05
• Put \listfiles at the top of your tex input file. And post the file list here. It can be found in the *.log file after running pdflatex. – AlexG Nov 16 '18 at 11:10
• @samcarter Tried both and neither worked. beamer 3.41 – shj37 Nov 16 '18 at 12:22

l3kernel
`