iframe
Advanced iFrame iframe Donate GitHub [iframe src=”http://www.youtube.com/embed/7_nAZQt9qu0″ 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=7_nAZQt9qu0[/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/7_nAZQt9qu0"]; by default src=”http://www.youtube.com/embed/7_nAZQt9qu0″; 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=""];
Scribd Doc Embedder
Adds 2 shortcodes so Scribd documents or documents supported by Scribd (e.g. PDF, MS Office, ePub, and many others) can be embedded into a web page using the Scribd Docs Reader. These shortcodes provide functionality beyond the standard scribd embed shortcode provided in Jetpack by WordPress.com. Version 2 Now includes shortcode button and configurator in the editor so you easily enter the information you need to embed you documents. Take a look at the screenshots to see them. [scribd-doc] Shortcode: Allows you to embed a document that has been uploaded to Scribd. The Scribd document can be public or private. Requires both the document ID and the document key: [scribd-doc doc=”DOCID” key=”KEY”] [scribd-url] Shortcode: Allows you to create a Scribd Reader from a publicly accessible URL. Naturally requires that the document type be supported by Scribd. Requires both the document URL and your Scribd Publisher API key: [scribd-url url=”FULL-URL” pubid=”YOUR-SCRIBD-PUBLISHER-ID”] Both shortcodes support many optional parameters provided by the Scribd API: width: Define the width of the Reader in pixels. height: Define the height of the Reader in pixels. page: Set a page number for the Reader to load on. mode: Define the player mode (either “list” or “slideshow”) share: Defines whether the share button in the toolbar is shown, overriding the default (either “true” or “false”) seamless: If set to “true”, puts the player into seamless mode (seamless is only supported by scribd-doc) If height or width are not set, the Scribd Reader will attempt to size itself correctly. Note: You will need a Scribd account and a Scribd API key for this plugin to work. You can sign up for a Scribd account at http://www.scribd.com. With a Scribd account, you can get your API key at http://www.scribd.com/developers