Plug-in ea AMP bakeng sa maqephe a nang le IFrames

Jenereithara ea Accelerated Mobile Pages (AMP) ea ho theha maqephe a Google AMP , li-plugins tsa AMP le jenereithara ea tag ea AMPHTML li na le phetoho e ikemetseng ea li-iframes ho li-tag tsa <amp-iframe>.


Phatlalatso

<amp-iframe> ho kopanya tag


extension

The Accelerated Mobile Pages Generator e iphumanela hore na iframe e kentsoe leqepheng la hau ebe e fetola li-iframe life tseo e li fumanang ho tag ea <amp-iframe>.

AMPHTML hajoale e lumella feela ho kenya litaba tse nang le khokahano e nepahetseng ea HTTPS!

The Accelerated Mobile Pages Generator e hlahloba ka bo eona hore na URL e sebelisitsoeng ho iframe le eona e ka fihlelleha ka khokahano e patiloeng ea HTTPS. Ho etsa sena, Accelerated Mobile Pages Generator e fapanyetsana 'HTTP' bakeng sa 'HTTPS' ho URL. Haeba URL e ka buloa ka HTTPS, jenereithara ea Accelerated Mobile Pages e fetolela iframe ka har'a tag ea 'amp-iframe' hape e etsa hore litaba tsa iframe li fumanehe ka mofuta oa AMPHTML.

Haeba URL e sa khone ho laeloa ka HTTPS, litaba tsa iframe li ke ke tsa hlahisoa ka kotloloho ho mofuta oa AMPHTML. Maemong ana, The Accelerated Mobile Pages Generator e bonts'a setšoantšo sa li-placeholder tse latelang:

Ka ho tobetsa setšoantšo sena, mosebelisi a ka bula litaba tsa iframe ka 'khokahano ea HTTP' e sa ngolisoang. Ka tsela ena, litaba tsa IFrame bonyane li ka fumaneha ka tharollo e ngoe hape ha e hlokomolohuoe ka botlalo.


Phatlalatso