Move embed for Odysee into a shortcode.

This commit is contained in:
me committed 2025-11-19 20:08:44 -07:00
1 parent 0a9c7270fb
commit 2a9523a63b
2 files changed
+10 -3

No files matched your search

+8 -1
View File
@@ -1 +1,8 @@
TBD/TODO
{{ $src := .Get 0 | default (.Get "url") | default (.Get "src")
}}{{ $width := .Get 1 | default (.Get "width") | default "65" }}
<iframe
id="odysee-iframe"
style="width:{{ $width }}%; aspect-ratio:16 / 9;"
src="{{ $src }}"
allowfullscreen>
</iframe>