Skip to main content
This topic has been closed for replies.

1 reply

Participating Frequently
January 23, 2013

I've been trying to get an AIR osmf offline player to play a drm signed file (which online works). I managed to save the voucher to a file in the hard drive, but when i try to play the video without an internet connection, and use the saved voucher using storevoucher method, i get an error message: ReferenceError: Error #1069: Property storeVoucher not found on flash.net.drm.DRMManager and there is no default value.

AIR version 3.5.0.1060

http://forums.adobe.com/message/5015855#5015855

jrunrandy
Adobe Employee
Adobe Employee
January 23, 2013

Are you running it with file://// or http:// ? Flash Player has different sandboxing when you use the file protocol.

Let me know if that doesn't work and I'll drag in someone who knows what they're taking about. :-)

Regards,

Randy Nielsen

Senior Content and Community Manager

Adobe

Participating Frequently
January 25, 2013

Hi Martin,

Here is what the developer said:

"storeVoucher is a newer API (starting AIR 3.0 I think) so maybe when he compiled his swf he targeted an older AIR version. " I think that this means you should

  • Ensure your xmlns is set to http://ns.adobe.com/air/application/3.0 or higher (since you're using SDK 3.5, I recommend setting it to 3.5.

  • Maybe check to see if you're specifying swf-version in your compile. It should be set to 13 or higher (18 for AIR 3.5)

HTH,

-Randy


Randy, swf-version solved the issue! thanks!

But I'm now having problems with the saved voucher... Should a voucher saved in the fylesystem, and then loaded in a bytearray and stored using storevoucher work offline?

Perhaps i misunderstood the whole concept of storevoucher..

Thanks!