summaryrefslogtreecommitdiff
path: root/texmf-dist/tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2018-02-12 14:52:54 +0900
committerNorbert Preining <norbert@preining.info>2018-02-12 14:52:54 +0900
commit8c3c49fd56de185396400a0e8a636ac03d8239ab (patch)
treeadf96aee3f0bfbdc9df3a9e2dd86332a9dfee9cd /texmf-dist/tex
parent5a993b26c76714f0810fdc7e3ae7bdc5eb1afd10 (diff)
update ketcindy
Diffstat (limited to 'texmf-dist/tex')
-rw-r--r--texmf-dist/tex/latex/ketcindy/ketmedia.sty50
1 files changed, 15 insertions, 35 deletions
diff --git a/texmf-dist/tex/latex/ketcindy/ketmedia.sty b/texmf-dist/tex/latex/ketcindy/ketmedia.sty
index 79b29a9b..49d593b6 100644
--- a/texmf-dist/tex/latex/ketcindy/ketmedia.sty
+++ b/texmf-dist/tex/latex/ketcindy/ketmedia.sty
@@ -1,35 +1,11 @@
-\newcommand{\inputsound}[3][90]{
-
-% #1:position, #2:dir, #3:file
-
+\newcommand{\inputsound}[3][90.1]{
+% #1:h-position(90), #2:dir(/), #3:file
+%2017.12.25 main, \inputsound changed
+\ifnum #1=90.1
\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}
+\fi
\noindent%
\hspace*{#1mm}%
@@ -41,14 +17,19 @@ overface={\color{blue}\small \strut \fbox{$\ll$}}
source=#2#3.mp3
&autoPlay=true
}
-% transparent,
-% passcontext
-]{\color{blue}\fbox{ }}{APlayer.swf}
-
+]{\color{blue}\fbox{ }}{APlayer.swf}%
+\mediabutton[
+mediacommand=#3:playPause,
+overface={\color{blue}\small \strut \fbox{$\oplus\triangleright$}},
+]{\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$}}%
}
\newcommand{\inputmovie}[3][0.8]{
-
\includemedia[
label=#3,
width=#1\linewidth,height=0.6\linewidth,
@@ -65,5 +46,4 @@ overface={\color{blue}\small \strut \fbox{$\ll$}}
}
%]{}{player_flv_maxi.swf}
]{}{VPlayer.swf}
-
} \ No newline at end of file