Skip to content

[web] video_player autostart (incorrectly) set to true. #135194

@ditman

Description

@ditman

Is there an existing issue for this?

Steps to reproduce

While investigating #130147, I discovered this issue (that might be the root cause for the bug!)

The TL;DR is that this line of code:

Is (confusingly) setting autostart to true. The problem is that autostart is an HTML Boolean attribute, that behave in an unexpected way.

In order to guarantee that autostart is false, we need to remove the attribute!

Expected results

n/a

Actual results

This may be breaking integration tests in the video_player package when running on the Web platform, since we updated Chrome (or at least, causing flakiness). See the related bug:

Code sample

n/a

Screenshots or Video

No response

Logs

No response

Flutter Doctor output

n/a

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: pluginsSupport for writing, building, and running plugin packagesp: video_playerThe Video Player pluginplatform-webWeb applications specificallyteam-webOwned by Web platform teamtriaged-webTriaged by Web platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions