import simplegui sound = simplegui.load_sound('https://www.ezpzjs.org/liftoff.3gp') def soundplay(): global sound sound.play() def soundpause(): global sound sound.pause() def soundrewind(): global sound sound.rewind() frame = simplegui.create_frame('Testing', 100, 200) button1 = frame.add_button('Play', soundplay) button1 = frame.add_button('Pause', soundpause) button1 = frame.add_button('Rewind', soundrewind)