PDA

View Full Version : WMV Streaming not viewable on every PC


marijn
1-24-05, 05:59 PM
Hi,

I've created a little site for a dancestudio of a friend of mine.
He gave me some videos, which I converted to WMV and then to ASF ASX.
I linked these and added a frame with buttons to play, pause and stop the streaming.

You can see it all here:

http://www.moves.nl/2004/workshops/workshops.php

The problem is that it doesn't play on every PC (with IE5.5+, broadband, etc..), which does play other videos.
Could it have something to do with the following line:
"http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft® Windows® Media Player components..."

Is the 5,1,52,701 some sort of version of the file I created, or an old version number which needs a little update, so that it will start downloading the latest MediaPlayer when visitors try to play the video? It's beats me for the moment....

Any help is more than welcome :)

Rick_E
1-24-05, 08:53 PM
You might try embedding without specifying the player, especially because the file will not play for those with security set to "high". This is because the security prevents the Active control from executing.

To embed the media file in your web page, insert the following tag into the HTML where you want the player to appear, substituting your file name.

<embed src="yourfile.wmv">

This method of embedding is preferred because it does not use an ActiveX control. Here's a fancier version of the embedding code that sets the size, border and alignment of the player. You can change the parameters as desired.

<embed src="yourfile.wmv" width="320" height="285" align="center" style="border: 2px solid #808080; "><noembed>A Media Player is required.</noembed>

I don't believe the ASX will help you when HTTP streaming with progressive download from the Powweb site. I believe the ASX is useful when on a media server. I always just link right to the file.

Rick_E
1-24-05, 09:01 PM
For what it's worth, this seems to be the current code recommended by FrontPage to insert an ActiveX player...

<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="WindowsMediaPlayer1">
<param name="URL" value="myfile.wmv">
<param name="rate" value="1">
<param name="balance" value="0">
<param name="currentPosition" value="0">
<param name="defaultFrame" value>
<param name="playCount" value="1">
<param name="autoStart" value="-1">
<param name="currentMarker" value="0">
<param name="invokeURLs" value="-1">
<param name="baseURL" value>
<param name="volume" value="50">
<param name="mute" value="0">
<param name="uiMode" value="full">
<param name="stretchToFit" value="0">
<param name="windowlessVideo" value="0">
<param name="enabled" value="-1">
<param name="enableContextMenu" value="-1">
<param name="fullScreen" value="0">
<param name="SAMIStyle" value>
<param name="SAMILang" value>
<param name="SAMIFilename" value>
<param name="captioningID" value>
<param name="enableErrorDialogs" value="0">
Media Player Required.
</object>