Audio Keep Repeating #202

Closed
opened 2019-04-26 10:57:13 -05:00 by farishrf · 2 comments
farishrf commented 2019-04-26 10:57:13 -05:00 (Migrated from github.com)

There is an issue the Audio is keep repeating, not only the audio even javascript code

This is the code
if(response.replysound != 'undefined' && response.replysound){ alert(14); var audio = new Audio('./sound.mp3'); audio.play(); }
Explain: When I enter the page thats contain Audio or any code JS. and go another page like home, I wait 5 seconds and Its keep Alerting 14, and playing audio! I've tried everything I can but its not work. I hope you guys fix it.

There is an issue the Audio is keep repeating, not only the audio even javascript code This is the code ` if(response.replysound != 'undefined' && response.replysound){ alert(14); var audio = new Audio('./sound.mp3'); audio.play(); }` Explain: When I enter the page thats contain Audio or any code JS. and go another page like home, I wait 5 seconds and Its keep Alerting 14, and playing audio! I've tried everything I can but its not work. I hope you guys fix it.
BehindTheMath commented 2019-04-28 21:42:17 -05:00 (Migrated from github.com)

You need to show some more code if you want help.

You need to show some more code if you want help.
farishrf commented 2019-04-29 09:07:21 -05:00 (Migrated from github.com)

Well, thats it https://hastebin.com/asodarepaw.js
as u can see in line 84 there is an alert , audio. What is the problem? I'll tell u while moving from page to page using pjax its execute the line 84 etc.

Well, thats it https://hastebin.com/asodarepaw.js as u can see in line 84 there is an alert , audio. What is the problem? I'll tell u while moving from page to page using pjax its execute the line 84 etc.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: iLoveElysia/pjax#202