1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
\documentclass[10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{hyperref}
\usepackage{flashmovie}
\begin{document}
{\Huge flashvideo.sty}\\\\
This package allows direct embedding of flash movies into PDF files. It is
designed for use with pdflatex.
\flashmovie[width=10cm,height=10cm,engine=flv-player,auto=1]{saturn5.mp4}
\begin{verbatim}
\flashmovie[width=10cm,height=10cm,engine=flv-player,auto=1]{saturn5.mp4}
\end{verbatim}
\vspace{1cm}
Basically it uses the fact that the Adobe Reader 9 contains an embedded Adobe Flash
player which can be invoked with the ``rich media annotation'' feature which is described
in ``Adobe Supplement to the ISO 32000 BaseVersion: 1.7 ExtensionLevel: 3''.
\vspace{0.5cm}
P.S.: This sample video is courtesy of the NASA ( \href{http://heasarc.gsfc.nasa.gov/Videos/historical/saturn5.avi}{saturn5.avi} ).
\vspace{0.5cm}
The movies in this document are rendered with the \href{http://flv-player.net}{``flv-player''}
whose developer is neolao. This player is distributed under the
\href{http://www.mozilla.org/MPL/}{MPL version 1.1}.
It is included in this package and is the recommended way to use ``flashmovie.sty''
besides directly embedding ``.swf'' files.
\newpage
{\Huge Examples}\\\\
\flashmovie[width=8cm,height=5cm,engine=flv-player,auto=0]{saturn5.mp4}
\begin{verbatim}
\flashmovie[width=8cm,height=5cm,engine=flv-player,auto=0]{saturn5.mp4}
\end{verbatim}
\vspace{1cm}
\flashmovie[width=8cm,height=5cm,engine=flv-player,auto=0,image=saturn.jpg]{saturn5.mp4}
\begin{verbatim}
\flashmovie[width=8cm,height=5cm,engine=flv-player,auto=0,image=saturn.jpg]{saturn5.mp4}
\end{verbatim}
\end{document}
|