react-native-video-zoom-control
Version:
A video player overlay for React Native Video that supports pinch-to-zoom and multiple video renditions.
27 lines (24 loc) • 433 B
text/typescript
import { StyleSheet } from "react-native";
export const _styles = {
player: StyleSheet.create({
container: {
overflow: "hidden",
backgroundColor: "#000",
flex: 1,
},
video: {
overflow: "hidden",
position: "absolute",
top: 0,
right: 0,
bottom: 0,
left: 0,
},
dummy: {
height: "100%",
width: "100%",
top: 0,
left: 0,
},
}),
};