To remove the uploaded by name that appears under your Search Result in Google you need to add this code to the Div Surrounding the iframe used to embed your YouTube video:
Removing “uploaded by” from Google Search & Keeping YouTube Video Embedded Responsively
If you’ve embedded the YouTube video so it resizes with your screen responsively and NOT at a fixed size then you need to add it to the Div that comes AFTER the style but BEFORE the iframe.
If you’re just grabbing the embed code from YouTube your video won’t be responsive and won’t appear properly on mobile – this is what 99% of website owners do and it looks SHOCKING on mobile and causes issues in Google Search Console.
How to embed YouTube Videos Responsively in WordPress
Embed your YouTube videos responsively in WordPress classic editor or any website using this YouTube Embed Code Generator – Click here to make your YouTube Video Responsive.
Of course, if you’re writing and editing in Gutenberg Block Editor in WordPress you can just paste a YouTube video URL into the YouTube Gutenberg Block and the video will automatically be responsive!