# Having issues with HTML Element (Mapmyrun)

**URL:** <https://forum.bubble.io/t/having-issues-with-html-element-mapmyrun/809>\
**Category:** Need help\
**Created:** [December 14, 2015, 5:53am UTC](https://forum.bubble.io/t/having-issues-with-html-element-mapmyrun/809 "2015-12-14T05:53:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![strang22](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/strang22/32/1700_2.png) [@strang22](https://forum.bubble.io/u/strang22)\
**Post date:** [December 14, 2015, 5:53am UTC](https://forum.bubble.io/t/having-issues-with-html-element-mapmyrun/809/1 "2015-12-14T05:53:45Z")

</div>

Hey all,

Having issues with the HTML element. I am trying to input an iframe element which contains a map as well as a user created route on that map directly from [mapmyrun.com](http://mapmyrun.com). This link shows the map as well as the code that I am copying ([MapMyRun](http://www.mapmyrun.com/routes/view/add_to_website/186656)).

When I copy this into the html element the route isn’t rendered, only the map and elevation chart. This is true both in the bubble editor as well as after running the page properly in preview:  
[![](https://us1.discourse-cdn.com/bubble/original/1X/8f660f33094faa82e1b742a626f1c46a9ca86617.jpg)](http://postimg.org/image/c8v43iwiz/)

I’ve copied the code to a couple other sites that render HTML and it seems to copy without issue.  
[![](https://us1.discourse-cdn.com/bubble/original/1X/a31c8a8e2a057479496bc85fd679400ef445d724.jpg)](http://postimg.org/image/n0wenba4t/)

This is pretty mission critical to my project, so I would greatly appreciate any help on this. Alternatively, adding the API for [mapmyfitness.com](http://mapmyfitness.com) to Bubble would be amazing.

Seriously thanks for all you guys have been doing, such a cool tool!

---

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [December 14, 2015, 4:00pm UTC](https://forum.bubble.io/t/having-issues-with-html-element-mapmyrun/809/2 "2015-12-14T16:00:20Z")

</div>

Can you share a link? Or even better, recreate the situation on the forum\_app ( [Open app for forum questions](http://forum.bubble.io/t/open-app-for-forum-questions/396) )

---

<div class="post-metadata">

**Author:** ![strang22](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/strang22/32/1700_2.png) [@strang22](https://forum.bubble.io/u/strang22)\
**Post date:** [December 24, 2015, 10:55pm UTC](https://forum.bubble.io/t/having-issues-with-html-element-mapmyrun/809/3 "2015-12-24T22:55:40Z")

</div>

Apologies for the slow response. It’s interesting, I was able to get the map to render at one point, just missing the route on top of it. Now I am completely unable to get the map or route to render.

I’ve recreated the problem on the forum\_app:

> **[Bubble Editor - Forum\_app](https://bubble.io/page?type=page&name=mapmyrunhtml_issue&id=forum_app&tab=tabs-1)**
>
> Build stuff without code and launch a startup without a tech-cofounder! Bubble is a visual programing language. Instead of typing code, use a visual editor to build applications.

Happy holidays!

---

<div class="post-metadata">

**Author:** ![georgeciobanu](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/georgeciobanu/32/315_2.png) [@georgeciobanu](https://forum.bubble.io/u/georgeciobanu)\
**Post date:** [December 27, 2015, 11:32pm UTC](https://forum.bubble.io/t/having-issues-with-html-element-mapmyrun/809/5 "2015-12-27T23:32:47Z")

</div>

Hi Scott,

Your embed doesn’t work on Bubble because we use https (a secure, encrypted version of HTTP) and the mapmyrun embed doesn’t. You can see the embed working if you use Safari, but Chrome (which is likely what you are testing on) is very strict about these rules - as it should.

If you upgrade and get a domain, since it is plain http, you will see the embed at runtime in Chrome as well (though the editor, since it’s over https, will still not show the embed in Chrome).

Another option is to email mapmyrun and ask them to upgrade to https, which is super easy and a very good security practice.

Cheers,  
George

---

<div class="post-metadata">

**Author:** ![strang22](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/strang22/32/1700_2.png) [@strang22](https://forum.bubble.io/u/strang22)\
**Post date:** [December 27, 2015, 11:52pm UTC](https://forum.bubble.io/t/having-issues-with-html-element-mapmyrun/809/6 "2015-12-27T23:52:52Z")

</div>

Thanks George. Kind of surprising that UnderArmour/mapmyrun isn’t using HTTPS. I’ll definitely drop them an email. Planning on upgrading in the next month or so as well.

Another question that I foresee having with this, Is there a way to make HTML embeds behave like dynamic data?

What I’m trying to accomplish is to have a “Race Page” which has a whole bunch of information about races coming up (name, date, distance, etc). Eventually, I would like to have an embeddable map from mapmyrun with the course route and elevation. Obviously this would need to change for each individual race, hence the dynamic data requirement. I’m not seeing a way to put an HTML field into the data tables in bubble.

Appreciate it!  
Scott

---

<div class="post-metadata">

**Author:** ![georgeciobanu](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/georgeciobanu/32/315_2.png) [@georgeciobanu](https://forum.bubble.io/u/georgeciobanu)\
**Post date:** [December 28, 2015, 12:48am UTC](https://forum.bubble.io/t/having-issues-with-html-element-mapmyrun/809/7 "2015-12-28T00:48:15Z")

</div>

The HTML embed content can be filled dynamically, say using a block from the Blockspring plugin. It’s up to you to get the current race from mapmyrun - haven’t seen a way to do this on their site.

Is that what you were asking about?

---

<div class="post-metadata">

**Author:** ![strang22](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/strang22/32/1700_2.png) [@strang22](https://forum.bubble.io/u/strang22)\
**Post date:** [December 28, 2015, 1:34am UTC](https://forum.bubble.io/t/having-issues-with-html-element-mapmyrun/809/8 "2015-12-28T01:34:07Z")

</div>

Great! I think that’s what I’m looking for. Will need to mess around with Blockspring, I’ve really only watched a couple videos to see what all the hype for it was when Bubble announced the partnership. Seems really powerful, I just haven’t had a chance to play yet.

Regardless, I’m pretty sure that will work. I will likely be manually creating routes on mapmyrun (which I would need to do for accuracy’s sake anyways) and copy the URLs over to a googlesheet that is then synced with Blockspring. Thanks for your help!
