Add attribute to provide link to video site.
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
{{ $src := .Param "video_url"
|
||||
}}{{ $width := .Param "video_width" | default (.Param "odyseeVideoWidthPercentage") }}
|
||||
}}{{ $width := .Param "video_width" | default (.Param "odyseeVideoWidthPercentage")
|
||||
}}{{ $url := .Param "video_page"
|
||||
}}
|
||||
<p><a href="{{ $url }}" target="_blank" rel="noopener noreferrer">{{ $url | markdownify }}</a></p>
|
||||
|
||||
<iframe
|
||||
id="odysee-iframe"
|
||||
style="width:{{ $width }}%; aspect-ratio:16 / 9;"
|
||||
src="{{ $src }}"
|
||||
allowfullscreen>
|
||||
</iframe>
|
||||
<br>
|
||||
<br/>
|
||||
|
||||
{{ with .Params.video_desc }}
|
||||
{{ range . -}}
|
||||
|
||||
Reference in New Issue
Block a user