| Server IP : 162.214.74.102 / Your IP : 216.73.216.192 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/www/lrsys_apps/marisol/application/plugins/module_teammanagement/assets/js/ |
Upload File : |
// console.log($('.header'));
AFRAME.registerComponent('vidhandler_lilica', {
// ...
init: function() {
// Set up initial state and variables.
this.toggle = false;
this.vid = document.querySelector("#vid_lilica");
this.vid.pause();
},
tick: function() {
if (this.el.object3D.visible == true) {
if (!this.toggle) {
this.toggle = true;
this.vid.style.backgroundColor = 'transparent';
this.vid.play();
this.vid.onended = function() {
// this.vid.style.display = "none";
// this.toggle = false;
// document.querySelector("#btn_refresh").style.display = "none";
// var r = confirm("Visite nossa Fanpage!");
// if (r == true) {
// window.location.href = "https://www.facebook.com/LilicaeTigor";
// }
};
}
} else {
this.toggle = false;
this.vid.pause();
}
}
});
AFRAME.registerComponent('vidhandler_tigor', {
// ...
init: function() {
// Set up initial state and variables.
this.toggle = false;
this.vid = document.querySelector("#vid_tigor");
this.vid.pause();
},
tick: function() {
if (this.el.object3D.visible == true) {
if (!this.toggle) {
this.toggle = true;
// document.querySelector(".a-canvas").style.backgroundColor = 'transparent';
// $('.btnskips').css('background-color', '#e44085');
// $('#vid_tigor').css('background-color', '#e44085');
// $('#vid_tigor_src').css('background-color', '#e44085');
// $('#vid_tigor').show();
this.vid.play();
}
} else {
this.toggle = false;
this.vid.pause();
}
}
});
// AFRAME.registerComponent('vidhandler_tigor', {
// // ...
// init: function() {
// // Set up initial state and variables.
// this.toggle = false;
// this.vid = document.querySelector("#vid_tigor");
// this.vid.pause();
// },
// tick: function() {
//
// if (this.el.object3D.visible == true) {
// if (!this.toggle) {
// this.toggle = true;
// document.querySelector("#vid_tigor").style.backgroundColor = 'transparent';
// this.vid.play();
// }
// } else {
// this.toggle = false;
// this.vid.pause();
// }
// }
// });
function refrespage() {
location.reload();
}/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/