| Charles 2007-07-29, 10:20 pm |
| Hi,
I am trying to embed asf videos produced by my camcorder into a html
page.
To do so, I have copied some code from the web (see below).
Unfortunately this does not work. More precisely:
- on Firefox: windows media player is shown on the page but its
display zone stays black and pressing the "play" button has no
(visible) effect
- on Internet Explorer: for some people the video shows up properly in
the player, for some people it behaves as in Firefox.
Since this code works on the page where I get it from and since the
only difference is the video itself, I assume there is something wrong
with the asf file. But the file plays fine locally (I mean in my
desktop, on windows) in windows media player.
Questions:
- Is this a know issue of asf?
- Should I convert my video to a different format?
Thanks in advance for any help or suggestions.
Charles.
Code:
<object ID="MediaPlayer" WIDTH="256" HEIGHT="250" CLASSID="CLSID:
22d6f312-b0f6-11d0-94ab-0080c74c7e95" CODEBASE="http://
activex.microsoft.com/activex/controls/mplayer/en/
nsmp2inf.cab#Version=5,1,52,701" STANDBY="Please Wait While
Loading..." TYPE="application/x-oleobject">
<param NAME="FileName" VALUE="myvideo.asf">
<param NAME="AnimationatStart" VALUE="false">
<param NAME="TransparentatStart" VALUE="true">
<param NAME="AutoStart" VALUE="true">
<param NAME="ShowControls" VALUE="true">
<param NAME="ShowAudioControls" VALUE="true">
<param NAME="ShowPositionControls"
VALUE="false">
<param NAME="EnableTracker" VALUE="true">
<param NAME="ShowTracker" VALUE="true">
<param NAME="ShowStatusBar" VALUE="true">
<embed SRC="myvideo.asf" NAME="MediaPlayer"
AnimationAtStart="0" TransparentAtStart="0" ShowControls="1"
ShowAudioControls="1" ShowPositionControls="0" EnableTracker="1"
ShowTracker="1" ShowStatusBar="0" AUTOSTART="1" Width="256"
Height="250" TYPE="application/x-mplayer2" pluginspage="http://
www.microsoft.com/windows95/downloa...yer/default.asp"></embed>
</object>
|