From 05d845c2546328976723787270b70f026ab9254c Mon Sep 17 00:00:00 2001 From: "Garrett R. Morris" Date: Tue, 19 Sep 2017 11:02:57 -0500 Subject: [PATCH 1/2] Enable youtube in library.js --- library.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/library.js b/library.js index 903e088..7f154de 100644 --- a/library.js +++ b/library.js @@ -12,7 +12,6 @@ * }); */ - /* embeds.push({ id: 'YouTube', code: '
', @@ -23,15 +22,6 @@ ], icon: 'fa-youtube-play' }); - */ - /* - embeds.push({ - id: 'Twittero', - code: '', - regexps: [/.*?<\/a>/g], - icon: 'fa-twitter' - }); - */ embeds.push({ //ok From 47c47678776a854a6c2261997b8d9d19be2dbb23 Mon Sep 17 00:00:00 2001 From: "Garrett R. Morris" Date: Tue, 19 Sep 2017 11:03:52 -0500 Subject: [PATCH 2/2] share styles between vimeo and youtube for consistent video display. --- static/style.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/style.less b/static/style.less index 9c226a1..b4183df 100644 --- a/static/style.less +++ b/static/style.less @@ -45,7 +45,8 @@ iframe { } } -.vimeo { +.vimeo, +.js-lazyYT { max-width: 100%; iframe {