
我寫了這段程式碼:
\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}
但我在玩的過程中無法阻止它。如何在播放過程中停止檔案音訊?
答案1
您正在使用套件media9
及其APlayer.swf
應用程式。它提供了多種播放/暫停/停止播放的方法(請參閱第 3 頁。 20文件):
暫停:
- 在小工具上按滑鼠按鈕,然後在按住按鈕的同時將滑鼠移出
- 按Space鍵盤上的欄
停止:(=暫停+倒回)
- 按鍵盤上的Home/鍵Pos1
玩:
- 點擊小部件
- 按Space鍵盤上的欄
尋找:
- 箭頭鍵←,→(玩家需要焦點;如有必要,請按一下小工具)
視訊播放器也是如此VPlayer.swf
。