Over the last several months, I’ve been using Tableau to rebuild my long-neglected website. Tableau is part of the Elixir Tools project headed by @mhanberg, and is built on top of MDEx by @leandrocp. This library is one of ten libraries and Elixir extensions that I built. Most of these were built with the assistance of Kiro.
MDExVideoEmbed is an MDEx plugin for embedding videos with an emphasis on privacy preservation. It can be extended to support multiple video services that provide enhanced privacy options, but it currently embeds YouTube videos via youtube-nocookie.com with click-to-load consent (cookies are not set at all until the video is clicked).
Similar to MDExMermaid, it uses code blocks (```) to make embedding videos in textual content like a Tableau blog easy.
Example
markdown = """
```video-embed source=youtube
1bt-FHaFVH8
title=Red Hands by Walk Off the Earth
start=15
```
"""
MDEx.to_html!(markdown, plugins: [MDExVideoEmbed])
This generates:
<div class="video-embed youtube-embed">
<div class="consent-overlay">
<p>Click to load video from YouTube</p>
<button>Load Video</button>
</div>
</div>






















