<commit_before>function url2cmd(url) {
    if (!url.match(/^https?:\/\/www\.nicovideo\.jp\/watch\/([a-z0-9]+)$/)) {
        pne_url2a(url);
        return false;
    }
    var vid = RegExp.$1;
    var html = '<div style="width:318px; border:solid 1px #CCC;">'
        + '<iframe src="https://embed.nicovideo.jp/watch/' + vid + '" width="100%"'
        + ' height="198" scrolling="no" border="0" frameborder="0">'
        + '<p style="font-size:12px; padding:4px;">iframe対応ブラウザでご覧下さい。</p>'
        + '</iframe></div>';
    document.write(html);
}<commit_msg>(fixed #4324) 動画プレイヤーではなくサムネイル表示に修正<commit_after>function url2cmd(url) {
    if (!url.match(/^https?:\/\/www\.nicovideo\.jp\/watch\/([a-z0-9]+)$/)) {
        pne_url2a(url);
        return false;
    }
    var vid = RegExp.$1;
    var html = '<iframe src="https://ext.nicovideo.jp/thumb/' + vid + '" width="100%"'
        + ' height="198" scrolling="no" style="border:solid 1px #ccc;" frameborder="0">'
        + '<a href="' + url + '">' + url + '</a>'
        + '</iframe>';
    document.write(html);
}
{'fraction_non_alphanumeric': 0.23773584905660378, 'fraction_numerical': 0.03490566037735849, 'mean_word_length': 2.8442028985507246, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '490278', 'n_tokens_mistral': 446, 'n_tokens_neox': 413, 'n_words': 61}