views:

10

answers:

1

I'm using flex 3.

I've successfully played video and audio files by using following libraries:

flash.media.Video
flash.media.Sound

Live docs link.

But the limitations are as follow:

  1. Video class can be used to play only flv file format.
  2. To play mp3 files I must use audio file.

So can I play most of the famous audio/video files by using single method?

Well by checking the file type we can some how achieve it. Then I should create a component for that.

So can any one suggest me such ready-made components? or is there any other alternatives to play audio/video files?

A: 

You want to play any video/audio formats in flash? (Almost) impossible. ActionScript libraries will not help you - ActionScript has not enough power to decompress video in realtime. Maybe this is possible with Alchemy, but I haven't seen codecs implemented this way... Usually, people are converting their content to FLV which is played by Flash player natively.

alxx
Okay may be we can play only flv files. but for mp3 files I'd still like to display waves. Is it possible? how?
Vikas
Google "play mp3 flash", ten top results.
alxx