Duo iframe communication


#1

The delivered Duo iframes are nice, but they have a fixed height for content that varies widely in height. It has been a point of confusion for end users and we have found it difficult to find a goldilocks height that is not too short or too tall.

There are protocols for communicating between a containing window and a cross-domain iframe (window.postMessage), which could be used to communicate height information so the container can resize appropriately.

Is anything like that available for Duo, or any other way I’m not aware of to dynamically resize the frame?

Related, are there any other messages or events that get passed to the containing window that can be responded to?