mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 05:18:34 +03:00
fix video support
This commit is contained in:
@@ -15,11 +15,13 @@ class SourceOverlay extends React.Component {
|
||||
}
|
||||
|
||||
renderVideo() {
|
||||
// NB: assume only one video
|
||||
return (
|
||||
<div className="media-player">
|
||||
<Player
|
||||
className='source-video'
|
||||
playsInline
|
||||
src={`${this.props.source.path}.mp4`}
|
||||
src={this.props.source.paths[0]}
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user