Hi
I use phpmelody 1.6 and installed latest jwplayer
Please help me to place ads in the video
the existing code for the player is
div id="Playerholder">
You need to have the <a href="http://www.macromedia.com/go/getflashplayer">Flash Player</a> installed and
a browser with JavaScript support.
</div>
{literal}
<script type="text/javascript">
var flashvars = {
file: '{/literal}{$smarty.const._URL2}{literal}/videos.php?vid={/literal}{$video.uniq_id}{literal}',
enablejs: 'true',
backcolor: '{/literal}{$smarty.const._BGCOLOR}{literal}',
frontcolor: '{/literal}{$smarty.const._TIMECOLOR}{literal}',
screencolor: '000000',
repeat: 'false',
autostart: '{/literal}{$smarty.const._AUTOPLAY}{literal}',
type: 'video',
logo: '{/literal}{$smarty.const._WATERMARKURL}{literal}',
linktarget: '_blank',
link: '{/literal}{$smarty.const._WATERMARKLINK}{literal}',
bufferlength: '5',
controlbar: 'over'
};
var params = {
wmode: 'window',
allowfullscreen: 'true',
allowscriptaccess: 'always',
allownetworking: 'all'
};
var attributes = {};
swfobject.embedSWF('{/literal}{$smarty.const._URL2}{literal}/jwplayer.swf', 'Playerholder', '{/literal}{$smarty.const._PLAYER_W}{literal}', '{/literal}{$smarty.const._PLAYER_H}{literal}', '9.0.115', false, flashvars, params, attributes);
</script>
{/literal}
help me to modify this code to work with ads
Thanks
Vendan
Underneath:
repeat: 'false',
Add
plugins: 'ltas',
'ltas.cc': 'YOUR CHANNEL CODE',
You get the channel code from your Dashboard.