Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML5 compliance for Youtube service #760

Closed
wants to merge 1 commit into from

Conversation

arthur-lextenso
Copy link

If we use "videoID" as a custom attribute for YouTube integration, HTML5 validator fails with the message "Error: Attribute videoID not allowed on element div at this point."

We must use data-* prefix to define custom attributes, according to the HTML5 spec :
https://www.w3.org/TR/html52/dom.html#embedding-custom-non-visible-data-with-the-data-attributes

This commit is inspired by the Vimeo service integration.

If we use "videoID" as a custom attribute for YouTube integration, HTML5 validator fails with the message "Error: Attribute videoID not allowed on element div at this point."

We must use data-* prefix to define custom attributes, according to the HTML5 spec : 
https://www.w3.org/TR/html52/dom.html#embedding-custom-non-visible-data-with-the-data-attributes


This commit is inspired by the Vimeo service integration.
@stale
Copy link

stale bot commented Aug 2, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the inactive label Aug 2, 2021
@stale stale bot closed this Aug 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant