Skip to content

Commit

Permalink
✅ Validator should satify amp-youtube, not amp-video (#34198)
Browse files Browse the repository at this point in the history
  • Loading branch information
alanorozco committed May 4, 2021
1 parent f8a4f5a commit 08ee55b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions extensions/amp-youtube/validator-amp-youtube.protoascii
Expand Up @@ -17,20 +17,21 @@
tags: { # amp-youtube 1.0
html_format: AMP
tag_name: "SCRIPT"
satisfies: "amp-video 1.0"
excludes: "amp-video 0.1"
satisfies: "amp-youtube 1.0"
excludes: "amp-youtube 0.1"
extension_spec: {
name: "amp-youtube"
version_name: "v1.0"
version: "1.0"
}
attr_lists: "common-extension-attrs"
}

tags: { # amp-youtube 0.1 and latest
html_format: AMP
tag_name: "SCRIPT"
satisfies: "amp-video 0.1"
excludes: "amp-video 1.0"
satisfies: "amp-youtube 0.1"
excludes: "amp-youtube 1.0"
extension_spec: {
name: "amp-youtube"
version_name: "v0.1"
Expand All @@ -41,6 +42,7 @@ tags: { # amp-youtube 0.1 and latest
}
attr_lists: "common-extension-attrs"
}

tags: { # <amp-youtube>
html_format: AMP
tag_name: "AMP-YOUTUBE"
Expand Down

0 comments on commit 08ee55b

Please sign in to comment.