You can search for an full-source solution.
But - in my opinion - the easiest solution is to use the VLC-player. It can be integrated using it's
DLL "libvlc.dll" and there is a pascal-header for download. VLC can be deployed just by file-copy. But of course the price is the external requirement besides your own exe-file.
Daniel R. Wolf
mit Grüßen aus Hamburg