Skip to content

[amp-story-player] Audit public API methods for layout state #34375

@Enriqe

Description

@Enriqe

We should audit the public methods of the player for layout state.

In #34360, I found that by calling play() under certain circumstances (player hidden, and no user scroll), the player can break. We should investigate other public methods to see if they will work correctly (e.g. show(), add(), etc..).

/cc @ampproject/wg-stories

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions