loop = false;
}
-
var hidelinksonplay = $(e).data('hidelinksonplay') == undefined || $(e).data('hidelinksonplay') === '' ? [] : $(e).data('hidelinksonplay').split(',');
// console.log('Initialising video ID: ' + id, statsType, statsName);
if (settings.paused) {
player.pause();
player.one('play', function () {
- console.log(':!!!');
sendPlayEvent();
});
} else {
var id = player.id();
// Save the current player info if it has started
- if (player.hasStarted()) {
+ if (player.hasStarted() && player.controls()) {
fluidbook.video.players[id] = {
currentTime: player.currentTime(),
volume: player.volume(),
},
isVideoFullscreen: function () {
-
return this.fullscreenActive;
// var fullscreenPlayerFound = false;