|
|
@ -3,6 +3,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
|
|
|
el.addEventListener('mouseenter', function () {
|
|
|
|
el.addEventListener('mouseenter', function () {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
this.querySelector('video').play();
|
|
|
|
this.querySelector('video').play();
|
|
|
|
|
|
|
|
this.querySelector('i').style.display = 'none';
|
|
|
|
} catch {
|
|
|
|
} catch {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -10,6 +11,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
|
|
|
el.addEventListener('mouseleave', function () {
|
|
|
|
el.addEventListener('mouseleave', function () {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
this.querySelector('video').pause();
|
|
|
|
this.querySelector('video').pause();
|
|
|
|
|
|
|
|
this.querySelector('i').style.display = 'block';
|
|
|
|
} catch {
|
|
|
|
} catch {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|