[WordPress] 外掛分享: iFrame – Responsive Embeds for Videos, Maps, Websites & Docs

首頁外掛目錄 › iFrame – Responsive Embeds for Videos, Maps, Websites & Docs
WordPress 外掛 iFrame – Responsive Embeds for Videos, Maps, Websites & Docs 的封面圖片
全新外掛
安裝啟用
尚無評分
10 天前
最後更新
問題解決
WordPress 6.5+ PHP 7.4+ v1.1.1 上架:2026-07-10

內容簡介

iFrame 外掛可將各種網頁內容(如影片、地圖、文件等)嵌入到您的 WordPress 頁面中,並確保其在各種裝置上都能良好顯示。使用者只需貼上連結,即可自動轉換為可嵌入的格式,簡化操作流程。

【主要功能】
• 響應式尺寸調整,適應各種螢幕
• 智能 URL 轉換,自動生成可嵌入格式
• 伺服器端渲染,無需 JavaScript 即可顯示
• 嵌入檢查,避免顯示空白框
• 短碼生成器,輕鬆重複使用 iframe

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「iFrame – Responsive Embeds for Videos, Maps, Websites & Docs」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Live Demo | Support
iFrame puts any web content inside your pages — videos, maps, playlists, design files, documents or whole websites — in an iframe that actually behaves.
Paste a link, get a working embed. Normal page links from YouTube, Vimeo, Dailymotion, Google Maps, Spotify, Loom and Figma are rewritten to their embeddable form automatically; YouTube even switches to the privacy-enhanced no-cookie player. No hunting for “embed URLs”.
It fits every screen. Pick an aspect ratio — 16:9, 4:3, 1:1, 9:16, 21:9 or your own — and the iframe scales with the page instead of overflowing on mobile. Prefer exact dimensions? Fixed width and height still work.
Build once, embed everywhere. The ShortCode Generator gives every iframe you design its own shortcode like [b-iframe id="123"] — paste it into posts, widgets, Elementor or your theme, and edit the iframe in one place.
Fast and search-friendly. Iframes are rendered server-side: crawlers see them, no-JavaScript visitors see them, and your layout never shifts while loading. The editor even warns you when a site refuses to be embedded, before your visitors meet an empty box.
Features

Responsive sizing: Keep an aspect ratio (16:9, 4:3, 1:1, 9:16, 21:9 or custom) so the iframe scales with the page, or set a fixed height.
Smart URL conversion: Paste a normal YouTube, Vimeo, Dailymotion, Google Maps, Spotify, Loom or Figma page link — it is converted to the embeddable form automatically (YouTube uses the privacy-enhanced youtube-nocookie.com player).
Server-side rendering: The iframe is real HTML — visible to search engines and visitors without JavaScript, with no layout shift.
Embed check: The editor warns you when a site refuses to be embedded, before your visitors see an empty box.
ShortCode Generator: Build reusable iframes in the block editor and place them anywhere with [b-iframe id=”123″].
Title: Specify the title for the iframe.
Loading Behavior: Configure the loading behavior.
Full Screen: Activate Full Screen to enable the iframe in full-screen mode.
Layout: Define the width and height for the iframe.
Design: Apply borders and shadows to enhance the iframe’s visual appearance.

How to use

Install and activate iFrame.
Add the iFrame block in the editor and paste any URL — recognised links convert automatically.
Pick a sizing mode (aspect ratio or fixed), style it, publish.

Or open iFrame → Add New ShortCode to build a reusable iframe and paste its shortcode anywhere — even [iframe src="https://…" ratio="16:9"] works directly.

For installation help click on Installation Tab.

Feedback

Did you like this plugin? Dislike it? Do you have a feature request? Please share your feedback with us

Check out the Parent Plugin of this plugin-
B Blocks – A blocks collection and page building tool for Gutenberg.
Check out our other WordPress Plugins-
Html5 Video Player – Display videos as single and playlist in multiple skins.
PDF Poster – Display/Embed PDF files with different styles.
Html5 Audio Player – Listen audios with awesome visuals.
StreamCast – Customizable radio player with different skins.
3D Viewer – Embed 3D models and 3D products with interaction.
Advanced Post Block – Show posts and custom posts in different layouts.
ShortCode
Use the following ShortCode to Embed Iframe.

[iframe src='https://bplugins.com' title='bPlugins Website' width='100%' height='800px' loading='auto' border_width='2px' border_style='solid' border_color='#146EF5' border_radius='8px']

External services
This plugin uses the Freemius SDK for optional usage tracking and update notifications. No data is sent unless you explicitly opt in on the consent screen shown after activation — choosing Skip keeps the plugin fully functional with no data shared. When you opt in, basic WordPress environment information and your email are sent to Freemius. Freemius terms: https://freemius.com/terms/ — privacy policy: https://freemius.com/privacy/
Source Code
The complete, un-minified source code for this plugin’s JavaScript and CSS is included in the src/ directory of the plugin, and is also available on GitHub:
iFrame on GitHub
Build instructions
The compiled files in build/ are generated from src/ using @wordpress/scripts (webpack). To build them yourself:

Install Node.js (18+) and npm.
From the plugin directory, run npm install to install the build dependencies (see package.json).
Run npm run build to compile src/ into the minified files in build/.
Run npm start instead for a development build with file watching.

The build tooling is configured in package.json and webpack.config.js. The full development setup, including the linting configuration, is available in the GitHub repository linked above.
Third-Party Libraries
This plugin bundles the following third-party JavaScript/PHP libraries.
bpl-tools

Source / GitHub: https://github.com/bPlugins/bpl-tools
License: GPL-2.0-or-later – https://www.gnu.org/licenses/gpl-2.0.html
Purpose: Shared utility library providing admin dashboard components and common Gutenberg editor controls.
External Services: The library may connect to bPlugins, WordPress.org, and Freemius services for product data and checkout functionality. See full details: https://github.com/bPlugins/bpl-tools#external-requests–why-they-are-made

文章
Filter
Mastodon