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 8 at 0:15media9package? – Corentin Mar 8 at 0:17run:mybat.batbut It failed too :( – statquant Mar 8 at 0: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 8 at 0:26vlc.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 8 at 9:40