[Tuglist] Multimedia & pdfTeX

tuglist@tug.org.in tuglist@tug.org.in
Thu, 15 Aug 2002 08:23:30 +0530 (IST)

Hello all,

I was looking for ways to make pdf files usig pdfLaTeX with embedded multimedia objects for presentation. As per the suggestion (external link to a file) of a friend and I tried the following and it is working fine. May be useful to other also.  Use the command \Movie as defined below:

\newcommand{\Movie}[3]{\mbox{\pdfannot width #1 height #2 depth 0mm 
{/Subtype /Movie /Title (#3) /Movie << /F (#3) /Poster true >> /A << 
/ShowControls true /Mode /Repeat >>} \hspace{#1} \rule[0cm]{0cm}{#2} } }

which takes as arguments the x dimension, y dimension and filename. 

e.g.:  \Movie{4in}{3in}{rosebloom.avi}

Sample files are available at:

http://ksk.topcities.com/RoseBloom.zip   (RoseBloom.avi, movie.tex) 
You need “QuickTime” installed on your machine to see this pdf file in Acrbat reader. I would like your commends on this suggestion. Is there any better way of doing this?