Reliveのshort codeを修正する

This commit is contained in:
Kazuhiro MUSASHI 2021-08-13 15:09:39 +09:00
parent cb394876ab
commit 75ab60365d
1 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
{{ if and (.Get "id") (.Get "key") }} {{ if and (.Get "id") }}
<div class="embedly-responsive" style="position: relative;padding-bottom: 78.2227%;height: 0;overflow: hidden;"><iframe class="embedly-embed" frameborder="0" scrolling="no" allowfullscreen src="https://cdn.embedly.com/widgets/media.html?src=https://www.relive.cc/view/{{ .Get "id" }}/widget?r=embed-site&url=https://www.relive.cc/view/{{ .Get "id" }}?r=embed-site&image=https://www.relive.cc/view/{{ .Get "id" }}/png?x-ref=embed-site&key={{ .Get "key" }}&type=text/html&schema=relive" width="1024" height="801" style="position: absolute;top: 0;left: 0;width: 100%;height: 100%;"></iframe></div> <div class="embedly-responsive" style="position: relative;padding-bottom: 78.2227%;height: 0;overflow: hidden;"><iframe class="embedly-embed" frameborder="0" scrolling="no" allowfullscreen src="https://cdn.embedly.com/widgets/media.html?src=https://www.relive.cc/view/{{ .Get "id" }}/widget?r=embed-site&url=https://www.relive.cc/view/{{ .Get "id" }}?r=embed-site&image=https://www.relive.cc/view/{{ .Get "id" }}/png?x-ref=embed-site&key=f1631a41cb254ca5b035dc5747a5bd75&type=text/html&schema=relive" width="1024" height="801" style="position: absolute;top: 0;left: 0;width: 100%;height: 100%;"></iframe></div>
{{ end }} {{ end }}