Visualizzazione dei risultati da 1 a 4 su 4
  1. #1

    Tag Object dentro altro tag Object

    Buongiorno e Buon Anno.

    Mi sapreste dire perchè questa pagina come file asp non funziona? (salvato come file html si - vedi anche indirizzi a fondo pagina). Di asp so poco niente ma da quanto presumo è la presenza del tag object dentro un altro tag object. Se dipende da questo come posso risolverlo?.


    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Documento senza titolo</title>
    <script src="scripts/swfobject_modified.js" type="text/javascript"></script>
    </head>

    <body>
    <div align="center">

    <object id="Flash_Video_Player" classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" width="570" height="363">
    <param name="movie" value="FLVPlayer.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="scale" value="noscale" />
    <param name="salign" value="lt" />
    <param name="allowFullScreen" value="true" />
    <param name="flashvars" value="configSource=config.xml" />
    <param name="swfversion" value="9.0.45.0" />


    <object type="application/x-shockwave-flash" data="FLVPlayer.swf" width="570" height="363">

    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="scale" value="noscale" />
    <param name="salign" value="lt" />
    <param name="allowFullScreen" value="true" />
    <param name="flashvars" value="configSource=config.xml" />
    <param name="swfversion" value="9.0.45.0" />
    <div>
    <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>


    </p>
    </div>

    </object>

    </object>
    </div>
    <script type="text/javascript">
    <!--
    swfobject.registerObject("Flash_Video_Player");
    //-->
    </script>
    </body>
    </html>

    Ed ecco gli indirizzi:

    http://www.fabiosaggioro.it/fd24/example.asp

    http://www.fabiosaggioro.it/fd24/example.html

    Grazie.

  2. #2
    Moderatore di Annunci siti web, Offro lavoro/collaborazione, Cerco lavoro L'avatar di cavicchiandrea
    Registrato dal
    Aug 2001
    Messaggi
    26,133
    Sicuro che il sito supporti .asp? Dato che tutte le altre pagine sono .php ho forti dubbi.
    Cavicchi Andrea
    Problemi con javascript, jquery, ajax clicca qui

  3. #3
    ASP è supportato, la pagina restituisce il cassico errore dell'interprete ASP.
    E' un problema noto:
    http://www.google.it/q=asp+nested+object+error
    (Anche se mi suona strano che ASP vada a "verificare" l'HTML )

    Puoi semplicemente inserire l'swf diversamente, senza nidificare il tag objct.
    Questo è un swf, inserito in una pagina ASP, con Dreamweaver:
    codice:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="180" height="530">
    	<param name="movie" value="index.swf" />
    	<param name="quality" value="high" />
    	<param name="wmode" value="opaque" />
    	<embed src="index.swf" quality="high" wmode="opaque" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="180" height="530"></embed>
    </object>
    eventualmente puoi aggiure il tag param con il link al file xml

  4. #4
    Intendi server?. Piuttosto nel frattempo ho provato questa soluzione che mi sono "inventato" e anche se funziona non so se sia corretta e conforme agli standard.

    In pratica le modifiche sono due:

    1) ho spostato in su l'ultimo tag </object> per correggere l'errore "asp 0309" quindi,
    2) ho racchiuso il primo blocco di codice compreso nei tag <object>...</object> tra i commenti condizionali per correggere un problema in Chrome (per nascondergli il primo blocco che andava a creare uno spazio vuoto sopra il player).

    ecco il codice modificato:

    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Documento senza titolo</title>
    <script src="scripts/swfobject_modified.js" type="text/javascript"></script>
    </head>

    <body>
    <div align="center">

    <!--[if IE]>
    <object id="Flash_Video_Player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="570" height="363">
    <param name="movie" value="FLVPlayer.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="scale" value="noscale" />
    <param name="salign" value="lt" />
    <param name="allowFullScreen" value="true" />
    <param name="flashvars" value="configSource=config.xml" />
    <param name="swfversion" value="9.0.45.0" />
    </object>
    <![endif]-->


    <object type="application/x-shockwave-flash" data="FLVPlayer.swf" width="570" height="363">
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="scale" value="noscale" />
    <param name="salign" value="lt" />
    <param name="allowFullScreen" value="true" />
    <param name="flashvars" value="configSource=config.xml" />
    <param name="swfversion" value="9.0.45.0" />
    <div>
    <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>


    </p>
    </div>
    </object>


    </div>
    <script type="text/javascript">
    <!--
    swfobject.registerObject("Flash_Video_Player");
    //-->
    </script>
    </body>
    </html>

    e rivedi ora:

    http://www.fabiosaggioro.it/fd24/example.asp

    Ora chiudo. Ci risentiamo nei prossimi giorni.

    Grazie.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.