<commit_before>PlayerClient = function (wssHost) {
    var webSocket;
    var timeout = 5000;
    var player;
    var keepAliveInterval;
    var clientPaused = false;

    function init() {
        print('<span style="color: green;">INIT PLAYER </span>');

        player = new YT.Player('player', {
            height: '600',
            width: '800',
            videoId: '8U0CvLV4Bsk',
            events: {
                'onReady': onPlayerReady
                // 'onStateChange': onPlayerStateChange
            }
        });
    }

    function onPlayerReady(event) {
            event.target.playVideo();

        // setVolume(50);
        // setQuality("small");
        //
        // keepAliveInterval = setInterval(keepAlive, timeout);
        //
        // connect();
    }

    function connect() {
        print('<span style="color: green;">CONNECTING: ' + wssHost + '</span>');<commit_msg>Disable hardcode<commit_after>PlayerClient = function (wssHost) {
    var webSocket;
    var timeout = 5000;
    var player;
    var keepAliveInterval;
    var clientPaused = false;

    function init() {
        print('<span style="color: green;">INIT PLAYER </span>');

        player = new YT.Player('player', {
            height: '600',
            width: '800',
            events: {
                'onReady': onPlayerReady,
                'onStateChange': onPlayerStateChange
            }
        });
    }

    function onPlayerReady() {
        setVolume(50);
        setQuality("small");

        keepAliveInterval = setInterval(keepAlive, timeout);

        connect();
    }

    function connect() {
        print('<span style="color: green;">CONNECTING: ' + wssHost + '</span>');
{'fraction_non_alphanumeric': 0.13521457965902411, 'fraction_numerical': 0.015873015873015872, 'mean_word_length': 1.9094017094017095, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '5749594', 'n_tokens_mistral': 512, 'n_tokens_neox': 469, 'n_words': 101}