Chers amis,
après avoir resolu le problème des controles activex sur dewplayer j'ai testé dewplayer avec IE7 et Mozilla Firefox sans problèmes. Successivement j'ai effectué un test avec Safari pour Windows (v 3.0.4) et dewplayer il n'apparaissait pas.
Voici le code de ma page:
<!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" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
<title>audio1</title>
<script src="backtothehtml.js" type="text/javascript"></script>
<style type="text/css">
.style2 {
border-color: #c0c0c0;
border-width: 0;
}
.style3 {
text-align: right;
}
</style>
<script type="text/javascript">
<!--
function FP_preloadImgs() {//v1.0
var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
for(var i=0; i<a.length; i++) { d.FP_imgs=new Image; d.FP_imgs[i].src=a[i]; }
}
function FP_swapImg() {//v1.0
var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length;
n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm;
elm.$src=elm.src; elm.src=args[n+1]; } }
}
function FP_getObjectByID(id,o) {//v1.0
var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id);
else if(o.layers) c=o.layers; else if(o.all) el=o.all ; if(el) return el;
if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } }
return null;
}
// -->
</script>
<base target="_self" />
</head>
<body style="color: #FFFFFF; background-color: #25569A" onload="FP_preloadImgs(/*url*/'images/buttonE.jpg',/*url*/'images/buttonF.jpg',/*url*/'images/button19.jpg',/*url*/'images/button1A.jpg')">
<p><br />
</p>
<p> </p>
<p> </p>
<table style="width: 760px" cellpadding="0" cellspacing="0" class="style2" align="center">
<tr>
<td style="width: 220px; height: 30px">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="200" height="20" id="flash/dewplayer" align="middle" style="float: middle"><param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="flash/dewplayer.swf?mp3=audio/otello192.mp3&showtime=1&bgcolor=25569A" />
<param name="quality" value="High" />
<param name="bgcolor" value="#25569a" />
<embed src="flash/dewplayer.swf?mp3=audio/otello192.mp3&showtime=1&bgcolor=25569A" quality="High" bgcolor="#25569a" width="200" height="20" name="flash/dewplayer" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object>
</td>
<td style="height: 30px">Otello 192kbps</td>
<td style="width: 120px; height: 30px" class="style3">
<img style="border: 0" id="img3" src="images/buttonD.jpg" height="20" width="100" alt="Download" onmouseover="FP_swapImg(1,0,/*id*/'img3',/*url*/'images/buttonE.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img3',/*url*/'images/buttonD.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img3',/*url*/'images/buttonF.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img3',/*url*/'images/buttonE.jpg')" /><!-- MSComment="ibutton" fp-style="fp-btn: Embossed Capsule 1; fp-font-color-normal: #25569A; fp-font-color-hover: #FF0000; fp-font-color-press: #25569A; fp-bgcolor: #25569A" fp-title="Download" --></td>
</tr>
<tr>
<td style="width: 220px; height: 30px">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="200" height="20" id="flash/dewplayer0" align="middle" style="float: middle"><param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="flash/dewplayer.swf?mp3=audio/otello320.mp3&showtime=1&bgcolor=25569A" />
<param name="quality" value="High" />
<param name="bgcolor" value="#25569a" />
<embed src="flash/dewplayer.swf?mp3=audio/otello320.mp3&showtime=1&bgcolor=25569A" quality="High" bgcolor="#25569a" width="200" height="20" name="flash/dewplayer0" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object>
</td>
<td style="height: 30px">Otello 320kbps</td>
<td style="width: 120px; height: 30px" class="style3">
<img style="border: 0" id="img4" src="images/button18.jpg" height="20" width="100" alt="Download" onmouseover="FP_swapImg(1,0,/*id*/'img4',/*url*/'images/button19.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img4',/*url*/'images/button18.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img4',/*url*/'images/button1A.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img4',/*url*/'images/button19.jpg')" /><!-- MSComment="ibutton" fp-style="fp-btn: Embossed Capsule 1; fp-font-color-normal: #25569A; fp-font-color-hover: #FF0000; fp-font-color-press: #25569A; fp-bgcolor: #25569A" fp-title="Download" --></td>
</tr>
<tr>
<td style="width: 220px; height: 30px"> </td>
<td style="height: 30px"> </td>
<td style="width: 120px; height: 30px" class="style3"> </td>
</tr>
</table>
</body>
</html>
[/i][/i]
après avoir resolu le problème des controles activex sur dewplayer j'ai testé dewplayer avec IE7 et Mozilla Firefox sans problèmes. Successivement j'ai effectué un test avec Safari pour Windows (v 3.0.4) et dewplayer il n'apparaissait pas.
Voici le code de ma page:
<!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" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
<title>audio1</title>
<script src="backtothehtml.js" type="text/javascript"></script>
<style type="text/css">
.style2 {
border-color: #c0c0c0;
border-width: 0;
}
.style3 {
text-align: right;
}
</style>
<script type="text/javascript">
<!--
function FP_preloadImgs() {//v1.0
var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
for(var i=0; i<a.length; i++) { d.FP_imgs=new Image; d.FP_imgs[i].src=a[i]; }
}
function FP_swapImg() {//v1.0
var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length;
n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm;
elm.$src=elm.src; elm.src=args[n+1]; } }
}
function FP_getObjectByID(id,o) {//v1.0
var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id);
else if(o.layers) c=o.layers; else if(o.all) el=o.all ; if(el) return el;
if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } }
return null;
}
// -->
</script>
<base target="_self" />
</head>
<body style="color: #FFFFFF; background-color: #25569A" onload="FP_preloadImgs(/*url*/'images/buttonE.jpg',/*url*/'images/buttonF.jpg',/*url*/'images/button19.jpg',/*url*/'images/button1A.jpg')">
<p><br />
</p>
<p> </p>
<p> </p>
<table style="width: 760px" cellpadding="0" cellspacing="0" class="style2" align="center">
<tr>
<td style="width: 220px; height: 30px">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="200" height="20" id="flash/dewplayer" align="middle" style="float: middle"><param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="flash/dewplayer.swf?mp3=audio/otello192.mp3&showtime=1&bgcolor=25569A" />
<param name="quality" value="High" />
<param name="bgcolor" value="#25569a" />
<embed src="flash/dewplayer.swf?mp3=audio/otello192.mp3&showtime=1&bgcolor=25569A" quality="High" bgcolor="#25569a" width="200" height="20" name="flash/dewplayer" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object>
</td>
<td style="height: 30px">Otello 192kbps</td>
<td style="width: 120px; height: 30px" class="style3">
<img style="border: 0" id="img3" src="images/buttonD.jpg" height="20" width="100" alt="Download" onmouseover="FP_swapImg(1,0,/*id*/'img3',/*url*/'images/buttonE.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img3',/*url*/'images/buttonD.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img3',/*url*/'images/buttonF.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img3',/*url*/'images/buttonE.jpg')" /><!-- MSComment="ibutton" fp-style="fp-btn: Embossed Capsule 1; fp-font-color-normal: #25569A; fp-font-color-hover: #FF0000; fp-font-color-press: #25569A; fp-bgcolor: #25569A" fp-title="Download" --></td>
</tr>
<tr>
<td style="width: 220px; height: 30px">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="200" height="20" id="flash/dewplayer0" align="middle" style="float: middle"><param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="flash/dewplayer.swf?mp3=audio/otello320.mp3&showtime=1&bgcolor=25569A" />
<param name="quality" value="High" />
<param name="bgcolor" value="#25569a" />
<embed src="flash/dewplayer.swf?mp3=audio/otello320.mp3&showtime=1&bgcolor=25569A" quality="High" bgcolor="#25569a" width="200" height="20" name="flash/dewplayer0" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object>
</td>
<td style="height: 30px">Otello 320kbps</td>
<td style="width: 120px; height: 30px" class="style3">
<img style="border: 0" id="img4" src="images/button18.jpg" height="20" width="100" alt="Download" onmouseover="FP_swapImg(1,0,/*id*/'img4',/*url*/'images/button19.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img4',/*url*/'images/button18.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img4',/*url*/'images/button1A.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img4',/*url*/'images/button19.jpg')" /><!-- MSComment="ibutton" fp-style="fp-btn: Embossed Capsule 1; fp-font-color-normal: #25569A; fp-font-color-hover: #FF0000; fp-font-color-press: #25569A; fp-bgcolor: #25569A" fp-title="Download" --></td>
</tr>
<tr>
<td style="width: 220px; height: 30px"> </td>
<td style="height: 30px"> </td>
<td style="width: 120px; height: 30px" class="style3"> </td>
</tr>
</table>
</body>
</html>
[/i][/i]