diff --git a/common/messages/de.json b/common/messages/de.json index 314473e5..24356a2a 100644 --- a/common/messages/de.json +++ b/common/messages/de.json @@ -575,6 +575,7 @@ "languages.en": "Englisch", "languages.fr": "Französisch", "media.next": "Weiter", + "media.play_video": "Video abspielen", "media.previous": "Zurück", "messages.action.add_reaction": "Reaktion hinzufügen", "messages.action.delete": "Löschen", @@ -1360,6 +1361,7 @@ "profiles.loading_slow": "Noch am Starten — gleich geht's los…", "profiles.title": "Personen", "profiles.try_keyword_search": "Schlüsselwortsuche versuchen", + "referrals.link_label": "Dein Empfehlungslink", "referrals.title": "Lade jemanden ein, Compass beizutreten!", "register.agreement.and": " und ", "register.agreement.prefix": "Mit der Registrierung akzeptiere ich die ", diff --git a/common/messages/fr.json b/common/messages/fr.json index 3f93f2e4..fb5794b1 100644 --- a/common/messages/fr.json +++ b/common/messages/fr.json @@ -575,6 +575,7 @@ "languages.en": "Anglais", "languages.fr": "Français", "media.next": "Suivant", + "media.play_video": "Lire la vidéo", "media.previous": "Précédent", "messages.action.add_reaction": "Ajouter une réaction", "messages.action.delete": "Supprimer", @@ -1359,6 +1360,7 @@ "profiles.loading_slow": "Démarrage en cours — encore quelques secondes…", "profiles.title": "Personnes", "profiles.try_keyword_search": "Essayer une recherche par mot-clé", + "referrals.link_label": "Votre lien de parrainage", "referrals.title": "Invitez quelqu'un à rejoindre Compass !", "register.agreement.and": " et ", "register.agreement.prefix": "En vous inscrivant, j'accepte les ", diff --git a/web/components/editor/video.tsx b/web/components/editor/video.tsx index c2a9601c..eaf0fbd6 100644 --- a/web/components/editor/video.tsx +++ b/web/components/editor/video.tsx @@ -2,9 +2,12 @@ import clsx from 'clsx' import Video from 'common/util/tiptap-video' import {useState} from 'react' import {MediaModal} from 'web/components/media-modal' +import {firstFrameSrc, VideoThumbnail} from 'web/components/widgets/video-thumbnail' export const BasicVideo = Video.extend({ - renderReact: (attrs: any) =>