Skip to main content
Participating Frequently
July 17, 2011
Question

Load avi, wma, etc..

  • July 17, 2011
  • 1 reply
  • 335 views

Hi,

I was wondering if someone found out a way to load dynamically video formats other than "FLA" like "AVI", and the same question about audio files like "WMA".

Is it really impossible?

I want to support it so users in my site could upload these formats and watch them in the player I made, therefore the solution of putting them first in "swf" won't help.

Thx

This topic has been closed for replies.

1 reply

Inspiring
July 17, 2011

As stated in Adobe documentation only certain codecs are supported. Thus, it is impossible to play anything beyond these supported formats outright.

Nevertheless, if you feel adventurous, with introduction of appendBytes() NetStream method in Flash 10.1, one can attempt to play other formats by faking FLV format container. This is not for faint of hart though and success is not warranted.

myqwerAuthor
Participating Frequently
July 18, 2011

Thank you for the quick response.

I wondered if there is some kind of a trick that will make the AVI looks like it play's in flash. Maybe using some sort of an IFRAME.

Maybe inserting the codecs I need somehow...