Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
react-native-videoplayer
Advanced tools
A native ios video player component
npm install react-native-videoplayer --save
Add Files to "Your Project Name"
RCTVideoPlayer
from your node_modules/react-native-videoplayer
folder.var VideoPlayer = require('react-native-videoplayer');
<View style={styles.container}>
<VideoPlayer style={styles.video} url="http://somevideourl.mp4"/>
</View>
var styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center'
},
video: {
position: 'absolute',
top: 0, left: 0, right: 0, bottom: 0,
alignItems: 'center',
justifyContent: 'center',
backgroundColor: 'transparent'
}
});
url
Must be a url to a video resource.
FAQs
A native ios video player component
The npm package react-native-videoplayer receives a total of 4 weekly downloads. As such, react-native-videoplayer popularity was classified as not popular.
We found that react-native-videoplayer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.