test
parent
1d67f96511
commit
8fc9d261ea
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue