kamblack/AudioFade

fade is not working...

Opened this issue · 0 comments

Hello,
I tried to use the plugin but the fade effect is not working. When I use the loop attribute nothing happend, no sound. When I don"t use the loop attribute sound start when scroll but there is no fade.
Do you have an idea of the problem?
Edit : In fact it is working on IE but not on Chrome. Chrome doesn't support the line:
if (this.element.hasAttribute("loop")) {
this.element.play(); <--------Domexception
Thank you.