Results 1 to 7 of 7

Thread: Play embedded videos on facebook On Vshare

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2007
    Posts
    14

    Wink Play embedded videos on facebook On Vshare

    Play embedded videos on facebook
    this is how to make our videos play on facebook page (like youtube videos)

    1st you need to contact facebook and whitelist your site. To do that , Please send a request using the form Facebook Video Embed Whitelist Request

    then go template--> template
    add these lines to the top of /templates/view_video.tpl page

    HTML Code:
     <!-- facebook Plugin Start -->
    <meta name="title" content="{$view.video_info.video_title}" />
    <meta name="medium" content="video" />
    <link rel="image_src" href="{$view.video_info.video_thumb_url}/thumb/{$view.video_info.video_folder}{$view.video_info.video_id}.jpg" / > 
     <meta name="video_height" content="280" />
     <meta name="video_width" content="420" />
    <meta name="video_type" content="application/x-shockwave-flash" />
    In the /include/player.inc

    Find
    HTML Code:
    $vshare_player = <<<EOT
    add below
    HTML Code:
    <link rel="video_src" href="{$config['baseurl']}/player/player.swf?file={$file}&skin={$config['baseurl']}/player/youtube/whotube.xml&stretching=exactfit&logo={$config['baseurl']}/templates/images/watermark.png&autostart=true&link={$base_url}&image={$video_thumb_url}/thumb/{$video_folder}{$video_id}.jpg"/>
    So is done verly easy

    Try it out here Complete site http://www.bow.dk

    Am use JW Player in the case here and Youtube Skin

    Ejoin all hehe

    Last edited by BOW; 03-02-2011 at 06:16 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •