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,
addresource=sound_sample.mp3,
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}
\hyperlinkmovie[play]{show}{\beamerbutton{play}}
\hyperlinkmovie[pause]{show}{\beamerbutton{pause}}
\hyperlinkmovie[resume]{show}{\beamerbutton{resume}}
\hyperlinkmovie[stop]{show}{\beamerbutton{stop}}
\end{center}
But package Media9 never worked and it kept showing the above error message. Thank you.
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?\listfiles
at the top of your tex input file. And post the file list here. It can be found in the*.log
file after runningpdflatex
.