javascript - Audio tag doesn't always play when triggered in IE(10) -


i have audio tag on page, works fine of times. when working on ie 10, after few days, play once. hint find has ie's cache, since crtl-r reload seems temporary fix (and not desirable solution/work-around in particular web-app).

i append audio tag jquery body using

$('<audio id="notifyaudio"> <source src="/admin/includes/notification.ogg" type="audio/ogg"> <source src="/admin/includes/notification.mp3" type="audio/mpeg> </audio>').appendto('body');` 

and trigger using $('#notifyaudio')[0].play();

anyone familiar problem or known bug?


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -