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. |
Examples
OpenStreetMap
< iframe src=“https://www.openstreetmap.org/export/embed.html?bbox=111.34643554687501%2C22.09072990148906%2C114.97192382812501%2C24.397133017391052&layer=mapnik" fullscreen=true >
Game
< iframe src=“https://v6p9d9t4.ssl.hwcdn.net/html/6581665/FeatherParkWeb/index.html" trigger=manual loadButtonText=button_run_game loadInfo=”Please note that the iframe will load the game from other sites.” lazyLoading=false
Comments