diff options
author | Sam Potts <me@sampotts.me> | 2015-02-17 16:14:29 +1100 |
---|---|---|
committer | Sam Potts <me@sampotts.me> | 2015-02-17 16:14:29 +1100 |
commit | fc2bb9fcb4c19509035572f5fcc028383e588fc1 (patch) | |
tree | a5ca14fe91171d390a535fc32589fe823f294cd5 | |
parent | c0254d76e34e8a7c8cab51d1d4de65a3cdac5e5c (diff) | |
download | plyr-fc2bb9fcb4c19509035572f5fcc028383e588fc1.tar.lz plyr-fc2bb9fcb4c19509035572f5fcc028383e588fc1.tar.xz plyr-fc2bb9fcb4c19509035572f5fcc028383e588fc1.zip |
Demo update, missing semi colon
-rw-r--r-- | assets/js/plyr.js | 2 | ||||
-rw-r--r-- | index.html | 16 |
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 : ""); } } } @@ -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 |