For looping video you should edit file jquery.videoHelper.js in folder wp-content\themes\paul\js and replace code:
function initYT() {
var id = _this.$el.attr("data-video-id"),
player = new YT.Player("yt_" + id, {
height: '1080',
width: '1920',
videoId: id,
playerVars: {
controls: 0,
rel: 0,
showinfo: 0,
modestbranding: 1
},
with this one:
function initYT() {
var id = _this.$el.attr("data-video-id"),
player = new YT.Player("yt_" + id, {
height: '1080',
width: '1920',
videoId: id,
playerVars: {
controls: 0,
rel: 0,
showinfo: 0,
modestbranding: 1,
loop : 1,
playlist : id
},
0 Comments