I wrote this code:
\documentclass{book}
\usepackage{media9,graphicx}
\usepackage{microtype}
\begin{document}
\frontmatter
\tableofcontents
\mainmatter
\chapter{Allegati}
Lezione 1: \includemedia[
addresource=Phil Collins - You'll Be In My Heart with Lyrics.mp3,
transparent,
flashvars={
source= Phil Collins - You'll Be In My Heart with Lyrics.mp3
&autoPlay=true
},
]{\includegraphics[height=3ex]{sound-937654_960_720.png}}{APlayer.swf}
\end{document}
but i can't stop it during the playing. How can i stop the file audio during its playing?
Best Answer
You are using package
media9
and itsAPlayer.swf
app. It offers a number of ways to play/pause/stop playback (see Pg. 20 of the documentation):Pause:
Stop: (=pause+rewind)
Play:
Seek:
The same for the video player
VPlayer.swf
.