PageSourceSearch

https://www.goefolk.be/js/jquery.videotrack.js

js goefolk.be collected 2026-09-24 13:55:03 UTC 1,795 bytes, 53 lines download raw bytes

1$(window).unload (function() {
2	$('.trackedvideo').each(function(index) {
3		postdata($(this).attr('class'),"unload",$(this).get(0).currentTime, $(this).attr('id'));
4	});
5});
6
7$(window).bind('pagehide',function() { // unload voor ipad
8	$('.trackedvideo').each(function(index) {
9		postdata($(this).attr('class'),"unload",$(this).get(0).currentTime, $(this).attr('id'));
10	});
11});
12
13$(document).ready(function(){
14	$('.trackedvideo').each(function(index) {
15		postdata($(this).attr('class'),"loadinpage","", $(this).attr('id'));
16	});
17
18	$('.trackedvideo').bind('playing', function(){
19		postdata($(this).attr('class'),"playing",$(this).get(0).currentTime, $(this).attr('id'));
20	});
21		
22	$('.trackedvideo').bind('play', function(){
23		postdata($(this).attr('class'),"play",$(this).get(0).currentTime, $(this).attr('id'));
24	});
25	
26	$('.trackedvideo').bind('pause', function(){
27		postdata($(this).attr('class'),"pause",$(this).get(0).currentTime, $(this).attr('id'));
28	});
29		
30	$('.trackedvideo').bind('ended', function(){
31		postdata($(this).attr('class'),"ended","", $(this).attr('id'));
32	});
33		
34	$('trackedvideo').bind('seeking', function(){ // werkt niet op ipad
35		postdata($(this).attr('class'),"seeking",$(this).get(0).currentTime, $(this).attr('id'));
36	});
37});
38
39function postdata($id, $action, $actionextra, $moviesessionid){
40	videotester = document.createElement('video');
41	var ogg = videotester.canPlayType("video/ogg");
42	var mp4 = videotester.canPlayType("video/mp4");
43	var webm = videotester.canPlayType("video/webm");
44
45	$.ajax({
46		type: "POST",
47		url: "/ajax/videotracking.php",
48		async: false,
49		data: 	"id=" + $id + "&action=" + $action + "&actionextra=" + $actionextra + "&moviessessionid=" + $moviesessionid + "&ogg=" + ogg + "&mp4=" + mp4 + "&webm=" + webm,
50		success: function(url){
51		}
52	});	
53}

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.