Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can try this on any new browser.

def done():
    return html('!audio src="http://www.radokirov.com/gong.ogg" autoplay> Your browser does not support the audio element. !/audio>')

for i in range(10**6):
    pass
done()

Replace ! with < . I could not make the code display otherwise.

In the future a function "done()" along with a sound file can be a part of the notebook. I will remove the .ogg file from my server in the future to prevent too much hotlinking (so don't freak out if this doesn't work).