# [OS X TeX] media9 problems

Donald Petcher petcher at covenant.edu
Tue Jul 8 14:41:05 EDT 2014

On Jul 8, 2014, at 2:03 PM, Victor Ivrii <vivrii at gmail.com> wrote:

>
>
>
> On Tue, Jul 8, 2014 at 12:35 PM, Don Petcher <petcher at covenant.edu> wrote:
> I have not seen much discussion on media9 so I imagine it must be working fine for most.  I have been using movie15 for years for class presentations including movies, and now that movie15 is deprecated, I thought I’d better move to media9.  So I tried a few of the simple examples I found on the web, but none of them work for me.  I just get a black rectangle where the movie should be, but it looks like the processor is being overwhelmed.
>
> I am trying to play mp4 files on a couple of Macs, both running OS X Mavericks (10.9.3) and Adobe Reader 10.1.10.  Could I be missing an important element in the setup like a media player? Have others been using media9?  I include the simplest example I tried after my signature.  Thanks.
>
> --Don Petcher
> petcher at covenant dot edu
>
>
>
> I use
>
> {\usebackgroundtemplate{\includemedia[
>       activate=pageopen,
>       deactivate=pageclose,
>       width=128mm, height=96mm,
>       flashvars={
>          src=mymovie.mp4
> 		&loop=false
> 		&autoPlay=true
>       }
>       ]{}{StrobeMediaPlayback.swf}}
> \begin{frame}[plain]
>
>
> \end{frame}
> }
>

This did work!  But why is it that you use a background template rather than simply defining a command to play the movie?  For example

\newcommand{\showmovie}[1]{\includemedia[
activate=pageopen,
deactivate=pageclose,
width=128mm, height=96mm,
flashvars={
src=movies/#1
&loop=false
&autoPlay=true
}
]{}{StrobeMediaPlayback.swf}
}

Then

\begin{frame}[plain]
\showmovie{mymovie.mp4}
\end{frame}

also works.  In any case, it is evident that the essential difference is in the parameters, not in the template. I did try something similar (using StrobeMediaPlayback) that I found on the web as well and it did not work.  So I’ll have to spend some time tracking down the parameters you gave me to see where the issue is. Thanks very much.

>
> However the problem could be with your mymovie.mp4
>
>

mymovie.mp4 is just a placeholder for any number of movies I have been showing over the years (mostly commercial physics demos).  So no problem there.

—Don

> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20140708/982134c9/attachment.html>