A detailed description of iframe shortcode.
Usage
1{{< iframe "URL" >}}
or via named parameters
1{{< iframe
2 src="URL"
3 trigger=manual
4 loadButtonText="load_video"
5>}}
Parameter | Default | Description |
---|---|---|
src |
- | The iframe URL. Required. |
trigger |
auto |
Set it as manual if you want to load the iframe manually. |
lazyLoading |
true |
|
loadButtonText |
load |
The text of load button, i18n is supported. |
loadInfo |
- | The information shown below the load button. Markdown is supported. |
fullscreen |
true |
Show/Hide the fullscreen button. |
评论