# Paste Ellie Links to Embed

**URL:** <https://discourse.elm-lang.org/t/paste-ellie-links-to-embed/172>\
**Category:** Show and Tell\
**Created:** [December 5, 2017, 5:14pm UTC](https://discourse.elm-lang.org/t/paste-ellie-links-to-embed/172 "2017-12-05T17:14:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![luke](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/luke/32/709_2.png) [@luke](https://discourse.elm-lang.org/u/luke)\
**Post date:** [December 5, 2017, 5:14pm UTC](https://discourse.elm-lang.org/t/paste-ellie-links-to-embed/172/1 "2017-12-05T17:14:30Z")

</div>

Hi! You can copy and paste an Ellie link directly into Discourse and it will embed it in your post! Unfortunately, it’s kind of squished and we’re not currently sure how to change that. Even so, I’m excited that Discourse and Ellie can make discussing Elm code even smoother together.

https://ellie-app.com/embed/6dpbWF9xra1/0

---

<div class="post-metadata">

**Author:** ![gampleman](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/gampleman/32/43_2.png) [@gampleman](https://discourse.elm-lang.org/u/gampleman)\
**Post date:** [December 7, 2017, 9:49am UTC](https://discourse.elm-lang.org/t/paste-ellie-links-to-embed/172/2 "2017-12-07T09:49:46Z")

</div>

Looking at the [oEmbed response from ellie](https://ellie-app.com/oembed?url=https://ellie-app.com/6dpbWF9xra1/0&format=json):

```json
{ 
  "height": "height", 
  "html": "<iframe src=\"https://ellie-app.com/embed/6dpbWF9xra1/0\" width=800 height=400 frameBorder=\"0\" allowtransparency=\"true\"></iframe>", 
  "provider_name": "ellie-app.com", 
  "provider_url": "https://ellie-app.com", 
  "title": "", 
  "type": "rich", 
  "version": "1.0", 
  "width": "width"
}

```

and a quick skim of the [oEmbed spec](https://oembed.com), it looks like the `width` and `height` params are **required** and should be the pixel dimensions of the result. Perhaps that has something to do with it?

---

<div class="post-metadata">

**Author:** ![luke](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/luke/32/709_2.png) [@luke](https://discourse.elm-lang.org/u/luke)\
**Post date:** [December 7, 2017, 9:49pm UTC](https://discourse.elm-lang.org/t/paste-ellie-links-to-embed/172/3 "2017-12-07T21:49:16Z")

</div>

it for sure is. i typo’d the heck out of this endpoint, it’s sending `'width'` and `'height'` instead of the actual `width` and `height` variables that i set up. will fix soon. thank you!
