programming.name Posted July 21, 2010 Share Posted July 21, 2010 Hi, Is there a way to stream wide range of video file types like avi, mov, mpg, etc.? What I want to do is to allow users to upload any video files on the server and like wmv extension, I want other file types (especially mpg or mpeg extension) to be played as soon as the page loads. I am running my own server, and so if any server setting is required, I have full control of the server and I have already done with file uploading thing. I only need to implement video file streamming. Thanks. Link to comment https://forums.phpfreaks.com/topic/208419-video-file-streamming-question/ Share on other sites More sharing options...
inversesoft123 Posted July 21, 2010 Share Posted July 21, 2010 <object id="MediaPlayer1" 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="280" height="256"> <param name="fileName" value="Video_Name.mpg"> <param name="animationatStart" value="true"> <param name="transparentatStart" value="true"> <param name="autoStart" value="true"> <param name="showControls" value="true"> <param name="Volume" value="-450"> <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="Video_Name.mpg" name="MediaPlayer1" width=280 height=256 autostart=1 showcontrols=1 volume=-450> </object> Just replace Video_Name.mpg with your video name You can also convert uploaded video to flv (Flash) and stream it like video sharing sites. which is widely preferred. Link to comment https://forums.phpfreaks.com/topic/208419-video-file-streamming-question/#findComment-1089110 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.