Salve, sto inserendo questo codice con il plug in activex per far ascoltare l'audio subito. Capita che cambiando esclusivamente il fiile audio, pur avendo la stessa dimensione e lo stesso grado di compressione non funzionino. Perchè? Il primo listato è quello che non funziona; mentre il secondo funziona. Grazie.
Codice HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>popp09</title>
</head>
<body>
<object id="NSPlay"
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
type="application/x-oleobject" height="70" width="281">
<param name="FileName" autosize=""
value="http://www.vitaprenatale.altervista.org/pediatra del 09-01-2008mp3.mp3
name="><param
name="AutoStart" value="1"> <param
name="ClickToPlay" value="0"><param
name="DisplaySize" value="0"> <param
name="EnableContextMenu" value="1"> <param
name="EnableFullScreenControls" value="0"><param
name="EnableTracker" value="1"> <param name="Mute"
value="0"> <param name="PlayCount" value="1"><param
name="ShowControls" value="1"> <param
name="ShowAudioControls" value="1"> <param
name="ShowDisplay" value="0"> <param
name="ShowGotoBar" value="0"> <param
name="ShowPositionControls" value="0"> <param
name="ShowStatusBar" value="1"> <param
name="ShowTracker" value="1"><!--
<PARAM NAME="ShowControls" VALUE="1">
<PARAM NAME="ShowDisplay" VALUE="0">
<PARAM NAME="ShowStatusBar" VALUE="1">
<PARAM NAME="AutoSize" VALUE="1">-->
<embed type="application/x-mplayer2"
pluginspage="http://microsoft.com/windows/mediaplayer/en/download/"
id="NSPlay" name="mp_905804870"
src="http://www.vitaprenatale.altervista.org/pediatra%20del%2009-01-2008mp3.mp3"
1="" autostart="1" clicktoplay="0" displaysize="0"
enablecontextmenu="1" enablefullscreencontrols="0"
enabletracker="1" mute="0" playcount="1"
showcontrols="1" showaudiocontrols="1" showdisplay="0"
showgotobar="0" showpositioncontrols="0"
showstatusbar="1" showtracker="1" height="70"
width="281"><br>
<br>
<br>
</object>
<br>
</body>
</html>
2 Listato
Codice HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>popp13</title>
</head>
<body>
<object id="NSPlay"
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
type="application/x-oleobject" height="70" width="281">
<param name="FileName" autosize=""
value="http://www.vitaprenatale.altervista.org/pediatra del 13-02-2008 mp3.mp3
name="><param
name="AutoStart" value="1"> <param
name="ClickToPlay" value="0"><param
name="DisplaySize" value="0"> <param
name="EnableContextMenu" value="1"> <param
name="EnableFullScreenControls" value="0"><param
name="EnableTracker" value="1"> <param name="Mute"
value="0"> <param name="PlayCount" value="1"><param
name="ShowControls" value="1"> <param
name="ShowAudioControls" value="1"> <param
name="ShowDisplay" value="0"> <param
name="ShowGotoBar" value="0"> <param
name="ShowPositionControls" value="0"> <param
name="ShowStatusBar" value="1"> <param
name="ShowTracker" value="1"><!--
<PARAM NAME="ShowControls" VALUE="1">
<PARAM NAME="ShowDisplay" VALUE="0">
<PARAM NAME="ShowStatusBar" VALUE="1">
<PARAM NAME="AutoSize" VALUE="1">-->
<embed type="application/x-mplayer2"
pluginspage="http://microsoft.com/windows/mediaplayer/en/download/"
id="NSPlay" name="mp_905804870"
src="http://www.vitaprenatale.altervista.org/pediatra%20del%2013-02-2008%20mp3.mp3"
1="" autostart="1" clicktoplay="0" displaysize="0"
enablecontextmenu="1" enablefullscreencontrols="0"
enabletracker="1" mute="0" playcount="1"
showcontrols="1" showaudiocontrols="1" showdisplay="0"
showgotobar="0" showpositioncontrols="0"
showstatusbar="1" showtracker="1" height="70"
width="281"><br>
<br>
<br>
</object>
<br>
</body>
</html>
[DS] Usa i tag di codice quando ne riporti ampi stralci, si legge meglio... e non esce un post kilometrico