Results 1 to 4 of 4

Thread: JW Player Skin installation

  1. #1
    Join Date
    Jan 2009
    Posts
    19

    Default JW Player Skin installation

    We bought a jw player skin... the silvery white one. Where do we actually embed the code so that is shows up? Thanks

  2. #2
    Join Date
    Dec 2008
    Posts
    152

    Default Re: JW Player Skin installation

    search the forums its been posted before
    Good luck

  3. #3
    Join Date
    Jan 2009
    Posts
    19

    Default Re: JW Player Skin installation

    ive searched but havent found exactly what im needing...

    ive uploaded the skin.swf to my player folder, and gone to to the player.inc and added this line:


    so.addVariable("skin", "{$config["baseurl"]}/player/skin.swf");



    heres what it all looks like together:


    Code:
    <?php
    
    $displayheight = $config['player_height'] - 20;
    
    if($config['player_autostart'] == 1) {
            $extra = "so.addVariable(\"autostart\", \"true\");";
    } else {
            $extra = "so.addVariable(\"autostart\", \"false\");";
    }
    
    
    $vshare_player = <<<EOT
    
    <script type="text/javascript" src="{$config["baseurl"]}/player/swfobject.js"></script>
    
    <p id="vshare_player">Get Flash to see this player.</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","{$config["baseurl"]}/thumb/$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");
    $extra
    so.addVariable("bufferlength", "$config[player_bufferlength]");
    so.write('vshare_player');
    so.addVariable("skin", "{$config["baseurl"]}/player/skin.swf");
    </script>
    
    EOT;
    am i doing something wrong?

  4. #4
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: JW Player Skin installation

    You need to put your skin variable before the write variable.
    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!

Similar Threads

  1. Suggestion to upgrade the flv player, beside jw player?
    By cmedia in forum General Discussions
    Replies: 9
    Last Post: 04-28-2009, 02:40 PM
  2. Player Skin
    By one11 in forum Installation Support
    Replies: 1
    Last Post: 09-16-2008, 09:31 PM
  3. JW Player Skin
    By Quakerjacks in forum Installation Support
    Replies: 0
    Last Post: 08-08-2008, 12:43 AM
  4. How to install New Video Player Skin?
    By mytakeondisney in forum Template Modifications
    Replies: 7
    Last Post: 07-27-2008, 12:40 AM
  5. New flv player installation- I'll pay for it
    By PeterThePole in forum Installation Support
    Replies: 0
    Last Post: 03-03-2008, 02:14 AM

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
  •