This is a discussion on How to play the videos in PHP within the PHP Programming forums, part of the Web Development category; Hi all, I want to play the video in PHP. How i can play? Thanks, vani...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi all, I want to play the video in PHP. How i can play? Thanks, vani |
|
#2
| |||
| |||
| Hi Vani, lets Try this or search google using keyword as play video using parameter <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"> <PARAM NAME="fileName" VALUE="yourfilehere.mp3"> <PARAM NAME="animationatStart" VALUE="true"> <PARAM NAME="transparentatStart" VALUE="true"> <PARAM NAME="autoStart" VALUE="true"> <PARAM NAME="showControls" VALUE="true"> </OBJECT>
__________________ regards K.Lakshmanan [Web developer] |
|
#3
| |||
| |||
| hi, I think if you want to play a video like MPEG or any other video format from your own server, then u need to have the player either in Flash or any.
__________________ With, J. Jeyaseelan Everything Possible |
|
#4
| |||
| |||
| Hi Lakshmanan and Jeyaseelansarc, I got the result by using the following lines, <object id="MediaPlayer1" width="180" height="200" 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" align="middle"> <param name="FileName" value="file.wmv"> <param name="ShowStatusBar" value="True"> <param name="DefaultFrame" value="mainFrame"> <param name="autostart" value="false"> <embed type="application/x-mplayer2" pluginspage = "http://www.microsoft.com/Windows/MediaPlayer/" src="file.wmv" autostart="false" align="middle" width="276" height="244" defaultframe="rightFrame" showstatusbar="true"> </embed> </object> Thanks & regards, vani |
|
#5
| |||
| |||
| Quote:
|
|
#6
| |||
| |||
| how to capture/record vedio/audio using php?
__________________ Thanks Regards Sureshbabu Harikrishnan ![]() +91 9884320017 |
|
#7
| |||
| |||
| Quote:
You can convert your video to flash video (.flv), then make a flash video player (actually a .swf file) to control the playback of the .flv file, and embed the flash video player to your website with HTML code. The HTML code for embedding .swf file to web is just like this: Code: <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="432" height="330" title="game">
<param name="movie" value="/flash/yourflash.swf" />
<param name="quality" value="high" />
<embed src="/flash/game.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="432" height="330"></embed>
</object> |
|
#8
| |||
| |||
| Thanks for all your post |
|
#9
| |||
| |||
| thanks for providing PHP code it really works for me as a beginner. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Play Youtube videos into my Flash video player | oxygen | Flash Actionscript Programming | 3 | 04-22-2009 04:54 PM |
| media player not playing videos in web design. | suman | Web Design Help | 1 | 08-19-2008 11:47 PM |
| Play MP3 file using C# | oxygen | C# Programming | 0 | 07-19-2007 11:08 PM |
| How to create Real 3D videos that can be viewed with 3D Goggles on TV? | itbarota | Game Development | 1 | 07-19-2007 12:02 AM |
| How to create Real 3D videos that can be viewed with 3D Goggles on TV? | itbarota | Game Development | 0 | 07-17-2007 10:53 PM |
Our Partners |