We bought a jw player skin... the silvery white one. Where do we actually embed the code so that is shows up? Thanks
Printable View
We bought a jw player skin... the silvery white one. Where do we actually embed the code so that is shows up? Thanks
search the forums its been posted before
Good luck
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:
am i doing something wrong?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;
You need to put your skin variable before the write variable.