From 032d73408f2689a14ff9fbd84fa45a87dc102a26 Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Mon, 2 Oct 2017 14:18:44 +1100 Subject: CDN URL updates --- demo/src/less/lib/fontface.less | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'demo/src/less/lib') diff --git a/demo/src/less/lib/fontface.less b/demo/src/less/lib/fontface.less index a7da5ad9..70ad4486 100644 --- a/demo/src/less/lib/fontface.less +++ b/demo/src/less/lib/fontface.less @@ -4,15 +4,15 @@ @font-face { font-family: "Avenir"; - src: url("//cdn.plyr.io/fonts/avenir-medium.woff2") format("woff2"), - url("//cdn.plyr.io/fonts/avenir-medium.woff") format("woff"); - font-style: normal; - font-weight: @font-weight-base; + src: url("//cdn.plyr.io/static/fonts/avenir-medium.woff2") format("woff2"), + url("//cdn.plyr.io/static/fonts/avenir-medium.woff") format("woff"); + font-style: normal; + font-weight: @font-weight-base; } @font-face { font-family: "Avenir"; - src: url("//cdn.plyr.io/fonts/avenir-bold.woff2") format("woff2"), - url("//cdn.plyr.io/fonts/avenir-bold.woff") format("woff"); - font-style: normal; - font-weight: @font-weight-bold; -} \ No newline at end of file + src: url("//cdn.plyr.io/static/fonts/avenir-bold.woff2") format("woff2"), + url("//cdn.plyr.io/static/fonts/avenir-bold.woff") format("woff"); + font-style: normal; + font-weight: @font-weight-bold; +} -- cgit v1.2.3 From a21ffe983c5db38a828534a83861c74e189df33b Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Mon, 2 Oct 2017 14:52:31 +1100 Subject: Demo fixes --- demo/src/less/lib/fontface.less | 2 ++ 1 file changed, 2 insertions(+) (limited to 'demo/src/less/lib') diff --git a/demo/src/less/lib/fontface.less b/demo/src/less/lib/fontface.less index 70ad4486..cdecc256 100644 --- a/demo/src/less/lib/fontface.less +++ b/demo/src/less/lib/fontface.less @@ -8,6 +8,7 @@ url("//cdn.plyr.io/static/fonts/avenir-medium.woff") format("woff"); font-style: normal; font-weight: @font-weight-base; + font-display: swap; } @font-face { font-family: "Avenir"; @@ -15,4 +16,5 @@ url("//cdn.plyr.io/static/fonts/avenir-bold.woff") format("woff"); font-style: normal; font-weight: @font-weight-bold; + font-display: swap; } -- cgit v1.2.3