mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-21 18:02:35 +01:00
parent
41d6991c11
commit
ca858f707c
@ -224,6 +224,10 @@ class App extends React.Component {
|
||||
});
|
||||
}
|
||||
|
||||
getFileUri() {
|
||||
return (this.state.filePath || '').replace(/#/g, '%23');
|
||||
}
|
||||
|
||||
render() {
|
||||
return (<div>
|
||||
{this.state.filePath ? undefined : <div id="drag-drop-field">DROP VIDEO</div>}
|
||||
@ -232,7 +236,7 @@ class App extends React.Component {
|
||||
|
||||
<div id="player">
|
||||
<video
|
||||
src={this.state.filePath}
|
||||
src={this.getFileUri()}
|
||||
onRateChange={() => this.playbackRateChange()}
|
||||
onPlay={() => this.onPlay(true)}
|
||||
onPause={() => this.onPlay(false)}
|
||||
|
Loading…
Reference in New Issue
Block a user