Skip to content

Commit a447a93

Browse files
committed
playback_control: fix setOption not found
1 parent 56f0765 commit a447a93

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

js/webui/src/playback_controls.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,11 @@ class PlaybackOptionsButton_ extends React.PureComponent
173173
</DropdownButton>;
174174
}
175175

176+
setOption(id, value)
177+
{
178+
this.context.playerModel.setOption(id, value);
179+
}
180+
176181
renderOptions(options)
177182
{
178183
const menuItems = [];

0 commit comments

Comments
 (0)