I am trying to use AudioContext () in the latest version of Chrome (34.0.1847.114) on a Samsung Galaxy SII 4G, but for some reason AudioContext () does not exist and webkitAudioContext does not work. The exact same code works fine on Nexus 5 and an older phone, such as the Galaxy Nexus, but not on SII. Is HTML5 sound supported on some devices? If not, can someone explain why, or point me to some documentation about AudioContext support?
The exact code I'm using is:
window.AudioContext = window.AudioContext || window.webkitAudioContext;
context = new AudioContext();
Again, this works great on other Android phones. On S2, I get "Uncaught TypeError: undefined is not a function."
source
share