[Tex/LaTex] Video not playing

media9

I want to play video in pdf using latex. Following is my sample code. When I try to play it, just an empty screen comes and video is not played. My basic requirement is that it should display picture with play/pause and when I play it should play. I could not understand much from media9 package file. Please help

\documentclass{article}

\usepackage{media9}

\begin{document}

\includemedia[label=videofile, width=1.0\textwidth, addresource=srs.mp4,
flashvars={source=srs.mp4}]{\includegraphics[width=1.0\textwidth]
{views}}{VPlayer.swf} 

\end{document}

Best Answer

Flash support has discontinued from Dec 2020. Media9 no longer works as above. Fixes are in Media9 Alternatives

Related Question