admin管理员组

文章数量:1429093

I'm using Advanced Custom Fields plugin and i have a oEmbed field in it where i want to display YouTube videos. This is how they look now:

/

Why do they look so big? In "Edit field group", in "Embed Size", i've set the video width as 400px and the height as 336px. But the embeded video on the posts is much bigger.

When i right-click on it and select "see embed code", i can see that the size is totally differnt:

<iframe width="795" height="596" src="" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

How can i change this?

本文标签: Advanced Custom Fields oEmbed video width and height