@ templates/defboot/video_view_nuevoplayer.tpl.php code is now :
function player_state(a) {
switch(a.newstate) {
case 'PAUSED':
$("#player-advertising").show();
break;
case 'IDLE':
$("#player-advertising").show();
break;
case 'PLAYING':
$("#player-advertising").hide();
break;
case 'BUFFERING':
break;
case 'COMPLETED':
<?php if (isset($this->url_next)): echo 'window.location = base_url + "',$this->url_next,'";'; endif; ?>
$("#player-advertising").show();
break;
Looks ok!,but cleared the cache etc... etc.. does not work.
]]>This appens in all of my sites , and is a problem actualy cause the .flv format file is not substained anymore by the script .
At the moment i can use the flv player just on the hotlinked videos.
The same happens in my embeded videos on other sites , so i'm loosing tons of adviews.
To be clear look at this:
http://www.videoitaliani.net/147/scopat … gran-figa/ This is an old .flv , the ad box is on the video before the video start.
And this is a new video using the .mp4 player, the ad box is absent and is settet just on the on-pause event:
http://www.videoitaliani.net/2589/matur … berghetto/
-----------
.2
On old ASP i had the video ads also on embeded videos , but desaperead now , how to enable it?
Ex:
http://www.videoitaliani.net/102/figa-b … -creampie/
.1 is much important , probably i'm setting something wrong,how can i fix this? , can you help me please?
]]>