This is my function for creating new flv player.
function createPlayer(medid, medimage) {
alert(medid);
var flashvars = {
file:"/jwplayer/video.flv",
autostart:"false",
image:"/jwplayer/preview.jpg",
plugins:"fbit-1&link=http://www.yahoo.com/"+medid+"&facebook.link=true,tweetit-1,vidrate-1,drelated-1&drelated.dxmlpath=/xml/relatedvideos.xml&drelated.dposition=center&drelated.dskin=/jwplayer/grayskin.swf",
dock:"true"
}
var params = {
allowfullscreen:"true",
allowscriptaccess:"always"
}
var attributes = {
id:"player",
name:"player"
}
swfobject.embedSWF("/jwplayer/player-licensed-viral.swf", "flashplayer", "400", "315", "9.0.115", false, flashvars, params, attributes);
}
How do i add custom URL's for facebook and twitter plugins, so when users click on those plugin icons they get those custom URL's posted in their facebook or twitter page?
Thanks
Vishal
http://www.yahoo.com in the above example will be my cutom URL