AMP toshe-shafi don shafuka tare da IFrames

Accelerated Mobile Pages (AMP) don ƙirƙirar shafukan AMP na Google , plugins na AMP da janareta alamar AMPHTML sun ƙunshi juzu'in iframes zuwa alamar <amp-iframe>.


Talla

<amp-iframe> alamar haɗuwa


extension

Mai Saurin Shafukan Shafukan Wayar Hannu kai tsaye zai gano ko an saka iframe a shafinka kuma ya canza duk wani iframe da ya samu cikin alamar <amp-iframe>

AMPHTML a halin yanzu kawai yana ba da izinin loda abun ciki wanda ke da ingantaccen haɗin HTTPS !

Mai Saurin Saurin Shafukan Wayar Hannu yana bincika ko ta atomatik URL ɗin da aka yi amfani da shi a cikin iframe kuma ana iya samunsa ta hanyar haɗin HTTPS wanda aka ɓoye. Don yin wannan, Mai Saurin Shafukan Shafukan Waya yana musayar 'HTTP' kawai don 'HTTPS' a cikin URL ɗin. Idan ana iya buɗe URL ɗin tare da HTTPS, janareta na Saurin Saurin Shafukan Yanar Gizo ya sauya iframe ɗin zuwa alamar 'amp-iframe' daidai sannan kuma ya sanya abun cikin iframe akan sigar AMPHflix.

Idan ba za a iya loda URL ɗin tare da HTTPS ba, ba za a iya nuna abun cikin iframe kai tsaye akan sigar AMPHTML ba. A wannan yanayin, Accelerated Mobile Pages Generator yana nuna hoton mai ɗaukar wuri mai zuwa:

Ta danna wannan hoto, mai amfani zai iya buɗe abubuwan iframe ta hanyar 'haɗin HTTP' wanda ba a ɓoye shi ba. Ta wannan hanyar, ana iya samun damar shigar da abun cikin IFrame aƙalla ta hanyar wani madadin mafita kuma ba a yin watsi da shi gaba ɗaya.


Talla