Mailing Lists: Apple Mailing Lists

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

Re: Playing protected m4p files and dealing with authorization popup windows



On Dec 7, 2006, at 3:34 PM, Daniel Giribet wrote:

I recall Chris Adamson made some comments on the ability --or rather, inability-- to play protected file using QT4J. Maybe you can look them up at the macdevcenter site.

Authorized iTunes music has worked for me (just checked). TV shows and shorts didn't when I tried a while back (and blogged it), but I haven't tried again lately. I accidentally deleted my copy of a Pixar short, but just bought some Blue's Clues for the kids and... nope.


[aeris:books/qtj developer's notebook/code] cadamson% ant run-ch02- basicqtplayer
Buildfile: build.xml


init:
     [echo] qtjavazip.file = /System/Library/Java/Extensions/QTJava.zip

ch01:
[javac] Compiling 3 source files to /Users/cadamson/Documents/ O'Reilly/books/qtj developer's notebook/code/classes


ch02:
[javac] Compiling 9 source files to /Users/cadamson/Documents/ O'Reilly/books/qtj developer's notebook/code/classes


run-ch02-basicqtplayer:
[java] quicktime.std.StdQTException[QTJava: 6.1.5g],-2126=notAllowedToSaveMovieErr,QT.vers:7138000
[java] at quicktime.std.StdQTException.checkError (StdQTException.java:38)
[java] at quicktime.std.movies.Movie.fromFile(Movie.java:211)
[java] at quicktime.std.movies.Movie.fromFile(Movie.java:174)
[java] at com.oreilly.qtjnotebook.ch02.BasicQTPlayer.main (BasicQTPlayer.java:52)



I've been meaning to look at quicktime.std.RestrictionSet and see if that can at least give a heads-up that a given Movie won't import, won't play, won't export, etc. Would be nice to fail gracefully, at least. Has anyone else done anything with this class?


--Chris



_______________________________________________
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
References: 
 >Re: Playing protected m4p files and dealing with authorization popup windows (From: Daniel Giribet <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.