Languages :: Delphi :: How do I use Windows Media Player in Delphi 7 |
|||
| By: digitaltree |
Date: 02/06/2003 00:00:00 |
Points: 50 | Status: Answered Quality : Excellent |
|
I planned to write a fairly simple video/music playing in Delphi as a learning app. Im new. And I was wondering how to use windows media player as a component. In Visual Basic it was fairly easy to do but VB uses active X components and delphi does not. Is there a free component that lets you use the WMP? Thanks. |
|||
| By: VGR | Date: 02/06/2003 17:56:00 | Type : Answer |
|
| you're wrong, it's exactly the same in Delphi starting in D2. In D4, integrating the WMPlayer is as simple as this : Tools "System", icon "MediaPlayer" With MediaPlayer1 do begin Filename := 'Clock.avi'; //specify video file DeviceType := dtAVIVideo; //set Device compatibility to AVI Display := Panel1; //Set display device to a TPanel Open; Play; end; |
|||
| By: Virgoir | Date: 03/06/2003 02:46:00 | Type : Comment |
|
| hi you can use ActiveMovie ActiveX in Delphi. this is a powerful thing for play any movie or Music.. for instal this in Component/Import ActiveX Control... find Microsoft ActiveMovie Control and Click Install button . now you can use ActiveX to your project... I hope useful... |
|||
| By: esoftbg | Date: 03/06/2003 07:48:00 | Type : Assist |
|
| download simple Delphi 6 source code aviD6.source.exe from <A HREF="http://eo-soft.addr.com/">http://eo-soft.addr.com/</a> emil |
|||
| By: esoftbg | Date: 08/04/2004 07:36:00 | Type : Comment |
|
| My website <A HREF="http://eo-soft.addr.com/">http://eo-soft.addr.com/</a> was destroyed, but the same source code could be downloaded from: <A HREF="http://geocities.com/esoftbg/">http://geocities.com/esoftbg/</a> and the same link aviD6code.zip example - TMediaPlayer emil |
|||
|
Do register to be able to answer |
|||
©2010 These pages are served without commercial sponsorship. (No popup ads, etc...). Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Please DO link to this page!








