pull/1/head
Jan Umbach 2024-05-31 00:15:21 +02:00
parent 1d67f96511
commit 8fc9d261ea
1 changed files with 5 additions and 0 deletions

View File

@ -47,6 +47,11 @@
class ShxVideo extends HTMLElement {
constructor() {
super();
}
connectedCallback() {
console.log('connected');
this.video = this.querySelector('video');
this.videoWrapper = video.closest('.shx-video__wrapper');
//this.videoWrapper.addEventListener('click', this.togglePlay.bind(this));