Merge pull request #1267 from ONLYOFFICE/bugfix/fix-video-player
Web:Components:Viewer: fix video pause
This commit is contained in:
commit
22a4051c59
@ -742,7 +742,7 @@ export default function ViewerPlayer(props) {
|
||||
const lasting = `${currentTime} / ${duration}`;
|
||||
|
||||
if (progress === 100 || !state.isPlaying) {
|
||||
videoRef.current.stop();
|
||||
videoRef.current.pause();
|
||||
} else {
|
||||
videoRef.current.play();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user