Title: Auto iFrame
Author: Greg Ross
Published: <strong>25 ມີນາ 2015</strong>
Last modified: 2 ທັນວາ 2024

---

ຄົ້ນຫາປລັກອິນ

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

ປລັກອິນນີ້ **ຍັງບໍ່ທັນໄດ້ຮັບການທົດສອບກັບ WordPress 3 ເວີຊັນຫຼັກຫຼ້າສຸດ**. ມັນອາດຈະ
ບໍ່ໄດ້ຮັບການເບິ່ງແຍງ ຫຼື ສະໜັບສະໜູນອີກຕໍ່ໄປ ແລະ ອາດມີບັນຫາການເຮັດວຽກຮ່ວມກັນເມື່ອ
ໃຊ້ກັບ WordPress ເວີຊັນທີ່ໃໝ່ກວ່າ.

![](https://ps.w.org/auto-iframe/assets/icon-256x256.png?rev=3164574)

# Auto iFrame

 ໂດຍ [Greg Ross](https://profiles.wordpress.org/gregross/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/auto-iframe.2.0.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/auto-iframe/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/auto-iframe/#reviews)
 *  [ການຕິດຕັ້ງ](https://lo.wordpress.org/plugins/auto-iframe/#installation)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/auto-iframe/#developers)

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/auto-iframe/)

## ຄຳອະທິບາຍ

A quick and easy shortcode to embed iframe’s that resize to the content of the remote
site.

Auto iFrame shortcode is in the format of:

    ```
    [auto-iframe link=xxx tag=xxx width=xxx height=xxx autosize=yes/no]
    ```

Where:

 * link = the url of the source for the iFrame. REQUIRED.
 * tag = a unique identifier in case you want more than one iFrame on a page. Default
   = auto-iframe.
 * width = width of the iFrame (100% by default). Can be % or px. Default = 100%.
 * height = the initial height of the iframe (100% by default). Can be % or px. 
   Default = 100%.
 * autosize = enable the auto sizing of the iFrame based on the content. The initial
   height of the iFrame will be set to “height” and then resized. Default = true.
 * fudge = a fudge factor to apply when changing the height (integer number, no “
   px”). Default = 50.
 * border = enable the border on the iFrame. Default = 0.
 * scroll = enable the scroll bar on the iFrame. Default = no.
 * query = pass the parent’s page query string to the iFrame. Default = no.

Note: Auto re-sizing of the iFrame for cross domain sites does not work, this is
a security protection provided by the browser and there is no way around it.

Now supports (Shortcode UI)[https://github.com/fusioneng/Shortcake] (aka Shortcake)!

## ພາບໜ້າຈໍ

[⌊Post with short code.⌉⌊Post with short code.⌉[

Post with short code.

## ການຕິດຕັ້ງ

 1. Extract the archive file into your plugins directory in the auto-iframe folder.
 2. Activate the plugin in the Plugin options.

## ຄຳຖາມທີ່ພົບເລື້ອຍ

### The autosize function doesn’t work, what’s wrong?

The first thing to check is that the source of your content is in the same domain
namespace as your site, using a link from another domain name will not work as it
would be a cross site scripting risk. This is part of your browsers security structure
and cannot be worked around.

After that, check your browsers console for any JavaScript errors that may be happening,
there may be conflicting JavaScript on the page causing an error.

## ການຣີວິວ

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

### 󠀁[Generous Author](https://wordpress.org/support/topic/generous-author/)󠁿

 [Laxmikant Bhumkar](https://profiles.wordpress.org/luckybhumkar/) 20 ເມສາ 2025

The plugin has auto size, which is a premium feature. However, thanks to the author,
he generously offered it free without restriction.

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

### 󠀁[Very helpful!](https://wordpress.org/support/topic/very-helpful-1358/)󠁿

 [wpfibi](https://profiles.wordpress.org/wpfibi/) 28 ມິຖຸນາ 2023

This plugin works very fine! Because of caching issues in combination with user 
restrictions I made a page with 20 iFrames, each loading another small page offering
download links. This was the only chance for me to handle it and Auto iFrame made
it possible. The resizing of the iFrames works perfectly. Many thanks for this great
plugin!

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

### 󠀁[Misleading description](https://wordpress.org/support/topic/deceptive-description-3/)󠁿

 [patr100](https://profiles.wordpress.org/patr100/) 7 ກໍລະກົດ 2020 1 ການຕອບກັບ

Very misleading description. Does not work with content from “remote sites” ie not
on the same domain – As stated by others, and despite what the author may insist,“
cross domain” is basically the same as a “remote site”.

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

### 󠀁[Problem is you don’t supply a simple link](https://wordpress.org/support/topic/problem-is-you-dont-supply-a-simple-link/)󠁿

 [adabob](https://profiles.wordpress.org/adabob/) 11 ມິຖຸນາ 2020 1 ການຕອບກັບ

I would assume for the non tech people you would supply a simple code where you 
only enter the link from Google sheets but no. What is this? [auto-iframe link=xxx
tag=xxx width=xxx height=xxx autosize=yes/no] Says “link=xxx” but how do you insert
the link above and where? Makes this an uninstall and waste of time, give a working
sample at least not something we need to figure out

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

### 󠀁[Fantastic](https://wordpress.org/support/topic/fantastic-1919/)󠁿

 [nudone](https://profiles.wordpress.org/nudone/) 9 ກັນຍາ 2018 1 ການຕອບກັບ

Had to leave a review as I think this plugin deserves more praise and attention.
I’d spent a few hours (hate to count how many exactly) trying to get a few other
auto-resize iframe methods working with poor results. It looked like the solution
was to simply accept several more hours of work would be needed… I was beginning
to lose hope. Instead, why not search for a WordPress iframe resizer plugin? The
result, within 5 minutes I had a perfect auto-resizing iframe working – and it was
so easy I almost feel sick with how much time I wasted on the previous methods. 
Thank you Greg. Auto Iframe has genuinely made my day. (Small donation sent.)

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

### 󠀁[Really good and useful plugin](https://wordpress.org/support/topic/really-good-and-useful-plugin-2/)󠁿

 [Terry J](https://profiles.wordpress.org/texasbiz/) 13 ກຸມພາ 2018

Unlike many, I have seen no real issues with the plugin and find it very useful.
In my tests, you simply follow the directions and it just works. No tweaking required
in my experience. Best iFrame plugin I have found here on repository.

 [ ອ່ານການຣີວິວທັງໝົດ 18 ລາຍການ ](https://wordpress.org/support/plugin/auto-iframe/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“Auto iFrame” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມໃນການ
ພັດທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

 *   [ Greg Ross ](https://profiles.wordpress.org/gregross/)

[ແປ “Auto iFrame” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/auto-iframe)

### ສົນໃຈຮ່ວມພັດທະນາບໍ່?

[ເບິ່ງລະຫັດ](https://plugins.trac.wordpress.org/browser/auto-iframe/), ກວດເບິ່ງ 
[ຄັງເກັບ SVN](https://plugins.svn.wordpress.org/auto-iframe/), ຫຼື ຕິດຕາມ [ບັນທຶກການພັດທະນາ](https://plugins.trac.wordpress.org/log/auto-iframe/)
ຜ່ານ [RSS](https://plugins.trac.wordpress.org/log/auto-iframe/?limit=100&mode=stop_on_copy&format=rss).

## ບັນທຶກການປ່ຽນແປງ

#### 2.0

 * Release date: December 2, 2024
 * Fixed: Escape all link parameters.

#### 1.9

 * Release date: October 23, 2024
 * Fixed: Don’t allow links that are javascript code.

#### 1.8

 * Release date: October 7, 2024
 * Fixed: Escape tag attribute to avoid javascript injection.

#### 1.7

 * Release date: July 10, 2022
 * Fixed: unset array key warning for php 8 when scroll is set but autosize hasn’t
   been.

#### 1.6

 * Release date: February 21, 2018
 * Added: name attribute to the iframe.

#### 1.5

 * Release date: March 31, 2017
 * Fixed: WP_DEBUG and JavaScript errors when the auto resize option was not used.

#### 1.4

 * Release date: November 11, 2016
 * Added: Query support

#### 1.3

 * Release date: September 27, 2016
 * Fixed: Fudge factor being ignored when autosizing the iframe.

#### 1.2

 * Release date: November 6, 2015
 * Fixed: Height parameter was being ignored, thanks vantron.

#### 1.1

 * Release date: August 11, 2015
 * Fixed: Make sure to check the frame element and sub-objects exist before using
   them later.

#### 1.0

 * Release date: May 15, 2015
 * Added Shortcode UI support (see https://github.com/fusioneng/Shortcake for details)

#### 0.5

 * Release date: March 25, 2015
 * Initial release.

## ຂໍ້ມູນກຳກັບ (Meta)

 *  ເວີຊັນ **2.0**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **2 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **3,000+**
 *  ເວີຊັນ WordPress ** 3.0 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **6.6.5**
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/auto-iframe/)
 * ແທັກ
 * [iframe](https://lo.wordpress.org/plugins/tags/iframe/)[resize](https://lo.wordpress.org/plugins/tags/resize/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/auto-iframe/advanced/)

## ການໃຫ້ຄະແນນ

 3.6 ຈາກທັງໝົດ 5 ດາວ.

 *  [  ການວິຈານ 5 ດາວ ຈຳນວນ 11 ລາຍການ     ](https://wordpress.org/support/plugin/auto-iframe/reviews/?filter=5)
 *  [  ການວິຈານ 4 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/auto-iframe/reviews/?filter=4)
 *  [  ການວິຈານ 3 ດາວ ຈຳນວນ 1 ລາຍການ     ](https://wordpress.org/support/plugin/auto-iframe/reviews/?filter=3)
 *  [  ການວິຈານ 2 ດາວ ຈຳນວນ 1 ລາຍການ     ](https://wordpress.org/support/plugin/auto-iframe/reviews/?filter=2)
 *  [  ການວິຈານ 1 ດາວ ຈຳນວນ 5 ລາຍການ     ](https://wordpress.org/support/plugin/auto-iframe/reviews/?filter=1)

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

[ເບິ່ງ ຄຳຄິດເຫັນ ທັງໝົດ](https://wordpress.org/support/plugin/auto-iframe/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ

 *   [ Greg Ross ](https://profiles.wordpress.org/gregross/)

## ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

 [ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/auto-iframe/)

## ບໍລິຈາກ

ເຈົ້າຕ້ອງການສະໜັບສະໜູນການພັດທະນາຂອງປລັກອິນນີ້ບໍ່?

 [ ບໍລິຈາກໃຫ້ປລັກອິນນີ້ ](http://toolstack.com/donate)