\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][90]{

\includemedia[
  label=#3,
  width=0.8\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}

}