[HTML et PHP]Probleme

Fermé
tom@ Messages postés 202 Date d'inscription lundi 21 mars 2005 Statut Membre Dernière intervention 15 juin 2022 - 27 mai 2005 à 11:53
tom@ Messages postés 202 Date d'inscription lundi 21 mars 2005 Statut Membre Dernière intervention 15 juin 2022 - 27 mai 2005 à 17:45
Bonjour,

je dois avoir un probleme avec le code suivant. Pouvez vous me dire
pourquoi la video ne demarre pas(?).
NB:Le code HTML est incorporé dans du PHP. Ne soyez surpris de voir des "print"... Les variables sont toutes definies.

print '<OBJECT ID="Clip1" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" height="'.$widthOK[$connect].'" width="'.$heithOK[$connect].'">

<PARAM NAME="CONTROLS" VALUE="imagewindow">
<PARAM NAME="CONSOLE" VALUE="Clip1">
<PARAM NAME="AUTOSTART" VALUE="true">
<PARAM NAME="NOLOGO" VALUE="false">
<PARAM NAME="NOJAVA" VALUE="false">
<PARAM NAME="LOOP" VALUE="false">
<PARAM NAME="SRC" value="'.$chemfull.'">';

print '<embed src="';
print $chemfull;
print '" type="audio/x-pn-realaudio-plugin" height="'.$widthOK[$connect].'" width="'.$heithOK[$connect].'" NOLOGO="false"
NOJAVA="false" CONTROLS="imagewindow" CONSOLE="Clip1" AUTOSTART="true" LOOP="false"></embed></object>';


Merci d' avance si vous trouvez quelque chose.

tom
A voir également:

2 réponses

mamiemando Messages postés 33079 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 23 avril 2024 7 749
27 mai 2005 à 15:37
 print '<embed src="';
print $chemfull;
print '" type="audio/x-pn-realaudio-plugin" height="'.$widthOK[$connect].'" width="'.$heithOK[$connect].'" NOLOGO="false"
NOJAVA="false" CONTROLS="imagewindow" CONSOLE="Clip1" AUTOSTART="true" LOOP="false"></embed></object>'; 


Je crois qu'il y a une faute ici (cf en gras)
Sinon ça peut venir de ton navigateur ou du chemin de ta vidéo...
0
tom@ Messages postés 202 Date d'inscription lundi 21 mars 2005 Statut Membre Dernière intervention 15 juin 2022 50
27 mai 2005 à 17:45
Il y a pas de faute, mais j' ai inversé mes variables $heithOK et $widthOK. En fait , je crois que ça vient du chemin.
Faut que je regarde .... Sinon, apriori le code est bon.
0