I would like to play a song in my website. It works fine for all updated browsers in web, but it didn't work for mobile browsers. Please see below code:
<object type="application/x-shockwave-flash" data="dewplayer.swf" width="200" height="20" id="dewplayer" name="dewplayer">
<param name="wmode" value="transparent" />
<param name="movie" value="dewplayer.swf" />
<param name="flashvars" value="mp3=om_gananadam_thumbi_kaiyyil.mp3&autostart=1" />
</object>
Is there a way to work this on mobile browsers?
Mobile devices, by and far, do not support flash. You'll need to look into playing your music via html5 - http://www.w3schools.com/html/html5_audio.asp