iframe

Por webvitaly
(55 avaliações)
Baixar
  • Versão:
    5.1
  • Última atualização:
    há 4 meses
  • Instalações ativas:
    mais de 90 mil
  • Versão do WordPress:
    3.0 ou maior
  • Testado até o WordPress:
    6.4.4
  • Versão do PHP:
    ou maior
  • Tags:

Hospedagem WordPress com plugin iframe

Onde devo hospedar o plugin iframe?

Este plugin pode ser hospedado em qualquer provedor que possua WordPress configurado. Recomendamos escolher uma hospedagem de confiança, com servidores otimizados para WordPress, como o serviço de hospedagem de sites da MCO2.

Hospedando o plugin iframe em um provedor seguro

A MCO2, além de configurar e instalar o WordPress na versão mais nova para seus clientes, disponibiliza o plugin WP SafePress, um sistema singular que salvaguarda e melhora seu site ao mesmo tempo.

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 automática de imagens, 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.

[iframe src=”http://www.youtube.com/embed/dUpTjDqjQoo” width=”100%” height=”500″] 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=dUpTjDqjQoo[/embed] shortcode.
[embed] shortcode is a core WordPress feature and can embed content from many resources via direct link.

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 – source of the iframe: [iframe src="http://www.youtube.com/embed/dUpTjDqjQoo"]; by default src=”http://www.youtube.com/embed/dUpTjDqjQoo”;
  • width – width in pixels or in percents: [iframe width="100%"] or [iframe width="600"]; by default width=”100%”;
  • height – height in pixels: [iframe height="500"]; by default height=”500″;
  • scrolling – with or without the scrollbar: [iframe scrolling="no"]; by default scrolling=”yes”;
  • frameborder – with or without the frame border: [iframe frameborder="0"]; by default frameborder=”0″;
  • marginheight – height of the margin: [iframe marginheight="0"]; removed by default;
  • marginwidth – width of the margin: [iframe marginwidth="0"]; removed by default;
  • allowtransparency – allows to set transparency of the iframe: [iframe allowtransparency="true"]; removed by default;
  • id – allows to add the id of the iframe: [iframe id="custom_id"]; removed by default;
  • class – allows to add the class of the iframe: [iframe class="custom_class"]; by default class=”iframe-class”;
  • style – allows to add the css styles of the iframe: [iframe style="margin-left:-30px;"]; removed by default;
  • same_height_as – 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 – allows to add new parameter of the iframe [iframe any_other_param="any_value"];
  • any_other_empty_param – allows to add new empty parameter of the iframe (like “allowfullscreen” on youtube) [iframe any_other_empty_param=""];

Capturas de tela

[iframe] shortcode

[iframe] shortcode

Plugins semelhantes

PDF Embedder
(202 avaliações)

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

The Ultimate Video Player For WordPress – by Presto Player
(269 avaliações)

The Ultimate WordPress Video Player.

EmbedPress – Incorpore PDF, flipbook 3D, feeds sociais, Documentos do Google, Vimeo, Wistia, vídeos do YouTube, áudios, Mapas do Google no bloco Gutenberg e Elementor
(211 avaliações)

O EmbedPress permite que você incorpore vídeos, imagens, posts, envie PDFs, incorpore flipbooks PDF em 3D e outros conteúdos em sites WordPress, sem codificação e melh …

Feeds for YouTube (plugin de vídeo, canal e galeria do YouTube)
(170 avaliações)

O plugin Feeds for YouTube permite que você exiba feeds personalizáveis do YouTube de qualquer canal do YouTube.

Advanced iFrame
(51 avaliações)

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...

WP YouTube Lyte
(202 avaliações)

Vídeos do YouTube de alto desempenho, listas de reprodução e incorporações somente de áudio que não tornam seu blog lento e oferecem acessibilidade ideal.