Skip to content

Show the poster image when the max-video-preview:0 meta tag is present #39599

@coreymasanto

Description

@coreymasanto

Description

#38554 added support for the max-video-preview meta tag by ensuring that previews do not exceed the specified value. However, it did not add support for the case where the story contains max-video-preview:0. When the value is 0, the story preview should either should show the poster image instead. The TODO for this logic exists in amp-story-page.js here.

Reproduction Steps

Can be tested with a story that contains a max-video-preview:0 meta tag

Relevant Logs

No response

Browser(s) Affected

No response

OS(s) Affected

No response

Device(s) Affected

No response

AMP Version Affected

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions