Advanced iFrame

Por Michael Dempfle
(51 avaliações)
Baixar
  • Versão:
    2024.5
  • Última atualização:
    há 3 meses
  • Instalações ativas:
    mais de 60 mil
  • Versão do WordPress:
    3.3 ou maior
  • Testado até o WordPress:
    6.5.4
  • Versão do PHP:
    5.4 ou maior
  • Tags:

Hospedagem WordPress com plugin Advanced iFrame

Onde hospedar o plugin Advanced iFrame?

Este plugin pode ser hospedado em qualquer servidor que tenha WordPress configurado. Recomendamos escolher uma hospedagem confiável, com servidores otimizados para WordPress, como o serviço de hospedagem WordPress da MCO2.

Hospedando o plugin Advanced iFrame em uma empresa de hospedagem de confiança

A MCO2, além de instalar o WordPress na versão mais atual para seus clientes, fornece o plugin WP SafePress, um sistema exclusivo que salvaguarda e aumenta a performance do seu site simultaneamente.

Por que a Hospedagem WordPress funciona melhor na MCO2?

A Hospedagem WordPress funciona melhor pois a MCO2 possui servidores otimizados para WordPress. A instalação de WordPress é diferente de uma instalação trivial, pois habilita imediatamente recursos como otimização de imagens e fotos, proteção da página de login, bloqueio de atividades maliciosas diretamente no firewall, cache avançado e HTTPS ativado por padrão. São plugins que potencializam seu WordPress para a máxima segurança e o máximo desempenho.

Advanced iFrame Pro
Demo
p3d – 3d models pre-configured with advenced iframe: Get 50% discount with the coupon AIFRAME

Include content the way YOU like in an iframe that can hide and modify elements, does auto height, forward parameters and does many, many more…

Main features of advanced iframe

By entering the shortcode ‘[advanced_iframe]’ you can include any webpage to any page or article.

Advanced iFrame now has out of the box support for embedded 3D models using the p3d 3D viewer. Go to https://p3d.in/b/24 and download a pre-configured plugin where the model does scale already nicely on all devices. Get started for free! If you need more storage or access to the Premium features of p3d.in, you can get a 50% discount on your first payment with the coupon AIFRAME on checkout.

The following cool features compared to a normal iframe are implemented:

  • Hide areas of the layout to give the iframe more space (see screenshot)
  • Show only specific areas of the iframe when the iframe is on a same domain (The Pro version supports this on different domains) or include parts directly by jQuery
  • Modify css styles in the parent and the iframe to e.g. change the width of the content area (see screen-shot)
  • Forward parameters to the iframe
  • Resize the iframe to the content height or width on loading, AJAX or click
  • Responsive videos (moved from the pro to the the free version in v2022)
  • Scroll the parent to the top when the iframe is loaded
  • Hide the content until it is fully loaded
  • Add a css and js file to the parent page
  • Security code: You can only insert the shortcode with a valid security code from the administration.
  • Many additional cool features are available the pro version – see http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-comparison-chart

In the free version you can enable the pro administration AND test many of the pro features in the preview!

Please note: Modification inside the iframe are only possible if you are on the same domain or use a workaround like described in the settings.

So please check first if the iframe page and the parent page are one the same domain. www.example.com and text.example.com are different domains! Please check in the documentation if you can use the feature you like

A free iframe checker is available at
http://www.tinywebgallery.com/blog/advanced-iframe/free-iframe-checker.
This tool does check if a page is allowed to be included!

All settings can be set with shortcode attributes as well. If you only use one iframe please use the settings in the administration because there each parameter is explained in detail and also the defaults are set there.

Quick overview of all advanced iframe attributes

Limitations of the free version

The free version has no functional restrictions and is for personal and non-commercial sites. After 10.000 views/month the iframe is still working but below the iframe a small “powered by” notice with a link to the pro version is shown. If you hit this limit and you qualify for the free license please contact me to get a version with a higher limit.

Upgrading to Advanced IFrame Pro

It’s quick and painless to get Advanced iFrame Pro. Simply Get Advanced iFrame Pro on CodeCanyon.net (https://1.envato.market/mvGme) and install your new plugin! You can than use the plugin on commercial, business, and professional sites and blogs. You furthermore get:

  • Show only specific areas of the iframe even when the iframe is on different domain
  • Graphical content selector: http://examples.tinywebgallery.com/configurator/advanced-iframe-area-selector.html
  • External workaround supports iframe modifications
  • Widget support
  • No view limit
  • Hide areas of an iframe
  • Browser detection
  • Change link targets
  • Url forward parameter mapping.
  • Zoom iframe content
  • Accordion menu
  • jQuery help
  • Advanced lazy load
  • Standalone version – can be used in ANY php page!
  • And much more…

You can find the comparison chart here: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-comparison-chart
See the pro demo here:
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo

Administração

  • Go to Settings -> Advanced iFrame

Quick start guide

The quickstart guide is also available as video: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-video-tutorials

To include a webpage to your page please check the following things first:

  • Check if your page page is allowed to be included http://www.tinywebgallery.com/blog/advanced-iframe/free-iframe-checker!
  • Check if the iframe page and the parent page are one the same domain. www.example.com and text.example.com are different domains!
  • Can you modify the page that should be included?

Most likely you have one of the following setups:

  1. iframe cannot be included: You cannot include the content because the owner does not allow this.
  2. iframe can be included and you are on a different domain: See the feature comparison chart: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-comparison-chart and the feature overview http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-features-availability-overview. To resize the content to the height/width or modify css you need to modify the remote iframe page by adding one line of Javascript to enable the provided workaround.
  3. iframe can be included and you are on the same domain: All features of the plugin can be used.

If you mix http and https read http://www.tinywebgallery.com/blog/iframe-do-not-mix-http-and-https. Parent https and iframe http does not work on all mayor browsers!

Advanced iframe attributes

Below you find all possible shortcode attributes. If you only use one iframe please use the settings in the administration because there each parameter is explained in detail and also the defaults are set there.

Setting an attribute does overwrite the setting in the administration.

[advanced_iframe securitykey=”” src=””
id=”” name=””
width=”” height=””
marginwidth=”” marginheight=””
scrolling=”” frameborder=””
class=”” style=””
content_id=”” content_styles=””
hide_elements=”” url_forward_parameter=””
onload=”” onload_resize=””
onload_scroll_top=”” onload_show_element_only=””
store_height_in_cookie=”” additional_height=””
additional_js=”” additional_css=””
iframe_content_id=”” iframe_content_styles=””
iframe_hide_elements=”” hide_page_until_loaded=””
include_hide_page_until_loaded=””
include_url=”” include_content=””
include_height=”” include_fade=””
onload_resize_width=”” resize_on_ajax=””
resize_on_ajax_jquery=”” resize_on_click=””
resize_on_click_elements=”” use_shortcode_attributes_only=””
onload_resize_delay=””
]

Capturas de tela

Comparison between normal iframe and advanced iframe wrapper. The red areas are modified by the advanced iframe to display the content better.

Comparison between normal iframe and advanced iframe wrapper. The red areas are modified by the advanced iframe to display the content better.

This image shows the difference with an url forward parameter. In the advanced iframe a sub album is shown while the normal iframe still shows the entry screen.

This image shows the difference with an url forward parameter. In the advanced iframe a sub album is shown while the normal iframe still shows the entry screen.

The basic admin screen to enable standard settings

The basic admin screen to enable standard settings

The advanced admin screen to enable advanced settings like HTML and css changes

The advanced admin screen to enable advanced settings like HTML and css changes

The advanced admin screen to enable Javascript scroll to top and autoresize resize

The advanced admin screen to enable Javascript scroll to top and autoresize resize

Plugins semelhantes

EWWW Image Optimizer
(1.701 avaliações)

Smaller Images, Faster Sites, Happier Visitors. Comprehensive image optimization that doesn't require a degree in rocket science.

One Click Demo Import
(73 avaliações)

Import your demo content, widgets and theme settings with one click. Theme authors! Enable simple theme demo import for your users.

Imsanity
(279 avaliações)

Automatically resizes huge image uploads. Are contributors uploading huge photos? Tired of manually resizing your images? Imsanity to the rescue!

ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
(757 avaliações)

Optimize images & PDFs smartly. Create and compress next-gen WebP and AVIF formats. Smart crop and resize.

PDF Embedder
(202 avaliações)

Seamlessly embed PDFs into your content, with customizations and intelligent responsive resizing, and no third-party services or iframes.

WP Content Copy Protection & No Right Click
(1.003 avaliações)

This WP plugin protects posts from being copied (content copy protection). Keep your content safe from unauthorized distribution!