 | |
| Voir le sujet précédent :: Voir le sujet suivant |
| Auteur |
Message |
alucard frontpage mioche
 |
prob mp3 , Posté le: 12-07-2006 10:19 |
|
|
slt j'ai trouver scripte pour maitre un mp3 sur mon site mais il ne vas pas j'ai su tout régler faux le "play" si vous pourier me dir se qui va pas dans ce scripte svp
<doctype html public "-//w3c//dtd html 4.0 transitional//en"
"http://www.w3c.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>KeGi</title>
</head>
<center>
<script language="javascript">
//Script créer par Kevin Gilbert
function setSndTrack(dvd_file) {
document.all.mediaplayer.innerHTML='Vous regardez: <font
color=#edebdf><i>'+dvd_file+'</i></font><br><embed SRC="'+dvd_file+'" autostart="true">';
}
</script>
<script language="javascript">
function setSndTrack2(mp3_file) {
document.all.mediaplayer2.innerHTML='<embed SRC="'+mp3_file+'" LOOP=0 hidden="true">Lecture en
cours de <font color=#edebdf><i>'+mp3_file+'</i></font>';
}
function setSndTrack1314(radio_file) {
document.all.mediaplayer2.innerHTML='<embed SRC="'+radio_file+'" LOOP=0 hidden="true">Vous
écoutez radio Énergie (94.3) de Montréal. ';
}
</script>
<script language="javascript">
function setSndTrack3(pic_file) {
document.all.mediaplayer3.innerHTML='Vous regarder: <font
color=#edebdf><i>'+pic_file+'</i></font><br><img SRC="'+pic_file+'">';
}
</script>
<body bgcolor="black" text="lightgrey">
<fieldset style="width: 670; height: 60; background: black;">
<LEGEND><FONT face="verdana" size="2" color="lightgrey">KeGi V2.0</FONT></LEGEND>
<form name="form" method="get">
<table>
<tr>
<TD VALIGN="Middle" align="center">
<fieldset style="width: 670; height: 60; background: black;">
<LEGEND><FONT face="verdana" size="2" color="lightgrey">Lecteur de film</FONT></LEGEND>
<input type="file" title="Sélectionner un vidéo" style="width: 400" name="file">
<input style="width:80px; height:26px" TYPE="Reset" title="Effacer la sélection"
value="Effacer">
<input style="height:26px; width:80px;" type="button" title="Lire le film" name="bouton"
onclick="javascript:setSndTrack(form.file.value);" value="Play" id='dvd_son1' name='dvd_son'>
<input style="height:26px; width:80px;" type="button" title="stopper" value="Stop"
onclick="javascript:location.reload()">
<div id="mediaplayer" name="mediaplayer">
</div>
</fieldset>
</td>
</tr>
</table>
</form>
<form name="form2" method="get">
<table>
<tr>
<TD VALIGN="Middle" align="center">
<fieldset style="width: 670; height: 60; background: black;">
<LEGEND><FONT face="verdana" size="2" color="lightgrey">Lecteur mp3
(<a href="#"
onclick="javascript:setSndTrack1314('http://www.angelfire.com/falcon/kegi/ckmf.asx')"><font
color="lightgrey">Écouter la radio en direct (radio énergie 94.3</a></font>)
</FONT></LEGEND>
<input type="file" title="Sélectionner un morceau de musique" style="width: 400" name="file2">
<input style="width:80px; height:26px" TYPE="Reset" title="Effacer la sélection"
value="Effacer">
<input style="height:26px; width:80px;" type="button" title="Lire la musique" name="bouton"
onclick="javascript:setSndTrack2(form2.file2.value);" value="Play" id='mp3_son1' name='mp3_son'>
<input style="height:26px; width:80px;" type="button" title="stopper" value="Stop"
onclick="javascript:location.reload()">
<br>
<div id="mediaplayer2" name="mediaplayer2"> </div>
</fieldset>
</td>
</tr>
</table>
</form>
<form name="form3" method="get">
<table>
<tr>
<TD VALIGN="Middle" align="center">
<fieldset style="width: 670; height: 60; background: black;">
<LEGEND><FONT face="verdana" size="2" color="lightgrey">Lecteur d'images</FONT></LEGEND>
<input type="file" title="Sélectionner une image" style="width: 400" name="file3">
<input style="width:80px; height:26px" TYPE="Reset" title="Effacer la sélection"
value="Effacer">
<input style="height:26px; width:80px;" type="button" title="Lire la musique" name="bouton3"
onclick="javascript:setSndTrack3(form3.file3.value);" value="Afficher" id='pic_son1'
name='pic_son'>
<input style="height:26px; width:80px;" type="button" title="stopper" value="Enlever"
onclick="javascript:location.reload();">
<div id="mediaplayer3" name="mediaplayer3">
</div>
</fieldset>
</td>
</tr>
<tr align="right"><td><h5>© Copyright by <i><a
href="http://www.kegi.ca.tc"><font color="lightgrey">KeGi</font></a></i></h5></tr></td>
</table>
</fieldset>
</form>
</center>
</body>
</html>
voila donc si vous pouriez m'aider se serais sympa |
|
|
dm.18 html mioche
 |
prob mp3 , Posté le: 12-07-2006 10:27 |
|
|
Salut,
Peux tu corriger les fautes, car ton message en est bourré.
Merci |
|
|
Arthur dreamweaver mioche

|
prob mp3 , Posté le: 27-07-2006 15:26 |
|
|
Slt moi j'ai un code super simple (si tu as les zik dans ton dossier comme pour les images!!)
le code c'est:
<embed src="musique.mp3" autostart=true" width="70" height="24" loop="true">
alors @+ |
|
|
|
|
S'enregistrer
Profil
Se connecter pour vérifier ses messages privés
Rechercher
Membres
FAQ
Connexion
|