Between the editor and the save, the code is sanitized.
I'm not sure which code is allowed and which is not, but from what you say, it's possible that audio control is not supported.