vizhub-core / vizhub-feedback

VizHub feedback issue tracker
32 stars 3 forks source link

Embed: Set Height via postMessage #679

Open curran opened 3 years ago

curran commented 3 years ago

For responsive embeds where the width changes in unknown ways, VizHub has the potential to use this postMessage scheme to recommend a new height to the embedder, based on the known aspect ratio of the viz.

It would be great to take advantage of this.

Docs: https://docs.embed.ly/v1.0/docs/provider-height-resizing