forked from 77media/video-flow
修复web的poster
This commit is contained in:
parent
8fdc91440b
commit
f72e942a0b
@ -614,7 +614,7 @@ export const MediaViewer = React.memo(function MediaViewer({
|
||||
aspectRatio: aspectRatio
|
||||
}}
|
||||
src={taskObject.videos.data[currentSketchIndex].urls[0]}
|
||||
poster={getFirstFrame(taskObject.videos.data[currentSketchIndex].urls[0])}
|
||||
poster={taskObject.videos.data[currentSketchIndex].snapshot_url || getFirstFrame(taskObject.videos.data[currentSketchIndex].urls[0])}
|
||||
preload="none"
|
||||
autoPlay={isVideoPlaying}
|
||||
loop={true}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user