fix: hiding poster (#4308)
* fix: hiding poster * fix: hiding poster * remove zIndex: 1 * fix: remove showPoster from dependency array
This commit is contained in:
parent
63c592f7cd
commit
621a80299c
@ -779,9 +779,8 @@ const Video = forwardRef<VideoRef, ReactVideoProps>(
|
|||||||
const _style: StyleProp<ViewStyle> = useMemo(
|
const _style: StyleProp<ViewStyle> = useMemo(
|
||||||
() => ({
|
() => ({
|
||||||
...StyleSheet.absoluteFillObject,
|
...StyleSheet.absoluteFillObject,
|
||||||
...(showPoster ? {display: 'none'} : {}),
|
|
||||||
}),
|
}),
|
||||||
[showPoster],
|
[],
|
||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user