The problem was that i made a hidden div in order to call it from facebox. the src was a Streaming, so it started playing onload.
the solution has been not maing that hidden div and making everything with jquery and dom:
$(".mybanner").click(function(e){
e.preventDefault();
var link = document.createElement('a');
link.setAttribute('href', 'javascript:void(0);');
var cerrar = document.createTextNode("CLOSE");
link.appendChild(cerrar);
link.addEventListener( 'click', function(){
$(document).trigger('close.facebox');
} );
i = document.createElement("iframe");
i.src = "/streaming/streaming.html";
i.scrolling = "auto";
i.frameborder = "0";
i.width = "627px";
i.height = "384px";
var div = document.createElement('div');
div.appendChild(link);
div.appendChild(i)
$.facebox(div);
return false;
});
});
It constructs the close button and the iframe on the fly, so when it closes, i call remove