From 3231abd0aecaff10447c241b78a2c1a2febf33cf Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Mon, 29 Nov 2021 09:21:00 +0000 Subject: [PATCH] Added beginnings of the video card refs https://github.com/TryGhost/Team/issues/1229 - mostly mirrors image card functionality but rebuilt with more modern syntax - when uploading a video the size and duration is extracted along with a screen capture of the video from 0.5s in, the screen capture is uploaded once the video finishes because we need to use the uploaded video url as a reference to attach it as a thumbnail via the API - the captured screenshot is currently what's shown in the card To be implemented: - "incomplete" state when video has been uploaded but not a thumbnail - uploader in settings panel to change the video thumbnail - play button overlay _or_ switch to `