how to share video file in mysite to facebook
Posted
by user351603
on Stack Overflow
See other posts from Stack Overflow
or by user351603
Published on 2010-05-27T05:33:45Z
Indexed on
2010/05/27
5:41 UTC
Read the original article
Hit count: 239
Hi Friends,
Now currently i am working on a french social networking site. I have small problem in my site i.e., in my site there is module of albums , In this we can upload videos and photos. My client requirement is when we are displaying those photos and video's need to keep face book share.i wrote the code for both image and video but it is working for only images, Not working for videos.these videos are not youtube videos .In my site i installed flash video by that we are playing that video in my site.
Code :
<meta name="medium" content="video" />
<meta name="title" content="title of that video"/>
<meta name="description" content="Description"/>
<link rel="image_src" content="http://mysite.com/users/forum/forum_videos/previews/previewimage.jpg" />
<link rel="video_src" href="http://mysite.com/player-viral.swf?file=http://mysite.com/users/forum/forum_videos/videos/JanWed2010_072112.flv"/>
<meta name="video_height" content="240" />
<meta name="video_width" content="320" />
<meta name="video_type" content="application/x-shockwave-flash" />
please suggest me if the above code is correct or not
Thanks in advance
© Stack Overflow or respective owner