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

    Inserire un filmato nell'HTML...

    Ciao a tutti,

    ho questo problema:

    inserisco nella mia pagina HTML dentro un qualsiasi tag tipo <td></td>, <div></div> ecc. un filmato flash in questo modo:

    codice:
    <div>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="200" height="75">
    <param name="movie" value="graph/banners/bannerRA200x75.swf">
    <param name="quality" value="high">
    <embed src="graph/banners/bannerRA200x75.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="200" height="75"></embed>
    </object>
    </div>
    ora, il problema sta nel TAG <EMBED> (che io conosco poco)...

    se non lo metto NETSCAPE non mi visualizza il filmato, se lo metto tutto ok, tranne che per il fatto che il w3c validator(http://validator.w3.org) non mi valida la pagina e mi da un sacco di errori (che riporto qui sotto)!!


    qualcuno sa dirmi come risolvere?!?!


    grazie,
    r@p


    ERRORI:
    Line 29, column 19: there is no attribute "SRC"

    <embed src="graph/banners/bannerRA200x75.swf" quality="high" pluginspage

    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 29, column 62: there is no attribute "QUALITY"

    .../banners/bannerRA200x75.swf" quality="high" pluginspage="http://www.macromedi



    Line 29, column 81: there is no attribute "PLUGINSPAGE"

    ...0x75.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashpl



    Line 29, column 132: there is no attribute "TYPE"

    ...cromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="2



    Line 29, column 170: there is no attribute "WIDTH"

    ...application/x-shockwave-flash" width="200" height="75"></embed>



    Line 29, column 183: there is no attribute "HEIGHT"

    ...-shockwave-flash" width="200" height="75"></embed>



    Line 29, column 187: element "EMBED" undefined

    ...ckwave-flash" width="200" height="75"></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), or by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).



    Line 36, column 188: element "EMBED" undefined

    ...ckwave-flash" width="200" height="75"></embed>


  2. #2
    Utente di HTML.it L'avatar di NAP
    Registrato dal
    Jan 2001
    Messaggi
    4,398
    Ciao,

    questo è di Flash 5 ma le cose non cambiano se non nella versione del plug-in 6.

    codice:
    <HTML>
    <HEAD>
    <TITLE>metropol</TITLE>
    </HEAD>
    <BODY bgcolor="#999999" topmargin=0 leftmargin=0 marginwidth=0 marginheight=0>
    
    
    <OBJECT classid="clsid: D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
    WIDTH=100% HEIGHT=100%>
    <PARAM NAME=movie VALUE="metropol.swf">
    <PARAM NAME=menu VALUE=false>
    <PARAM NAME=quality VALUE=high>
    <PARAM NAME=bgcolor VALUE=#999999>
    <EMBED src="metropol.swf" menu=false quality=high bgcolor=#999999  WIDTH=100% HEIGHT=100% TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
    </EMBED>
    </OBJECT>
    </BODY>
    </HTML>
    Innazitutto il codice va inserito nel <BODY></BODY>

    Poi, gli errori sono di sintassi e riguardano i <PARAM NAME> e l'<EMBED></EMBED>.

    Come puoi notare, non ci vanno tutte quelle virgolette che hai messo tu.
    Tant'è che in quel modo non ti riconosce neanche gli attributi che stanno nell' <EMBED></EMBED>, affermando il SRC come undefined:

    SRC
    QUALITY
    PLUGINSPAGE
    TYPE
    HEIGHT
    WIDTH


    L'<EMBED></EMBED> è ineludibile perché lo dice la parola stessa: cerca e incorpora, il filmato Flash in questione.

    Nota:

    il clsid che ho grassettato sta ad indicare lo spazio (da togliere), che ho messo fra il due_punti e la D per non far comparire la faccina verde.

    NAP
    A volte la diplomazia va condita con un pizzico di siluri fotonici. (K. Janeway)

  3. #3
    Grazie per l'aiuto NAP, ma non è cambiato molto (anche se qualcosina è cambiato)... il mio nuovo codice è questo:

    codice:
    <td width="210">
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width=200 height=75>
    <param name=movie value="graph/banners/bannerRA200x75.swf">
    <param name=quality value=high>
    <embed src="graph/banners/bannerRA200x75.swf" quality=high pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width=200 height=75></embed>
    </object>
    </td>
    e gli errori che il validatore mi restituisce questi:
    Below are the results of attempting to parse this document with an SGML parser.

    Line 30, column 19: there is no attribute "SRC"

    <embed src="graph/banners/bannerRA200x75.swf" quality=high pluginspage="

    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 30, column 62: there is no attribute "QUALITY"

    .../banners/bannerRA200x75.swf" quality=high pluginspage="http://www.macromedia.



    Line 30, column 79: there is no attribute "PLUGINSPAGE"

    ...200x75.swf" quality=high pluginspage="http://www.macromedia.com/go/getflashpl



    Line 30, column 130: there is no attribute "TYPE"

    ...cromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width=20



    Line 30, column 168: there is no attribute "WIDTH"

    ...application/x-shockwave-flash" width=200 height=75></embed>



    Line 30, column 179: there is no attribute "HEIGHT"

    .../x-shockwave-flash" width=200 height=75></embed>



    Line 30, column 181: element "EMBED" undefined

    ...-shockwave-flash" width=200 height=75></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), or by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).



    Line 37, column 182: element "EMBED" undefined

    ...-shockwave-flash" width=200 height=75></embed>



    GRAZIE
    r@p

  4. #4
    la linea 30 è questa:

    <embed src="graph/banners/bannerRA200x75.swf" quality=high pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width=200 height=75></embed>



    mentre la 37 non l'ho postata ma è praticamente uguale alla 30

  5. #5
    scusate, forse io sono un po' stupida...ma non riesco a risolvere lo stesso problema

    codice:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" style="width:800;height:600">
            <param name=movie value=risorse/video/index.swf>
            <param name=quality value=high>
            <param name=bgcolor value=white>
    	<embed src="risorse/video/index.swf" width=800 height=600 quality=high type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed>
                 </object>

    ERRORI:
    codice:
    #
    
    Line 59, column 16: there is no attribute "SRC"
    
    <embed src="risorse/video/index.swf" width=800 height=600 quality=high type
    
    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 59, column 48: there is no attribute "WIDTH"
    
    ... src="risorse/video/index.swf" width=800 height=600 quality=high type="applic
    
    ✉
    #
    
    Line 59, column 59: there is no attribute "HEIGHT"
    
    ...se/video/index.swf" width=800 height=600 quality=high type="application/x-sho
    
    ✉
    #
    
    Line 59, column 71: there is no attribute "QUALITY"
    
    ...ex.swf" width=800 height=600 quality=high type="application/x-shockwave-flash
    
    ✉
    #
    
    Line 59, column 81: there is no attribute "TYPE"
    
    ...dth=800 height=600 quality=high type="application/x-shockwave-flash" pluginsp
    
    ✉
    #
    
    Line 59, column 125: there is no attribute "PLUGINSPAGE"
    
    ...ation/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/dow
    
    ✉
    #
    
    Line 59, column 212: element "EMBED" undefined
    
    ...x.cgi?P1_Prod_Version=ShockwaveFlash"></embed>
    Cosa nn vedo?
    Flickr .:. Work In Progress

    Non lasciare la mia mano, ovunque sarai, con chiunque ti accompagnerai. Non dimenticarti di me, ne morirei.

  6. #6
    scusate, forse io sono un po' stupida...ma non riesco a risolvere lo stesso problema
    mi stai forse dando dello stupido?!?!?!


    ...dai scherzo

    comunque io non sono mai riuscito a risolverlo quel problema... quindi se qualcuna avesse qualche idea resto ancora all'ascolto


    r@p

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.