Visualizzazione dei risultati da 1 a 4 su 4

Discussione: W3C e Flash

  1. #1

    W3C e Flash

    Salve, è da tempo che volevo chiedere, siccome sto facendo un sito che ha il titolo o header in flash e tutto il resto in html, volevo farlo compatibile con i validatori W3C. Per i fogli di stile non ho mai avuto problemi ma con il validatore del markup ogni volta che ci piazzo un oggetto flash non c'è modo di farlo passare! tutto il resto è ok ma l'ogetto flash non me l'ha mai convalidato il w3C.
    Ecco il codice che mi piazza macromedia dreamweaver quando metto il mio oggetto flash nel documento:

    codice:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="778" height="304" title="titolo">
        <param name="movie" value="swf/titolo.swf">
        <param name="quality" value="high">
        <embed src="swf/titolo.swf" width="778" height="304" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
      </object>
    ed ecco il risultato da analisi w3c:

    # Error Line 37 column 15: there is no attribute "SRC".

    <embed src="swf/titolo.swf" width="778" height="304" quality="high" pluginsp

    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.


    # Error Line 37 column 38: there is no attribute "WIDTH".

    <embed src="swf/titolo.swf" width="778" height="304" quality="high" pluginsp


    # Error Line 37 column 51: there is no attribute "HEIGHT".

    ...="swf/titolo.swf" width="778" height="304" quality="high" pluginspage="http:/


    # Error Line 37 column 65: there is no attribute "QUALITY".

    ...wf" width="778" height="304" quality="high" pluginspage="http://www.macromedi


    # Error Line 37 column 84: there is no attribute "PLUGINSPAGE".

    ...ght="304" quality="high" pluginspage="http://www.macromedia.com/go/getflashpl


    # Error Line 37 column 135: there is no attribute "TYPE".

    ...cromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>


    # Error Line 37 column 166: element "EMBED" undefined.

    ... type="application/x-shockwave-flash"></embed>

    You have used the element named above in your document, but the document type you are using does not define an element of that name. 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 "Frameset" document type to get the "<frameset>" element),
    * by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    * by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case.


    # Error Line 70 column 40: value of attribute "ALIGN" cannot be "ABSMIDDLE"; must be one of "TOP", "MIDDLE", "BOTTOM", "LEFT", "RIGHT".

    alt="Valid CSS!" align="absmiddle" style="border:0;width:88px;height:31p.

    The value of the attribute is defined to be one of a list of possible values but in the document it contained something that is not allowed for that type of attribute. For instance, the “selected” attribute must be either minimized as “selected” or spelled out in full as “selected="selected"”; a value like “selected="true"” is not allowed.
    Uff, ma esiste un codice per un oggetto flash che il w3 faccia passare? qualcuno lo conosce?
    Solo se sei disposto a pensare di rendere possibile l'impossibile, allora sei vicino a scoprire qualcosa di nuovo.

  2. #2
    Penso che in realtà tu abbia duplicato la stessa informazione:

    -object e embed contengono entrambi il filmato flash incorporato..
    -object, conforme agli standard, non dà errori di validazione, ma c'è il pericolo che non venga interpretato da alcuni dei browser più vecchi.
    -embed è il vecchio tag per incorporare gli i media, ma ora è deprecato..viene spesso inserito insieme ad object per evitare che vi siano problemi con i browser che non leggono "object", i quali saltano object e vanno direttamente a "embed".

    ecco, dovrebbe essere questo il punto..

    ciao


  3. #3

    mm

    mmm e quindi il codice da mettere quale sarebbe? :master:
    Solo se sei disposto a pensare di rendere possibile l'impossibile, allora sei vicino a scoprire qualcosa di nuovo.

  4. #4
    La verità è nell'aria: basterebbe cercare.

    - www.gizax.it/articles/2005/satay/

    Rinnovo l'invito ai responsabili tecnici del forum a migliorare l'interfaccia in modo tale da condurre l'utente a cercare PRIMA di postare inutili domande ripetitive. Possibile che non si riesca qui a sfruttare il concetto di RIUTILIZZO?

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.