
Embed jwplayer with social icons
Hello,
I have set up jwplayer here which is working fine. http://kollegekidd.com/dev/index.php/cnv/kollegekidd/video/3716-shantanu-1
Now, I want to embed this video in my blog but it should be loaded in jwplayer with social icons. What is the code to do it ?
I also see that on social sharing it shows embed code. Why it is iframe and html file ? What should be the content of that hml file ?
I tried to put that code in my blog, but its not showing jwplayer and social icons are missing on it.
Here is the code I am using.
var pathname = document.location.toString().toLowerCase();
jwplayer("player").setup({
'id': 'player',
'wmode': 'transparent',
'icons': 'true',
'allowscriptaccess': 'always',
'allownetworking': 'all',
'image': "http://kollegekidd.com/dev/images/videos/64/thumbs/OxgDr43LHos.jpg",
'file': "http://kollegekidd.com/dev/images/originalvideos/64/OxgDr43LHos.mp4",
'abouttext':'kollegekidd.com',
'aboutlink':'http://kollegekidd.com/',
'width': '640', 'height': '360',
'controlbar': 'bottom',
'stretching':"exactfit",
'dock': 'false',
sharing: {
code: encodeURI('<iframe src="'+pathname+'" width="480" height="270" frameborder="0" scrolling="auto" ></iframe>'),
link: ''
}
});
This code I put in my blog.
<iframe src="http://kollegekidd.com/dev/images/originalvideos/2452/wObquiEpJXx.mp4" width="480" height="270" frameborder="0" scrolling="auto" ></iframe>
Here is blog link - http://shantanupanse14.blogspot.in/
I want embed code to put in any site with jwplayer and social icons on it.