Article View: borland.public.cppbuilder.multimedia
Article #1164Re: Need Help on AVI Player
From: Michael Crapo
Date: Tue, 21 Aug 2001 13:25
Date: Tue, 21 Aug 2001 13:25
52 lines
2152 bytes
2152 bytes
RenS With media player, once you open the file, you can resize the area it plays in, and resize the TRect of the media. TRect Rec; MediaPlayer->Display = Form1; MediaPlayer->Open(); Rec.Left = 0; Rec.Top = 0; Rec.Right = Form1.Width; Rec.Bottom = Form1.Height; MediaPlayer->DisplayRect = Rec; This way you can streach the form to the size of your screen, and the video will be playing full screen. You can also place some code like this in the form resize event, that way you can size the form to whatever you want, and the video will stay that size. I don't know why you are having so much problems playing MPEG files, I play them all the time with TMediaPlayer. Mike p.s. If anyone wishes to send me a email, my address was changed to mcrapo@tng-boi.com - Seems AT&T @Home gave up there contract and so I have been kicked out of my EMail home. On Mon, 20 Aug 2001 18:53:29 +0200, "Rens Gepkens" <RensGepkens@Gelrevision.nl> wrote: >Hi Guys, > >I've made an AVI player, but i can't get the fullscreen funtion to work > >After selecting the AVI it start's playing in autosize mode (autosize from >AVI), >but after that i want the possibility the change to fullscreen. >but i can't get it to work! Any ideas?? >Does anybody know a website about VideoPlayer development? >Can i use MediaPlayer to play MPEG ?? > >GreetZZzz > >RenS > > > >
Technical Details
Message-ID:
<3b825f17.1700585@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsReferences:
<3b813e1a_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d0fc,d5ab3810fb521b73 X-Google-Attributes: gid10d0fc,public X-Google-ArrivalTime: 2001-08-21 06:41:09 PST From: mcrapo@tng-ida.com (Michael Crapo) Newsgroups: borland.public.cppbuilder.multimedia Subject: Re: Need Help on AVI Player Date: Tue, 21 Aug 2001 13:25:11 GMT Message-ID: <3b825f17.1700585@newsgroups.borland.com> References: <3b813e1a_1@dnews> X-Newsreader: Forte Free Agent 1.21/32.243 NNTP-Posting-Host: 207.170.242.1 X-Trace: dnews 998400404 207.170.242.1 (21 Aug 2001 06:26:44 -0700) Lines: 53 Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews