Open guillerodriguez opened 4 months ago
When looping, the default startAt time is 1s instead of 0, and setting startAt=0 explicitly does not help. This is due to the following line:
https://github.com/pupunzi/jquery.mb.YTPlayer/blob/6fc1ce6d6e294ef8fd9e26142ed495f122a9d583/src/jquery.mb.YTPlayer.src.js#L2321
where a 0 value for startAt is falsey and thus get replaced with 1.
Perhaps change this to:
YTPlayer.opt.startAt = (YTPlayer.opt.startAt !== undefined) ? YTPlayer.opt.startAt : 1;
?
When looping, the default startAt time is 1s instead of 0, and setting startAt=0 explicitly does not help. This is due to the following line:
https://github.com/pupunzi/jquery.mb.YTPlayer/blob/6fc1ce6d6e294ef8fd9e26142ed495f122a9d583/src/jquery.mb.YTPlayer.src.js#L2321
where a 0 value for startAt is falsey and thus get replaced with 1.
Perhaps change this to:
?