Start a new topic

Detecting iOS/Android platform from JS.

Detecting iOS/Android platform from JS.


HI:

How can I detect if I'm running JS on iOS or Android from code? I need to play the video on external browser on Android and in internal browser on iOS. How can I do it?

BR,

 

 

Javier.

 

Hi you can simple pass the parameter when is loaded the world; but you can also read the agent with js and see what browser are using (chrome= android);(safari=ios)
Login or Signup to post a comment