<commit_before>function NFPRewind(seconds) {
  var videoPlayer = window.netflix.cadmium.objects.videoPlayer();
  var currentTimeMS = videoPlayer.getCurrentTime();
  var secondsInMS = seconds * 1000;
  var seekBackToTime = currentTimeMS - secondsInMS;
  // var roundedSeekBackTenSeconds = Math.floor(seekBackTenSeconds / 1000) * 1000;
  //
  // if (roundedSeekBackTenSeconds < 0) {
  //   roundedSeekBackTenSeconds = 0;
  // }
  videoPlayer.seek(seekBackToTime);
}

$NFP(document).on("click", ".icon-player-rewind10", function(event) {
      console.log("rewinding!");
      NFPRewind(10);
});
$NFP(document).on("click", ".icon-player-rewind30", function(event) {
      NFPRewind(30);
});
<commit_msg>removed commented code, logging, clarified variable name<commit_after>function NFPRewind(seconds) {
  var videoPlayer = window.netflix.cadmium.objects.videoPlayer();
  var currentTimeMS = videoPlayer.getCurrentTime();
  var rewindMS = seconds * 1000;
  var seekBackToTime = currentTimeMS - rewindMS;
  videoPlayer.seek(seekBackToTime);
}

$NFP(document).on("click", ".icon-player-rewind10", function(event) {
      NFPRewind(10);
});

$NFP(document).on("click", ".icon-player-rewind30", function(event) {
      NFPRewind(30);
});

{'fraction_non_alphanumeric': 0.15040650406504066, 'fraction_numerical': 0.027642276422764227, 'mean_word_length': 4.806603773584905, 'pattern_counts': {'":': 0, '<': 4, '<?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': '4790103', 'n_tokens_mistral': 445, 'n_tokens_neox': 409, 'n_words': 67}