DRM video playback - HELP PLEASE
i have searched , searched , searched online cant find , can adobe doesnt have examples, building air desktop video player application , want able play videos drm such bought itunes movies or dvd/bluray digital copy's(if possible, if not go ahead , tell me please). had done far this.
var netconnection:netconnection = new netconnection();
netconnection.connect(null);
var netstream:netstream = new netstream(netconnection);
netstream.client = this;//this works
var netoptions:netstreamplayoptions = new netstreamplayoptions();
netoptions.streamsource = "videofile.m4v";
netoptions.preloadembeddeddata(netoptions);
function onmetadata(e:object):void {
trace(e);
}
function ondrmcontentdata(e:object):void {
trace(e);
}
now, regular video file, onmetadata event fires , traces out , works fine. if try , play itunes bought movie, neither onmetadata or ondrmcontentdata events fire , have no way of knowing going on. ideas? or examples or telling me im doing wrong awesome. thank you.
i have never dealt drm in flash onmetadata method called when, well, there metadata injected video. not encoders inject metadata - not automatic. in other words, there videos without metadata. guess itunes videos don't have metadata.
by way, able play itune purchased videos in flash @ all?
More discussions in ActionScript 3
adobe
Comments
Post a Comment