View Full Version : Embedding wmv file

06-28-2009, 07:49 PM
I have embedded a wmv video file into a webpage.
Works fine on my PC and another I checked it on, however I have found out that it does not work on another two.

Code I used to embed was

<object classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112" type="application/x-oleobject" width=320 height=286 align="middle" standby="Loading Windows Media Player components..." id="MediaPlayer">

<param name="filename" value="http://www.mydomain.co.uk/tours/mydomain.wmv">
<param name="Showcontrols" value="True">
<param name="autoStart" value="True">

<embed src="http://www.mydomain.co.uk/tours/mydomain.wmv" width=320 height=240 align="middle" type="application/x-mplayer2"></embed>

Is the likely problem out of date browsers?
Or do I need to modify my code?

Any guidance appreciated.

06-29-2009, 08:37 AM
Have a look at http://www.alistapart.com/articles/byebyeembed

06-29-2009, 06:59 PM
Thanks for the link, I will try the alternate coding.

06-30-2009, 01:39 PM
The video clip starts off with about three stills, on the computers that wont play the video the first still comes up and stops there.

is there any loss in quality converting to flv?

06-30-2009, 07:41 PM
alternate coding (from link) tried, but still no luck.

If media player was not installed would it even show the frst frame?

07-05-2009, 10:02 PM
well the flv plays ok on my pc and the ones that previously would not play the video. the downside seems to be the loss in quality when converting from wmv to flv.

I think I have to find a way around the embedded wmv problem.
Although I am reluctant to do so, I am considering upping it to youtube.

07-08-2009, 12:04 AM
I am having the same type of problem. Videos play fine on my computer when I view in a browser but don't play when the page is published. I have looked for several days in forums for an answer to this problem and have not had any luck. So I have come to ask for help...I hope it is not bad etiquette to piggy-back on another person's post. There are two pages currently that have my videos on them. One which was built with a table and one built with DIVs and CSS (preferred). Can someone please look at my two pages and tell me why I can't get the video to play. Currently only the Christmas and Valentines Day videos are uploaded to the website.