actionscript 3 - Get video encoding type or mime type before playing -



actionscript 3 - Get video encoding type or mime type before playing -

i'm developing video player in as3. need switch between mp4 , flv files. easy if do:

netstream.play(encoding + ":" + videosrc);

the problem getting value encoding. don't want rely on extension observe this, since there might not one. thought create head request on file , read content-type header, can't seem urlrequest , urlrequestheader since back upwards post , get. how can observe encoding without kind of prior knowledge?

actionscript-3 flash

Comments

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -