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

No AMP blocks available #6836

Closed
marziolek opened this issue Jan 13, 2022 · 1 comment
Closed

No AMP blocks available #6836

marziolek opened this issue Jan 13, 2022 · 1 comment
Labels

Comments

@marziolek
Copy link

Bug Description

Fresh WP install, no plugins except for AMP. There are no available AMP blocks.

Expected Behaviour

There should be multiple AMP blocks i.e JW Player block

Screenshots

No response

PHP Version

7.3.21

Plugin Version

2.2.0

AMP plugin template mode

Standard

WordPress Version

5.8.3

Site Health

No response

Gutenberg Version

No response

OS(s) Affected

No response

Browser(s) Affected

No response

Device(s) Affected

No response

Acceptance Criteria

No response

Implementation Brief

No response

QA Testing Instructions

No response

Demo

No response

Changelog Entry

No response

@marziolek marziolek added the Bug Something isn't working label Jan 13, 2022
@westonruter
Copy link
Member

There should be multiple AMP blocks i.e JW Player block

These blocks have been deprecated/removed due to low/no usage. See #4556. Registration of these blocks is now omitted if they are not being used on a post: #5575.

As an alternative to these blocks, you could just use the Custom HTML block and add the AMP markup directly. The blocks were not particularly well designed in terms of user interface, so you're not losing much by just adding the markup yourself. For example:

<amp-jwplayer
  data-player-id="aBcD1234"
  data-media-id="5678WxYz"
  layout="responsive"
  width="16"
  height="9"
>
</amp-jwplayer>

@westonruter westonruter added Invalid and removed Bug Something isn't working labels Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants