![]() The src attribute behaves mainly like on a standard iframe with one exception: The following example shows an iframe with a placeholder: Iframe readiness can be known by listening to onload of the iframe or an embed-ready postMessage, which would be sent by the iframe document, whichever comes first. ![]() The amp-iframe must contain an element with the placeholder attribute, (for instance an amp-img element) which would be rendered as a placeholder until the iframe is ready to be displayed.It is possible to have an amp-iframe appear at the top of a document when theĪmp-iframe has a placeholder element as shown in the example below. Viewability information may not be available to amp-iframe.amp-iframe has no fully iframe controlled resize mechanism.amp-iframe does not provide any mechanism to pass configuration to the iframe.This means landing pages may be broken, even if the ad itself appears to work. amp-iframe enforces sandboxing and the sandbox is also applied to child iframes.Where part of the videos are advertising. It is OK to use amp-iframe for the purpose of displaying videos, ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |