Visualizzazione dei risultati da 1 a 6 su 6

Discussione: validazione codice

  1. #1
    Utente di HTML.it L'avatar di lolly
    Registrato dal
    Mar 2000
    Messaggi
    214

    validazione codice

    Ciao a tutti, ho un problema non riesco a validare il mio codice html nel punto in cui è inserito uno swf, il codice è questo:


    <tr>
    <td height="176" align="center" valign="middle" class="buzzsg"> <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="160" height="160">
    <param name="movie" value="buzz/buzz.swf">
    <param name="quality" value="high">
    <embed src="buzz/buzz.swf" width="160" height="160" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></object></td>
    <td></td>
    </tr>

    Mi da i seguenti errori:

    Line 226, column 25: there is no attribute "SRC"

    <embed src="cartella/file.swf" width="160" height="160" quality="high"

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.


    Line 226, column 47: there is no attribute "WIDTH"
    Line 226, column 60: there is no attribute "HEIGHT"
    Line 226, column 74: there is no attribute "QUALITY"
    Line 226, column 93: there is no attribute "PLUGINSPAGE"
    Line 226, column 144: there is no attribute "TYPE"
    Line 226, column 175: element "EMBED" undefined

    Grazie a chiunque vorrà aiutarmi, ciao!
    Lölly

  2. #2
    boolbo
    Guest
    Credo che il problema sia proprio nel modo di richiamare il file SWF, guarda questo thread:
    http://forum.html.it/forum/showthrea...hreadid=677487

    anche se poi ottimizzandolo per il W3C si genera un altro problema, per il quale nessuno ha ancora dat orisposta (lo vedrai nel thread che ho segnalato)

  3. #3
    Utente di HTML.it L'avatar di zoom
    Registrato dal
    Dec 2001
    Messaggi
    1,737
    :master:
    non ho mai provato....
    ma non basta mettere

    object{border:0}

    nel css? :master:
    Chicco Ravaglia per sempre con noi!

  4. #4
    Utente di HTML.it L'avatar di lolly
    Registrato dal
    Mar 2000
    Messaggi
    214
    il css esterno viene validato apparte... quindi non risolverebbe il problema.

    Ho letto il post del collega che ha lo stesso problema e mettendo il suo codice si ottiene la validazione e si vede tutto bene con explorer, tuttavia netscape e opera non mostrano affatto lo swf...
    Lölly

  5. #5
    In realtà il tag <embed> ormai è definito deprecato dall'HTML 4.0 in poi, per questo è inutilizzabile all'interno della pagine web. Si deve agire sul tag <object> per la visualizzazione dei filmati SWF, però IE riesce a visualizzare bene i filmati anche solamente con il tag <object> in quanto, forse, il plug-in è studiato molto bene per IE mentre è lasciato un pò andare per gli altri browser. Fai un giro all'interno del sito della www.macromedia.it per vedere se trovi soluzione.
    FEDERIX.IT - [Pillola] GRAFICA DEI FORM

    ...ho ancora quella forza che ti serve, quando dici "Si comincia!"

  6. #6
    Utente di HTML.it L'avatar di lolly
    Registrato dal
    Mar 2000
    Messaggi
    214
    Adesso provo a vedere sul sito della macromedia se trovo la soluzione... grazie!
    Lölly

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.