1
votes

Im trying to embed a google maps map in my website and it works fine, however google chrome is throwing an error.

The error is "Blocked a frame with origin "https://maps.google.co.uk" from accessing a frame with origin "http://www.huntinghall.co.uk". The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "http". Protocols must match."

Is there any way I can fix this? the page is at http://www.huntinghall.co.uk/website2013cottages/Contact-Travel

2
Does it work to just plain embed an http link to google maps instead of an https one?Joachim Isaksson
They both work, I just get the error. And i worked out my image wasnt loading because i had the wrong path :-sTommy

2 Answers

3
votes

You should take a look at adding a google map tutorial. Don't add the map as an iframe, use Googles methods.

1
votes

@jflogvit's suggestion is correct. Alternatively, you should be able to just leave off the http or https protocol and have a url that looks like "//www.example.com/". It's a perfectly valid URL and can work in either http or https protocol/scheme (more info).