-->
U3F1ZWV6ZTgxNTE0OTE0NjFfQWN0aXZhdGlvbjkyMzQ1MTU0NjUz
recent
أخبار ساخنة

How to Install YouTube videos on AMP Blogger

For those of you who are confused about how to install YouTube videos on AMP Blogger, this post is the solution to solve it. Because this article will tell you how to install Youtube video in the AMP HTML blog post.
You should know that the HTML5 model with AMP is very different because in sharing you should not place code or code like Javascript, CSS, etc.

First:-
If you are installing the AMP Iframe element, please install it by putting the code above

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

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

Install YouTube video title or mainboard
The icon/mainboard is the main image that you can see in this article above the title. Well, that's what the main board means. Please apply the code below to your post in HTML instead compose mode.
<amp-youtube

 data-videoid="OnfYLBNvrPw"

 height="270"

 layout="responsive"

 width="480">

</amp-youtube>

Installing Youtube Videos For The Post
And if you want to install on the inside of the post, then you use the code below.

<amp-iframe

 frameborder="0"

 height="200"

 src="https://www.youtube.com/embed/VERzpO--MAw"

 width="300"

 sandbox="allow-forms allow-scripts allow-same-origin allow-modals allow-popups"

 layout="responsive"

</amp-iframe>

الاسمبريد إلكترونيرسالة