aiuto. formato video.
ho questo codice in vbscript per far apparire la finestra windows media player (scaricato da microsoft.com)
<script LANGUAGE="VBScript">
<!--
On Error Resume Next
lngMP70 = IsObject(CreateObject("WMPlayer.OCX"))
' Windows Media Player 7 Code
If (lngMP70) Then
document.write "<OBJECT ID=MediaPlayer "
document.write " CLASSID=CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6"
document.write " standby=""Loading Microsoft Windows Media Player components..."" "
document.write " TYPE=""application/x-oleobject"" width=""200"" height=""200"">"
document.write "<PARAM NAME=""url"" VALUE=""video/video0000.avi"">"
document.write "<PARAM NAME=""AutoStart"" VALUE=""false"">"
document.write "<PARAM NAME=""ShowControls"" VALUE=""1"">"
document.write "<PARAM NAME=""uiMode"" VALUE=""mini"">"
document.write "</OBJECT>"
' Windows Media Player 6.4 Code
Else
document.write "<OBJECT ID=MediaPlayer "
document.write " CLASSID=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
document.write "CODEBASE=http://activex.microsoft.com/"
document.write "activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715"
document.write " standby=""Loading Microsoft Windows Media Player components..."" "
document.write " TYPE=""application/x-oleobject"" width=""286"" height=""225"">"
document.write "<PARAM NAME=""FileName"" VALUE=""video/video0000.avi"">"
document.write "<PARAM NAME=""AutoStart"" VALUE=""false"">"
document.write "<PARAM NAME=""ShowControls"" VALUE=""1"">"
document.write "</OBJECT>"
End If
-->
</script>
vorrei un consiglio sul formato del video che devo usare, per fare in modo che anche i pc con windows 98 leggano i video richiamati con questo codice, cosa che adesso non succede. si vede solo con i sistemi operativi + recenti... gli altri sentono solo l'audio. attualmente, come potete vedere, il formato dei video è avi(che speravo funzionasse) con codifica divx... grazie in anticipo. metty