Add height, max{height,width}, width video params

This commit is contained in:
Will Faught
2023-03-03 20:19:33 -08:00
parent d54682b8d3
commit b8259e8e96
7 changed files with 152 additions and 2 deletions

View File

@@ -10,6 +10,7 @@
{{ $height := .Get "height" }}
{{ $keyboard := .Get "keyboard" | default true }}
{{ $loop := .Get "loop" }}
{{ $maxheight := .Get "maxheight" }}
{{ $maxwidth := .Get "maxwidth" }}
{{ $muted := .Get "muted" }}
{{ $pip := .Get "pip" }}
@@ -115,6 +116,8 @@
{{ partial "paige/video.html" (dict
"fullscreen" $fullscreen
"height" $height
"maxheight" $maxheight
"maxwidth" $maxwidth
"referrerpolicy" $referrerpolicy
"src" $src
"title" $description

View File

@@ -6,6 +6,7 @@
{{ $height := .Get "height" }}
{{ $list := .Get "list" }}
{{ $loop := .Get "loop" }}
{{ $maxheight := .Get "maxheight" }}
{{ $maxwidth := .Get "maxwidth" }}
{{ $mute := .Get "mute" }}
{{ $referrerpolicy := .Get "referrerpolicy" | default "no-referrer-when-downgrade" }}
@@ -69,6 +70,8 @@
{{ partial "paige/video.html" (dict
"fullscreen" $fullscreen
"height" $height
"maxheight" $maxheight
"maxwidth" $maxwidth
"referrerpolicy" $referrerpolicy
"src" $src
"title" $description