Embedding timeline using createTimeline into an iframe - Firefox



I am currently trying to embed the createTimeline widget from this page (https://dev.twitter.com/web/javascript/creating-widgets) into an iframe that I dynamically create. This seems to work fine in every major browser that I want to support except Firefox.

Please see attached jsfiddle for a representation of what I am trying to do:


As you can (hopefully) see, this renders correctly in most browsers, but in Firefox the iframe will stay empty. In addition, the data that is returned from the createTimeline promise is undefined.

Is it possible to use the API this way to load a timeline? If so, what am I missing here?

All browsers I am testing in are up to date, but for more specifics:

Firefox: 59.0.2
Chrome: 65.0.3325.181
IE: 11.0.9600

closed #2

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.