I have a beamer presentation and I want to launch a video clicking on a picture
\documentclass{beamer}
\usepackage{multimedia}
\usepackage{graphicx}
\usepackage{hyperref}
...
\href{run:C:\\Program Files (x86)\\VideoLAN\\VLC\\vlc.exe getR.avi}{\includegraphics[width=1cm,height=1cm]{Rlogo.jpg}}
When I do this I see the Rlogo.jpg but when I click on it I get "Cannot open file" How can I do this ?
EDIT: Alex solution gave an error
Here is the code
\frame{ \frametitle{une petite vidéo ;-)}
\includemedia[
addresource=getR.mp4,
windowed=1024x768,
flashvars={
source=getR.mp4
&autoPlay=true
&scaleMode=letterbox
}
]{\includegraphics[width=1cm,height=1cm]{RStudio.jpg}}{VPlayer.swf}
}
Here is the slide

Here is the result when I click

Here is my package version

/instead of\\in the path? – egreg Mar 08 '13 at 00:15media9package? – Corentin Mar 08 '13 at 00:17run:mybat.batbut It failed too :( – statquant Mar 08 '13 at 00:23media9but I would like to have the video on full screen and those are.aviI thinkmedia9embed videos and only take.swp. If I can get the same (a picture I click on that launch vlc or whatever to se the video in full screen I am happy to swap) – statquant Mar 08 '13 at 00:26windowed=<width in pix>x<height in pix>option with\includemediafrommedia9which allows you to play the video in a detached window (requires Media9 version .ge. 0.18, 2012/12/21). Media9 takes FLV and H.264 videos, which can easily be encoded using FFmpeg or an online service. – AlexG Mar 08 '13 at 08:46vlc.exe. Try putting double quotes"aroundC:\\Program Files (x86)\\VideoLAN\\VLC\\vlc.exe; maybe you'll have to escape them by\. (Sorry, I can't test this, because I don't use Windows.) – Sašo Živanović Mar 08 '13 at 09:40