Ticket #35590: v1.tex

File v1.tex, 1.2 KB (added by rafaeldcsantos (Rafael Santos), 12 years ago)

Source of the .tex file

Line 
1\documentclass{beamer}
2
3%\usepackage{movie15}
4\usepackage{media9}
5
6\usetheme{default}
7\begin{document}
8
9\begin{frame}{A sample slide}
10
11A displayed formula:
12
13\[
14  \int_{-\infty}^\infty e^{-x^2} \, dx = \sqrt{\pi}
15\]
16
17An itemized list:
18
19\begin{itemize}
20  \item itemized item 1
21  \item itemized item 2
22  \item itemized item 3
23\end{itemize}
24
25\begin{theorem}
26  In a right triangle, the square of hypotenuse equals
27  the sum of squares of two other sides.
28\end{theorem}
29
30\end{frame}
31
32\begin{frame}{Video 0?}
33\includemedia[
34width=0.6\linewidth,height=0.3375\linewidth, % 16:9
35activate=pageopen,
36flashvars={
37src=movie.mp4
38&scaleMode=stretch
39}
40]{}{StrobeMediaPlayback.swf}
41\end{frame}
42
43\begin{frame}{Video 1?}
44\includemedia[
45  activate=pageopen,
46  width=200pt,height=170pt,
47  addresource=movie.mp4,
48  flashvars={%
49src=movie.mp4
50&scaleMode=stretch}
51]{}{StrobeMediaPlayback.swf}
52\end{frame}
53
54\begin{frame}{Video?}
55\includemedia[
56  addresource=movie.mp4,
57  width=10cm, height=7.5cm,
58  flashvars={
59    source=movie.mp4
60   &autoPlay=true
61  }
62]{\fbox{Play}}{VPlayer.swf}\end{frame}
63
64%\begin{frame}{Video2?}
65%\begin{figure}[ht]
66%\includemovie[
67%  poster,%controls=true,
68%  text={Carregando filme}
69%]{10cm}{7.5cm}{movie.mp4}
70%\end{figure}
71%\end{frame}
72
73
74
75\end{document}