summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/animations/embeddedmovie.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/animations/embeddedmovie.asy')
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/animations/embeddedmovie.asy13
1 files changed, 4 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/animations/embeddedmovie.asy b/Master/texmf-dist/doc/asymptote/examples/animations/embeddedmovie.asy
index 98dfd424db8..12fdf04dedc 100644
--- a/Master/texmf-dist/doc/asymptote/examples/animations/embeddedmovie.asy
+++ b/Master/texmf-dist/doc/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);