WMT
Home ] hoger ]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Windows Media Technologies

 Ook Microsoft heeft zijn eigen streaming audio gemaakt met bijbehorende encoder en players. De stelling is dat de qualiteit van deze wmt encoding deze van mp3 is aan de helft van de grootte en bovendien streaming is .

Laat ons dat even  uittesten.

De media bestanden  hebben de uitgang *.asf ( advanced streaming format ) . De bijbehorende bestanden  *.asd bevatten textuele informatie zoals bijvoorbeeld de gebruikte bandbreedte.

Meer informatie ?

 

Embedding van *.asf in een webpagina

Hier zijn verschillende opties mogelijk.

Vooreerst kan een player worden geinstalleerd zoals de sonic of de microsoft media player die wmf bestanden herkend en afspeelt. De html code maakt gebruik van de object -tag en  is devolgende:

<OBJECT ID="MediaPlayer" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en
/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft Windows Media Player components..."
TYPE="application/x-oleobject">

<PARAM NAME="FileName" VALUE="mms://server/asxfile">
</OBJECT>

<!--HAVE USERS WITH BROWSERS THAT CANNOT EMBED PLAY IN WINDOWS MEDIA PLAYER-->
<a HREF="http://server/path/myvideo.asx">Start the Windows Media Services
presentation in the stand-alone player.</a>

Bijkomende parametrisaties kunnen ingebed worden zoals:

Function
Parameter for Windows Media Services <OBJECT> Tag
No controls
<PARAM NAME="ShowControls" VALUE="FALSE">
Display controls
<PARAM NAME="ShowControls" VALUE="TRUE">
Start ASF when page loads
<PARAM NAME="AutoStart" VALUE="TRUE">
Start ASF when user clicks on it
<PARAM NAME="ClickToPlay" VALUE="TRUE">
Stop the Windows Media Services animation at the
beginning of the ASF
<PARAM NAME="TransparentAtStart" VALUE="TRUE">

Er worden dan deze regels toegevoegd aan de code:

<PARAM NAME="FileName" VALUE="http://server/file.asx">
<PARAM NAME="AnimationatStart" VALUE="true">
<PARAM NAME="TransparentatStart" VALUE="true">
<PARAM NAME="ControlType" VALUE="2">
<PARAM NAME="AutoStart" VALUE="true">

Of u kan een plugin inlassen in de pagina op de volgende manier:

<Embed TYPE="application/x-mplayer2"
pluginspage=
"http://www.microsoft.com/windows95/downloads/contents/wurecommended/s_wufeatured/mediaplayer/default.asp"
SRC="http://server/file.asx"
Name=MediaPlayer
ShowControls=1
ShowDisplay=1
ShowStatusBar=1
autostart=0
</embed>

<!--HAVE USERS WITH BROWSERS THAT CANNOT EMBED PLAY IN WINDOWS MEDIA PLAYER-->
<a HREF="http://server/path/myvideo.asx">Start the Windows Media Technologies
presentation in the stand-alone player.</a>

 Laat ons het uitproberen

 

 

 

       

 

KaHo

vorige Home

gewijzigd op 19/09/00

auteurs: Raoul Meuldermans

reviewer :