apivideo / api.video-react-player

api.video React player component
MIT License
22 stars 0 forks source link

[Bug]: Video sometimes starts despite the autoplay=false prop being set #26

Closed will-grange-inclusive closed 3 months ago

will-grange-inclusive commented 3 months ago

Version

1.1.0

Environment that reproduces the issue

Win 11, Chrome Version 126.0.6478.127, though this may well occure on other platforms/devices.

Is it reproducible in the example application?

Yes

Reproduction steps

Configure the react player with autoplay=false and launch browser window. Note: this only occurs a small percentage of the time, but it is bad experience for our SEN users when it occurs, as we a presenting our own mult-access play control at this time.

Expected result

The video does not play.

Actual result

On occasion the video plays despite autoplay=false prop being set.

Additional context

No response

Relevant logs output

No response

will-grange-inclusive commented 3 months ago

Closing this, as was able to isolate this issue to our own react hook calling though to invoke play() unexpectedly.