aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--assets/js/plyr.js2
-rw-r--r--index.html16
2 files changed, 14 insertions, 4 deletions
diff --git a/assets/js/plyr.js b/assets/js/plyr.js
index 7309f422..75a4cace 100644
--- a/assets/js/plyr.js
+++ b/assets/js/plyr.js
@@ -170,7 +170,7 @@
}
else {
var className = (" " + element.className + " ").replace(/\s+/g, " ").replace(" " + name + " ", "");
- element.className = className + (state ? " " + name : "")
+ element.className = className + (state ? " " + name : "");
}
}
}
diff --git a/index.html b/index.html
index c6e15d78..1083e516 100644
--- a/index.html
+++ b/index.html
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<title>Plyr - A simple HTML5 media player</title>
- <meta name="description" content="Custom HTML5 video controls and WebVTT captions.">
+ <meta name="description" content="A simple HTML5 media player with custom controls and WebVTT captions.">
<meta name="author" content="Sam Potts">
<meta name="viewport" content="width=device-width, initial-scale=1">
@@ -14,7 +14,7 @@
<body>
<header>
<h1>Plyr</h1>
- <p>A simple HTML5 media player</p>
+ <p>A simple HTML5 media player with custom controls and WebVTT captions.</p>
<a href="https://github.com/selz/plyr" target="_blank" class="btn">Download on Github</a>
</header>
@@ -51,7 +51,7 @@
</div>
</audio>
</div>
- <small>"96" by Logistics. More can be purchased from <a href="https://www.hospitalrecords.com/shop/artist/logistics" target="_blank">Hospital Records</a>.</small>
+ <small>"96" by Logistics, which can be purchased from <a href="https://www.hospitalrecords.com/shop/artist/logistics" target="_blank">Hospital Records</a>.</small>
</section>
<!-- Load SVG defs -->
@@ -75,5 +75,15 @@
<!-- Docs setup -->
<script src="dist/js/docs.js"></script>
+
+ <!-- GA -->
+ <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-40881672-11', 'auto');
+ ga('send', 'pageview');
+ </script>
</body>
</html> \ No newline at end of file