8.18 embed

This module provides an interface to the LaTeX package (included with MikTeX)

http://mirror.ctan.org/macros/latex/contrib/media9

for embedding movies, sounds, and 3D objects into a PDF document.

A more portable method for embedding movie files, which should work on any platform and does not require the media9 package, is provided by using the external module instead of embed.

Examples of the above two interfaces is provided in the file embeddedmovie.asy in the animations subdirectory of the examples directory and in externalmovie.asy. For a higher quality embedded movie generated directly by Asymptote, use the animate module along with the animate.sty package to embed a portable PDF animation (see animate).

An example of embedding U3D code is provided in the file embeddedu3d.