Probleme dewplayer et intenet explorer
math567
-
Jouteya -
Jouteya -
Voilà mon probleme : j'ai trouver du code qui me permet de mettre un lecteur mp3 sur un site web. Quand je l'execute avec Firefox, je n'ai pas de probleme. Par contre si j'essaye de lancée ma page web avec internet explorer, je n'ai pas signe de vie du lecteur dewplayer
Merci d'avance pour vos réponses.
Ps : voici le code en question : <object type="application/x-shockwave-flash" data="dewplayer.swf?son=ICING SUGAR - Lost in the dark with you.mp3" width="200" height="20"> <param name="movie" value="dewplayer.swf?son=ICING SUGAR - Lost in the dark with you.mp3" /> </object>
Merci d'avance pour vos réponses.
Ps : voici le code en question : <object type="application/x-shockwave-flash" data="dewplayer.swf?son=ICING SUGAR - Lost in the dark with you.mp3" width="200" height="20"> <param name="movie" value="dewplayer.swf?son=ICING SUGAR - Lost in the dark with you.mp3" /> </object>
A voir également:
- Probleme dewplayer et intenet explorer
- Explorer patcher - Télécharger - Personnalisation
- Internet explorer - Guide
- Internet explorer 11 - Télécharger - Navigateurs
- Internet explorer 8 - Télécharger - Navigateurs
- Process explorer - Télécharger - Informations & Diagnostic
4 réponses
j'ai eu le méme probléme, voici ma solution:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload2.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="200" height="20" id="dewplayer" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="dewplayer.swf?mp3=allah.mp3&autostart=1" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="wmode" value="transparent" />
<embed src="dewplayer.swf?mp3=allah.mp3&autostart=1" wmode="transparent" quality="high" bgcolor="#ffffff" width="200" height="20" name="dewplayer" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="https://get.adobe.com/flashplayer/" />
</object>
<script type="text/javascript">
var flashvars = {
mp3: "allah.mp3&autostart=1"
};
var params = {
wmode: "transparent"
};
var attributes = {
id: "dewplayer"
};
swfobject.embedSWF("dewplayer.swf", "dewplayer_content", "200", "20", "9.0.0", false, flashvars, params, attributes);
</script>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload2.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="200" height="20" id="dewplayer" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="dewplayer.swf?mp3=allah.mp3&autostart=1" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="wmode" value="transparent" />
<embed src="dewplayer.swf?mp3=allah.mp3&autostart=1" wmode="transparent" quality="high" bgcolor="#ffffff" width="200" height="20" name="dewplayer" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="https://get.adobe.com/flashplayer/" />
</object>
<script type="text/javascript">
var flashvars = {
mp3: "allah.mp3&autostart=1"
};
var params = {
wmode: "transparent"
};
var attributes = {
id: "dewplayer"
};
swfobject.embedSWF("dewplayer.swf", "dewplayer_content", "200", "20", "9.0.0", false, flashvars, params, attributes);
</script>
apparement ce problème est réccurent. Essai de valider ton code avec le validateur w3c. Ca peut aider
Voici ce que j'obtiens sur www.validator.w3.org
Help me!!!
Validation Output: 4 Errors
1. Error Line 1, Column 0: no document type declaration; implying "<!DOCTYPE HTML SYSTEM>".
<html>
✉
The checked page did not contain a document type ("DOCTYPE") declaration. The Validator has tried to validate with a fallback DTD, but this is quite likely to be incorrect and will generate a large number of incorrect error messages. It is highly recommended that you insert the proper DOCTYPE declaration in your document -- instructions for doing this are given above -- and it is necessary to have this declaration before the page can be declared to be valid.
2. Error Line 3, Column 41: document type does not allow element "BODY" here.
<body background= "skullx.gif" text="red">
✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
3. Error Line 4, Column 37: required attribute "ALT" not specified.
<center><img src= "NAINSPOSTEURS.jpg"></center>
✉
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
# Error Line 30, Column 6: end tag for "HTML" which is not finished.
</html>
✉
Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>
Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.
le code de ma page web :
<html>
<body background= "skullx.gif" text="red">
<center><img src= "NAINSPOSTEURS.jpg"></center>
<table align="center">
<tr><td><a href="accueil.htm">ACCUEIL</a> </td><td><a href="biographie.htm">BIOGRAPHIE</a> </td><td><a href="discographie.htm">DISCOGRAPHIE</a> </td><td><a href="concerts.htm">CONCERTS</a> </td><td><a href="photos.htm">PHOTOS</a> </td><td><a href="textes.htm">TEXTES</a> </td><td><a href="media.htm">MEDIA</a> </td><td><a href="liens.htm">LIENS</a> </td></tr>
</table>
<br>
<br>
<br>
<center>
<font size="20">MP3</font>
<br>
<br>
<br>
</center>
<table align="center">
<tr><td>
<font size="5">Lost In The Dark With You</font> </td><td>
<object type="application/x-shockwave-flash" data="dewplayer.swf?son=ICING SUGAR - Lost in the dark with you.mp3" width="200" height="20"> <param name="movie" value="dewplayer.swf?son=ICING SUGAR - Lost in the dark with you.mp3" /> </object>
<br>
</td>
<tr><td>
<font size="5">Abandon</font> </td><td>
<object type="application/x-shockwave-flash" data="dewplayer.swf?son=ICING SUGAR - Abandon.mp3" width="200" height="20"> <param name="movie" value="dewplayer.swf?son=ICING SUGAR - Abandon.mp3" /> </object>
</td></tr>
</table>
</body>
</html>
Help me!!!
Validation Output: 4 Errors
1. Error Line 1, Column 0: no document type declaration; implying "<!DOCTYPE HTML SYSTEM>".
<html>
✉
The checked page did not contain a document type ("DOCTYPE") declaration. The Validator has tried to validate with a fallback DTD, but this is quite likely to be incorrect and will generate a large number of incorrect error messages. It is highly recommended that you insert the proper DOCTYPE declaration in your document -- instructions for doing this are given above -- and it is necessary to have this declaration before the page can be declared to be valid.
2. Error Line 3, Column 41: document type does not allow element "BODY" here.
<body background= "skullx.gif" text="red">
✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
3. Error Line 4, Column 37: required attribute "ALT" not specified.
<center><img src= "NAINSPOSTEURS.jpg"></center>
✉
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
# Error Line 30, Column 6: end tag for "HTML" which is not finished.
</html>
✉
Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>
Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.
le code de ma page web :
<html>
<body background= "skullx.gif" text="red">
<center><img src= "NAINSPOSTEURS.jpg"></center>
<table align="center">
<tr><td><a href="accueil.htm">ACCUEIL</a> </td><td><a href="biographie.htm">BIOGRAPHIE</a> </td><td><a href="discographie.htm">DISCOGRAPHIE</a> </td><td><a href="concerts.htm">CONCERTS</a> </td><td><a href="photos.htm">PHOTOS</a> </td><td><a href="textes.htm">TEXTES</a> </td><td><a href="media.htm">MEDIA</a> </td><td><a href="liens.htm">LIENS</a> </td></tr>
</table>
<br>
<br>
<br>
<center>
<font size="20">MP3</font>
<br>
<br>
<br>
</center>
<table align="center">
<tr><td>
<font size="5">Lost In The Dark With You</font> </td><td>
<object type="application/x-shockwave-flash" data="dewplayer.swf?son=ICING SUGAR - Lost in the dark with you.mp3" width="200" height="20"> <param name="movie" value="dewplayer.swf?son=ICING SUGAR - Lost in the dark with you.mp3" /> </object>
<br>
</td>
<tr><td>
<font size="5">Abandon</font> </td><td>
<object type="application/x-shockwave-flash" data="dewplayer.swf?son=ICING SUGAR - Abandon.mp3" width="200" height="20"> <param name="movie" value="dewplayer.swf?son=ICING SUGAR - Abandon.mp3" /> </object>
</td></tr>
</table>
</body>
</html>
ouais forcément ta pas de doctype déjà !
fais donc un tour sur ce site https://openclassrooms.com/fr/courses tu va y passer un bon moment mais tu va apprendre plein de choses, à commencer par coder correctement (je dis ça sans aucune animosité faut bien commencer quelque part un jour !)
fais donc un tour sur ce site https://openclassrooms.com/fr/courses tu va y passer un bon moment mais tu va apprendre plein de choses, à commencer par coder correctement (je dis ça sans aucune animosité faut bien commencer quelque part un jour !)