From c6f9890a6e10e1b3cefa928f081bfc5d430da05c Mon Sep 17 00:00:00 2001 From: ffauvel Date: Sat, 18 Apr 2020 01:03:01 -0400 Subject: [PATCH 1/2] Switch iframe url to meta twitterPlayer value --- app/spotify/lib/client/oembedSpotifyWidget.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/spotify/lib/client/oembedSpotifyWidget.html b/app/spotify/lib/client/oembedSpotifyWidget.html index 271c13e98a259..8487c6e4a2abd 100644 --- a/app/spotify/lib/client/oembedSpotifyWidget.html +++ b/app/spotify/lib/client/oembedSpotifyWidget.html @@ -11,7 +11,7 @@ {{else}} -
+
{{/if}} {{/if}} From 12ab31bad5dadd5371f042043430d629dc7de804 Mon Sep 17 00:00:00 2001 From: Frederic Fauvel Date: Sat, 18 Apr 2020 01:08:24 -0400 Subject: [PATCH 2/2] Update collapsed behaviour and visual --- app/spotify/lib/client/oembedSpotifyWidget.html | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/app/spotify/lib/client/oembedSpotifyWidget.html b/app/spotify/lib/client/oembedSpotifyWidget.html index 8487c6e4a2abd..46fa62d75f528 100644 --- a/app/spotify/lib/client/oembedSpotifyWidget.html +++ b/app/spotify/lib/client/oembedSpotifyWidget.html @@ -7,12 +7,10 @@ {{else}} {{{replace meta.ogDescription ", an? (?:song|album) by (.+?) on Spotify" " - $1" regex=true}}} {{/if}} - {{#if collapsed}} - - {{else}} - -
- {{/if}} + {{> collapseArrow collapsedMedia=collapsedMediaVar}}
+ {{#unless collapsed}} +
+ {{/unless}} {{/if}}