Ensure that multi-video lightbox scrolling changes video

This commit is contained in:
Scott Nonnenberg 2018-11-28 12:34:29 -08:00
parent 523c65a1b7
commit f5954db711
4 changed files with 18 additions and 6 deletions

View file

@ -289,6 +289,7 @@ export class Lightbox extends React.Component<Props> {
onClick={this.playVideoBound}
controls={true}
style={styles.object}
key={objectURL}
>
<source src={objectURL} />
</video>