This extension allows Quarto users to integrate videos (and their transcription) from Mux using a simple shortcode.
quarto add rfortherestofus/mux-videoThis will install the extension under the _extensions subdirectory.
If you're using version control, you will want to check in this directory.
Important
The same video (by playback ID) cannot be inserted into the same Quarto page twice.
Inside your Quarto file, use the shortcode:
{{< mux-video <playback_id> >}}
And if you want to have the transcripts as well, you can use:
{{< mux-video <playback_id> with_transcript=true >}}
Here is the source code for a minimal example: example.qmd.