A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
docs: fix mo.video example (#10731)
Konstantin Taletskiy69747cf588e2
diff --git a/docs/api/media/video.md b/docs/api/media/video.mdindex 1058193c78..ea4c910431 100644--- a/docs/api/media/video.md+++ b/docs/api/media/video.md@@ -6,10 +6,7 @@```python@app.celldef __():- mo.video(- src="https://v3.cdnpk.net/videvo_files/video/free/2013-08/large_watermarked/hd0992_preview.mp4",- controls=False,- )+ mo.video(src="https://docs.marimo.io/_static/readme-ui.mp4")return```diff --git a/marimo/_plugins/stateless/video.py b/marimo/_plugins/stateless/video.pyindex 6a0faf663e..f04ae04bdd 100644--- a/marimo/_plugins/stateless/video.py+++ b/marimo/_plugins/stateless/video.py@@ -58,10 +58,7 @@ def video(Example:```python3# Render a video from a URL- mo.video(- src="https://v3.cdnpk.net/videvo_files/video/free/2013-08/large_watermarked/hd0992_preview.mp4",- controls=False,- )+ mo.video(src="https://docs.marimo.io/_static/readme-ui.mp4")# Render a video from a local filemo.video(src="path/to/video.mp4")diff --git a/marimo/_smoke_tests/media.py b/marimo/_smoke_tests/media.pyindex b8385340b5..30be09dc7e 100644--- a/marimo/_smoke_tests/media.py+++ b/marimo/_smoke_tests/media.py@@ -111,7 +111,7 @@ def _(mo):@app.celldef _(mo):mo.video(- src="https://v3.cdnpk.net/videvo_files/video/free/2013-08/large_watermarked/hd0992_preview.mp4",+ src="https://docs.marimo.io/_static/readme-ui.mp4",rounded=True,)return@@ -120,7 +120,7 @@ def _(mo):@app.celldef _(mo):mo.video(- src="https://v3.cdnpk.net/videvo_files/video/free/2013-08/large_watermarked/hd0992_preview.mp4",+ src="https://docs.marimo.io/_static/readme-ui.mp4",rounded=True,autoplay=True,muted=True,