# Embedded google map stopped working

**URL:** <https://meta.discourse.org/t/embedded-google-map-stopped-working/165415>\
**Category:** Support\
**Created:** [September 25, 2020, 8:36pm UTC](https://meta.discourse.org/t/embedded-google-map-stopped-working/165415 "2020-09-25T20:36:08Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [September 25, 2020, 10:12pm UTC](https://meta.discourse.org/t/embedded-google-map-stopped-working/165415/2 "2020-09-25T22:12:43Z")

</div>

I pasted this link: [https://www.google.com/maps/d/embed?mid=za0Bx0koO4sk.kHCbG4TApEP4](https://www.google.com/maps/d/embed?mid=za0Bx0koO4sk.kHCbG4TApEP4)  
On a single line on my two Discourse forums.

It works on one of my forum, and here’s the cooked code:

```html
<div class="maps-onebox">
<iframe src="https://www.google.com/maps/d/embed?mid=13xLbRXoFU-UIUoTiOwJdvLzkoUw" width="690" height="400" frameborder="0" style="border:0" seamless="seamless" sandbox="allow-same-origin allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox allow-presentation"></iframe>
</div>

```

On the forum on which it doesn’t work, here’s the cooked:

```html
<div class="maps-onebox">
<iframe width="690" height="400" frameborder="0" style="border:0" data-unsanitized-src="https://www.google.com/maps/d/embed?mid=za0Bx0koO4sk.kHCbG4TApEP4" seamless="seamless" sandbox="allow-same-origin allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox allow-presentation"></iframe>
</div>

```

Note that there is a `data-unsanitized-src` attribute in the iframe on the forum where it doesn’t work.

Both forum are using 2.6.0.beta3 ( [b8015ab654](https://github.com/discourse/discourse/commits/b8015ab654a5d9987ec7c50808d05c4769daad13))

And I can repro on [try.discourse.org](http://try.discourse.org):

> **[Hello world for test](https://try.discourse.org/t/hello-world-for-test/1499)**
>
> actionbook composer test via ProseMirror - please ignore. marker:abk-pm-4408 (auto-delete)hello world

Note that the generated iframe also has a `data-unsanitized-src` attribute.

---

_[View the full topic](https://meta.discourse.org/t/embedded-google-map-stopped-working/165415)._
