you could else use the Taskable API to have QTJava task that movie
automatically (QTCanvas must be doing similarly), or call TaskMovie in
a loop (make sure you add a Thread.sleep(0) in that loop)
-----
George Birbilis (email@hidden)
Microsoft Most Valuable Professional
MVP J# for 2004 & 2005
http://www.kagi.com/birbilis
QuickTime, Delphi, ActiveX, .NET, IPC
--------------
----- Original Message ----- From: "nathan.freitas" <email@hidden>
To: <email@hidden>
Sent: Thursday, July 14, 2005 6:04 PM
Subject: Re: AWT control playback stops
I've solved my own problem. If I add the movie to the JComponent
within a
QTCanvas it continues to play even in the background. Previously, I was
adding it directly by using "QTFactory.makeQTComponent(movie);".
I suppose the QTCanvas handles the continues generation of events to
keep
the movie playing or something of that nature.
+Nathan
nathan.freitas wrote:
I have a mostly-Swing app that uses Quicktime for Java within it.
Initially, I was using the Swing Quicktime ("makeQTJComponent()"), but
once I realized that the video quality and playback was suffering, I
switched to the AWT Component ("makeQTComponent()"). However, now,
when I
switch focus to another application, video playback in the Java app
stops.
Can someone explain why this is happening, or offer a solution? I would
like playback to continue in the background.
Regards,
Nathan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-java/email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-java/email@hidden
This email sent to email@hidden