Bonjour,

au chargement de mon site j affiche un .flv et ca passe niquel sur ts les navigateur, par contre quand je souhaite le remplacer par un autre flv via la class swobject , le flash ne se lance pas sur IE mais bien sur tous les autres navigateur.

Je comprend pas ou est l'erreur dans mon code , que voici :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
 
<!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=iso-8859-1" />
 
<style type="text/css" media="screen">
@import "_css/style.css";
</style>
 
<script type="text/javascript" src="swfobject.js"></script>
 
</head>
 
<body>
<div id="page">
<div id="conteneur">
<div id="centre">
<div id="menu_videos">
<table cellpadding="2" cellspacing="0" border="0" width="102">
<tr><td width="10" height="60">&nbsp;</td><td width="92" height="60">&nbsp;</td></tr>
<tr><td width="10">&nbsp;</td><td width="92" align="center"><a href="javascript:load_one_flv( 'Trend2009.flv', 'bk_video_2009' );"><img src="_images/miniature_video1.jpg" border="0"></a></td></tr>
<tr><td width="10">&nbsp;</td><td width="92" align="center"><a href="javascript:load_one_flv( 'Trend2010.flv', 'bk_video_2010' );"><img src="_images/miniature_video2.jpg" border="0"></a></td></tr>
</table>
</div>
<div id="videos" name="videos" width="538" height="500">
</div>
</div><div id="menu">
<table width="160" height="500" cellpadding="0" cellspacing="0"><tr><td height="55" colspan="2"  border="0">&nbsp;</td></tr>
<tr><td width="30">&nbsp;</td>
<td valign="top" align="left">
<!-- <a href="index.php" class="menuindex">Accueil</a>
<br><br>-->
<a href="anim.php" class="menuindex">L'esprit Trend</a>
<br><br>
<a href="boutique.php" class="menuindex">Boutique</a>
<br><br>
<a href="hommes.php" class="menuindex">Hommes</a>
<br><br>
<a href="accessoires.php" class="menuindex">Accessoires</a>
<br><br>
<a href="contact.php" class="menuindex">Contacts</a>
</td></tr>
<tr><td colspan="2" align="center" height="80"><a href="index.php"><img src="_images/logo_menu.jpg" border="0"></a></td></tr>
</table>
</div>
</div>
</div>
 
<script language="javascript">
 
	function load_all_flv(){
		var flashHtml =  '<object type="application/x-shockwave-flash" data="player_flv_multi.swf" width="538" height="500" id="vid">';
			flashHtml += '<param name="movie" value="player_flv_multi.swf" />';
			flashHtml += '<param name="FlashVars"';
			flashHtml += 'value="flv=Trend2010.flv|Trend2009.flv';
			flashHtml += "&amp;margin=0&amp;autoplay=1&amp;autoload=1&amp;showplayer=never&amp;buffermessage=''";
			flashHtml += '&amp;startimage=bk_video_2010.jpg&amp;" />';
			flashHtml += '</object>';
			document.getElementById('videos').innerHTML = flashHtml;
	}
 
	function load_one_flv( video_flv, photo_flv ){
		var params = {
  						width: '538',
  						height: '500',
  						type: 'movie',
  						bg_color: '#FFFFFF',
  						foo: 'bar',
  						movie: 'player_flv_multi.swf'
					};
		var flashvars = {
						flv:video_flv,
						margin:0,
						width:538,
						height:500,
						autoplay:'1',
						autoload:'1',
						showplayer:'never',
						buffermessage:'',
						startimage:photo_flv+'.jpg'
						};
		var attributes = {};
		swfobject.embedSWF("player_flv_multi.swf", "videos", "538", "500", "9.0.0", 'player_flv_multi.swf', flashvars, params, attributes );
	 }
 
load_all_flv();
 
</script>
 
</body>
</html>

je tourne en rond sur ce probleme, merci d'avance pour votre aide.