diff options
author | Norbert Preining <norbert@preining.info> | 2017-10-14 11:43:11 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2017-10-14 11:43:11 +0900 |
commit | dc71274f16f7ff65145e034900f582b62453a033 (patch) | |
tree | a71452364cbe1a03feb6a84cdfd09eedae861590 /texmf-dist/tex/latex/ketcindy/ketmedia.sty | |
parent | aecda53b09be64698e9e5dcbf40f0fe289b37e2e (diff) |
rename and update ketpic -> ketcindy
Diffstat (limited to 'texmf-dist/tex/latex/ketcindy/ketmedia.sty')
-rw-r--r-- | texmf-dist/tex/latex/ketcindy/ketmedia.sty | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/texmf-dist/tex/latex/ketcindy/ketmedia.sty b/texmf-dist/tex/latex/ketcindy/ketmedia.sty new file mode 100644 index 00000000..79b29a9b --- /dev/null +++ b/texmf-dist/tex/latex/ketcindy/ketmedia.sty @@ -0,0 +1,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} + +}
\ No newline at end of file |