Multi Media'S
- Started
- Last post
- 6 Responses
- ********
I need to be able to play different meida, namely mp3, ra and wma in an html player.... now I know I can detect the mp3 and launch a nice snazzy flash player for it... but how do i skin for ra or wma... Is it possible?
- maximillion_0
you can use php's PECL library or mime_content_type function
- ********0
ah no... I need to be able to skin a real audio file... or a wma file... I can do it easily with a flash file for mp3... but you can't do that for wma and ra... so can i make a javascript thing that will do it?
- ********0
anyone... or anyone know of a site that does it? just so i know it can be done!
- acescence0
yes, you can embed realplayer and essentially hide it, then control it via javascript
basically you assign the embed a name, then reference that name in your js calls using the predefined methods, like name.DoPlay()
it's all here:
http://service.real.com/help/lib…
- madirish0
that is exactly what max is suggesting- use PHP to sniff the content type and then push that through the flash player you build.
make sense?
- ********0
how do you push real audio through flash?