I have a Google Form embedded on a wordpress.org site using an iFrame.
The code I'm using is:
<iframe src="https://docs.google.com/forms/d/e/1FAIpQLSdNU2bOyHaWD9YupFcq1gGXfOMwku3l38O0MIaqx9aQ9IXUpA/viewform?embedded=true" width="100%" height="4000" frameborder="0" marginheight="0" marginwidth="0">Carregando…</iframe>
My Google Account and my original file are in Portuguese and it shows so when I open the website using Firefox. However when using Chrome, it shows the "layout text" in English.
Is there a workaround for this?
Thanks!
Related
I have an iframe with a src attribute set to a https pdf link. On firefox (99.0.1), my iframe displays correctly the pdf, but not on google chrome (101.0.4951.54). I have no extension installed on my google chrome, and found no errors or any logs in the console.
Chrome gives me a grey iframe like that:
(in english it says "This page has been blocked by Chrome")
I've went into the console, inside the network tab and here is the only useful information I've found:
I had the same issue but only on CodePen, which is displaying everything in an iframe, which was probably causing problems.
Once I created my own html file, everything was working correctly.
Both codes work correctly:
<embed
class="pdfobject"
type="application/pdf"
title="Embedded PDF"
src="https://africau.edu/images/default/sample.pdf"
style="overflow: auto; width: 100%; height: 100%;">
and
<iframe src="https://africau.edu/images/default/sample.pdf" width="500" height="375" />
Alternatively, you can used PDFObject package - "An open-source standards-friendly JavaScript utility for embedding PDF files into HTML documents."
https://pdfobject.com/
I hope someone can help. I am trying to embed an editable google doc into an iFrame, I am currently using
<iframe src="https://docs.google.com/document/d/1bYwsERISJ8-jnn-tgDiMwkQEop1YvP41JZqhUQmYbHc/edit?widget=false&chrome=false&headers=false&gridlines=false&embedded=true" width='1000' height='800' seamless="seamless" scrolling="no"></iframe>
which is a shared test document. This works fine on my windows desktop but does not work on any mobile devices e.g. Android phone, iPad.
Any ideas why or what I could be doing wrong?
Update 1
Perhaps having a URL with test will may be helpful http://google-test.itproz.co.uk
Looks like this is a known issue with no resolution from Google: https://productforums.google.com/forum/?hl=ta#!topic/docs/WPMBrNIcLWU
I'm troubleshooting the same issue on another site and if I find out anything, I'll post here.
I'm trying to add HTML from an external file into a .htm file that is being added to SharePoint using a 'Page Viewer' Web Part.
It needs to support IE7 - The best way I could think of was to use an iFrame... but the page viewer Web Part is an iFrame itself; I'm guessing nested iFrames can't be done as I cant find a way to make this work. I tired using the 'object' tag too but that didn't work, PHP isn't an option either :(
Are there any alternative ways to achieve this?
Yes you can use Content Editor Webpart.
Steps to add Content Editor Webpart
Edit that page
click on Add a WebPart
select Media and Content
Inside content editor webpart paste your contents like this
<iframe id="iframe1" height="900" width="800" frameborder="0" marginheight="0" marginwidth="0" src="paste your url here"></iframe>
Hope this will help?
I am embedding google map in my page. While it works fine on chrome and FF, it doesn't display in IE. I looked up extensively and tried changing the mode from embed to View. That didn't work either.
<iframe width="95%" height="460px" frameborder="0" style="border: 0;" src="https://www.google.com/maps/embed/v1/place?key=MYAPIKEYHERE
&q=120+S+Street+Name,+City,+CA+93117"> </iframe>
I looked on Google APi site to see if its not supported for IE. There was nothing mentioned about that there either.
Any thoughts?
Apparently this is a known issue, caused when the page is running compatibility mode.
https://code.google.com/p/gmaps-api-issues/issues/detail?id=7675
According to Google, they are actively working on a fix.
Using simple HTML and Ruby on Rails (could have used javascript too), I have written a search such that once I hit submit will launch multiple search results (each varied slightly) to be shown in a new "search results" page, consisting of multiple iframes, each with a different search inside them:
<iframe src="https://www.google.com/search?q=<%= #search1.term %>"> </iframe>
<iframe src="https://www.google.com/search?q=<%= #search2.term %>"> </iframe>
<iframe src="https://www.google.com/search?q=<%= #search3.term %>"> </iframe>
<iframe src="https://www.google.com/search?q=<%= #search4.term %>"> </iframe>
This used to work, but recently stopped working. All I see now is a blank page within the iframe. If I use Amazon instead of Google, it works. I thought it might be because I got blocked by Google for "automating" searches. But even with just 1 iframe, it still does not work.
Any ideas anyone? Thanks in advance.
I am seeing the same issue, Ubuntu 10.04, Firefox 3.6.23
If I right-click and "view page source" then it looks fine. But if I right-click one of the iframes and "view frame source" then I see just a single line of html producing a blank page.
I think it is the X-Frame-Options specified by Google in the results page. Google is (I surmise) specifying that the results are not to be embedded in an iframe, and Firefox is respecting that by substituting a blank iframe.
So there isn't really any solution : if Google don't want their results in an iframe, they have the right to say so.
Check this: http://support.google.com/customsearch/bin/answer.py?hl=en&answer=70345