views:

30

answers:

0

How can I get the video's image to using with sendEvent(); in JW Player? For example i'm using

var playerx = document.getElementById(player);
playerx.sendEvent("LOAD","http://www.domain.com/videos/"+x);
playerx.sendEvent("PLAY","true");

for click event for starting the videos while clicking a video's thumb in a page. I want x's thumb comes with player's flashvars in.

file=x.flv&image=videos/thumbs/xxx.png

I want to get the thumb when on click in this embed code's flashvars.


I found the solution;

player.sendEvent("LOAD",{'file': 'http://www.domain.com/videos/x.flv', 'image':'videos/thumbs/thumb.jpg'});