mirror of
https://gh-proxy.org/https://github.com/tiajinsha/JKVideo
synced 2026-07-07 23:18:38 +08:00
fix: add unmount cancellation guard, simplify keyExtractor, update spec
This commit is contained in:
@@ -53,7 +53,7 @@ interface BigVideoCardProps {
|
||||
```
|
||||
BigVideoCard (TouchableOpacity)
|
||||
├── 封面图 (Image, 16:9 全宽)
|
||||
├── 视频播放器 (NativeVideoPlayer, position: absolute, isVisible 时加载)
|
||||
├── 视频播放器 (react-native-video <Video>, position: absolute, isVisible 时加载;直接使用 <Video> 而非 NativeVideoPlayer,因为不需要控制条/热力图等全功能组件)
|
||||
│ └── muted, autoplay, qn=16
|
||||
├── 封面遮罩 (Animated.View, opacity 1→0 淡出)
|
||||
└── 底部信息栏
|
||||
|
||||
Reference in New Issue
Block a user