solve loop issues in most mobile devices which use HTML audio tag