<commit_before>'use strict';

/**
 * Initialise the video tracker
 */

var tracker = new window.tracker({
  debug: true,
  events: ["loadedmetadata", "play", "pause", "seeking", "seeked", "volumechange", "timeupdate"],
  data: {
    token: "<KEY>",
    url: "//video-analytics.herokuapp.com/log",
  },
});
tracker.init();
window.tracker = tracker;<commit_msg>Video analytics prep, init vjs player<commit_after>'use strict';

/**
 * Initialise the video tracker
 */
var tracker = new window.tracker({
  debug: true,
  events: ["loadedmetadata", "play", "pause", "seeking", "seeked", "volumechange", "timeupdate","confused"],
  data: {
    token: "<KEY>",
    url: "//video-analytics.herokuapp.com/log",
  },
});
tracker.init();
window.tracker = tracker;

/**
 * Initialise the Video.js player w/ ConfusedButton
 */
videojs('video-player', {
  plugins: { confusedButton: {} }
});
{'fraction_non_alphanumeric': 0.1949828962371722, 'fraction_numerical': 0.0, 'mean_word_length': 4.353658536585366, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3203646', 'n_tokens_mistral': 296, 'n_tokens_neox': 286, 'n_words': 69}