Move embed for Odysee into a shortcode.

This commit is contained in:
2025-11-19 20:08:44 -07:00
parent 0a9c7270fb
commit 2a9523a63b
2 changed files with 10 additions and 3 deletions

View File

@@ -22,8 +22,8 @@ aliases:
## Video ## Video
<iframe id="odysee-iframe" style="width:65%; aspect-ratio:16 / 9;" src="https://odysee.com/%24/embed/%40HyperVegan%3A2%2F20251104-HyperVegan-WoodenCampingChair%3A9?r=4q2dQKSs36tFPf8KCfHEopK8EYPchiaG" allowfullscreen></iframe> {{< odysee "https://odysee.com/%24/embed/%40HyperVegan%3A2%2F20251104-HyperVegan-WoodenCampingChair%3A9?r=4q2dQKSs36tFPf8KCfHEopK8EYPchiaG"
>}}
[HyperVegan | Wooden Camping Chair](https://odysee.com/@HyperVegan:2/20251104-HyperVegan-WoodenCampingChair:9) [HyperVegan | Wooden Camping Chair](https://odysee.com/@HyperVegan:2/20251104-HyperVegan-WoodenCampingChair:9)

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>