<commit_before><!DOCTYPE html>
<html>
<title>OSO PLAYER ALPHA</title>
<!-- INCLUDES -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=VT323">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/howler/2.0.2/howler.core.min.js"></script>
<script src="./radio.js"></script>
<link rel="stylesheet" href="./radio.css">

<body onload="getTrackID()">
    <!-- BEARS AUDIO -->
    <div id="osoContainer" onclick="blowHorn(getRandomColor())">
        <!-- TRACK ID -->
        <div id="idContainer"><b>NP: </b><span id="nowplaying">RETRIEVING TRACK ID...</span></div>
        <!-- BEARHORN COUNTER -->
        <div id="countContainer">🐻x<strong><span id="hornCount">0 <i>click me plz :)</i></span></strong></div>
        <!-- CENTER CONTAINER -->
        <div class="centerContainer" onclick="blowHorn(getRandomColor())">
            <!-- WILLIAM <img id="william" src="./images/bear2.png" alt="WILLIAM"> --></div>
        <!-- GIPHY -->
        <iframe id="giphy" src="http://tv.giphy.com/bear" frameborder="0" scrolling="no"></iframe>
        <!-- BEARSTREAM -->
        <audio id="bearstream" preload="none" controls>
            <source src="http://listen.seriousbears.net/" type="audio/mpeg"> </audio>
    </div>
    <!-- TWITCH VIDEO -->
    <div id="twitchContainer">
        <script src="http://player.twitch.tv/js/embed/v1.js"></script>
        <div id="seriousbearsVideo"></div>
        <script type="text/javascript">
            var options = {
                width: 1280
                , height: 720
                , channel: "bobross"
            , };
            var twitchPlayer = new Twitch.Player("seriousbearsVideo", options);
            // Here are all the possible Twitch events which would trigger a call to displayModule()
            twitchPlayer.addEventListener(Twitch.Player.ONLINE, () => {
                displayModule('twitch');
                console.log("TWITCH PLAYER EVENT: Twitch is Online!");
            });
            twitchPlayer.addEventListener(Twitch.Player.OFFLINE, () => {
                displayModule('oso');
                console.log("TWITCH PLAYER EVENT: Twitch BECAME Offline after previously being Online!");<commit_msg>Trying to work around the autoplay supression on mobile<commit_after><!DOCTYPE html>
<html>
<title>OSO PLAYER ALPHA</title>
<!-- INCLUDES -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=VT323">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/howler/2.0.2/howler.core.min.js"></script>
<script src="./radio.js"></script>
<link rel="stylesheet" href="./radio.css">

<body onload="getTrackID()">
    <!-- BEARS AUDIO -->
    <div id="osoContainer" onclick="blowHorn(getRandomColor())">
        <!-- TRACK ID -->
        <div id="idContainer"><b>NP: </b><span id="nowplaying">RETRIEVING TRACK ID...</span></div>
        <!-- BEARHORN COUNTER -->
        <div id="countContainer">🐻x<strong><span id="hornCount">0 <i>click me plz :)</i></span></strong></div>
        <!-- CENTER CONTAINER -->
        <div class="centerContainer" onclick="blowHorn(getRandomColor())">
            <!-- WILLIAM <img id="william" src="./images/bear2.png" alt="WILLIAM"> --></div>
        <!-- GIPHY -->
        <iframe id="giphy" src="http://tv.giphy.com/bear" frameborder="0" scrolling="no"></iframe>
        <!-- BEARSTREAM -->
        <audio id="bearstream" preload="none" controls>
            <source src="http://listen.seriousbears.net/" type="audio/mpeg"> </audio>
    </div>
    <!-- TWITCH VIDEO -->
    <div id="twitchContainer">
        <script src="http://player.twitch.tv/js/embed/v1.js"></script>
        <div id="seriousbearsVideo"></div>
        <script type="text/javascript">
            var options = {
                width: 1280
                , height: 720
                , channel: "bobross"
            , };
            var twitchPlayer = new Twitch.Player("seriousbearsVideo", options);
            // Here are all the possible Twitch events which would trigger a call to displayModule()
            twitchPlayer.addEventListener(Twitch.Player.ONLINE, () => {
                displayModule('twitch');
                console.log("TWITCH PLAYER EVENT: Twitch reported ONLINE!");
                // hax0r teh autoplay supression!
                setTimeout(function () {
                    twitchPlayer.play();
                }, 3000);
            });
            twitchPlayer.addEventListener(Twitch.Player.OFFLINE, () => {
                displayModule('oso');
                console.log("TWITCH PLAYER EVENT: Twitch BECAME Offline after previously being Online!");
{'fraction_non_alphanumeric': 0.1834373852368711, 'fraction_numerical': 0.009364671318398824, 'mean_word_length': 2.8170988086895585, 'pattern_counts': {'":': 0, '<': 117, '<?xml version=': 0, '>': 121, 'https://': 8, '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': '441802', 'n_tokens_mistral': 1761, 'n_tokens_neox': 1643, 'n_words': 304}