Title: iframe
Author: webvitalii
Published: <strong>Igbe 28, 2011</strong>
Last modified: Èbìbí  17, 2026

---

Ṣàwárí àwọn plugin

![](https://ps.w.org/iframe/assets/banner-772x250.png?rev=2713983)

![](https://s.w.org/plugins/geopattern-icon/iframe_99a44b.svg)

# iframe

 Láti ọwọ́ [webvitalii](https://profiles.wordpress.org/webvitaly/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/iframe.6.0.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/iframe/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/iframe/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/iframe/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/iframe/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/iframe/)

## Àpèjúwe

 * **[Advanced iFrame](https://r.freemius.com/13759/8047958/)**
 * **[iframe](http://web-profile.net/wordpress/plugins/iframe/)**
 * **[Donate](http://web-profile.net/donate/)**
 * **[GitHub](https://github.com/webvitalii/iframe)**

[iframe src=”http://www.youtube.com/embed/7_nAZQt9qu0Ìtumọ̀ Yorùbá: ″ width=”100%”
height=”500Ìtumọ̀ Yorùbá: ″] shortcode
 should show something like this:

WordPress removes iframe html tags because of security reasons.
 Iframe shortcode
is the replacement of the iframe html tag and accepts the same params as iframe 
html tag does. You may use iframe shortcode to embed content from YouTube, Vimeo,
Google Maps or from any external page.

If you need to embed content from YouTube, Vimeo, SlideShare, SoundCloud, Twitter
via direct link, you may use `[embed]http://www.youtube.com/watch?v=7_nAZQt9qu0[/
embed]` shortcode.
 [embed] shortcode is a core WordPress feature and can [embed content from many resources via direct link](https://codex.wordpress.org/Embeds).

**Important**: You can not embed HTTP pages into HTTPS pages and vice versa.
 So
the protocol (http or httpS) for parent and embedded page should match.

#### iframe params:

 * **src** Ìtumọ̀ Yorùbá: – source of the iframe: `[iframe src="http://www.youtube.
   com/embed/7_nAZQt9qu0"]`; by default src=”http://www.youtube.com/embed/7_nAZQt9qu0Ìtumọ̀
   Yorùbá: ″;
 * **width** Ìtumọ̀ Yorùbá: – width in pixels or in percents: `[iframe width="100%"]`
   or `[iframe width="600"]`; by default width=”100%”;
 * **height** Ìtumọ̀ Yorùbá: – height in pixels: `[iframe height="500"]`; by default
   height=”500Ìtumọ̀ Yorùbá: ″;
 * **scrolling** Ìtumọ̀ Yorùbá: – with or without the scrollbar: `[iframe scrolling
   ="no"]`; by default scrolling=”yes”;
 * **frameborder** Ìtumọ̀ Yorùbá: – with or without the frame border: `[iframe frameborder
   ="0"]`; by default frameborder=”0Ìtumọ̀ Yorùbá: ″;
 * **marginheight** Ìtumọ̀ Yorùbá: – height of the margin: `[iframe marginheight
   ="0"]`; removed by default;
 * **marginwidth** Ìtumọ̀ Yorùbá: – width of the margin: `[iframe marginwidth="0"]`;
   removed by default;
 * **allowtransparency** Ìtumọ̀ Yorùbá: – allows to set transparency of the iframe:`[
   iframe allowtransparency="true"]`; removed by default;
 * **id** Ìtumọ̀ Yorùbá: – allows to add the id of the iframe: `[iframe id="custom_id"]`;
   removed by default;
 * **class** Ìtumọ̀ Yorùbá: – allows to add the class of the iframe: `[iframe class
   ="custom_class"]`; by default class=”iframe-class”;
 * **style** Ìtumọ̀ Yorùbá: – allows to add the css styles of the iframe: `[iframe
   style="margin-left:-30px;"]`; removed by default;
 * **same_height_as** Ìtumọ̀ Yorùbá: – allows to set the height of iframe same as
   target element: `[iframe same_height_as="div.sidebar"]`, `[iframe same_height_as
   ="div#content"]`, `[iframe same_height_as="body"]`, `[iframe same_height_as="
   html"]`; removed by default;
 * **any_other_param** Ìtumọ̀ Yorùbá: – allows to add new parameter of the iframe`[
   iframe any_other_param="any_value"]`;
 * **any_other_empty_param** Ìtumọ̀ Yorùbá: – allows to add new empty parameter 
   of the iframe (like “allowfullscreen” on youtube) `[iframe any_other_empty_param
   =""]`;

## Àwọn àwòrán ìbòjú

[⌊[iframe] shortcode⌉⌊[iframe] shortcode⌉[

[iframe] shortcode

## Ìgbéwọlẹ̀

 1. install and activate the plugin on the Plugins page
 2. add shortcode `[iframe src="http://www.youtube.com/embed/7_nAZQt9qu0" width="100%"
    height="500"]` to page or post content

## Àwọn àgbéyẹ̀wò

![](https://secure.gravatar.com/avatar/22ad7f9c17a3b1a405d4576e0f0dba8d7209c77ce7fab88d59a4ec418820f573?
s=60&d=retro&r=g)

### 󠀁[works just fine](https://wordpress.org/support/topic/works-just-fine-207/)󠁿

 [cynops](https://profiles.wordpress.org/cynops/) Ògún 17, 2024

IÌtumọ̀ Yorùbá: ’ve been using this for several years to embed a public webcam livestream.
And also using it to embed google docs. I download the google doc as html, put it
on the same server where wordpress is, and embed it with iframe. No problems whatsoever.

![](https://secure.gravatar.com/avatar/bfc436280859ce52eb825ff29d67d2457a2a61406b4e3408b57ecd6dd1fe08e8?
s=60&d=retro&r=g)

### 󠀁[Like they said, it simply does NOT work AT ALL](https://wordpress.org/support/topic/like-they-said-it-simply-does-not-work-at-all/)󠁿

 [cohler](https://profiles.wordpress.org/cohler/) Èbìbí 24, 2023

It does not work AT ALL. You can enter all the shortcodes you like in as many widgets
and text boxes as you like. And they do ABSOLUTELY NOTHING. This is total fakeware.

![](https://secure.gravatar.com/avatar/27d3220844ca94677912c62d1511bfe39fe38bfa8dc8534f6a444e050e8b8fa3?
s=60&d=retro&r=g)

### 󠀁[Fast Support and Easy to Use](https://wordpress.org/support/topic/fast-support-and-easy-to-use/)󠁿

 [choas](https://profiles.wordpress.org/choas/) Ṣẹrẹ 9, 2021

An easy to use plugin with fast and practical support from its developer. More frequently
and providing options to generate the shortcode on the posting page could make it
even better! Thanks so much!

![](https://secure.gravatar.com/avatar/67b86abc839bcd50dec4c11384986d55668a8d66b0d2fc378d95b6ad5e6e54f1?
s=60&d=retro&r=g)

### 󠀁[It just didnÌtumọ̀ Yorùbá: ’t work](https://wordpress.org/support/topic/it-just-didnt-work-2/)󠁿

 [lmoraless](https://profiles.wordpress.org/lmoraless/) Ọwẹ́wẹ̀ 23, 2020 4 àwọn 
ìdáhùn

Instructions are not clear, short code just take me to a YouTube video even when
I place my own url. Not recommended!

![](https://secure.gravatar.com/avatar/edb2251ac262ffca97873fe4e5c0314a9c5c8e92067c9854e6d961ebaab7d2c7?
s=60&d=retro&r=g)

### 󠀁[Worked great for PowerBI chart](https://wordpress.org/support/topic/worked-great-for-powerbi-chart/)󠁿

 [robbace999](https://profiles.wordpress.org/robbace999/) Èbìbí 14, 2020

Used this to put in a State PowerBI chart on our hospitals intranet page. Worked
great and was super simple. Thank you!

![](https://secure.gravatar.com/avatar/281f63431dfe02e96ba1384af0cc1ecd1f60c03ce671e5e8894c3bcada4544f7?
s=60&d=retro&r=g)

### 󠀁[so good](https://wordpress.org/support/topic/so-good-181/)󠁿

 [yoonsic742](https://profiles.wordpress.org/yoonsic742/) Èbìbí 3, 2020

so good~~!

 [ Ka gbogbo àwọn àgbéyẹ̀wò 56 ](https://wordpress.org/support/plugin/iframe/reviews/)

## Àwọn Olùkópa & Olùgbéejáde

“iframe” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin
yìí.

Àwọn Olùkópa

 *   [ webvitalii ](https://profiles.wordpress.org/webvitaly/)

[Túmọ̀ “iframe” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/iframe)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/iframe/), ṣàyẹ̀wò [ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/iframe/),
tàbí ṣe àgbékalẹ̀ sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/iframe/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/iframe/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 6.0

 * added settings page

#### 5.2

 * minor update

#### 5.1

 * removed srcdoc attribute completely

#### 5.0

 * fixed the $atts string/array error.

#### 4.9

 * sanitized srcdoc attribute more.

#### 4.8

 * sanitized srcdoc attribute.

#### 4.7

 * remove all attributes starting with “on”. Examples: onload, onmouseover, onfocus,
   onpageshow, onclick.

#### 4.6

 * removed onmouseover and onfocus attributes.

#### 4.5

 * sanitize URL.

#### 4.4

 * minor cleanup.

#### 4.3

 * minor refactoring.

#### 4.2

 * minor bugfixing.

#### 4.1

 * removed onpageshow and onclick params. Reason: XSS vulnerability (thanks to dxw.
   com).

#### 4.0

 * removed get_params_from_url param. Reason: XSS vulnerability (thanks to dxw.com).
   
   If you still need this feature you can [download iframe ver 3.0[(https://wordpress.
   org/plugins/iframe/developers/) and stick to it but keep in mind of XSS vulnerability.
 * removed onload param. Reason: XSS vulnerability (thanks to dxw.com).
 * escaping attributes

#### 3.0

 * removed same_height_as=”content”, same_height_as=”window”, same_height_as=”document”
   features because it was not working properly
 * rewrote the javascript-code using pure JavaScript and without jQuery Ìtumọ̀ Yorùbá:–
   no need to load jQuery for every site using iframe plugin
 * removed function_exists check because each function has unique prefix
 * code refactored
 * update docs
 * set height=”500Ìtumọ̀ Yorùbá: ″ instead of 480 by default
 * set scrolling=”yes” instead of “no” by default

#### 2.9

 * remove ‘&’ from the end of the string in ‘get_params_from_url’ param

#### 2.8

 * remove fix for google maps

#### 2.7

 * minor changes

#### 2.6

 * minor changes

#### 2.5

 * added ‘get_params_from_url’ (thanks to Nathanael Majoros)

#### 2.4

 * minor changes

#### 2.3

 * small fixes
 * added (src=”http://www.youtube.com/embed/7_nAZQt9qu0Ìtumọ̀ Yorùbá: ″) by default

#### 2.2

 * fixed bug (Notice: Undefined index: same_height_as)

#### 2.1

 * added (frameborder=”0Ìtumọ̀ Yorùbá: ″) by default

#### 2.0

 * plugin core rebuild (thanks to Gregg Tavares)
 * remove not setted params except the defaults
 * added support for all params, which user will set
 * added support for empty params (like “allowfullscreen” on youtube)

#### 1.8

 * Added style parameter

#### 1.7

 * Fixing minor bugs

#### 1.6.0

 * Added auto-height feature (thanks to Willem Veelenturf)

#### 1.5.0

 * Using native jQuery from include directory
 * Improved “same_height_as” parameter

#### 1.4.0

 * Added “same_height_as” parameter

#### 1.3.0

 * Added “id” and “class” parameters

#### 1.2.0

 * Added “output=embed” fix to Google Map

#### 1.1.0

 * Parameter allowtransparency added (thanks to Kent)

#### 1.0.0

 * Initial release

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **6.0**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **oṣù 1 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **70,000+**
 *  Ẹ̀yà WordPress ** 3.0 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **7.0**
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/iframe/)
 * Àwọn àmì
 * [embed](https://yor.wordpress.org/plugins/tags/embed/)[Google Maps](https://yor.wordpress.org/plugins/tags/google-maps/)
   [iframe](https://yor.wordpress.org/plugins/tags/iframe/)[vimeo](https://yor.wordpress.org/plugins/tags/vimeo/)
   [youtube](https://yor.wordpress.org/plugins/tags/youtube/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/iframe/advanced/)

## Àwọn ìbò

 4.4 lára àwọn ìràwọ̀ 5.

 *  [  46 5-star reviews     ](https://wordpress.org/support/plugin/iframe/reviews/?filter=5)
 *  [  2 4-star reviews     ](https://wordpress.org/support/plugin/iframe/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/iframe/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/iframe/reviews/?filter=2)
 *  [  7 1-star reviews     ](https://wordpress.org/support/plugin/iframe/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/iframe/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/iframe/reviews/)

## Àwọn Olùkópa

 *   [ webvitalii ](https://profiles.wordpress.org/webvitaly/)

## Ìrànlọ́wọ́

Àwọn ọ̀ràn tí a yanjú ní oṣù méjì tó kọjá:

     0 nínú 1

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/iframe/)

## Ṣe ìtọrẹ

Ṣé o fẹ́ ṣe àtìlẹ́yìn fún ìlọsíwájú plugin yìí?

 [ Ṣe ìtọrẹ sí plugin yìí ](http://web-profile.net/donate/)