AMP icomeka kumpapuro hamwe na IFrames

Amashanyarazi yihuta ya paje (AMP) yo gukora paji ya Google AMP , amacomeka ya AMP hamwe na generator ya AMPHTML ikubiyemo guhinduranya byikora iframes muri tagi <amp-iframe>.


Kwamamaza

<amp-iframe> tagi guhuza


extension

Generator yihuta ya paji ya generator ihita imenya niba iframe yarashyizwe kurupapuro rwawe kandi igahindura iframes iyisanze muri tagi <amp-iframe>.

AMPHTML kuri ubu yemerera gusa gupakira ibintu bifite ihuriro ryemewe rya HTTPS !

Umuvuduko wihuta wa paji ya Generator ihita igenzura niba URL ikoreshwa muri iframe nayo ishobora kugerwaho hifashishijwe ibanga rya HTTPS. Kubwiyi ntego, Umuvuduko wihuta wa page ya Generator uhinduranya gusa 'HTTP' kuri 'HTTPS' muri URL. Niba URL ishobora gufungurwa hamwe na HTTPS, generator yihuta ya paji igendanwa ihindura iframe mukirango 'amp-iframe' ihuye kandi ikanakora iframe iboneka kuri verisiyo ya AMPHTML.

Niba URL idashobora gupakirwa na HTTPS, ibirimo iframe ntibishobora kugaragara neza kuri verisiyo ya AMPHTML. Muri iki kibazo, Umuvuduko wihuta wa paji ya Generator yerekana ibishushanyo mbonera bikurikira:

Mugukanda kuriyi shusho, uyikoresha arashobora noneho gufungura iframe ibicishije muri 'HTTP ihuza'. Muri ubu buryo, ibikubiye muri IFrame byibuze bishobora kugerwaho hakoreshejwe ubundi buryo kandi ntibirengagijwe rwose.


Kwamamaza