PageSourceSearch

https://www.rfca-yorkshire.org.uk/wp-content/themes/rfca/components/project/hero-video/index.js

js rfca-yorkshire.org.uk collected 2026-10-02 09:58:05 UTC 520 bytes, 14 lines download raw bytes

1var videoTarget = document.querySelectorAll("#hero-video");
2var videoPlay = document.querySelector(".hero-content__action--play");
3var videoPause = document.querySelector(".hero-content__action--pause");
4
5if (videoTarget.length) {
6    videoPlay.addEventListener('click', function(e) {
7        videoTarget[0].play();
8        videoTarget[0].classList.remove('paused');
9    });
10    videoPause.addEventListener('click', function(e) {
11        videoTarget[0].pause();
12        videoTarget[0].classList.add('paused');
13    });
14}

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.