fix
This commit is contained in:
parent
8f8285dc17
commit
4aff866e3f
|
|
@ -60,7 +60,7 @@ const VideoPlayer: React.FC<VideoPlayerProps> = ({
|
|||
const tryLoadVideo = async (path: string) => {
|
||||
// 根据路径类型选择不同的加载策略
|
||||
const videoPath = path.split('\\').filter(it => it.length > 0).join('/')
|
||||
console.log(`try load video videoPath`, videoPath)
|
||||
console.log(`try load video videoPath`, {videoPath, path})
|
||||
const src = convertFileSrc(videoPath)
|
||||
console.log(`try load video src`, src)
|
||||
setVideoSrc(src)
|
||||
|
|
|
|||
Loading…
Reference in New Issue