Skip to content

Commit

Permalink
WRR-4591: Fix VideoPlayer to show only the mini feedback when press…
Browse files Browse the repository at this point in the history
…ing play/pause key (#1701)

* Set the initial value so that playbackRate is not undefined

Enact-DCO-1.0-Signed-off-by: Hyelyn Kim (myelyn.kim@lge.com)

* Added a fixed log to CHANGELOG

Enact-DCO-1.0-Signed-off-by: Hyelyn Kim (myelyn.kim@lge.com)

* Modified change log properly

Enact-DCO-1.0-Signed-off-by: Hyelyn Kim (myelyn.kim@lge.com)
  • Loading branch information
mmyelyn authored Sep 30, 2024
1 parent 0fe281d commit 17c47f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ The following is a curated list of changes in the Enact sandstone module, newest
- `sandstone/Scroller` to show scroll indicator when `focusableScrollbar` prop is `true`
- `sandstone/Scroller` to read out properly when `sandstone/Panels` has `sandstone/Scroller` with `focusableScrollbar`
- `sandstone/Steps` prop `size` to accept number type
- `sandstone/VideoPlayer` to show only the mini feedback when pressing play/pause key

## [2.9.0] - 2024-07-17

Expand Down
1 change: 1 addition & 0 deletions VideoPlayer/VideoPlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,7 @@ const VideoPlayerBase = class extends Component {
this.mediaControlsSpotlightId = props.spotlightId + '_mediaControls';
this.jumpButtonPressed = null;
this.playerRef = createRef();
this.playbackRate = 1;

// Re-render-necessary State
this.state = {
Expand Down

0 comments on commit 17c47f3

Please sign in to comment.