Question

I am creating a website where user can upload video's audio's in different formats but i want a single flash player (or any other player) which open on my web page and plays the respective video or audio.

I have searched a lot on google but could not found any.

Also i dont want to convert the videos on upload because it is too costly in terms of usage of memory and CPU. (i checked for converting 4 video's it took around 70% of CPU and 25 sec. to convert all)

Is there any such player which is used on webpage to play video's/audio's of all formats.

Can we create any such kind of flash player? If yes where shall i start from?

I have got some details here http://activeden.net/category/flash/video-players/video-players.

Can anyone guide me here for the demo or example to see if the above player plays the multiple format players properly, on a website.

OTHER TIPS

Take a look at this open source project: flowplayer.org

It is highly customizable and is able to add audio player:

http://flowplayer.org/plugins/streaming/audio.html#example-flowplayer-as-a-music-box

For .flv, .mp4, and .mp3, FlowPlayer or JWPlayer will work fine. For the other formats, there are a few possibilities, but none of them are as reliable as the above players. For those less suitable file formats, I suggest setting up ffmpeg to automatically convert your files to one of the preferred file formats. You should be able to do that in the server-side code for your upload page.

For reference, the options that I know of for embedding those odd file formats in webpages are embedding Windows Media Player (IE-only), using JWPlayer's Silverlight video player (only works for .wmv and .wma, and only for people with Silverlight), and just linking to the file in the webpage with an <object> or <a> tag (tends to work well with .wav, may work for some people with the other formats - very dependent on what programs are installed on the computer). JWPlayer (due to its HTML5 mode) also has a chance of being able to play odd file formats for some people, mostly depending on their browser.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top