mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-30 12:54:55 +00:00
fix(webui): reload video player and reset state when switching assets
This commit is contained in:
@@ -301,6 +301,7 @@ export function FileViewer({
|
||||
)}
|
||||
{isVideo && (
|
||||
<VideoPlayer
|
||||
key={file.id}
|
||||
data={file}
|
||||
playerRef={videoRef}
|
||||
onPlay={onPlay}
|
||||
|
||||
Reference in New Issue
Block a user