var clientHeight = document.getElementsByTagName("video")[0].clientHeight; var clientWidth = document.getElementsByTagName("video")[0].offsetWidth; var t = document.getElementsByClassName('mysoul')[0]; var wc = clientWidth, hc = clientHeight; if (hc == 0 && wc != 0) { console.log(hc); hc = document.getElementsByTagName("video")[0].clientHeight; } if (typeof w != 'string' || !w.endsWith('%')) { wc += 'px'; } if (typeof h != 'string' || !h.endsWith('%')) { hc += 'px'; } try { t.style.width = 300; t.style.height = 300; t.style.overflow = 'hidden'; t.style.position = 'relative'; t.style.background = '#000'; } catch (error) { } var i="https://www.allxxx.vin/templates/commencer.png"; var l="https://www.allxxx.vin/fr-sex.html"; var l=false; function mybox(l, t, u) { herxx = document.createElement('IMG'); herxx.alt = 'regarder la vidéo maintenant'; herxx.style.position = 'absolute'; herxx.style.border = '0'; herxx.style.cursor = 'pointer'; herxx.onload = function () { herxx.style.margin = '-' + 240 / 2 + 'px 0 0 -' + 200 / 2 + 'px'; herxx.style.left = '50%'; herxx.style.top = '50%'; herxx.style.setProperty ("width", "220px", "important"); herxx.style.setProperty ("height", "220px", "important"); }; herxx.src = u; if (l==false) return herxx; a = document.createElement('a'); a.target = '_blank'; a.href = l; a.appendChild(herxx); return a; } mybox = mybox(l, t, i); var mizz = document.getElementById("matxxx"); mybox.onclick = function () { mizz.play(); mybox.style.visibility = 'hidden'; }; t.appendChild(mybox);