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

audio file is playing twice #6

Open
owkooy opened this issue Aug 10, 2017 · 0 comments
Open

audio file is playing twice #6

owkooy opened this issue Aug 10, 2017 · 0 comments

Comments

@owkooy
Copy link

owkooy commented Aug 10, 2017

audiovideoplayer.zip
Hi Andries,
I've used the version for Mx 6.10.8 and ran into an issue with the autoplay of the audio. I'll try to explain the occurence:

  • The incident was that it played the audio twice and of which the first time it only played the first half of the audio file, followed by the second play.
  • using the console.log I noticed that the audio function is called two times despite the settings were on: Autoplay: yes, loop: no.
  • Not knowing how this happens, I've solved it by using a counter and only playing the sound when the function audio is being used the second time. When I tried it on only the first time only the partial sound was being played.

See attached file for the adjustment.

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

1 participant