The Accelerated Mobile Pages (AMP) generator for creating Google AMP pages , the AMP plugins and the AMPHTML tag generator support the automated conversion of YouTube videos.
The AMPHTML generator automatically detects whether a YouTube video is inserted on your website and automatically converts the YouTube video found into an <amp-youtube> tag.
The AMPHTML generator is based on the YouTube video URL used (youtube.com/embed/xyz ...) , which is contained in the original embed YouTube tag. The AMPHTML generator reads the following data via this URL:
The YouTube videos are displayed on the generated accelerated mobile pages in 16: 9 format.