drag drop feature in iframe chrome 72 - html

I have an iframe in which the content is draggable and droppable. I have used this iframe in another page which autogenerates one more parent iframe. The drag-drop feature is working in all another browser except chrome 72. It is working in all other lower versions of it. this automatic Iframe has no source. When I put my own src inside this auto-generated iframe. The drag-drop feature worked.
The autogenerated Iframe is like this:
<iframe allow="geolocation *; microphone *; camera *" frameborder="no" height="600px" id="0660o000007CIdc" marginheight="0" marginwidth="0" name="0660o000007CIdc" scrolling="no" title="DragDropTest" width="100%"></iframe>
and my inner iframe is
<iframe allow="geolocation *; microphone *; camera *" frameborder="0" height="600" id="theIframe" name="theIframe" scrolling="no" src="https://test1.officescope.com/verunasfservicetest/DragDropTest.html" title="Content" width="800"></iframe>
What's the issue here?

It was introduced with Chrome update - 72. It has been raised with Chromium team. As per the chromium team, it happens only when you have iframe inside iframe.
Please look at this - https://bugs.chromium.org/p/chromium/issues/detail?id=936299#c19
Workaround: Run google chrome with following command - chrome.exe --disable-features=VizHitTestSurfaceLayer,VizHitTestDrawQuad,VizDisplayCompositor
Try below url with above workaround and you will be able to drag and drop.
<iframe src="https://dragdropiframedemo.azurewebsites.net/Home.html" width="640" height="480">

Related

Iframe in Chrome dont show images

I call an external page into a iframe, In mozilla firefox runs fine but Google Chrome doest show images
example here: https://jsfiddle.net/jorgemorgado25/m1xugp3y/2/
<iframe
src="https://flixe.streann.com/live/"
width="100%" height="400"
scrolling="yes"
frameborder=0>

How can I allow fullscreen for youtube iframes within a chrome extension?

I'm building a chrome extension that has some embedded videos available. I'd like for them to be able to go fullscreen, but it doesn't seem to be working.
Here is what I've tried based on some other post's resolutions. Yet still clicking full screen doesn't do anything.
<iframe width="468" height="263" src="https://www.youtube.com/embed/KnzFc0ln2do?rel=0&fs=1" frameborder="0" webkitallowfullscreen allowfullscreen></iframe>

html : iframe not showing content in html

I want to show a youtube video in html 4. For that, I am using iframe. But the content of iframe is not showing.
<iframe frameborder="1" width="420" height="345" src="https://www.youtube.com/watch?v=C8kSrkz8Hz8"></iframe>
FYI: I am using Firefox 29.0 and Chrome 35.0. Both browsers are showing the same result.
Change your src with //www.youtube.com/embed/C8kSrkz8Hz8
your code shoud look like this
<iframe frameborder="1" width="420" height="345" src="//www.youtube.com/embed/C8kSrkz8Hz8"></iframe>
Find code under each video on youtoube at Share menu.
When you try to put the whole YouTube page into an iframe, it sends a HTTP header called X-Frame-Options with the SAMEORIGIN value, which tells the browser, that the page can only be displayed in a frame on the same origin as the page itself.
You should use the provided embed code (you can find it below every YouTube video), which is also an iframe, but with a different URL. It will only show the player.
In this case, the embed code would be:
<iframe width="560" height="315" src="//www.youtube.com/embed/C8kSrkz8Hz8" frameborder="0" allowfullscreen></iframe>
replace you Iframe with this one. this works for you.
<iframe width="640" height="390" src="//www.youtube.com/embed/C8kSrkz8Hz8" frameborder="0" allowfullscreen></iframe>
missing attributes are: frameborder="0", allowfullscreen
You should change the youtube URL to remove the "s" so it looks like this:
<iframe width="420" height="345" src="//www.youtube.com/embed/C8kSrkz8Hz8" frameborder="1" allowfullscreen></iframe>
You should also be able to embed a youtube video from the page. Please see the screenshot attached:
I tried it this way and worked for me. Changing your src="https://www.youtube.com/embed/C8kSrkz8Hz8"
following the other parameters.

How do I insert a web page within my web page using frames

I am trying to insert a iframe on my website, http://freefreemarkets.com, that allows me to insert the website showing what I am selling on eBay.
I have never created an iframe before.
<iframe src="http://www.website.com"></iframe>
And you can edit how you want by adding stuff like:
width="400" height="215" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" etc..
You need to use an iframe, by specifying the src attribute:
<iframe src="http://www.example.com"></iframe>
Some websites doesn't support to be embedded in iframe, be careful.

google maps image not loading?

So, on the following page, the first broken image you see should be one linking to google maps. If I open up chrome's inspect tool, and right click on the src attribute to open it up in a new tab, it works fine, but it renders as a broken image on the page for some reason. any ideas?
http://test.teslaprime.com/courses/25/test_course1
Just follow these instructions of google self: http://maps.google.com/help/maps/getmaps/plot-one.html
In your case you need to add the following code to your html:
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?daddr=19+Chalda+Ct+San+Rafael+CA+94903&ie=UTF8&t=h&ll=38.006014,-122.521711&spn=0.006295,0.007989&output=embed"></iframe><br /><small>View Larger Map</small>