Movies embedded into pdf files using latex and the 'multimedia' package do not autostart even though being told to do so if the tex sources are compiled using pdflatex.
Note: it does work when you compile the tex sources with latex -> dvips -> ps2pdf. That's a different code path.
You need latex-beamer (which multimedia.sty is a part of) in at least version 3.18. See the discussion here: https://bitbucket.org/rivanvx/beamer/issue/188/autostart-of-video-files-not-working
This may actually be a poppler issue. Please apologize if I posted in the wrong spot.
Created attachment 71098 [details]
Test file that reproduces the error
Created attachment 71099 [details]
The actual movie I used in the pdf is too large to upload it here. I put it on http://page.mi.fu-berlin.de/sander/data/test_movie.mpg
Git commit 770e2818bb149211330ddbc35877c20624a71862 by Tobias Koenig.
Committed on 16/08/2012 at 11:53.
Pushed by tokoe into branch 'master'.
Evaluate additional actions of screen and widget annotations
This fixes the auto-start feature of PDFs generated with the LaTeX movie
package, which uses the additional action of a widget annotation to start
the movie when entering the page.
M +4 -0 cmake/modules/FindPoppler.cmake
M +147 -0 core/annotations.cpp
M +127 -0 core/annotations.h
M +7 -0 generators/poppler/annots.cpp
M +47 -0 generators/poppler/generator_pdf.cpp
M +6 -0 ui/guiutils.cpp
M +28 -0 ui/presentationwidget.cpp
I'm using poppler 0.20.5 and okular 0.16.2, and I still have this problem. Could someone confirm that the test file still works on the latest versions?
It still works for me, using the latest dev versions of poppler and okular.
Are you using the correct version of multimedia.sty? (see above)
Also: you need to be in presentation mode for autostart to work. Somewhere (don't recall where exactly) we decided that autostarting movies in non-presentation mode are too aggressive.
(In reply to comment #6)
> Are you using the correct version of multimedia.sty? (see above)
Yes, I'm using Beamer 3.26, and I've verified that the multimedia.sty being used contains the code in the patch linked above.
> Also: you need to be in presentation mode for autostart to work. Somewhere
> (don't recall where exactly) we decided that autostarting movies in
> non-presentation mode are too aggressive.
Auto-start works when I compile the tex file using latex -> dvips -> pstopdf, but not with pdflatex.
Thanks for verifying that it still works for you. This could be due to my system being a weird mix of back-ported packages and libraries. For now, the tex->dvi->ps->pdf workaround is good enough for my needs.