Simon Jensen
Simon Jensen

Reputation: 77

Adding .wmv-video to site with <video>-tags

It seems that i cannot add .wmv-videos to my site, though some ppl (in Google search) says it can an anothers say it cannot... But i only have these videoes in .wmv-format and therefore have to put them on page in this format.

I have tried many things as:

<video id="sampleMovie" width="300px" height="168px" preload controls>
    <source src="video.wmv" type="video/x-ms-wmv" />
</video>

And also have i rendered my .htaccess

AddType video/x-ms-wmv .wmv

And also without the dot. But what it tells me when i try to load the page with the video is: "No video found with the supporting MIME-type" (It says that on another language than english, so it might not be 100% correct, but the point should be there)

How can i make this work?

Upvotes: 1

Views: 2705

Answers (1)

user3095977
user3095977

Reputation:

You have three options.
One:
WMV files can play in IE with the Windows Media Player object. See this.
Two:
There is no way. No browser (excpet IE with above solution) supports playing WMV files. You will have to convert it into a format that browsers know how to play. A free online converter to MP4 is here and a standalone one is here.

Upvotes: 2

Related Questions