Phallo ea AMP ka tšehetso ea video ea YouTube

Jenereithara ea Accelerated Mobile Pages (AMP) bakeng sa ho theha maqephe a Google AMP , li- plugins tsa AMP le jenereithara ea li-tag tsa AMPHTML li tšehetsa phetoho e itirisang ea livideo tsa YouTube.


Phatlalatso

Khokahano ea tag ea <amp-youtube>


extension

Jenereithara ea AMPHTML e iphumanela hore na video ea YouTube e kentsoe webosaeteng ea hau ebe e fetola video ea YouTube ka boeona hore e be tag ea <amp-youtube>.

Jenereithara ea AMPHTML e ipapisitse le URL ea video ea YouTube e sebelisitsoeng (youtube.com/embed/xyz ...) , e fumanehang ho tag ea pele ea YouTube. Jenereithara ea AMPHTML e bala lintlha tse latelang ka URL ena:

  • ID ea video ea YouTube

Livideo tsa YouTube li hlahisoa ka maqephe a mohala a potlakisitsoeng ka mokhoa oa 16: 9.


Phatlalatso