Add previews for video questions

This commit is contained in:
Charlotte Van Petegem 2025-05-25 11:31:37 +02:00
parent de061c2bec
commit aff45879d6
Signed by: chvp
SSH key fingerprint: SHA256:s9rb8jBVfdahqWHuBAcHCBP1wmj4eYQXZfqgz4H3E9E
5 changed files with 1 additions and 1 deletions

View file

@ -1 +1 @@
<video src="<%= question.public_asset_path %>" controls preload="metadata"></video>
<video src="<%= question.public_asset_path %>" controls preload="metadata" poster="<%= question.public_asset_path %>.png"></video>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 MiB

BIN
public/videos/stijn.mp4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB