Inline Frame Module

This module ships with an universal inline frame shortcode.

Modulegithub.com/hbstack/iframe
Repository⭐ Please consider giving a star if your like it.
Stars
Version
Used by
Requirements
License
UsageSee how to use modules.

Usage

1{{< hb/iframe "URL" >}}

Or via naming parameters.

1{{< hb/iframe src="URL" trigger=manual >}}

Parameters

ParameterDefaultDescription
src-The iframe URL. Required.
triggerautoSet it as manual if you want to load the iframe manually.
lazyLoadingtrueWhether to enable lazy loading.
loadButtonTextloadThe text of load button.
loadInfo-The information shown below the load button. Markdown is supported.
fullscreentrueShow/Hide the fullscreen button.

Examples

OpenStreetMap

Game

Please note that the iframe will load the game from other sites.

razonyang
Monday, July 15, 2024 Monday, May 29, 2023