0
0
Fork 0

Fix video player not being displayed in reports interface (#26801)

This commit is contained in:
Claire 2023-09-05 20:05:58 +02:00 committed by GitHub
parent b749de766f
commit ea7de25de0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -14,6 +14,7 @@ module MediaComponentHelper
blurhash: video.blurhash,
frameRate: meta.dig('original', 'frame_rate'),
inline: true,
aspectRatio: "#{meta.dig('original', 'width')} / #{meta.dig('original', 'height')}",
media: [
serialize_media_attachment(video),
].as_json,