0
0
Fork 0

Open video modal on public UI (#7469)

This commit is contained in:
Yamagishi Kazutoshi 2018-05-13 20:48:14 +09:00 committed by Eugen Rochko
parent f77b11cd10
commit d9b2f84c92
6 changed files with 68 additions and 11 deletions

View file

@ -84,8 +84,8 @@ export default class Status extends ImmutablePureComponent {
return <div className='media-spoiler-video' style={{ height: '110px' }} />;
}
handleOpenVideo = startTime => {
this.props.onOpenVideo(this._properStatus().getIn(['media_attachments', 0]), startTime);
handleOpenVideo = (media, startTime) => {
this.props.onOpenVideo(media, startTime);
}
handleHotkeyReply = e => {