Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Audio player #43
I'm wondering if there's a recognised way of displaying an audio media player as part of cell output in a Jupyter / IRkernel notebook?
What I'd like to be able to do is something like:
There doesn't seem to be a display function for it - is the best route to try to wrap something as an HTMLwidget and then render that?
jupyterlab/notebook renders it all so you’d need a renderer that accepts an audio mime type on their side: https://github.com/jupyterlab/jupyterlab/blob/v0.34.7/packages/rendermime/src/factories.ts
Ah - thanks...
Works fine, thanks, once fully declared, eg:
Or without autoplay: