Move embed for Odysee into a shortcode.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user