mpratt / Embera

A Oembed consumer library, that gives you information about urls. It helps you replace urls to youtube or vimeo for example, with their html embed code. It has advanced features like offline support, responsive embeds and caching support.
MIT License
335 stars 59 forks source link

iFrame `frameborder` attribute is deprecated in HTLM5 #101

Closed jimblue closed 5 months ago

jimblue commented 9 months ago

Hi,

First thank for your amazing lib :)

After running a W3C test on the Embera HTML output , I've noticed that the frameborder attribute was deprecated and should be removed: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#frameborder

The value 1 (the default) draws a border around this frame. The value 0 removes the border around this frame, but you should instead use the CSS property border to control