play avi on the panel

i need to play avi file on the panel
i know hot to resize the panel but how to force media control to play avi on the panel and not to open new window
please give me a example

Who is Participating?
AndyJohnConnect With a Mentor Commented:
Drop a TAnimate on the TPanel.  Set the TMediaPlayer Display property to point at the TAnimate and away you go.
xtvcaAuthor Commented:
thanks I will try your proposal
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.