Hello,
I have a problem when I am trying to install a new skin for vshare. I have downloaded the player skin Metarby10 can be found here (http://www.longtailvideo.com/addons/skins/30/Metarby-10) when I am trying to play a video you can see that it is loading and that the whole player is messed up example (http://www.xarcus.com/view/27/family...e-kitchen-meg/). My player.inc file looks like this:
Please help me.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"]}/player2/metarby10.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.addVariable("skin", "{$config["baseurl"]}/player2/metarby10.swf"); so.write('vshare_player'); </script> EOT;
Thank you in advance by the way.




				
				
				
					
  Reply With Quote
Bookmarks