| 1 |
=== Iframe === |
| 2 |
Contributors: webvitaly |
| 3 |
Plugin URI: http://web-profile.com.ua/wordpress/plugins/iframe/ |
| 4 |
Tags: iframe, embed |
| 5 |
Author URI: http://web-profile.com.ua/wordpress/ |
| 6 |
Requires at least: 3.0 |
| 7 |
Tested up to: 3.2 |
| 8 |
Stable tag: 1.1.0 |
| 9 |
|
| 10 |
You can embed iframe with [iframe width="640" height="480" src="http://vimeo.com/123"] shortcode. |
| 11 |
|
| 12 |
== Description == |
| 13 |
|
| 14 |
Iframes are needed to embed video from youtube or to embed Google Map or just to embed content from external page. |
| 15 |
WordPress removes iframe when you switch from "HTML" to "Visual" tab because of the security reasons. |
| 16 |
So you can embed iframe code using this shortcode `[iframe width="640" height="480" src="http://player.vimeo.com/video/3261363"]`. |
| 17 |
|
| 18 |
= Usage (allowed parameters) = |
| 19 |
* width - width of the iframe in pixels `[iframe width="640" src="http://player.vimeo.com/video/3261363"]` (by default width="640"); |
| 20 |
* height - height of the iframe in pixels `[iframe height="480" src="http://player.vimeo.com/video/3261363"]` (by default height="480"); |
| 21 |
* src - source of the iframe `[iframe src="http://player.vimeo.com/video/3261363"]` (by default src=""); |
| 22 |
* frameborder - frameborder parameter of the iframe `[iframe frameborder="0" src="http://player.vimeo.com/video/3261363"]` (by default frameborder="0"); |
| 23 |
* scrolling - scrolling parameter of the iframe `[iframe scrolling="no" src="http://player.vimeo.com/video/3261363"]` (by default scrolling="no"); |
| 24 |
* marginheight - marginheight parameter of the iframe `[iframe marginheight="0" src="http://player.vimeo.com/video/3261363"]` (by default marginheight="0"); |
| 25 |
* marginwidth - marginwidth parameter of the iframe `[iframe marginwidth="0" src="http://player.vimeo.com/video/3261363"]` (by default marginwidth="0"); |
| 26 |
* allowtransparency - allowing transparency of the iframe `[iframe allowtransparency="true" src="http://player.vimeo.com/video/3261363"]` (by default allowtransparency="true"); |
| 27 |
|
| 28 |
[Iframe plugin page](http://web-profile.com.ua/wordpress/plugins/iframe/) |
| 29 |
|
| 30 |
[WordPress stuff](http://web-profile.com.ua/wordpress/) |
| 31 |
|
| 32 |
== Changelog == |
| 33 |
|
| 34 |
= 1.1.0 = |
| 35 |
* Parameter allowtransparency added (thanks to Kent); |
| 36 |
|
| 37 |
= 1.0.0 = |
| 38 |
* Initial release; |
| 39 |
|
| 40 |
== Installation == |
| 41 |
|
| 42 |
1. Install plugin and activate it on the Plugins page; |
| 43 |
2. Add shortcode `[iframe width="640" height="480" src="http://player.vimeo.com/video/3261363"]` to page content; |