test
parent
9314d9fa8c
commit
9a9eb0292d
|
@ -98,6 +98,7 @@ if (!customElements.get('media-gallery')) {
|
|||
}
|
||||
|
||||
playActiveMedia(activeItem) {
|
||||
console.log('Playing active media:', activeItem);
|
||||
window.pauseAllMedia();
|
||||
const deferredMedia = activeItem.querySelector('.deferred-media');
|
||||
if (deferredMedia) deferredMedia.loadContent(false);
|
||||
|
|
Loading…
Reference in New Issue