<commit_before><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Chromecast URL Player</title>
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
    <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="css/bootstrap.css" />
    <link rel="stylesheet" href="css/bootswatch.min.css" />
    <link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css" rel="stylesheet">
    <link href='http://fonts.googleapis.com/css?family=Jura:600' rel='stylesheet' type='text/css'>
    <script type="text/javascript" src="https://www.gstatic.com/cv/js/sender/v1/cast_sender.js"></script>
    <script type="text/javascript" src="js/castplayer.js"></script>
    <script type="text/javascript" src="js/urlplayer.js"></script>
    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
      ga('create', 'UA-42108651-2', 'foamsnet.com');
      ga('send', 'pageview');
    </script>
  </head>
  <body>
    <!-- top bar -->
    <div class="navbar navbar-default navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          <a href="../" class="navbar-brand" style="font-family: 'Jura', sans-serif; font-size: 200%;">Chromecast URL Player</a>
          <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#navbar-main">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
        </div>
        <div class="navbar-collapse collapse" id="navbar-main">
          <ul class="nav navbar-nav navbar-right">
            <li><a href="https://github.com/vickyg3/UrlPlayer" target="_blank">Source Code</a></li>
          </ul>

        </div>
      </div>
    </div>
    <!-- end of top bar -->

    <!-- main body -->
    <div class="container">
      <br/>
      <div class="alert alert-info" style="text-align: center; display:none;" id="controls">
        Now playing <b id="player_now_playing"></b>
        <br/><br/>
        <button onclick="pause();" class="btn btn-default">
          <span class="glyphicon glyphicon-pause"></span>
          Pause
        </button> &nbsp;
        <button onclick="resume();" class="btn btn-default">
          <span class="glyphicon glyphicon-play"></span>
          Resume
        </button> &nbsp; &nbsp;
        <span id="player_current_time"></span> / 
        <span id="player_duration"></span> &nbsp; &nbsp; &nbsp; &nbsp;
        <button onclick="seek(false);" class="btn btn-default">
          <span class="glyphicon glyphicon-backward"></span>
          Backward
        </button> &nbsp; 
        <select class="form-control" style="width: 50px;" id="player_seek">
          <option value="1">1</option>
          <option value="5">5</option>
          <option value="10">10</option>
          <option value="15">15</option>
          <option value="30">30</option>
          <option value="60">60</option>
        </select> minutes 
        <button onclick="seek(true);" class="btn btn-default">
          <span class="glyphicon glyphicon-forward"></span>
          Forward
        </button> &nbsp; 
        <button onclick="stop();" class="btn btn-default">
          <span class="glyphicon glyphicon-stop"></span>
          Stop
        </button>
      </div>
      <br/><br/>
      <div class="row">
        <div class="col-lg-12">
          <h4>4 Simple Steps to Playback any URL on Chromecast</h4>
          <ol>
            <li id="extension" style="margin-bottom:10px;">
              Checking for Chromecast Extension. If you know you don't have the extension, <a href="https://chrome.google.com/webstore/detail/google-cast/boadgeojelhgndaghljhdicfkmllpafd" target="_blank">Click here to Install it</a> and then reload this page.
            </li>
            <li style="margin-bottom:10px;">
              <a onclick="launchApp();" id="chromecast">
                Click here to connect to your Chromecast
              </a>
            </li>
            <li style="margin-bottom:10px;">
              <input 
                type="text"
                class="form-control"
                style="width: 800px;"
                id="url"
                placeholder="Enter or paste a URL to play on Chromecast" />
            </li>
            <li style="margin-bottom:10px;">
              <button onclick="startPlayback();" id="modal_play" type="button" class="btn btn-primary">
                <span class="glyphicon glyphicon-play"></span>
                <span id="modal_play_text">Connect to Chromecast to Start Playback</span>
              </button>
            </li>
          </ol>
        </div>
      </div>
   </div><commit_msg>Adding link to supported media types.<commit_after><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Chromecast URL Player</title>
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
    <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="css/bootstrap.css" />
    <link rel="stylesheet" href="css/bootswatch.min.css" />
    <link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css" rel="stylesheet">
    <link href='http://fonts.googleapis.com/css?family=Jura:600' rel='stylesheet' type='text/css'>
    <script type="text/javascript" src="https://www.gstatic.com/cv/js/sender/v1/cast_sender.js"></script>
    <script type="text/javascript" src="js/castplayer.js"></script>
    <script type="text/javascript" src="js/urlplayer.js"></script>
    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
      ga('create', 'UA-42108651-2', 'foamsnet.com');
      ga('send', 'pageview');
    </script>
  </head>
  <body>
    <!-- top bar -->
    <div class="navbar navbar-default navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          <a href="../" class="navbar-brand" style="font-family: 'Jura', sans-serif; font-size: 200%;">Chromecast URL Player</a>
          <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#navbar-main">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
        </div>
        <div class="navbar-collapse collapse" id="navbar-main">
          <ul class="nav navbar-nav navbar-right">
            <li><a href="https://github.com/vickyg3/UrlPlayer" target="_blank">Source Code</a></li>
          </ul>

        </div>
      </div>
    </div>
    <!-- end of top bar -->

    <!-- main body -->
    <div class="container">
      <br/>
      <div class="alert alert-info" style="text-align: center; display:none;" id="controls">
        Now playing <b id="player_now_playing"></b>
        <br/><br/>
        <button onclick="pause();" class="btn btn-default">
          <span class="glyphicon glyphicon-pause"></span>
          Pause
        </button> &nbsp;
        <button onclick="resume();" class="btn btn-default">
          <span class="glyphicon glyphicon-play"></span>
          Resume
        </button> &nbsp; &nbsp;
        <span id="player_current_time"></span> / 
        <span id="player_duration"></span> &nbsp; &nbsp; &nbsp; &nbsp;
        <button onclick="seek(false);" class="btn btn-default">
          <span class="glyphicon glyphicon-backward"></span>
          Backward
        </button> &nbsp; 
        <select class="form-control" style="width: 50px;" id="player_seek">
          <option value="1">1</option>
          <option value="5">5</option>
          <option value="10">10</option>
          <option value="15">15</option>
          <option value="30">30</option>
          <option value="60">60</option>
        </select> minutes 
        <button onclick="seek(true);" class="btn btn-default">
          <span class="glyphicon glyphicon-forward"></span>
          Forward
        </button> &nbsp; 
        <button onclick="stop();" class="btn btn-default">
          <span class="glyphicon glyphicon-stop"></span>
          Stop
        </button>
      </div>
      <br/><br/>
      <div class="row">
        <div class="col-lg-12">
          <h4>4 Simple Steps to Playback any URL on Chromecast</h4>
          <ol>
            <li id="extension" style="margin-bottom:10px;">
              Checking for Chromecast Extension. If you know you don't have the extension, <a href="https://chrome.google.com/webstore/detail/google-cast/boadgeojelhgndaghljhdicfkmllpafd" target="_blank">Click here to Install it</a> and then reload this page.
            </li>
            <li style="margin-bottom:10px;">
              <a onclick="launchApp();" id="chromecast">
                Click here to connect to your Chromecast
              </a>
            </li>
            <li style="margin-bottom:10px;">
              <input 
                type="text"
                class="form-control"
                style="width: 800px;"
                id="url"
                placeholder="Enter or paste a URL to play on Chromecast" />
            </li>
            <li style="margin-bottom:10px;">
              <button onclick="startPlayback();" id="modal_play" type="button" class="btn btn-primary">
                <span class="glyphicon glyphicon-play"></span>
                <span id="modal_play_text">Connect to Chromecast to Start Playback</span>
              </button>
            </li>
          </ol>
          <br/><br/><br/>
          <a href="https://developers.google.com/cast/docs/media" target="_blank">List of media formats supported by Chromecast (Opens in a new tab)</a>
        </div>
      </div>
   </div>
{'fraction_non_alphanumeric': 0.18158123370981755, 'fraction_numerical': 0.01332174920359108, 'mean_word_length': 2.447587354409318, 'pattern_counts': {'":': 0, '<': 262, '<?xml version=': 0, '>': 262, 'https://': 7, 'lorem ipsum': 0, 'www.': 4, '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': '7072963', 'n_tokens_mistral': 3384, 'n_tokens_neox': 3201, 'n_words': 613}