diff options
Diffstat (limited to 'demo/index.html')
-rw-r--r-- | demo/index.html | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/demo/index.html b/demo/index.html index 15a5c9f8..6f11cddd 100644 --- a/demo/index.html +++ b/demo/index.html @@ -33,7 +33,7 @@ <meta name="twitter:card" content="summary_large_image" /> <!-- Docs styles --> - <link rel="stylesheet" href="dist/demo.css?v=2" /> + <link rel="stylesheet" href="dist/demo.css" /> <!-- Preload --> <link @@ -108,7 +108,7 @@ <div class="call-to-action"> <span class="button--with-count"> <a - href="https://github.com/sampotts/plyr" + <a href="https://github.com/sampotts/plyr" target="_blank" class="button js-shr-button"> target="_blank" class="button" data-shr-network="github" @@ -261,7 +261,7 @@ <a href="https://twitter.com/intent/tweet?text=A+simple+HTML5+media+player+with+custom+controls+and+WebVTT+captions.&url=http%3A%2F%2Fplyr.io&via=Sam_Potts" target="_blank" - data-shr-network="twitter" + class="js-shr-button" >tweet it</a > 👍 @@ -270,18 +270,12 @@ <!-- Polyfills --> <script - src="https://cdn.polyfill.io/v2/polyfill.min.js?features=es6,Array.prototype.includes,CustomEvent,Object.entries,Object.values,URL" + src="https://cdn.polyfill.io/v2/polyfill.min.js?features=es6,Array.prototype.includes,CustomEvent,Object.entries,Object.values,URL,Math.trunc" crossorigin="anonymous" ></script> - <!-- Plyr core script --> - <script src="../dist/plyr.js" crossorigin="anonymous"></script> - <!-- Sharing libary (https://shr.one) --> - <script src="https://cdn.shr.one/1.0.1/shr.js" crossorigin="anonymous"></script> - - <!-- Rangetouch to fix <input type="range"> on touch devices (see https://rangetouch.com) --> - <script src="https://cdn.rangetouch.com/1.0.1/rangetouch.js" async crossorigin="anonymous"></script> + <script src="https://cdn.shr.one/2.0.0-beta.2/shr.js" crossorigin="anonymous"></script> <!-- Docs script --> <script src="dist/demo.js" crossorigin="anonymous"></script> |