I have the following scenario.
I show the user some audio files from the server. The user clicks on one, then onFileSelected is eventually executed with both the sel
I was also facing same issue when I want to change "src"-attribute of "embed" element, so what I did, is given below:
var parent = $('embed#audio_file').parent();
var newElement = "
And this will work fine in my application.
Conclusion: - You need to first remove the embed element and then you have to reinsert it with change in src.