You can edit file \wp-content\themes\paul\js\main.js
. In file need search code:
theme.initVideoHeader = function () {
var $fsBlock = $("#fs-block"),
$fsVideo = $fsBlock.find("#fs-video");
if ($fsVideo.length) {
$fsBlock.videoHelper({
viewport: $fsBlock,
onReady: function () {
;
},
hideUs: [$(".header-content-wrap")]
});
}
};
and replace it with this one:
theme.initVideoHeader = function () {
var $fsBlock = $("#fs-block"),
$fsVideo = $fsBlock.find("#fs-video");
if ($fsVideo.length) {
$fsBlock.videoHelper({
viewport: $fsBlock,
auto: true,
muted: true,
onReady: function () {
$("#playvideo").click();
},
hideUs: [$(".header-content-wrap")]
});
}
};
muted: true,
you can set this true or false.
0 Comments