Piyush Jain
Piyush Jain

Reputation: 1881

How to embed WMV files in my html5 file

I am trying to embed some s3 WMV file urls in my html page, but the code below is not working.

<object classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Microsoft® Windows® Media Player components..." type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsm p2inf.cab#Version=6,4,7,1112"> 
    <param name="fileName" value="http://www.ladieda.com/mymovie.wmv"> 
    <param name="autoStart" value="false"> 
    <param name="showControls" value="true"> 
    <param name="AllowChangeDisplaySize" value="true"> 
    <param name="ClickToPlay" value="true"> 
    <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="http://www.ladieda.com/mymovie.wmv" autoStart="false" ></embed>
</object>

Upvotes: 1

Views: 3223

Answers (2)

Rishi
Rishi

Reputation: 351

As L.S said most web browsers do not support WMV files, however services like https://vid.me/ allow for you to upload WMV files for free and using their embed code you may be able to resolve this issue.

Hope this helps!

Upvotes: 1

user7582130
user7582130

Reputation:

I think this may be because nearly every browser does not support WMV as a type of file. Aside from IE, this type of format is unlikely to be compatible with most browsers.

Find an online file converter which the file format to WMV to Mp4 or something else.

This might help:

http://video.online-convert.com/convert-to-mp4

Upvotes: 1

Related Questions