internet.com

Developer Channel

SYMM

Windows Media Basics (9)

Testing Our Work
With both the OBJECT and EMBED tags in their proper places, our code will look like this:

<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="yourasffile.asx">

<embed TYPE="application/x-mplayer2"
pluginspage="http://www.microsoft.com/windows95/downloads/
contents/wurecommended/s_wufeatured/mediaplayer/default.asp" SRC="yourasffile.asx"
Name=MediaPlayer
ShowControls=1
ShowDisplay=1
ShowStatusBar=1
width=320 height=290>
</embed>

</OBJECT>

The results should look something like this:

That does it for our look at Windows Media Basics. We'll come back and visit additional Windows Media and Advanced Streaming Format topics farther down. But now it is time to move on and our next installment in the Understanding Streaming Media series will look at important streaming add-ons and services.


<< Prev 12345678 • 9 More >>
 
The Latest WebDev Tips from DevX

Receive news via our XML/RSS feed
XMLRSS



Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers