AnsweredAssumed Answered

Allow downloads within embedded content

Question asked by Niras_Editor on Aug 27, 2020
Latest reply on Sep 3, 2020 by Niras_Editor

It is not possible to download files through embedded content in Story Maps using a Chromium browser. The iframe element should contain sandbox="allow-downloads".

 

This has been a requirement since Chrome 83:

Download in Sandboxed Iframes - Chrome Platform Status 

Add spec for 'sandboxed downloads' flag by xyaoinum · Pull Request #4293 · whatwg/html · GitHub 

 

The generated iframe code currently inclides sandbox="allow-scripts allow-same-origin allow-forms allow-popups". I have tried adding the allow-downloads attribute in a custom iframe code, but the attribute is removed by Story Maps automatically.

 

This feature is quite essential to a tool we are developing, and would be nice to see implemented as soon as possible.

Outcomes