My android 4 tablet does not play audio in my asp.net web pages

  • Replies:0
Adrian Dobson
  • Forum posts: 1

Jun 22, 2012, 4:40:03 PM via Website

I am a complete beginner with using Android devices.
I have developed an asp.net web application using Microsoft Visual Studio. It runs on desktops and netbooks ok.
I now wish to use a tablet with Android 4.0.3 Ice Cream Sandwich.
Apart from needing to optimise my layout most things are ok except on one page I have conditional server side logic that can play a short wav file to notify the user of an event. I have tried using an mp3 with type="audio/mpeg" and no luck.

<object type="audio/x-wav" data="../sounds/notify.wav" width="200" height="200">
<param name="src" value="../sounds/notify.wav"/>
<param name="autoplay" value="true"/>
<param name="autoStart" value="-1"/>
<param name="controller" value="false"/>
</object>

Do I need to add someting to the Tablet or change my web design.
Whatever web tweaks may be required they have to fit in with my existing asp.net 4 application.
Thanks for any help

Reply