i would like to embed a video player after posting a link on facebook, such as how YouTube or facebook's own player appear after posting.
i would like to embed a video player after posting a link on facebook, such as how YouTube or facebook's own player appear after posting.
You can not do this. This tools has been made by facebook not from youtube.
Hi, thanks for your response. I guess Youtube was granted exclusive rights by Facebook to post it in that manner.
ok. actually the embedded player can be created in Flash and posted in facebook. however, one needs permission from those folks to do so.
ok, thanks. this would mean then I'd have to make changes in the html page in vshare. but I'm not sure which page? thx again.
Hi,
This need some code modifications in two files(header.tpl and view_video.php).
If you can't do this, open a support ticket at
BuyScripts Helpdesk
with your vshare admin and FTP login details.
Thanks
Buyscripts Team
Open view_video.phpand put this code .
This will post the exact image of teh video.PHP Code:
$html_head_extra = '<meta property="og:image" content="' . VSHARE_URL . 'thumb/' . $video_id . '.jpg" /> ';
$smarty->assign('html_head_extra', $html_head_extra);
Also you can put other code at $html_head_extra.
as of the last few days facebook has been accepting thumbnails in their posts w/o any mod to the template. i believe they had server issues then. but i will keep ur tip in mind. thx!
Last edited by victor89; 10-28-2010 at 01:33 PM. Reason: typo
You say is can't played on facebook and am give you a link
is can be done and works fine on my vshare :-)
Bookmarks