Iplagi ye-AMP ngenkxaso yevidiyo yeYouTube

I-Accelerated Mobile Pages (AMP) umvelisi wokwenza amaphepha e-AMP kaGoogle , iiplagi ze-AMP kunye ne- AMPHTML ithegi yejenereyitha ixhasa uguqulelo oluzenzekelayo lweevidiyo zeYouTube.


Isibhengezo

<amp-youtube> ukudityaniswa kwethegi


extension

Umvelisi we-AMPHTML ubhaqa ngokuzenzekelayo ukuba ividiyo ye-YouTube ifakwe kwiwebhusayithi yakho kwaye iguqule ividiyo yeYouTube ngokuzenzekelayo ifumaneke ithegi ye- <amp-youtube>.

Umvelisi we-AMPHTML usekwe kwi-URL yevidiyo yeYouTube esetyenzisiweyo (youtube.com/embed/xyz ...) , equlethwe kwithegi yokuqala yeYouTube. Umvelisi we-AMPHTML ufunda ezi datha zilandelayo ngale URL:

  • Isazisi sevidiyo seYouTube

Iividiyo zeYouTube ziboniswa kwiphepha elenzelwe ukukhawuleziswa elikwifomathi ye-16: 9.


Isibhengezo