Skip to content

Commit

Permalink
Fix broken link on amp-video-iframe documentation (#35424)
Browse files Browse the repository at this point in the history
On the the amp.dev component page for amp-video-iframe, the AMP page is invalid due to "Invalid URL protocol 'hhttps:' for attribute 'href' in tag 'a'. ". This change fixes the broken URL.
  • Loading branch information
Cauchon committed Jul 28, 2021
1 parent a6d2007 commit f666b7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/amp-video-iframe/amp-video-iframe.md
Expand Up @@ -426,7 +426,7 @@ prefixed with `custom_`, i.e. the object `{myVar: 'foo'}` will be available as
#### <a name="getConsentData"></a> `getConsentData(callback)`

The iframe document can request user consent data when the host document uses
[`amp-consent`](hhttps://amp.dev/documentation/components/amp-consent/).
[`amp-consent`](https://amp.dev/documentation/components/amp-consent/).

Note: If you only require to block the iframe from loading when consent is not given, it's preferable to [set the `data-block-on-consent` attribute](https://amp.dev/documentation/components/amp-consent/#basic-blocking-behaviors) instead of calling `getConsentData()`

Expand Down

0 comments on commit f666b7a

Please sign in to comment.