You can use Windows Media Player as an ActiveX control.
Cheers,
Ignacio
Is that type supported by the Media Component or is there a 3rd party
component that supports playing these files?
I need basic playback support (playing in a TPanel, with start/stop
functionality)
Peter
"Ignacio Vazquez" <ivazquezATorioncommunications.com> wrote in message
news:3ed2...@newsgroups.borland.com...
Heh. I've never actually used WMP as an ActiveX control, so I don't know how
you can do that with it. I think that you'd have to play it, since WMP
itself probably doesn't know until the file plays. But all is not lost;
digging through the Platform SDK help I find...
You can use DirectShow with the Video Renderer Filter, and use
IBasicVideo.get_VideoHeight and .get_VideoWidth.
Hope That Helps,
Ignacio