Feedback
Disable VideoPlayer's Play button when no media is available
- Status
- Fixed
- Fixed in
- v26.11.4
- Area
- desktop
- Source discussion
- https://forum.objo.dev/d/1524-class-videoplayer-suggestion
- Last updated
- 2026-11-16
Upvotes
1 upvote
Uses your Objo forum account.
Public summary
VideoPlayer's built-in Play button remains enabled when the player has no media, including immediately after construction and after Clear(). Clicking it does nothing, which incorrectly suggests playback is available.
Disable the button while the player is empty or the current source has failed, and enable it again when playback can be requested. Preserve the ability to request playback while a valid source is still loading, and to resume or restart paused, stopped or completed media.