display a thumbnail while the media player is loading #413

Merged
akinwale merged 3 commits from blank-thumbnails into master 2019-01-28 14:55:26 +01:00
Showing only changes of commit cf652a3e0f - Show all commits

View file

@ -349,6 +349,8 @@ class MediaPlayer extends React.PureComponent {
style={mediaPlayerStyle.player}
rate={this.state.rate}
volume={this.state.volume}
poster={thumbnail}
posterResizeMode={"cover"}
paused={this.state.paused}
onLoad={this.onLoad}
onProgress={this.onProgress}