This WordPress plugin allows you to use responsive frames in your posts, pages or templates. Implemented via shortcode our responsive iFrames are simple and easy to use. Make sure your iFrames display correctly and adapt to different screen sizes and orientations.
Adding an iFrame to WordPress
Adding a responsive iFrame is simple. A small amount of shortcode is all that is required. The shortcode can be added to a post, a page or a wordpress template. Here is a simple example: [bjd-responsive-iframe src=”https://www.youtube.com/embed/UZr75lLiE6k”] This will create a responsive iframe for a youtube video. the ‘src’ attribute is required. Other optional attributes are also available.
The source url for the iframe.
Sets an id attribute for the iframe
Sets a name attribute for the iframe
Sets the width attribute for the iframe
Sets the height attribute for the iframe
Sets the frameborder attribute for the iframe
Sets the scrolling attribute for the iframe
yes OR no
Sets the marginheight attribute for the iframe
Sets the marginwidth attribute for the iframe
Here is a more complicated example: [bjd-responsive-iframe src=”https://www.youtube.com/embed/UZr75lLiE6k” id=”youtubeVid” name=”youtubeVid” width=”560″ height=”315″ frameborder=”0″ scrolling=”no” marginheight=”0″ marginwidth=”0″ ]
A demonstration for the plugin working on wordpress 3 can be found here ( http://www.bj-dehaan-solutions.com.au/demos/wordpress3/responsive-iframe-demo/ ).
A demonstration for the plugin working on wordpress 4 can be found here ( http://www.bj-dehaan-solutions.com.au/demos/wordpress4/responsive-iframe-demo/ ).
Copy the whole ‘bjd-responsive-iframe’ folder to your wordpress plugins folder ‘wp-content/plug-ins’. Once the files are copied you will need to activate the plug-in from your wordpress administration dashboard ‘http:///wp-admin’. Once logged into your administrator dashboard choose ‘Plugins’ from the menu. Find ‘BJD Responsive iFrame’ in the list of plugins and click ‘Activate’ to activate the plugin.
Contributors & Developers
“BJD Responsive iFrame” is open source software. The following people have contributed to this plugin.Contributors
Translate “BJD Responsive iFrame” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
- This is the first stable release of the plugin.