<commit_before>$(document).ready(function() {
	$("#transcript").focus();

	player = new MediaElementPlayer('#audio');

	// Play/pause toggle
	$("#transcript").bind("keydown", "shift+space", function() {
		if (player.media.paused) {
			player.media.play();
		} else {
			player.media.pause();
		}

		return false;
	});

	// Rewind 30 seconds
	$("#transcript").bind("keydown", "ctrl+h", function() {
		player.media.setCurrentTime(player.media.currentTime - 30);
		return false;
	});

	// Rewind 5 seconds
	$("#transcript").bind("keydown", "ctrl+j", function() {
		player.media.setCurrentTime(player.media.currentTime - 5);
		return false;
	});

	// Fast forward 5 seconds
	$("#transcript").bind("keydown", "ctrl+k", function() {
		player.media.setCurrentTime(player.media.currentTime + 5);
		return false;
	});

	// Fast forward 30 seconds
	$("#transcript").bind("keydown", "ctrl+l", function() {
		player.media.setCurrentTime(player.media.currentTime + 30);
		return false;
	});

	// Jump to beginning
	$("#transcript").bind("keydown", "ctrl+0", function() {
		player.media.setCurrentTime(0);
		return false;
	});
});
<commit_msg>Disabled MediaElement keyboard support since we do that ourselves<commit_after>$(document).ready(function() {
	$("#transcript").focus();

	player = new MediaElementPlayer('#audio', { 'enableKeyboard': false });

	// Play/pause toggle
	$("#transcript").bind("keydown", "shift+space", function() {
		if (player.media.paused) {
			player.media.play();
		} else {
			player.media.pause();
		}

		$("#audio").blur();

		return false;
	});

	// Rewind 30 seconds
	$("#transcript").bind("keydown", "ctrl+h", function() {
		player.media.setCurrentTime(player.media.currentTime - 30);
		return false;
	});

	// Rewind 5 seconds
	$("#transcript").bind("keydown", "ctrl+j", function() {
		player.media.setCurrentTime(player.media.currentTime - 5);
		return false;
	});

	// Fast forward 5 seconds
	$("#transcript").bind("keydown", "ctrl+k", function() {
		player.media.setCurrentTime(player.media.currentTime + 5);
		return false;
	});

	// Fast forward 30 seconds
	$("#transcript").bind("keydown", "ctrl+l", function() {
		player.media.setCurrentTime(player.media.currentTime + 30);
		return false;
	});

	// Jump to beginning
	$("#transcript").bind("keydown", "ctrl+0", function() {
		player.media.setCurrentTime(0);
		return false;
	});
});

{'fraction_non_alphanumeric': 0.20237087214225233, 'fraction_numerical': 0.011854360711261643, 'mean_word_length': 4.495348837209303, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3215772', 'n_tokens_mistral': 841, 'n_tokens_neox': 755, 'n_words': 147}