Address: Lipsum Street Lorem
Way PO 60009 Dolor/ALASKA

Phone: +1 234 56 78

Fax: +1 876 54 32

E-Mail: amp@mobius.studio

How To Embed A YouTube Video AMP HTML Blogger Templates

amp-youtube


To save a Youtube video on a valid template AMP HTML for Blogger/Blogspot, on tag <head> must be the amp-youtube script like this :

<script async='async' custom-element='amp-youtube' src='https://cdn.ampproject.org/v0/amp-youtube-0.1.js'/>

then how the writing on the template/postings like this (the size of a match):

  <amp-youtube width="480"
height="270"
layout=responsive
data-videoid="lBTCB7yLs8Y">
</amp-youtube>

Code lBTCB7yLs8Y is the code obtained from the Youtube URL. Sample video by applying the code above, like this:




Layouts that support: fill, fixed, fixed-height, flex-item, nodisplay, responsive
Due to the limited capabilities of a mobile browser, then it cannot auto play to amp-youtube.

Disqus Comments