forked from 77media/video-flow
修复视频加载慢
This commit is contained in:
parent
eb109dd872
commit
744db125f6
@ -336,6 +336,8 @@ export const ShotTabContent = forwardRef<
|
|||||||
muted
|
muted
|
||||||
loop
|
loop
|
||||||
playsInline
|
playsInline
|
||||||
|
preload="none"
|
||||||
|
poster={`${shot.urls[0]}?x-oss-process=video/snapshot,t_1000,f_jpg`}
|
||||||
onMouseEnter={(e) => e.currentTarget.play()}
|
onMouseEnter={(e) => e.currentTarget.play()}
|
||||||
onMouseLeave={(e) => e.currentTarget.pause()}
|
onMouseLeave={(e) => e.currentTarget.pause()}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user