Remove frameborder="0" from youtube embeds

Hi, I have a auto-post feature in a theme that embeds YouTube videos from using the YouTube video URL, But when using the WordPress video embed coding it includes the frameborder="0" which is now means the page won't validate in HTML5.

Is there a way to remove the frameborder="0" from being included?