summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/media9
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-11-16 23:51:34 +0000
committerKarl Berry <karl@freefriends.org>2013-11-16 23:51:34 +0000
commit3dc099326cd991a2db80fc2b8e17b626a10d8f91 (patch)
tree29255929157770b0476a0cf5070bf13a7d6a968c /Master/texmf-dist/doc/latex/media9
parent7d3939ca812ba5430cfb748fc99af2d3f6f734e6 (diff)
media9 (16nov13)
git-svn-id: svn://tug.org/texlive/trunk@32163 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/media9')
-rw-r--r--Master/texmf-dist/doc/latex/media9/ChangeLog5
-rw-r--r--Master/texmf-dist/doc/latex/media9/files/cubeposter.pngbin0 -> 3462 bytes
-rw-r--r--Master/texmf-dist/doc/latex/media9/files/epix.asy4
-rw-r--r--Master/texmf-dist/doc/latex/media9/files/epix.prcbin56774 -> 55043 bytes
-rw-r--r--Master/texmf-dist/doc/latex/media9/files/epixposter.pdfbin0 -> 111371 bytes
-rw-r--r--Master/texmf-dist/doc/latex/media9/files/players/APlayer.mxml3
-rw-r--r--Master/texmf-dist/doc/latex/media9/files/players/APlayer9.mxml3
-rw-r--r--Master/texmf-dist/doc/latex/media9/files/players/VPlayer.mxml4
-rw-r--r--Master/texmf-dist/doc/latex/media9/files/players/VPlayer9.mxml3
-rw-r--r--Master/texmf-dist/doc/latex/media9/media9.pdfbin3185064 -> 3303749 bytes
-rw-r--r--Master/texmf-dist/doc/latex/media9/media9.tex59
11 files changed, 43 insertions, 38 deletions
diff --git a/Master/texmf-dist/doc/latex/media9/ChangeLog b/Master/texmf-dist/doc/latex/media9/ChangeLog
index f2a7ae03952..32ddd90f0e8 100644
--- a/Master/texmf-dist/doc/latex/media9/ChangeLog
+++ b/Master/texmf-dist/doc/latex/media9/ChangeLog
@@ -1,3 +1,8 @@
+2013-11-15
+ * v0.35
+ * new: play button overlay, can be disabled with new option `noplaybutton'
+ * change: updated media players
+
2013-11-12
* v0.34
* fix: `bigfiles' option and really big files caused dvips error
diff --git a/Master/texmf-dist/doc/latex/media9/files/cubeposter.png b/Master/texmf-dist/doc/latex/media9/files/cubeposter.png
new file mode 100644
index 00000000000..ae57869756f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/media9/files/cubeposter.png
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/media9/files/epix.asy b/Master/texmf-dist/doc/latex/media9/files/epix.asy
index 48e25aa5591..60720aaba05 100644
--- a/Master/texmf-dist/doc/latex/media9/files/epix.asy
+++ b/Master/texmf-dist/doc/latex/media9/files/epix.asy
@@ -9,8 +9,8 @@ import graph3;
size(200,200,IgnoreAspect);
-//currentprojection=perspective(4,2,3);
-currentprojection=perspective(0,0,1);
+currentprojection=perspective(4,2,3);
+//currentprojection=perspective(0,0,1);
real f(pair z) {return z.y^3/2-3z.x^2*z.y;}
diff --git a/Master/texmf-dist/doc/latex/media9/files/epix.prc b/Master/texmf-dist/doc/latex/media9/files/epix.prc
index 3d8da38bfea..99e33eed236 100644
--- a/Master/texmf-dist/doc/latex/media9/files/epix.prc
+++ b/Master/texmf-dist/doc/latex/media9/files/epix.prc
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/media9/files/epixposter.pdf b/Master/texmf-dist/doc/latex/media9/files/epixposter.pdf
new file mode 100644
index 00000000000..92506d1092d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/media9/files/epixposter.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/media9/files/players/APlayer.mxml b/Master/texmf-dist/doc/latex/media9/files/players/APlayer.mxml
index fad4deca9aa..ad13e304471 100644
--- a/Master/texmf-dist/doc/latex/media9/files/players/APlayer.mxml
+++ b/Master/texmf-dist/doc/latex/media9/files/players/APlayer.mxml
@@ -4,7 +4,7 @@
<!-- a FlashPlayer-10 compatible component for playing -->
<!-- MP3 audio files and streams. -->
<!-- -->
-<!-- version 20131030 -->
+<!-- version 20131114 -->
<!-- -->
<!-- -->
<!-- The free Apache Flex 4 SDK is required to compile -->
@@ -228,6 +228,7 @@
pause();
source=s;
initSound();
+ pause();seek(0);
}
private function loadPolicy(p:String):void {policy=p;}
diff --git a/Master/texmf-dist/doc/latex/media9/files/players/APlayer9.mxml b/Master/texmf-dist/doc/latex/media9/files/players/APlayer9.mxml
index 7559b779679..35a154ae3fc 100644
--- a/Master/texmf-dist/doc/latex/media9/files/players/APlayer9.mxml
+++ b/Master/texmf-dist/doc/latex/media9/files/players/APlayer9.mxml
@@ -4,7 +4,7 @@
<!-- a FlashPlayer-9 compatible component for playing -->
<!-- MP3 audio files and streams. -->
<!-- -->
-<!-- version 20131030 -->
+<!-- version 20131114 -->
<!-- -->
<!-- Copyright (C) 2012-today Alexander Grahn -->
<!-- -->
@@ -217,6 +217,7 @@
pause();
source=s;
initSound();
+ pause();seek(0);
}
private function loadPolicy(p:String):void {policy=p;}
diff --git a/Master/texmf-dist/doc/latex/media9/files/players/VPlayer.mxml b/Master/texmf-dist/doc/latex/media9/files/players/VPlayer.mxml
index a5ee8eddbda..a244fabc943 100644
--- a/Master/texmf-dist/doc/latex/media9/files/players/VPlayer.mxml
+++ b/Master/texmf-dist/doc/latex/media9/files/players/VPlayer.mxml
@@ -4,7 +4,7 @@
<!-- a FlashPlayer-10 compatible component for playing -->
<!-- FLV and MP4/H.264 video files and streams. -->
<!-- -->
-<!-- version 20131030 -->
+<!-- version 20131114 -->
<!-- -->
<!-- -->
<!-- The free Apache Flex 4 SDK is required to compile -->
@@ -245,7 +245,7 @@
mouseUp="if(vidComplete) vidDisp.seek(0);if(!stepping){vidDisp.play();}"
mediaPlayerStateChange="onStateChange(event);"
complete="vidComplete=true;"
- durationChange="if(vidDisp.autoPlay) vidDisp.play(); else vidDisp.seek(0);"
+ durationChange="vidDisp.seek(0);"
/>
<mx:ProgressBar width="100%" mode="polled" source="vidDisp"
diff --git a/Master/texmf-dist/doc/latex/media9/files/players/VPlayer9.mxml b/Master/texmf-dist/doc/latex/media9/files/players/VPlayer9.mxml
index 93d68600199..6a405c30145 100644
--- a/Master/texmf-dist/doc/latex/media9/files/players/VPlayer9.mxml
+++ b/Master/texmf-dist/doc/latex/media9/files/players/VPlayer9.mxml
@@ -4,7 +4,7 @@
<!-- a FlashPlayer-9 compatible component for playing -->
<!-- FLV and MP4/H.264 video files and streams. -->
<!-- -->
-<!-- version 20131106 -->
+<!-- version 20131114 -->
<!-- -->
<!-- Copyright (C) 2012-today Alexander Grahn -->
<!-- -->
@@ -186,7 +186,6 @@
vidDisp.pause();vidDisp.source = s;
vidDisp.play();vidDisp.pause();
vidDisp.playheadTime=0;
- if(autoPlay){vidDisp.play();}
}
private function formatTime(s:Number):String {
diff --git a/Master/texmf-dist/doc/latex/media9/media9.pdf b/Master/texmf-dist/doc/latex/media9/media9.pdf
index 1bc0e362702..3602166a841 100644
--- a/Master/texmf-dist/doc/latex/media9/media9.pdf
+++ b/Master/texmf-dist/doc/latex/media9/media9.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/media9/media9.tex b/Master/texmf-dist/doc/latex/media9/media9.tex
index c4e999d836f..e6187eee6dd 100644
--- a/Master/texmf-dist/doc/latex/media9/media9.tex
+++ b/Master/texmf-dist/doc/latex/media9/media9.tex
@@ -148,6 +148,7 @@ xetex
bigfiles
draft
final
+noplaybutton
activate=...
deactivate=...
windowed=...
@@ -249,6 +250,10 @@ final
\end{verbatim}
With `\verb+draft+' the media is not embedded. Instead, a box is inserted that has the dimensions of \verb+<poster text>+, subject to the resizing options `\verb+width+', `\verb+height+', `\verb+depth+' and `\verb+scale+'. Option `\verb+final+' does the opposite as it forces the media to be embedded. Both options can be used to reduce compilation time during authoring of a document. To get the most out of them it is recommended to set `\verb+draft+' globally as a package or class option and to set `\verb+final+' locally as a command option of the media annotation that is currently worked on. After the document has been finished, the global `\verb+draft+' option can be removed.
\begin{verbatim}
+ noplaybutton
+\end{verbatim}
+Disables the transparent play button normally laid over the inactive media annotation.
+\begin{verbatim}
windowed[= false | [<width>x<height>][@<position>] ]
\end{verbatim}
The media is played in a floating window, instead of being played in an embedded fashion. The floating window size is specified via the optional argument \verb+<width>x<height>+, where \verb+<width>+ and \verb+<height>+ are given in pixels (integer numbers without unit). If the size is not given, a default size is guessed from the annotation size. Optionally, the position of the floating window on the screen can be specified through \verb+@<position>+, where \verb+<position>+ may assume one of `\verb+tl+', `\verb+cl+', `\verb+bl+', `\verb+bc+', `\verb+br+', `\verb+cr+', `\verb+tr+', `\verb+tc+' or `\verb+cc+'. The position specifiers have the following meaning:\quad{\fboxsep=1pt\fbox{\vtop{\hbox{\ttfamily\fbox{\rule{0pt}{1.5ex}tl} \fbox{\rule{0pt}{1.5ex}tc} \fbox{\rule{0pt}{1.5ex}tr}} \hbox{\ttfamily\fbox{\rule{0pt}{1.5ex}cl} \fbox{\rule{0pt}{1.5ex}cc} \fbox{\rule{0pt}{1.5ex}cr}} \hbox{\ttfamily\fbox{\rule{0pt}{1.5ex}bl} \fbox{\rule{0pt}{1.5ex}bc} \fbox{\rule{0pt}{1.5ex}br}}}}}\\[0.5ex]
@@ -622,11 +627,11 @@ parameter & description\\\hline\hline
\begin{Verbatim}
\includemedia[
label=some_dice,
- width=0.4\linewidth,height=0.3\linewidth,
- activate=pageopen,
+ width=0.6\linewidth,height=0.45\linewidth,
addresource=random.mp4, %two video files
addresource=cube.mp4,
- transparent,
+ transparent, %transparent player background
+ activate=pageopen,
flashvars={
source=random.mp4
&loop=true % loop video
@@ -650,14 +655,14 @@ parameter & description\\\hline\hline
\makebox[\linewidth]{\hfill\includemedia[
label=some_dice,
width=0.6\linewidth,height=0.45\linewidth,
- activate=pageopen,
- addresource=random.mp4,
+ addresource=random.mp4, %two video files
addresource=cube.mp4,
- transparent,
+ transparent, %transparent player background
+ activate=pageopen,
flashvars={
source=random.mp4
- &loop=true
- &scaleMode=letterbox
+ &loop=true % loop video
+ &scaleMode=letterbox % preserve aspect ratio while scaling the video
}
]{}{VPlayer.swf}\hfill}
\makebox[\linewidth]{\hfill%
@@ -770,30 +775,26 @@ http://mirrors.ibiblio.org/pub/mirrors/CTAN/macros/latex/contrib/media9/players/
\centering
\begin{Verbatim}
\includemedia[
- width=0.4\linewidth,height=0.3\linewidth,
- activate=pageopen,
+ %activate=onclick, % default
addresource=cube.mp4,
- transparent,
flashvars={
source=cube.mp4
+ &autoPlay=true % start playing on activation
&loop=true
- &scaleMode=letterbox
}
-]{}{VPlayer9.swf}
+]{\includegraphics[height=0.45\linewidth]{cubeposter}}{VPlayer9.swf}
\end{Verbatim}
\vspace{1ex}
\hfill\includemedia[
- width=0.6\linewidth,height=0.45\linewidth,
- activate=pageopen,
+ activate=onclick, %default
addresource=cube.mp4,
- transparent,
flashvars={
- source=cube.mp4
- &loop=true
- &scaleMode=letterbox
+ source=cube.mp4
+ &autoPlay=true %start playing on activation
+ &loop=true
}
-]{}{VPlayer9.swf}\hfill
-\vspace{1ex}
+]{\includegraphics[height=0.45\linewidth]{cubeposter}}{VPlayer9.swf}\hfill
+\vspace{2ex}
\begin{Verbatim}
\includemedia[
addresource=bird.mp3,
@@ -814,7 +815,7 @@ http://mirrors.ibiblio.org/pub/mirrors/CTAN/macros/latex/contrib/media9/players/
transparent
]{\color{blue}\framebox[0.5\linewidth][c]{Singing bird}}{APlayer9.swf}\hfill
\vspace{2ex}
-\caption{Video and sound examples that should run in Adobe Reader for Linux up to version \href{ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.4.1/}{9.4.1}. Here, players `VPlayer9.swf' and `APlayer9.swf' are used. Both are compatible with Adobe Flash Player 9 plugin that is bundled with the Reader.}\label{ar941ex}
+\caption{Video and sound examples that should run in Adobe Reader for Linux up to version \href{ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.4.1/}{9.4.1}. Here, players `VPlayer9.swf' and `APlayer9.swf' are used. Both are compatible with Adobe Flash Player 9 plugin that is bundled with the Reader. Also, the video player needs to be activated by mouse click (which is the default). We provide a poster image that is shown in the inactive state.}\label{ar941ex}
\end{figure}
\clearpage
@@ -846,30 +847,28 @@ Below, several examples of embedded 3D files are shown. The first one, Fig.~\ref
\begin{Verbatim}
\includemedia[
width=0.8\linewidth,height=0.8\linewidth,
- activate=pageopen,
add3Djscript=asylabels.js, %upright text labels
add3Djscript=3Dspintool.js, %let scene rotate about z-axis
% 3Dcoo, 3Droo values found with `Generate Default View' from
% context menu
3Dmenu,
3Dc2c=4 2 3,
- 3Dcoo=6.01792049407959 12.437679290771484 0.18967819213867188,
- 3Droo=479.9268773794643,
-]{}{epix.prc}
+ 3Dcoo=4.413303375244141 2.195653200149536 -0.000011444091796875,
+ 3Droo=429.49035778293376,
+]{\includegraphics{epixposter}}{epix.prc}
\end{Verbatim}
\vspace{1ex}
\includemedia[
width=0.8\linewidth,height=0.8\linewidth,
- activate=pageopen,
add3Djscript=asylabels.js, %upright text labels
add3Djscript=3Dspintool.js, %let scene rotate about z-axis
% 3Dcoo, 3Droo values found with `Generate Default View' from
% context menu
3Dmenu,
3Dc2c=4 2 3,
- 3Dcoo=6.01792049407959 12.437679290771484 0.18967819213867188,
- 3Droo=479.9268773794643,
-]{}{epix.prc}
+ 3Dcoo=4.413303375244141 2.195653200149536 -0.000011444091796875,
+ 3Droo=429.49035778293376,
+]{\includegraphics{epixposter}}{epix.prc}
\caption{Embedded PRC file produced with Asymptote, making use of convenience 3D JavaScripts `asylabels.js' and `3Dspintool.js' mentioned
{\leavevmode\pdfstartlink attr{/Border[0 0 1]/C[0 0 1]/H/I}user{/Subtype/Link/A<</D(3dscripts)/S/GoTo>>}above\pdfendlink}.}\label{asyex}
\end{figure}