Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Playing protected m4p files and dealing with authorization popup windows



Hi,
 
I am writing an m4a/m4p player using the QTJ classes. When I call movie.start() on a protected (m4p) file that is not authorized on my computer, the authorization popup window appears and gives 2 options:
 
1. Cancel
2. Open Itunes and enter authorization information.
 
If I do the the latter, and enter the correct authorization information, the file will begin to play. If I select Cancel the file does not play. The problem I have is that according to QTJ the file is playing - the movie time continues to increment. Thus, it seems that there is no way for me to check that the song is not actually playing.
 
I've tried using Extremes, Rate and Time callbacks, all of which indicate that the file is playing.
 
I'd appreciate any ideas or comments on how I could determine that the unauthorized m4p file is not being played.
 
Regards,
Sean van der Toorn
 _______________________________________________
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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.