Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internet Explorer 10 - Looped Audio plays only twice #921

Closed
Take5dev opened this issue Mar 14, 2018 · 1 comment
Closed

Internet Explorer 10 - Looped Audio plays only twice #921

Take5dev opened this issue Mar 14, 2018 · 1 comment

Comments

@Take5dev
Copy link

Take5dev commented Mar 14, 2018

audioPlayer = new Howl({
	src: ['audio.aac', 'audio.mp3'],
	loop: true
});

In Internet Explorer 10 audio from this code plays only twice
so I had to add not very beautiful solution like:

onend: function() {
	if(ie && ie <= 10) {
		// tricky IE10 bug
		audioPlayer.play();
	}
}

It seems to me that after 1st play a looped sound object is copied without (or with wrong) loop param.

@st-eugene
Copy link

The same for IE11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants