diff options
-rw-r--r-- | docs/index.html | 10 | ||||
-rw-r--r-- | gulpfile.js | 1 | ||||
-rw-r--r-- | readme.md | 2 |
3 files changed, 7 insertions, 6 deletions
diff --git a/docs/index.html b/docs/index.html index 5dada606..aee5fff6 100644 --- a/docs/index.html +++ b/docs/index.html @@ -8,10 +8,10 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Styles --> - <link rel="stylesheet" href="//cdn.plyr.io/1.0.17/plyr.css"> + <link rel="stylesheet" href="//cdn.plyr.io/1.0.19/plyr.css"> <!-- Docs styles --> - <link rel="stylesheet" href="//cdn.plyr.io/1.0.17/docs.css"> + <link rel="stylesheet" href="//cdn.plyr.io/1.0.19/docs.css"> </head> <body> <header> @@ -67,13 +67,13 @@ <!-- Load SVG defs --> <!-- You should bundle all SVG/Icons into one file using a build tool such as gulp and svg store --> <script> - (function(d,p){var a=new XMLHttpRequest(),b=d.body;a.open("GET",p,!0);a.send();a.onload=function(){var c=d.createElement("div");c.style.display="none";c.innerHTML=a.responseText;b.insertBefore(c,b.childNodes[0])}})(document,"//cdn.plyr.io/1.0.17/sprite.svg"); + (function(d,p){var a=new XMLHttpRequest(),b=d.body;a.open("GET",p,!0);a.send();a.onload=function(){var c=d.createElement("div");c.style.display="none";c.innerHTML=a.responseText;b.insertBefore(c,b.childNodes[0])}})(document,"//cdn.plyr.io/1.0.19/sprite.svg"); </script> <!-- Plyr core script --> - <script src="//cdn.plyr.io/1.0.17/plyr.js"></script> + <script src="//cdn.plyr.io/1.0.19/plyr.js"></script> <!-- Docs script --> - <script src="//cdn.plyr.io/1.0.17/docs.js"></script> + <script src="//cdn.plyr.io/1.0.19/docs.js"></script> </body> </html>
\ No newline at end of file diff --git a/gulpfile.js b/gulpfile.js index 302d9d79..2bb410d7 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -234,6 +234,7 @@ gulp.task("docs", function () { // Replace versioned files in index.html gulp.src([paths.docs.root + "index.html"]) .pipe(replace(cdnpath, aws.cdn.bucket + "/" + version)) + .pipe(gulp.dest(paths.docs.root)) .pipe(gzip()) .pipe(s3(aws.docs, options.docs)); }); @@ -72,7 +72,7 @@ The SVG sprite for the controls icons is loaded in by AJAX to help with performa c.innerHTML=a.responseText; b.insertBefore(c,b.childNodes[0]) } -})(document,"//cdn.plyr.io/1.0.19/sprite.svg"); +})(document,"dist/sprite.svg"); </script> ``` More info on SVG sprites here: |