http://megaskipper.com/vbb1.aspx
url a la que enviandole en la variable text un codigo de videobb, te devuelve un link a un flv para asi poder reproducirlo en un reproductor cualquiera y sin limitaciones. La funcion que realiza esto viene dada por ejemplo en http://megaskipper.com/videobb.html?text=rzwqLSx4eVeA :
Código:
Con Ajax Cross Domain hago lo siguiente:myUrl = "rzwqLSx4eVeA"
mvurl = "/vbb1.aspx?text=" + myURL;
var xhr;
xhr = null;
if (window.XMLHttpRequest)
{
xhr = new XMLHttpRequest()
}
else if (window.ActiveXObject)
{
xhr = new ActiveXObject("Microsoft.XMLHTTP")
}
//alert(xhr);
if (xhr == null)
{
alert("Your browser doesn't support XMLHttp, Please upgrade");
}
xhr.open("GET", mvurl, true);
xhr.send(null);
var resp;
xhr.onreadystatechange = function()
{
if (xhr.readyState == 4)
{
if (xhr.status == 200)
{
resp = xhr.responseText;
var len = resp.length;
if (len > 0)
{
myURL = resp;
dispVid();
}
else
{
alert("Megaskipper server overloaded, Please re-try");
}
}
}
Código:
lo que me devuelve el error:<script type="text/javascript" src="http://www.ajax-cross-domain.com/cgi-bin/ACD/ACD.js?uri=(http://173.192./vbb1.aspx?text=rzwqLSx4eVeA)"></script> <script type="text/javascript"> document.write(ACD.responseText); </script>
Código:
AJAX Cross Domain discovered that you cannot perform the remote request. The query-string after ACD.js must be set as an allowed query-string in the configuration area of ACD.js.
¿Qué puedo hacer, podría solucionar el error con Ajax Cross Domain o tendría que hacerlo todo de otra forma o con otro método?
Gracias por vuestra atencion!

. Un saludo! 

