Closed (works as designed)
Project:
Media: YouTube
Version:
7.x-2.0-rc3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Oct 2013 at 17:35 UTC
Updated:
23 Oct 2013 at 18:46 UTC
Hi,
The following error appears on the Markup Validation Service:
The frameborder attribute on the iframe element is obsolete. Use CSS instead.
According to w3scools
The frameborder attribute is not supported in HTML5. Use CSS instead.Therefore I'm attaching a patch to be reviewed and commited. The patch is using the seamless attribute and CSS as a fallback for IE & FireFox. Thanks, Rotem
| Comment | File | Size | Author |
|---|---|---|---|
| w3c_html5_validation.patch | 1.1 KB | rreiss |
Comments
Comment #1
devin carlson commentedThanks for the patch!
Drupal 7 supports XHTML 1.0 Strict. If you're using it with HTML 5 then I'd suggest overriding template files such as
media-youtube-video.tpl.phpas required and making any changes necessary to support HTML 5.