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

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -