control-engineering-with-python icon indicating copy to clipboard operation
control-engineering-with-python copied to clipboard

Adapt video element for Jupyter target

Open boisgera opened this issue 3 years ago • 0 comments

Use the pattern:

from IPython.display import HTML
HTML("""
<video style="width:100%" controls>
<source src="videos/tear.mp4" type="video/mp4"> 
Your browser does not
support the video tag.
</video>
""")

boisgera avatar Feb 24 '22 23:02 boisgera