Home › Forum › Plugin e temi di WP › Flash header
-
AutorePost
-
-
26 Novembre 2007 alle 15:56 #5160novellinoPartecipante
Ho creato un filato flash per la testata di un sito. In locale tutto ok, ma quando ho pubblicato il sito ho riscontrato dei problemi. Se visualizzo il sito con un Mac (safari e firefox) continua ad andare tutto bene, il problema nasce se visualizzo il sito con explorer. Di seguito incollo il codice che ho utilizzato per inserire il filmato nell’header:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="900" height="116">
<param name=movie value="header.swf">
<param name=quality value=high>
<param name="menu" value="false" />
<embed src="http://sito/wp-content/themes/lasplendor/images/header.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="900" height="116">
</embed>
</object>
Se cambio codice, quello che incollerò di seguito, il filmato si visualizza in tutti i brawser ma in bassa risoluzione:
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com
/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="900" height="116" id="movie" align="">
<param name="movie" value="movie.swf">
<embed src="http://sito/wp-content/themes/lasplendor/images/header.swf" quality="high" width="900"
height="116" name="movie" align=""
type="application/x-shockwave-flash"
plug inspage="http://www.macromedia.com/go/getflashplayer">
</object>
-
16 Dicembre 2007 alle 9:46 #48681matteoraggiPartecipante
per vederlo bene online devi rinomnare queste stringhe:
htp://www.tuosito.???/
spero di essere stato chiaro, questo è html di base
-
5 Marzo 2008 alle 16:03 #51385ciopin183Partecipante
Ciao Ragazzi,
ho seguito i vostri consigli ma non ho ottenuto risultati. Mi spiego meglio: anche io vorrei inserire nell’HEADER al posto della semplice immagine splash.gif un’animazione in flash. Ho provato ad inserire, nel file header.php, il codice di cui sopra modificando il nome del mio sito. Il codice inserito è il seguente:
<object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0″ width=”800″ height=”200″>
<param name=movie value=”splash.swf”>
<param name=quality value=high>
<param name=”menu” value=”false” />
<embed src=”http://www.ciopin.altervista.org/splash.swf” quality=high pluginspage=”http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash” type=”application/x-shockwave-flash” width=”800″ height=”200″>
</embed>
</object>
Ma non visualizzo nulla su Explore mentre solo l’immagine in Firefox?
Ma precisamente il codice dove va inserito nell’Header?
Originariamnente nel file header.php c’era il codice seguente:
<div id=”splash”>
</div>
Io ho inserito il codiuce di sopra esattamente nel mezzo…DOVE SBAGLIO?mI AIUTATE, PER A CAPIRE PER FAVORE?
Grazie Mille
-
5 Marzo 2008 alle 18:23 #51401webnicolaPartecipante
Carissimo amico,
guardando velocemente il tuo sito vedo che hai fatto un errore di chiamata cioè non hai indicato il percorso corretto del file.swf!
Tu hai cosà¬:
<div id="splash">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="800" height="200">
<param name=movie value="splash.swf">
<param name=quality value=high>
<param name="menu" value="false" />
<embed src="http://www.ciopin.altervista.org/splash.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="800" height="200">
</embed>
</object>
</div>
Dovresti avere cosà¬:
<div id="splash">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="800" height="200">
<param name=movie value="http://www.ciopin.altervista.org/wp-content/themes/blue-box-01/splash.swf">
<param name=quality value=high>
<param name="menu" value="false" />
<embed src="http://www.ciopin.altervista.org/wp-content/themes/blue-box-01/splash.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="800" height="200">
</embed>
</object>
</div>
Ho messo il percorso giusto al file splash.swf!
-
5 Marzo 2008 alle 18:34 #51403webnicolaPartecipante
Altro discorso invece è che hai messo il file swf non esattamente nel header in quanto nel codice del header c’è un link vuto:
<div id="header"><h1></h1></div>
Tui hai messo il file swf nel div splash, quindi se vuoi mettere il file nel header devi mettere il codice tra i div del header e cioè qui:
<div id="header"></div>
Cancellando h1 e a ...
Buon lavoro
-
5 Marzo 2008 alle 19:34 #51404ciopin183Partecipante
Prima di tutto, GRAZIE PER AVERMI RISPOSTO.
Non ho risolto il problema, almeno ora visualizza il file ma tutto sfasato e no allineato.Ho apportato le tue modifiche ..ma il risultato è questo: http://www.ciopin.altervista.org
Ti inserisco l’HEADER.PHP con le modifiche apportate. Spero ancora nel tuo aiuto!!!
<!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 profile=”http://gmpg.org/xfn/11″>
<meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
<title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
<meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” /> <!– leave this for stats –>
<link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
<link rel=”alternate” type=”application/rss+xml” title=”<?php bloginfo(‘name’); ?> RSS Feed” href=”<?php bloginfo(‘rss2_url’); ?>” />
<link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
<?php wp_head(); ?>
</head>
<body>
<div id=”box”>
<div id=”top”>
<div id=”header”><div id=”splash”>
<object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0″ width=”800″ height=”200″>
<param name=movie value=”http://www.ciopin.altervista.org/wp-content/themes/blue-box-01/splash.swf”>
<param name=quality value=high>
<param name=”menu” value=”false” />
<embed src=”http://www.ciopin.altervista.org/wp-content/themes/blue-box-01/splash.swf” quality=high pluginspage=”http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash” type=”application/x-shockwave-flash” width=”800″ height=”200″>
</embed>
</object>
</div></div>
<div id=”desc”>
<?php bloginfo(‘description’); ?>
</div>
</div>
<div id=”main”>
<div id=”nav”>
<ul class=”nav”>
<li class=”first”>“>Home
<?php wp_list_pages(‘title_li=’); ?>
</div>
</div>
<div id=”mainbck”>
-
5 Marzo 2008 alle 20:59 #51407webnicolaPartecipante
Certo ora il file lo trova e si vede! Adesso devi lavorarci su, modificando i css nel file style.css che si trova qui:
http://www.ciopin.altervista.org/wp-content/themes/blue-box-01/style.css
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.