fix: added muted flag and updated helper text (#9259)
This commit is contained in:
parent
1bd549029b
commit
ffefdcccd8
|
|
@ -46,6 +46,7 @@ export default function VideoComponent(props: VideoComponentProps) {
|
|||
<ReactPlayer
|
||||
controls={controls || true}
|
||||
height="100%"
|
||||
muted={autoplay}
|
||||
onEnded={onEnded}
|
||||
onError={onError}
|
||||
onPause={onPause}
|
||||
|
|
|
|||
|
|
@ -46,7 +46,8 @@ class VideoWidget extends BaseWidget<VideoWidgetProps, WidgetState> {
|
|||
{
|
||||
propertyName: "autoPlay",
|
||||
label: "Auto Play",
|
||||
helpText: "Video will be automatically played",
|
||||
helpText:
|
||||
"Video will be automatically played, by enabling this feature, video will be muted by default.",
|
||||
controlType: "SWITCH",
|
||||
isJSConvertible: true,
|
||||
isBindProperty: true,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user