diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-09-11 15:45:51 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-09-11 18:29:19 +0200 |
commit | 59de2868c13a61bce08923f841024fefebe3b3da (patch) | |
tree | 3f4d3ab3648831294ad79976f0037a4c1b47aa0f /app/javascript/flavours/glitch/features/video | |
parent | ac6fb758b975ec2858c53be24f8e9be8e2d40e90 (diff) |
Fix media description in various media modals
Diffstat (limited to 'app/javascript/flavours/glitch/features/video')
-rw-r--r-- | app/javascript/flavours/glitch/features/video/index.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/video/index.js b/app/javascript/flavours/glitch/features/video/index.js index 44aba797c..65e10e0cf 100644 --- a/app/javascript/flavours/glitch/features/video/index.js +++ b/app/javascript/flavours/glitch/features/video/index.js @@ -261,11 +261,12 @@ export default class Video extends React.PureComponent { } handleOpenVideo = () => { - const { src, preview, width, height } = this.props; + const { src, preview, width, height, alt } = this.props; const media = fromJS({ type: 'video', url: src, preview_url: preview, + description: alt, width, height, }); |