From 942e91fa193560e9170dd3b200454f62237b8813 Mon Sep 17 00:00:00 2001 From: Pierre Recontact Date: Sun, 6 Dec 2020 22:59:07 +0100 Subject: [PATCH] feat(embedded): do not load embedded video by default --- front/components/ChapterCard/ChapterCard.vue | 8 +++---- .../ChapterCard/Paragraphs/Paragraphs.spec.js | 10 +++++++-- .../ChapterCard/Paragraphs/Paragraphs.vue | 22 +++++++++++++++++-- .../__snapshots__/Paragraphs.spec.js.snap | 2 +- 4 files changed, 33 insertions(+), 9 deletions(-) diff --git a/front/components/ChapterCard/ChapterCard.vue b/front/components/ChapterCard/ChapterCard.vue index e35ad429..05decbcd 100644 --- a/front/components/ChapterCard/ChapterCard.vue +++ b/front/components/ChapterCard/ChapterCard.vue @@ -20,16 +20,16 @@ class="chapter__image"> diff --git a/front/components/ChapterCard/Paragraphs/__snapshots__/Paragraphs.spec.js.snap b/front/components/ChapterCard/Paragraphs/__snapshots__/Paragraphs.spec.js.snap index 8528356f..8028a641 100644 --- a/front/components/ChapterCard/Paragraphs/__snapshots__/Paragraphs.spec.js.snap +++ b/front/components/ChapterCard/Paragraphs/__snapshots__/Paragraphs.spec.js.snap @@ -24,7 +24,7 @@ exports[`Component | Paragraphs.vue template should match snapshot with text 1`] `; -exports[`Component | Paragraphs.vue template should match snapshot with video 1`] = ` +exports[`Component | Paragraphs.vue template should match snapshot with video on click on loading button 1`] = `