javascript - What is the best form to develop an asp.net web app video player that supports All Format Videos in all Browsers? -
hope can me in question.
i'm developing media center web app in asp.net using html5 - jquery , want play format videos (.avi, .mp4, .mov, .wmv, .flv, .swf (optional)) in browsers (ie, safari, chrome, firefox , opera).
so, tried options, using html5 object tag; first 1 uses windows media player, wmp plays .avi, .mp4, .mov, .wmv nicely works in internet explorer :(
<object id="mediaplayer" width="800" height="600" classid="clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95" standby="loading windows media player..." type="application/x-oleobject"> <param name="filename" value="download/clubmelgar.mov"/> <param name="showcontrols" value="true"/> <param name="showstatusbar" value="false"/> <param name="showdisplay" value="false"/> <param name="autostart" value="true"/> <embed type="application/x-mplayer2" src="download/clubmelgar.mov" name="mediaplayer" width="192" height="190" showcontrols="1" showstatusbar="0" showdisplay="0" autostart="0"> </embed> </object>
the second option similar first, i´m using quicktime player, quicktime plays in browsers except important (chrome) :( , plays media formats (mov,mpeg-4 (.mp4, .m4v))
<object classid="clsid:02bf25d5-8c17-4b23-bc80-d3488abddc6b" width="320" height="180" codebase="http://www.apple.com/qtactivex/qtplugin.cab"> <param name="src" value="download/clubmelgar.mov"/> <param name="autoplay" value="true"/> <param name="controller" value="false"/> <embed src="download/clubmelgar.mov" width="320" height="180" autoplay="true" controller="false" pluginspage="http://www.apple.com/quicktime/download/"> </embed> </object>
the third option use html5 tag suppports .mp4 , .ogg files :(
<video height="272" width="480" preload="auto" controls="controls"> <source src="html5demo.mp4" type='video/mp4; codecs="avc1.420e01e, mp4a.40.2"'/> <source src="html5demo.ogg" type='video/ogg; codecs="theora, vorbis"'/> </video>
so need orientation in best way play video file formats using html5 or jquery , same time compatible internet browsers.
thanks in advance.
i think flowplayer in give try is open source easy integrate in web application need download , references js , swf files , go, more on have plugin support streaming devices such iphone, , ipad.
Comments
Post a Comment