Commit df90156a authored by 李纪文's avatar 李纪文

fix: 修改视频回放

parent 4c497aff
...@@ -73,7 +73,6 @@ const Video = (props, ref) => { ...@@ -73,7 +73,6 @@ const Video = (props, ref) => {
}); });
PlayersA.pause = PlayersA.stop; PlayersA.pause = PlayersA.stop;
Players.current = PlayersA;
if (ref) ref.current = PlayersA; if (ref) ref.current = PlayersA;
}; };
...@@ -96,6 +95,7 @@ const Video = (props, ref) => { ...@@ -96,6 +95,7 @@ const Video = (props, ref) => {
}); });
PlayersA.pause = PlayersA.stop; PlayersA.pause = PlayersA.stop;
Players.current = PlayersA;
if (ref) ref.current = PlayersA; if (ref) ref.current = PlayersA;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment