October 2017
Intermediate to advanced
370 pages
8h 57m
English
The amp-iframe component allows you to add iframes to your AMP pages. In a well-attended talk at AMP Conf 2017, Sebastien Benz referred to iframes as the duct tape of AMP (watch: youtu.be/Em-tZ4WMMps [16:25]). This is an apt metaphor: like duct tape, iframes are incredibly useful, but just as duct tape is often not the prettiest solution, neither are iframes. Like duct tape, amp-iframe can stick things together, allowing us to combine features not supported in AMP. The prevailing advice, however, is that if there is a dedicated AMP component that implements the functionality you need, then you should use that instead of amp-iframe.
Read now
Unlock full access