AMP plugin nrog YouTube txhawb nqa video

Cov nplooj ntawv nrawm nrawm (AMP) lub tshuab hluav taws xob rau kev tsim Google AMP nplooj ntawv , AMP plugins thiab AMPHTML tag generator txhawb kev hloov pauv ntawm YouTube cov yeeb yaj kiab.


Kev tshaj tawm

<amp-youtube> -Tag kev koom ua ke


extension

Lub AMPHTML lub tshuab hluav taws xob yuav tshawb nrhiav seb YouTube ib zaj yeeb yaj kiab tso rau hauv koj lub vev xaib thiab yuav hloov kho qhov YouTube uas nrhiav pom nyob rau qhov twg <amp-youtube> tag.

Lub tshuab hluav taws xob AMPHTML yog raws li YouTube video URL siv (youtube.com/embed/xyz ...) , uas yog muaj nyob rau hauv thawj embed YouTube tag. Lub tshuab hluav taws xob AMPHTML nyeem cov ntaub ntawv hauv qab no ntawm qhov URL no:

  • YouTube video ID

YouTube cov yeeb yaj kiab tau tso tawm los ntawm cov kab tsim tsim rau nplooj ntawv ceev hauv 16: 9 hom ntawv.


Kev tshaj tawm