Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have embed an mp4 video in the PDF file as given below:

\documentclass{beamer}
\usetheme{Singapore}
\usepackage{media9}
\usepackage{hyperref}
\begin{document}

\begin{frame}\frametitle{Title}

\includemedia[
width=\paperwidth,height=0.7\linewidth,
activate=pageopen,
flashvars={aaa.mp4 &autoPlay=true}
]{}{C:/Users/name/Desktop/aaa.mp4}

\end{frame}

\end{document} 

There is no compile time error in the code but after running it this massage comes along a blank pd f file....

"To view the Flash @R Technology content in this pd f file, please install the required version of Flash Player"

I would like to add here that I already have installed the latest version of Flash Player(Adobe Flash Player 12 ActiveX). So,Can anyone tell what version is required to be installed to obtain Video in pd f file.

share|improve this question

1 Answer 1

  1. For Adobe Reader on Windows you need the Flash Player plugin for Firefox, not the ActiveX version for IExplorer. See: http://acrobatninja.blogspot.de/2013/02/flash-player-in-acrobat-family.html

  2. Your code has some errors, use the following instead:


\documentclass{beamer}
\usetheme{Singapore}
\usepackage{media9}
\usepackage{hyperref}
\begin{document}

\begin{frame}\frametitle{Title}

\includemedia[
  width=\paperwidth,height=0.7\linewidth,
  activate=pageopen,
  addresource=aaa.mp4,
  flashvars={source=aaa.mp4&autoPlay=true}
]{}{VPlayer.swf}

\end{frame}

\end{document}
share|improve this answer
    
Thank You!! But what is VPlayer.swf here??? –  Ragni Sah Jan 22 at 12:33
    
VPlayer.swf is the video player flash component that is installed with the media9 LaTeX package. It doesn't need to be copied into the current directory. –  AlexG Jan 22 at 13:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.