removed unused code
This commit is contained in:
parent
ee002597fc
commit
f61a8a4372
1 changed files with 0 additions and 2 deletions
|
@ -137,13 +137,11 @@ class VideoPlayer extends React.PureComponent {
|
|||
|
||||
file() {
|
||||
const { downloadPath, filename } = this.props;
|
||||
const stat = fs.statSync(downloadPath);
|
||||
return {
|
||||
name: filename,
|
||||
createReadStream: opts => {
|
||||
return fs.createReadStream(downloadPath, opts);
|
||||
},
|
||||
length: stat.size,
|
||||
};
|
||||
}
|
||||
*playableType() {
|
||||
|
|
Loading…
Reference in a new issue