Re: jpg & avi
From: Nicholas Sherlock (n_sherlock_at_hotmail.com)
Date: 05/30/04
- Previous message: Rob Kennedy: "Re: Best Way to Implement Registry?"
- In reply to:(deleted message) Tarapia Tapioco: "jpg & avi"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 31 May 2004 07:31:01 +1200
Tarapia Tapioco wrote:
> I'd like my application to play avi files and display jpg files as
> well.
> How can i do that without having to use more than one component and
> without using an external porgram. For example when I click on a
> button a borderless form is launched in which a picture is displayed
> or a video is played. Thank you for you help
You'll almost definitely need two components for this job. For Jpeg display,
just use a TImage - Add 'jpeg' to your uses clause. You can use TMediaPlayer
for playing AVIs, but the user needs the correct codecs installed. If the
AVIs are uncompressed, you might find playing tools on http://www.torry.net
.
Cheers,
Nicholas Sherlock
- Previous message: Rob Kennedy: "Re: Best Way to Implement Registry?"
- In reply to:(deleted message) Tarapia Tapioco: "jpg & avi"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]