Visualizzazione risultati 1 fino 4 di 4

Discussione: Problemi file .flv

  1. #1
    Guest

    Predefinito Problemi file .flv

    Ciao!
    Ho creato un sito web piuttosto snello e volevo inserire un paio di video secondo il type: progressive.
    Ho inserito nella stessa cartella i due video, la skin (.swf) ed il lettore (FLVPlayer_Progressive.swf). Ho caricato anche i video (.flv) ma quando carico la pagina non si vede nulla.
    In locale tutto funziona perfettamente.
    Ho letto in un altro forum che si dovrebbero attivare i MIME TYPE o che comunque altervista dovrebbe farlo per la corretta visualizzazione dei video, è vero? Come posso risolvere?

    Grazie!

    Incollo il codice se può essere d'aiuto, creato con Dreamweaver cs3:

    Codice HTML:
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    body {
    	background-image: url();
    	background-repeat: no-repeat;
    	background-color: #000000;
    	margin-left: 0px;
    	margin-top: 0px;
    	margin-right: 0px;
    	margin-bottom: 0px;
    }
    .style1 {color: #FFFFFF}
    -->
    </style>
    <script type="text/javascript">
    function MM_CheckFlashVersion(reqVerStr,msg){
      with(navigator){
        var isIE  = (appVersion.indexOf("MSIE") != -1 && userAgent.indexOf("Opera") == -1);
        var isWin = (appVersion.toLowerCase().indexOf("win") != -1);
        if (!isIE || !isWin){  
          var flashVer = -1;
          if (plugins && plugins.length > 0){
            var desc = plugins["Shockwave Flash"] ? plugins["Shockwave Flash"].description : "";
            desc = plugins["Shockwave Flash 2.0"] ? plugins["Shockwave Flash 2.0"].description : desc;
            if (desc == "") flashVer = -1;
            else{
              var descArr = desc.split(" ");
              var tempArrMajor = descArr[2].split(".");
              var verMajor = tempArrMajor[0];
              var tempArrMinor = (descArr[3] != "") ? descArr[3].split("r") : descArr[4].split("r");
              var verMinor = (tempArrMinor[1] > 0) ? tempArrMinor[1] : 0;
              flashVer =  parseFloat(verMajor + "." + verMinor);
            }
          }
          // WebTV has Flash Player 4 or lower -- too low for video
          else if (userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 4.0;
    
          var verArr = reqVerStr.split(",");
          var reqVer = parseFloat(verArr[0] + "." + verArr[2]);
      
          if (flashVer < reqVer){
            if (confirm(msg))
              window.location = "http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash";
          }
        }
      } 
    }
    </script>
    <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    </head>
    
    <body onload="MM_CheckFlashVersion('7,0,0,0','Il Grande Schermo');">
    <table width="960" border="0" align="center">
      <tr>
        <td height="720" valign="top" background="files/centro.jpg"><table width="342" height="72" border="0" align="center">
          <tr>
            <td height="180" background="files/testa.jpg">&nbsp;</td>
          </tr>
        </table>
          <br />
          <table width="917" height="114" border="0" align="center">
            <tr>
              <td height="468" align="center" background="files/riquadrocentro.png"><script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','320','height','240','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','&MM_ComponentVersion=1&skinName=Corona_Skin_3&streamName=_altervista_ht/Taxi_Giallo&autoPlay=false&autoRewind=false','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','FLVPlayer_Progressive' ); //end AC code
              </script>
                <noscript>
                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="320" height="240" id="FLVPlayer">
                  <param name="movie" value="FLVPlayer_Progressive.swf" />
                  <param name="salign" value="lt" />
                  <param name="quality" value="high" />
                  <param name="scale" value="noscale" />
                  <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Corona_Skin_3&streamName=_altervista_ht/Taxi_Giallo&autoPlay=false&autoRewind=false" />
                  <embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Corona_Skin_3&streamName=_altervista_ht/Taxi_Giallo&autoPlay=false&autoRewind=false" quality="high" scale="noscale" width="320" height="240" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />              
    </object>
                </noscript>
    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','320','height','240','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','&MM_ComponentVersion=1&skinName=Corona_Skin_3&streamName=_altervista_ht/Il_Grande_Schermo&autoPlay=false&autoRewind=false','quality','high','scale','noscale','name','FLVPlayer1','salign','lt','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','FLVPlayer_Progressive' ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="320" height="240" id="FLVPlayer">
        <param name="movie" value="FLVPlayer_Progressive.swf" />
        <param name="salign" value="lt" />
        <param name="quality" value="high" />
        <param name="scale" value="noscale" />
        <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Corona_Skin_3&streamName=_altervista_ht/Il_Grande_Schermo&autoPlay=false&autoRewind=false" />
        <embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Corona_Skin_3&streamName=_altervista_ht/Il_Grande_Schermo&autoPlay=false&autoRewind=false" quality="high" scale="noscale" width="320" height="240" name="FLVPlayer1" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />  
    </object></noscript></td>
            </tr>
        </table>      </td>
      </tr>
    </table>
    </body>
    </html>
    Ultima modifica di karl94 : 03-12-2011 alle ore 23.51.22 Motivo: Formattazione del codice HTML

  2. #2
    karl94 non è connesso Staff AV
    Data registrazione
    03-10-2005
    Messaggi
    17,744

    Predefinito

    I valori dei parametri streamName sono scorretti, manca l'estensione del file.

  3. #3
    Guest

    Predefinito

    Mi ero già accorto di questa mancanza ed avevo corretto senza aver risolto il problema. Poi pensando fosse ininfluente avevo tolto nuovamente l'estensione.
    Comunque ora ho aggiunto il .flv ad entrambi i video ma il problema persiste, in locale tutto ok, appena uppo non si vede nulla ç_ç

    Edit
    Ispezionando l'elemento online mi dà questi due tipi di errori (uno per ogni video), non li conosco, sapete di cosa si tratta? penso stia qui il problema:

    Ultima modifica di A19 : 04-12-2011 alle ore 13.17.42

  4. #4
    Guest

    Predefinito

    Ho uppato la cartella Scripts, Risolto!
    Ultima modifica di A19 : 04-12-2011 alle ore 14.42.36

Regole di scrittura

  • Non puoi creare nuove discussioni
  • Non puoi rispondere ai messaggi
  • Non puoi inserire allegati.
  • Non puoi modificare i tuoi messaggi
  •