[Glitch] Add embed_url to preview cards

Port front-end changes from ce3989fc6a to glitch-soc
lolsob-rspec
Thibaut Girka 2018-09-10 17:49:45 +02:00 committed by ThibG
parent 3dc5051f03
commit 9b7139099f
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ export default class Card extends React.PureComponent {
onClick={this.handlePhotoClick} onClick={this.handlePhotoClick}
role='button' role='button'
tabIndex='0' tabIndex='0'
src={card.get('url')} src={card.get('embed_url')}
alt={card.get('title')} alt={card.get('title')}
width={card.get('width')} width={card.get('width')}
height={card.get('height')} height={card.get('height')}