summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/examples/animations/embeddedmovie.asy
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-02 23:03:22 +0000
committerKarl Berry <karl@freefriends.org>2013-04-02 23:03:22 +0000
commit324efbd652f973cd70f42fe08c665c518995bcbe (patch)
tree818ae382dfa133f3dcceec8e12e4cbd42be8bcf4 /Build/source/utils/asymptote/examples/animations/embeddedmovie.asy
parentbbf699abe485e707133ff3ba502119f261f27269 (diff)
asy 2.21 sources (no runtime update)
git-svn-id: svn://tug.org/texlive/trunk@29618 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/examples/animations/embeddedmovie.asy')
-rw-r--r--Build/source/utils/asymptote/examples/animations/embeddedmovie.asy13
1 files changed, 4 insertions, 9 deletions
diff --git a/Build/source/utils/asymptote/examples/animations/embeddedmovie.asy b/Build/source/utils/asymptote/examples/animations/embeddedmovie.asy
index 98dfd424db8..12fdf04dedc 100644
--- a/Build/source/utils/asymptote/examples/animations/embeddedmovie.asy
+++ b/Build/source/utils/asymptote/examples/animations/embeddedmovie.asy
@@ -6,8 +6,8 @@
import embed; // Add embedded movie
//import external; // Add external movie (use this form under Linux).
-// Generated needed mpeg file if it doesn't already exist.
-asy("mpg","wheel");
+// Generated needed mp4 file if it doesn't already exist.
+asy("mp4","wheel");
// Produce a pdf file.
settings.outformat="pdf";
@@ -15,10 +15,5 @@ settings.outformat="pdf";
settings.twice=true;
// An embedded movie:
-label(embed("wheel.mpg","poster,text=wheel.mpg,label=wheel.mpg",20cm,5.6cm),
- (0,0),N);
-
-// An optional button:
-label(link("wheel.mpg","Play","play"),(0,0),S);
-
-
+label(embed("wheel.mp4",20cm,5.6cm),(0,0),N);
+label(link("wheel.mp4"),(0,0),S);