PageSourceSearch

https://www.wheelheels.de/wp-content/plugins/hn-isinviewport/js/hn-isinviewport.js?ver=c83dd0a7

js wheelheels.de collected 2026-09-25 03:18:29 UTC 567 bytes, 36 lines download raw bytes

1
2
3
4(function($){
5
6	$(document).ready(function() {
7
8
9		var playifvisible = function(el) {
10
11			$(window).on('load resize scroll', function(){
12
13				$('video.playifvisible').each(function(){
14
15					var my_tolerance = $(this).data('tolerance') ? $(this).data('tolerance') : 0;
16
17					if ($(this).is(":in-viewport(" + my_tolerance + ")")) {
18			        	$(this)[0].play();
19			        	// console.log('play video');
20			    	} else {
21			        	$(this)[0].pause();
22			        	// console.log('pause video');
23			    	}
24				})
25
26			})
27		}
28
29
30		playifvisible();
31
32
33	});
34
35
36})(jQuery);

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.