buddhika2010 Posted March 14, 2011 Share Posted March 14, 2011 i want to play a avi file in a php web page . i need a sample code and player for this ..pls put some link to achieve this.this avi files are allocate in the web directory ....its not out side links thx Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted March 14, 2011 Share Posted March 14, 2011 There are plenty of examples of this found via google. One example is http://www.w3schools.com/media/media_browservideos.asp But it's not really a PHP question, since it's all done with HTML. Ken Quote Link to comment Share on other sites More sharing options...
buddhika2010 Posted March 14, 2011 Author Share Posted March 14, 2011 thx.this is not work out for me Quote Link to comment Share on other sites More sharing options...
QuickOldCar Posted March 14, 2011 Share Posted March 14, 2011 You can use the divx embed to play a divx or avi file. http://labs.divx.com/WebPlayerCodeGenerator Quote Link to comment Share on other sites More sharing options...
buddhika2010 Posted March 14, 2011 Author Share Posted March 14, 2011 tell me the code how to do this Quote Link to comment Share on other sites More sharing options...
QuickOldCar Posted March 14, 2011 Share Posted March 14, 2011 I gave you the code generator page already. http://labs.divx.com/WebPlayerCodeGenerator Quote Link to comment Share on other sites More sharing options...
buddhika2010 Posted March 14, 2011 Author Share Posted March 14, 2011 where is the player code Quote Link to comment Share on other sites More sharing options...
QuickOldCar Posted March 14, 2011 Share Posted March 14, 2011 filling out the form and clicking generate makes the code, here's an example i did. <object classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616" width="320" height="260" codebase="http://go.divx.com/plugin/DivXBrowserPlugin.cab"> <param name="custommode" value="none" /> <param name="previewImage" value="image.png" /> <param name="autoPlay" value="false" /> <param name="src" value="video.avi" /> <embed type="video/divx" src="video.avi" custommode="none" width="320" height="260" autoPlay="false" previewImage="image.png" pluginspage="http://go.divx.com/plugin/download/"> </embed> </object> <br />No video? <a href="http://www.divx.com/software/divx-plus/web-player" target="_blank">Download</a> the DivX Plus Web Player. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.