fixed youtube performance issues and added new shortcut

This commit is contained in:
Nuno Coração
2024-03-10 11:02:47 +00:00
parent e17c4b6dd6
commit 40908cb3c3
3 changed files with 12 additions and 36 deletions
+3 -11
View File
@@ -1,12 +1,4 @@
{{- $content := split .Inner "\n" -}}
{{- $initialString := .Get "initialString" | default "" -}}
{{- $speed := .Get "speed" | default 100 -}}
{{- $lifeLike := .Get "lifeLike" | default false -}}
{{- $startDelay := .Get "startDelay" | default 0 -}}
{{- $breakLines := .Get "breakLines" | default true -}}
{{- $waitUntilVisible := .Get "waitUntilVisible" | default true -}}
{{- $loop := .Get "loop" | default false -}}
{{- $id := .Get "id" | default "SgXhGb-7QbU" -}}
{{- $label := .Get "id" | default "Blowfish" -}}
<lite-youtube videoid="ogfYd705cRs" playlabel="Play: Keynote (Google I/O '18)"></lite-youtube>
<lite-youtube videoid="{{ $id }}" playlabel="{{ $label }}"></lite-youtube>