<commit_before>function inIframe () {
    try {
        return window !== window.parent;
    } catch (e) {
        return true;
    }
}

document.addEventListener('first-demo', function() {
    if (!inIframe()) {  // speaker notes
        document.getElementById("first-demo-video").play();
    }
} );<commit_msg>seek before playing so we can view the slide twice without reloading the whole presentation.<commit_after>function inIframe () {
    try {
        return window !== window.parent;
    } catch (e) {
        return true;
    }
}

document.addEventListener('first-demo', function() {
    if (!inIframe()) {  // speaker notes
        var aVideo = document.getElementById("first-demo-video");
        aVideo.currentTime = 0.0;
        aVideo.play();
    }
} );
{'fraction_non_alphanumeric': 0.14192708333333334, 'fraction_numerical': 0.0026041666666666665, 'mean_word_length': 2.6445497630331753, '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': '4453719', 'n_tokens_mistral': 220, 'n_tokens_neox': 218, 'n_words': 53}