kiln / flourish-sdk

The SDK for developing Flourish templates
Other
81 stars 16 forks source link

oEmbed maxheight / maxwidth #89

Open oburt opened 11 months ago

oburt commented 11 months ago

I have been trying to use Flourish's oEmbed endpoint, but it seems like the maxwidth/maxheight parameters do not do anything. In fact the endpoint doesn't at all look at what the optimal width/height would be for any given chart and always returns width of 700px and height of 575px.

Has anyone had luck using this oEmbed functionality before? Or have any insight into how this could be fixed?

https://developers.flourish.studio/embedding/oembed-integration/

Thanks, Orion