views:

10

answers:

1

Hi Guys,

I am newbie to mobile application development, Can you please help me, how to get default media player in all mobile devices (Android, MS XP Notebook, Symbian, iPhone..etc) and customize play controls, streaming and download using Javascript?

Thanks in Advance Sri

A: 

Javascript doesn't have access to anything outside of the browser, or any of the internal functioning of the browser (with a few exceptions).

I'm fairly sure what you're trying to accomplish isn't possible using Javascript.

The furthest extent you could get to would be to detect the incoming user_agent (identifier for the browser) to figure out what device they're on then make an educated guess.

Maybe try this: http://www.quirksmode.org/js/detect.html

Jamie Wong