PageSourceSearch

https://withvayu.com/wp-content/themes/withvayu/assets/js/pages/homepage.js?ver=1791029773

js withvayu.com collected 2026-10-03 19:29:45 UTC 688 bytes, 28 lines download raw bytes

1$ = jQuery.noConflict();
2
3jQuery(document).ready(function($) {
4
5
6
7
8});
9
10let video = document.getElementById('process-video');
11
12let srcDesktop = video.dataset.srcDesktop;
13let srcMobile  = video.dataset.srcMobile;
14let currentSrc = null;
15
16function updateVideoSource() {
17    let isMobile = window.matchMedia('(max-width: 767px)').matches;
18    let newSrc   = isMobile ? srcMobile : srcDesktop;
19    if (newSrc === currentSrc) return;
20    currentSrc = newSrc;
21    video.querySelector('source').src = newSrc;
22    video.load();
23    video.play().catch(function () {});
24}
25
26updateVideoSource();
27window.addEventListener('resize', updateVideoSource);
28window.addEventListener('load', updateVideoSource);

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.