Perdón no habia visto bien tu código:
 
Revisa así, corregí algunas cosas, te recomiendo que las revises:  
 Código PHP:
    <html>
<head>
<title>Frame 1 </title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<head>
<script>
function form2Array(idform)
{
    var myform = document.getElementById(idform);
    var myformfield = myform.elements;
    var fieldsVector = [];
    for(var i = 0 ; i < myformfield.length ; i++)
        if( myformfield[i].type == "text")
            if(myformfield[i].value != "" )
                fieldsVector[ myformfield[i].id] = myformfield[i].value;
    
    return fieldsVector;
}
window.onload = function(){
    document.getElementById( "formulario" ).onsubmit = function(){
        alert( form2Array( this.id ) );
        return false;
    }
}
</script>
</head>
<body>
<form name="formulario" id="formulario" action="destino.php">
Video Nº 1 <br> <input name="myInputUrl" type="text" id="nombre1">
Video Nº 2 <br> <input name="myInputUr2" type="text" id="nombre2">
Video Nº 3 <br> <input name="myInputUr3" type="text" id="nombre3">
<br><input type="submit" value="Ejecuta" >
</form>
</body>
</html> 
   
  Me cuentas..