Embed Files from Google Drive
Embedder For Google Drive gives authors easy access to their Google Drive in a popup box, where they can select documents to embed directly into their post or page. Just as easily as picking a photo from the WordPress media gallery. Documents can be embedded in-line, using Google’s read-only interactive viewer for your audience to read them. Documents can also be placed in your site as links to open up editable files (either in the same or a new browser tab), or downloaded straight to the computer. You will need to set document sharing settings to ensure your website viewers have access to view your documents (e.g. at least ‘anyone with the link can view’ to be visible to all visitors). This plugin requires that you also install the free (or premium/enterprise) version of the popular Google Apps Login plugin Displays many file types such as PDF, Word DOC, ZIP, Videos, Images etc plus native Google docs (Spreadsheet, Drawing, Forms, etc). Step through a list of your Drive files or search to find the one you’re looking for. Choose from: Viewer file link – full page Google viewer and editor Download file link – directly download file to your computer (disabled for native Google doc formats) Embed document – display most file types inline in your posts or pages (non-Google file types need sharing settings at least ‘anyone with the link can view’) Useful for public websites or private intranets (all visitors should be able to view files as long as sharing settings are ‘anyone with the link can view’ or higher in Google Drive). Works on all WordPress installations including multisite networks. Please note that to embed folders you will require the Premium or Enterprise version of this plugin. Paid versions and Support You can also purchase the premium or enterprise versions of Embedder For Google Drive, including support. The Premium version contains some important extra features: Browse My Drive, Recent Files, Starred, and Shared With Me tabs to locate Drive files the way you’re used to. Embed Folders: simply keep your Google Drive folder up-to-date with your files, and your staff or website visitors will always be able to view a list of the latest documents. Google Calendars: pick from your Google Calendars and provide download links to ICAL or XML, or embed them directly in your site. Support and updates for one year. Premium – See details and purchase The Enterprise version integrates Google Drive much more closely with your WordPress intranet, essentially allowing each page or post on your intranet to host its own file attachments, completely backed by Drive. This means you no longer need to manage Drive and your Intranet as two completely separate document sharing systems! It also introduces advanced interactive embedded folders, where users can preview files and drill-down into subfolders all without leaving your site. It also contains all the features of the basic and premium versions, plus support for Team Drives (Shared Drives). Enterprise – Find out more Requirements Google Drive document embedding and one-click login will work for the following domains and user accounts: G Suite Basic (Google Apps for Work) G Suite Business (Google Apps Unlimited for Work) G Suite for Education (Google Apps for Education) G Suite for Non-profits (Google Apps for Non-profits) G Suite for Government (Google Apps for Government) Personal gmail.com and googlemail.com emails Google Apps Login plugin setup requires you to have admin access to any G Suite domain (formerly Google Apps), or a regular Gmail account, to register and obtain two simple codes from Google. Google Apps Login The Google Apps Login plugin (which you must also install) allows existing WordPress user accounts to log in to the website using Google to securely authenticate their account. This means that if they are already logged into Gmail for example, they can simply click their way through the WordPress login screen – no username or password is explicitly required! Full support and premium features are also available for purchase: Eliminate the need for G Suite / Google Apps domain admins to separately manage WordPress user accounts, and get peace of mind that only authorized employees have access to the organizations’s websites and intranet. See https://wp-glogin.com/
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=""];