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
|
<ReactPlayer
|
||||||
controls={controls || true}
|
controls={controls || true}
|
||||||
height="100%"
|
height="100%"
|
||||||
|
muted={autoplay}
|
||||||
onEnded={onEnded}
|
onEnded={onEnded}
|
||||||
onError={onError}
|
onError={onError}
|
||||||
onPause={onPause}
|
onPause={onPause}
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,8 @@ class VideoWidget extends BaseWidget<VideoWidgetProps, WidgetState> {
|
||||||
{
|
{
|
||||||
propertyName: "autoPlay",
|
propertyName: "autoPlay",
|
||||||
label: "Auto Play",
|
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",
|
controlType: "SWITCH",
|
||||||
isJSConvertible: true,
|
isJSConvertible: true,
|
||||||
isBindProperty: true,
|
isBindProperty: true,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user