It shows as small thumbnail with "play" icon. Once it is clicked - flash player is rolled and you can watch video.
It's possible to have such own embedded player on facebook from other sites (your?), other players, inlcuding Nuevoplayer. Below you have a tutorial in few steps.
1.
You must send inquiry to Facebook to be whitelisted and aprooved to embed your videos
http://www.facebook.com/help/contact.ph ... _whitelist
2.
Next you must put several lines with information for facebook within your website header section
- Code: Select all
<link rel="image_src" href="video thumbnail URL (jpg)"/>
<meta property="og:title" content="video title here" />
<meta property="og:description" content="video description here" />
<meta property="og:image" content="video thumbnail URL here (jpg)" />
<meta property="og:video" content="embedded video player URL (swf with video id)" />
<meta property="og:video:height" content="video height" />
<meta property="og:video:width" content="video width" />
<meta property="og:video:type" content="application/x-shockwave-flash" />
<meta property="og:url" content="video url" />
<meta name="medium" content="video" />
Example code for 2 popular scripts can be:
(you must know what your embedded player URL is, usually this is player url with request to player configuration file and certain video key)
CLIPSHARE
- Code: Select all
<link rel="image_src" href="{$baseurl}/thumb/{$vinfo[0].thumb}_{$vinfo[0].VID}.jpg" />
<meta property="og:title" content="{$vinfo[0].title|escape:'html'|truncate:100}" />
<meta property="og:description" content="{$vinfo[0].description|escape:'html'|truncate:200}" />
<meta property="og:image" content="{$baseurl}/thumb/{$vinfo[0].thumb}_{$vinfo[0].VID}.jpg" />
<meta property="og:video" content="embedded video player URL (swf with video id)" />
<meta property="og:video:height" content="480" />
<meta property="og:video:width" content="460" />
<meta property="og:video:type" content="application/x-shockwave-flash" />
<meta property="og:url" content="{seourl rewrite="video/`$answers[i].VID`" url="view_video.php?viewkey=`$vinfo[0].vkey`" clean=$vinfo[0].title}" />
<meta name="medium" content="video" />
AVS
- Code: Select all
<link rel="image_src" href="{$baseurl}/media/videos/tmb/{$video.VID}/{$video.thumb}.jpg" />
<meta property="og:title" content="{$video.title|escape:'html'|truncate:100}" />
<meta property="og:description" content="{$video.description|escape:'html'|truncate:200}" />
<meta property="og:image" content="{$baseurl}/media/videos/tmb/{$video.VID}/{$video.thumb}.jpg" />
<meta property="og:video" content="embedded video player URL (swf with video id)" />
<meta property="og:video:height" content="480" />
<meta property="og:video:width" content="460" />
<meta property="og:video:type" content="application/x-shockwave-flash" />
<meta property="og:url" content="{$relative}/video/{$video.VID}/{$video.title|clean}" />
<meta name="medium" content="video" />
(you may need to add 'thumb' to MySQL query in video.php file of AVS script)
This can be any flash player, including our Nuevoplayer. Was tested.
If this is Nuevoplayer and AVS or Clipshare script player URL will be:
CLIPSHARE:
- Code: Select all
{$baseurl}/nuevo/player.swf?config={$baseurl}/nuevo/econfig.php?key={$vinfo[0]['vkey']
AVS2
- Code: Select all
{$baseurl}/media/nuevo/player.swf?config={$baseurl}/media/nuevo/econfig.php?key={$video.VID}
Two important things:
1.
video player embeded on facebook is not clickable if links are intended to open in same window, however some players (also Nuevoplayer) allow to change link target to "_blank"
Possible Nuevoplayer flashvars to set such target are: 'linktarget' or 'midroll.target'
In xml such fllashvars can be then:
<linktarget>+blank</linktarget>
<midroll.target>_blank</midroll.target>
In php it can be:
print "<linktarget>_blank</linktarget>\n";
print "<midroll.target>_blank</midroll.target>\n";
Such php lines are usually to insert in file "econfig.php" of "nuevo" folder.
2.
You must be careful not to loose too much bandwidth once your videos available on Facebook. Some embedding limit is suggested for it.
I know many can have trouble with setting it all up, but please do not email us for help. Our free help is limited to what is posted on forums.