1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
\newcommand{\inputsound}[3][90]{
% #1:position, #2:dir, #3:file
\vspace{-20mm}
\vfill
\noindent%
\hspace*{#1mm}\hspace{8mm}%
\mediabutton[
mediacommand=#3:playPause,
overface={\color{blue}\small \strut \fbox{$\oplus\triangleright$}},
%downface={\color{red}\small\strut Pause/Pause}%
]{\small\strut \fbox{$\oplus\triangleright$}}%
\mediabutton[
mediacommand=#3:rewind,
overface={\color{blue}\small \strut \fbox{$\ll$}}
%downface={\color{red}\small\strut Pause/Pause}%
]{\small\strut \fbox{$\ll$}}%
%\mediabutton[
%mediacommand=#3:seek[(15)],
%overface={\color{blue}\small \strut \fbox{1}}
%downface={\color{red}\small\strut Pause/Pause}%
%]{\small\strut \fbox{1}}%
%\mediabutton[
%mediacommand=#3:seek[(30)],
%overface={\color{blue}\small \strut \fbox{2}}
%%downface={\color{red}\small\strut Pause/Pause}%
%]{\small\strut \fbox{2}}%
\vspace{-7mm}
\noindent%
\hspace*{#1mm}%
\includemedia[
label=#3,
addresource=#2#3.mp3,
activate=pageopen,
flashvars={
source=#2#3.mp3
&autoPlay=true
}
% transparent,
% passcontext
]{\color{blue}\fbox{ }}{APlayer.swf}
}
\newcommand{\inputmovie}[3][0.8]{
\includemedia[
label=#3,
width=#1\linewidth,height=0.6\linewidth,
% width=60mm,height=45mm,
activate=pagevisible,
addresource=#2#3.mp4,
flashvars={
source=#2#3.mp4
% &showloading=never
% &autoRewind=true
&autoplay=true
% &loop=1
% &buffer=0.2
}
%]{}{player_flv_maxi.swf}
]{}{VPlayer.swf}
}
|