Results 1 to 10 of 11

Thread: How to install lighttpd

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: How to install lighttpd

    Then all you need to add is the "streamer=lighttpd" flag to your flashvars in your player.inc.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  2. #2

    Default

    Quote Originally Posted by bplex View Post
    Then all you need to add is the "streamer=lighttpd" flag to your flashvars in your player.inc.
    Where am I supposed to add the streamer=lighttpd in the player.inc? Below is my code from my player.inc file...

    Code:
    <?php
    
    $displayheight = $config['player_height'] - 20;
    
    $vshare_player = <<<EOT
    
    <script type="text/javascript" src="{$config['baseurl']}/player/swfobject_1.5.js"></script>
    
    <p id="vshare_player">
        <a href="http://www.adobe.com/go/getflashplayer">
            <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
        </a>
    </p>
    
    <script type="text/javascript">
    var so = new SWFObject("{$config['baseurl']}/player/player.swf","vshare_player","$config[player_width]","$config[player_height]","8");
    so.addParam("allowfullscreen","true");
    so.addVariable("file","{$file}");
    so.addVariable("image","{$video_thumb_url}/thumb/{$video_folder}{$video_id}.jpg");
    so.addVariable("logo","{$config['baseurl']}/templates/images/watermark.gif");
    so.addVariable("link","{$config["watermark_url"]}");
    so.addVariable("linktarget","_blank");
    so.addVariable("width","{$config['player_width']}");
    so.addVariable("height","{$config['player_height']}");
    so.addVariable("displayheight","$displayheight");
    so.addVariable("overstretch", "true");
    so.addVariable("autostart", "{$config['player_autostart']}");
    so.addVariable("bufferlength", "{$config['player_bufferlength']}");
    so.write('vshare_player');
    </script>
    
    EOT;

  3. #3

    Default

    Ooopps... I just downloaded JW Player 5 today... So, any help getting lighttpd going would be great, or some other pseudo-streaming program.
    Thanks
    Tim

  4. #4
    Join Date
    Sep 2007
    Posts
    906

    Default

    Do you have lighttpd installed on the server ?

    in player.inc

    find

    Code:
    so.addVariable("overstretch", "true");
    add below

    Code:
    so.addVariable("streamer", "lighttpd");
    Last edited by hostonnet; 12-04-2009 at 08:36 AM.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

Similar Threads

  1. Is there a way to make apache and lighttpd work together
    By RAMMSTEIN in forum General Discussions
    Replies: 1
    Last Post: 05-14-2009, 09:22 AM
  2. lighttpd and hotlinking
    By pyrorain in forum Bug Reports
    Replies: 4
    Last Post: 04-14-2009, 11:30 PM
  3. Lighttpd problem
    By gergokee in forum General Discussions
    Replies: 8
    Last Post: 10-19-2008, 05:16 PM
  4. rewrite rules for Lighttpd
    By dealspiggy in forum Feature Requests
    Replies: 0
    Last Post: 10-13-2008, 03:37 PM
  5. Using lighttpd(lightty) instead of apache with vShare
    By brianatthebeach in forum General Discussions
    Replies: 12
    Last Post: 02-05-2008, 12:25 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
  •