react-native-video-zoom-control
Version:
A video player overlay for React Native Video that supports pinch-to-zoom and multiple video renditions.
21 lines (20 loc) • 438 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.TVOSSupport = void 0;
var _reactNative = require("react-native");
const TVOSSupport = _ref => {
let {
showControls,
onScreenTouch
} = _ref;
(0, _reactNative.useTVEventHandler)(() => {
if (!showControls) {
onScreenTouch();
}
});
return null;
};
exports.TVOSSupport = TVOSSupport;
//# sourceMappingURL=TVOSSupport.js.map