PageSourceSearch

https://hadassah.moscow/wp-content/themes/hadassah/scripts/components/iframe-video.js?ver=1.0.1

js hadassah.moscow collected 2026-10-02 06:53:29 UTC 792 bytes, 29 lines download raw bytes

1document.addEventListener('click', function (e) {
2    const btn = e.target.closest('.js-play-video');
3    if (!btn) return;
4
5    const card = btn.closest('.js-video-card');
6    const preview = card.querySelector('.video-card__preview');
7    const stage = card.querySelector('.video-card__stage.item-stage');
8    const iframeWrapper = card.querySelector('.video-card__iframe');
9
10
11
12
13    let iframeHTML = iframeWrapper.dataset.iframe;
14
15    if (!iframeHTML.includes('autoplay')) {
16        iframeHTML = iframeHTML.replace(
17            'video_ext.php?',
18            'video_ext.php?autoplay=1&'
19        );
20    }
21
22    iframeWrapper.innerHTML = iframeHTML;
23
24    preview.style.display = 'none';
25    iframeWrapper.style.display = 'block';
26    if (stage) {
27        stage.style.display = 'none';
28    }
29});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.