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.
Although I am not familiar with this aspect of the API, I am guessing
that you may need
to look at the problem differently. Basically think of the movie as
playing, but not
being decoded with the right codec. For this reason what you should
do is add a test
to find out:
- whether the movie required authorization
- whether the movie was given authorization
Andre
_______________________________________________
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