Recent and purchased Adtonomy Text Ads Plugin for the JW Media Player, follow the instructions in the pdf that accompanies the license but no way to make it work, could someone please help me?
My settings in player.inc is this:
and myconfig.xml is:Code:<?php $displayheight = $config['player_height'] - 20;if ($vshare_player == "StrobeMediaPlayback"){ $vshare_player = <<<EOT <script type="text/javascript" src="{$config['baseurl']}/player/swfobject.js"></script> <script type="text/javascript"> var parameterNames = new Array(); var parameters = { id: "1" , src: "{$file}" , src_title: "VSHARE : Title" , autoPlay: "{$config['player_autostart']}" , width: "{$config['player_width']}" , height: "{$displayheight}" , controlBarAutoHide: "false" , controlBarPosition: "bottom" , poster: "{$video_thumb_url}/thumb/{$video_folder}{$video_id}.jpg" }; for (var i=0; i<parameterNames.length; i++) { var parameterName = parameterNames[i]; parameters[parameterName] = parameters[parameterName]; } swfobject.embedSWF ( "{$config['baseurl']}/player/StrobeMediaPlayback.swf" , "vshare_player" , parameters["width"], parameters["height"] , "10.0.0" , {} , parameters , { allowFullScreen: "true" } , { name: "StrobeMediaPlayback" } ); </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>EOT;}else{$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.addVariable("skin", "/skinsvideo/slim.zip");so.addVariable('plugins','adttext');so.addVariable('adttext.config', 'http://www.mysite.com/include/myconfig.xml');so.write('vshare_player');</script>EOT; }
Code:<?xml version="1.0"?> <ad-program> <ad type="overlay"> <text_ad title="Try Adtonomy Text Ads!" description="Advertise with LongTail" link="http://www.longtailvideo.com" length="0:10" /> </ad> <spot timing="0:03"></spot> </ad-program>
but can not get it to work...


Reply With Quote

Bookmarks