Paste Ellie Links to Embed

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.


Looking at the oEmbed response from ellie:

  "height": "height", 
  "html": "<iframe src=\"\" width=800 height=400 frameBorder=\"0\" allowtransparency=\"true\"></iframe>", 
  "provider_name": "", 
  "provider_url": "", 
  "title": "", 
  "type": "rich", 
  "version": "1.0", 
  "width": "width"

and a quick skim of the oEmbed spec, 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?

1 Like

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!