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.

 

http://help.adobe.com/en_us/flashplatform/reference/actionscript/3/flash/net/netstream.htm l?allclasses=1#preloadembeddeddata()

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

Popular posts from this blog

CS5 Adobe Media Encoder: Encode failed because the source duration is nil.

cf_sql_integer vs cf_sql_bigint vs cf_sql_int??

localhost/joomla15/administrator doesnt work - Joomla! Forum - community, help and support