// Standard HTML5 implementation of StartMusic.
function Html5StartMusic(music)
{
var player = document.getElementById('musicPlayer');
player.volume = 0.1;
player.setAttribute('src', 'music/' + music + '.ogg');
player.play();
}
设置音量在 PC Chrome 中有效,但在 Android 2.3 Webkit 中无效。有没有其他方法可以让它工作?
问候,