Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- in the winwheel.js file (most likely called winwheel_1.2.js) in the function startSpin(determinedValue) (around line 130) you want
- to add following code right below "var stopAngle = undefined;"
- //
- var Wheelsound = new Audio('youraudiofile.mp3');
- Wheelsound.play();
- //
- the sound file should be in the same directory as the js file
- that worked for me and should also work for you :) good luck with the wheel.
Advertisement
Add Comment
Please, Sign In to add comment