Stopping Sound
in
Contributed Library Questions
•
9 months ago
Hi everyone, I have a problem with processing and it involves stopping the sound of a video when that video changes to a new video with a keyPress switch. The videos change by pressing the numbers on a keyboard. I tried inserting the 'player.pause' code inside each keyPress state that loads a new video, hoping that this would stop the audio, but it doesn't.
I am using the GSVideo library as well.
Any ideas would be very much appreciated :)
Thanks and here is my code.
1