Add vimeo shortcode
This commit is contained in:
87
exampleSite/content/blog/vimeo-shortcode.md
Normal file
87
exampleSite/content/blog/vimeo-shortcode.md
Normal file
@@ -0,0 +1,87 @@
|
||||
---
|
||||
categories: [paige]
|
||||
date: 2023-01-22
|
||||
description: Demonstration of the Paige Vimeo shortcode.
|
||||
tags: [shortcodes, videos]
|
||||
title: Vimeo Shortcode
|
||||
---
|
||||
|
||||
Code:
|
||||
|
||||
```go-text-template
|
||||
{{</* paige/vimeo "644036051" */>}}
|
||||
```
|
||||
|
||||
Result:
|
||||
|
||||
{{< paige/vimeo "644036051" >}}
|
||||
|
||||
---
|
||||
|
||||
Code:
|
||||
|
||||
```go-text-template
|
||||
{{</* paige/vimeo video="644036051" */>}}
|
||||
```
|
||||
|
||||
Result:
|
||||
|
||||
{{< paige/vimeo video="644036051" >}}
|
||||
|
||||
---
|
||||
|
||||
Code:
|
||||
|
||||
```go-text-template
|
||||
{{</* paige/vimeo
|
||||
autopause=true
|
||||
autoplay=false
|
||||
background=false
|
||||
byline=true
|
||||
color="00adef"
|
||||
controls=true
|
||||
description="My description"
|
||||
dnt=false
|
||||
fullscreen=true
|
||||
keyboard=true
|
||||
loop=false
|
||||
muted=false
|
||||
pip=false
|
||||
playsinline=true
|
||||
portrait=true
|
||||
quality="auto"
|
||||
speed=false
|
||||
texttrack=false
|
||||
time="1m2s"
|
||||
title=true
|
||||
transparent=true
|
||||
video="644036051"
|
||||
*/>}}
|
||||
```
|
||||
|
||||
Result:
|
||||
|
||||
{{< paige/vimeo
|
||||
autopause=true
|
||||
autoplay=false
|
||||
background=false
|
||||
byline=true
|
||||
color="00adef"
|
||||
controls=true
|
||||
description="My description"
|
||||
dnt=false
|
||||
fullscreen=true
|
||||
keyboard=true
|
||||
loop=false
|
||||
muted=false
|
||||
pip=false
|
||||
playsinline=true
|
||||
portrait=true
|
||||
quality="auto"
|
||||
speed=false
|
||||
texttrack=false
|
||||
time="1m2s"
|
||||
title=true
|
||||
transparent=true
|
||||
video="644036051"
|
||||
>}}
|
Reference in New Issue
Block a user