cleanup shortcode html
This commit is contained in:
parent
31cb15e071
commit
4d2a962e8a
@ -61,6 +61,12 @@ An image using the built-in "figure" shortcode:
|
|||||||
|
|
||||||
{{< figure src="/img/allan-bloom.jpg" caption="Allan Bloom" width="650px" >}}
|
{{< figure src="/img/allan-bloom.jpg" caption="Allan Bloom" width="650px" >}}
|
||||||
|
|
||||||
|
Here's a vanilla video player:
|
||||||
|
|
||||||
|
{{</* video "https:\/\/cloud.gmgauthier.com\/index.php\/s\/B5sPam2QnofAFnf\/download\/Peterson_Murphy_Alienation.mp4" */>}}
|
||||||
|
|
||||||
|
{{< video "https://cloud.gmgauthier.com/index.php/s/B5sPam2QnofAFnf/download/Peterson_Murphy_Alienation.mp4" >}}
|
||||||
|
|
||||||
Here's youtube video:
|
Here's youtube video:
|
||||||
|
|
||||||
{{</* youtube Y9tVfnPHbcQ */>}}
|
{{</* youtube Y9tVfnPHbcQ */>}}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<div style="text-align: center;">
|
<div style="text-align: center;">
|
||||||
<iframe src="https://anchor.fm/{{ index .Params 0 }}/embed/episodes/{{ index .Params 1 }}"
|
<iframe src="https://anchor.fm/{{ index .Params 0 }}/embed/episodes/{{ index .Params 1 }}"
|
||||||
height="95px" width="425px" frameborder="0" scrolling="no"></iframe>
|
height="95px" width="425px" style="border-width: 0"></iframe>
|
||||||
</div>
|
</div>
|
@ -1,5 +1,5 @@
|
|||||||
<div><center>
|
<div style="text-align: center;">
|
||||||
<audio controls>
|
<audio controls>
|
||||||
<source src="{{ index .Params 0 }}" type="audio/mpeg">
|
<source src="{{ index .Params 0 }}" type="audio/mpeg">
|
||||||
</audio>
|
</audio>
|
||||||
</center><div>
|
</div>
|
@ -1,4 +1,7 @@
|
|||||||
<center><div>
|
<div style="text-align: center;"><div>
|
||||||
<iframe type="text/html" width="640" height="360" src="https://www.bitchute.com/embed/{{ index .Params 0 }}/" allowfullscreen style="border: none;" scrolling="no" frameborder="0">
|
<iframe type="text/html" width="640" height="360" style="border-width: 0"
|
||||||
|
src="https://www.bitchute.com/embed/{{ index .Params 0 }}/"
|
||||||
|
allowfullscreen>
|
||||||
</iframe>
|
</iframe>
|
||||||
</div></center>
|
</div>
|
||||||
|
</div>
|
@ -1,4 +1,4 @@
|
|||||||
<div style="text-align: center;"><div class="embed odysee-player">
|
<div style="text-align: center;"><div class="embed odysee-player">
|
||||||
<iframe class="lbry-iframe" type="text/html" width="640" height="385"
|
<iframe class="lbry-iframe" type="text/html" width="640" height="385" style="border-width: 0"
|
||||||
src="https://odysee.com/$/embed/{{ index .Params 0 }}" allowfullscreen frameborder="0"></iframe>
|
src="https://odysee.com/$/embed/{{ index .Params 0 }}" allowfullscreen></iframe>
|
||||||
</div></div>
|
</div></div>
|
8
layouts/shortcodes/video.html
Normal file
8
layouts/shortcodes/video.html
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<div style="text-align: center;">
|
||||||
|
<figure>
|
||||||
|
<video controls src="{{ index .Params 0 }}" type="video/mpeg" width="640px" height="385px"
|
||||||
|
style="border-width: 0">
|
||||||
|
<figcaption>{{index .Params 1}}</figcaption>
|
||||||
|
</video>
|
||||||
|
</figure>
|
||||||
|
</div>
|
@ -1,5 +1,6 @@
|
|||||||
<div style="text-align: center;"><div class="embed video-player">
|
<div style="text-align: center;"><div class="embed video-player">
|
||||||
<iframe class="youtube-player" type="text/html" width="640" height="385" src="https://www.youtube.com/embed/{{ index .Params 0 }}" allowfullscreen frameborder="0">
|
<iframe class="youtube-player" type="text/html" width="640" height="385" style="border-width: 0"
|
||||||
|
src="https://www.youtube.com/embed/{{ index .Params 0 }}" allowfullscreen>
|
||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue
Block a user