Open video modal on public UI (#7469)
This commit is contained in:
		
							parent
							
								
									f77b11cd10
								
							
						
					
					
						commit
						d9b2f84c92
					
				
					 6 changed files with 68 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -34,8 +34,8 @@ export default class DetailedStatus extends ImmutablePureComponent {
 | 
			
		|||
    e.stopPropagation();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  handleOpenVideo = startTime => {
 | 
			
		||||
    this.props.onOpenVideo(this.props.status.getIn(['media_attachments', 0]), startTime);
 | 
			
		||||
  handleOpenVideo = (media, startTime) => {
 | 
			
		||||
    this.props.onOpenVideo(media, startTime);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  handleExpandedToggle = () => {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue