Add Windows Media Player to your Delphi Applications.

Delphi ships with a component ‘TMediaPlayer’ for playing media files such as video and audio. This component remains in Delphi for the sake of compatibility with older versions, but is quite out-dated and, due to a decreasing number of compatible codecs, it is becoming difficult to maintain. There is however an alternative component for Windows, the Microsoft Windows Media Player ActiveX component.

[ Read how to use Windows Media Player in your Delphi applications here. ]

 

Print Friendly, PDF & Email
Facebooktwitterredditpinterestlinkedintumblrmail

2 thoughts on “Add Windows Media Player to your Delphi Applications.”

  1. HEY there

    I tried to integrate the Windows-Media-player, in a C++ Buildeer app. Using the approach You outlined in your post 2017-01-19. I works, but I can’t set a filename at rutime, If I do as suggested in your FormCreate event, i get: OLE error C00D1327. And I can’t find any information, on that error code,

    But using the exact same file, typinge the name in at design time.as you show, No ploblem. It runs fine.

    Any ideas where to find info on yhe OLE error, or how to by-pass it.

    REgards
    Freedy

Leave a Comment