Hello,
Do simple <audio> tags in a markDown cell with a local audio file are supposed to work in JupyterHub ? The same notebook has working sound when the notebook is opened in a local JupyterLab server.
S.
Hello,
Do simple <audio> tags in a markDown cell with a local audio file are supposed to work in JupyterHub ? The same notebook has working sound when the notebook is opened in a local JupyterLab server.
S.
Nobody knows, really ??
Hey, we need more information to resolve your issue.
Hello,
This is a simple html audio tag, like this one
<audio src="sample-3s.wav" controls/>
I have written a simple notebook with the Python kernel, a Markdown cell with the above tag, the “sample.wav” file uploaded in the notebook’s folder. When open in a local Jupyter lab (4.5.7), I got the followingn (you see that the sample is 3s length and is playing):
but the same notebook run on a Jupyter Hub (Tljh distribution, Jupyter lab 4.4.7) does not correctly recognize the sample and clicking the play button leaves 0:00/0:00 and no sound is playing.
Can you share the javascript console logs, especially any errors?
Semi related, we are considering adding a dedicated renderer for encoded audio/video files in a future JupyterLab version: Added support for rendering audio and video mime types by itsmevichu · Pull Request #17767 · jupyterlab/jupyterlab · GitHub