Advertisement

How do I show a local video file with object and embed tags?

Started by April 18, 2012 08:50 PM
0 comments, last by Alpha_ProgDes 12 years, 9 months ago
I really need some help with this. And it seems ...no one... can figure this out. :(

But how do I fix this so it plays a video?

So my video file is in C:\inetpub\wwwroot\Videos\Test\intro.wmv. I just want to run the local video file locally on my web page.
It has to run on IE8/WinXP. So no HTML5.
This is what I have so far:

<object width="100%" height="100%"
type="video/x-ms-asf" url="http://localhost/Videos/Test/intro.wmv" data="intro.wmv"
classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
<param name="url" value="http://localhost/Videos/Test/intro.wmv">
<param name="filename" value="intro.wmv">
<param name="autostart" value="1">
<param name="uiMode" value="full" />
<param name="autosize" value="1">
<param name="playcount" value="1">
<embed type="application/x-mplayer2" src="http://localhost/Videos/Test/intro.wmv" width="100%" height="100%" autostart="true" showcontrols="true" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"></embed>
</object>

Beginner in Game Development?  Read here. And read here.

 

Don't worry, I mistyped the path. It works. Ugh.

Beginner in Game Development?  Read here. And read here.

 

This topic is closed to new replies.

Advertisement