Installing Windows Media Player for all internet browsers
We are making use of WMV video clips on an inner website, and also we are installing them right into internet site. This functions fairly well on Internet Explorer, yet out Firefox. I've located means to make it operate in Firefox, yet after that it quits working in Internet Explorer.
We do not intend to make use of Silverlight right now, specifically given that we can not make certain that all customers will certainly be running Windows XP with Windows Media Player mounted.
Exists some type of Universal Code that installs WMP right into both Internet Explorer and also Firefox, or do we require to implement some user-agent-detection and also supply various HTML for various internet browsers?
You can make use of conditional remarks to get IE and also Firefox to do various points
<![if !IE]> <p> Firefox only code</p> <![endif]> <!--[if IE]> <p>Internet Explorer only code</p> <![endif]-->
The internet browsers themselves will certainly overlook code that isn't suggested for them to read.
The adhering to benefit me in Firefox and also Internet Explorer :
<object id="mediaplayer" classid="clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#version=5,1,52,701" standby="loading microsoft windows media player components..." type="application/x-oleobject" width="320" height="310"> <param name="filename" value="./test.wmv"> <param name="animationatstart" value="true"> <param name="transparentatstart" value="true"> <param name="autostart" value="true"> <param name="showcontrols" value="true"> <param name="ShowStatusBar" value="true"> <param name="windowlessvideo" value="true"> <embed src="./test.wmv" autostart="true" showcontrols="true" showstatusbar="1" bgcolor="white" width="320" height="310"> </object>
Encoding flash video clip is in fact really simple with ffmpeg. You can make use of one command to transform from nearly any kind of video clip layout, ffmpeg is clever sufficient to figure the remainder out, and also it'll make use of every cpu on your equipment. Invoking it is very easy :
ffmpeg -i input.avi output.flv
ffmpeg will certainly rate the bitrate you desire, yet if you would certainly such as to define one, you can make use of the -b alternative, so
-b 500000 is 500kbps as an example. There's a lots of alternatives certainly, yet I usually get excellent outcomes without much tinkering. This is an excellent area to start if you're seeking even more alternatives : video options.
You do not require an unique internet server to show flash video clip. I've done simply great by merely pushing.flv documents up to a typical internet server, and also connecting to them with an excellent swf gamer, like flowplayer.
The ideal means to release video clip on the internet is making use of Flash - it's a lot easier to embed easily right into a website and also will certainly use essentially any kind of internet browser and also system mix. The only factor to make use of Windows Media Player is if you're streaming web content and also you require very solid electronic civil liberties monitoring, and also also after that carriers are currently beginning to make use of Flash also for these. See BBC's iPlayer for a fantastic instance.
I would certainly recommend that you switch over to Flash also for inner usage. You never ever recognize that is mosting likely to require to accessibility it in the future, and also this will certainly offer you the most effective feasible future compatibility.
EDIT - March 20 2013. Intriguing just how these old inquiries resurface periodically! Just how various the globe is today and also just how dated this all appears. I would certainly not advise a Flash just course today whatsoever - ideal technique nowadays would possibly be to make use of HTML 5 to embed H264 inscribed video clip, with a Flash contingency as defined below : http://diveintohtml5.info/video.html