Fix media description in various media modals (#8678)
This commit is contained in:
parent
f8160b68b3
commit
4959ead07c
4 changed files with 5 additions and 3 deletions
|
@ -252,11 +252,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,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue