
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
react-native-nj-one-click
Advanced tools
阿里云点播播放器 RN 封装,支持多种播放格式,支持 android 和 ios
$ npm install react-native-aliplayer --save
$ react-native link react-native-aliplayer
import RNAliplayer from 'react-native-aliplayer';
const source='http://200024424.vod.myqcloud.com/200024424_709ae516bdf811e6ad39991f76a4df69.f20.mp4'
<RNAliplayer source={source} style={{ width: screenWidth, height: 200 }} />;
name | description |
---|---|
source | 播放资源 |
poster | 封面图 |
enableFullScreen | 是否允许全屏 |
themeColor | 主题色 |
onFullScreen | 全屏事件 |
onCompletion | 播放完毕事件 |
enableCast | 是否显示投屏按钮 |
onCastClick | 投屏按钮点击事件 |
onChangeBitrate | 分辨率切换 |
onProgress | 进度回调 |
onPrepare | 播放准备回调 |
name | parmas | description |
---|---|---|
play | true/false | 开始/暂停播放 |
fullscreen | true/false | 控制是否全屏 |
stop | / | 停止播放 |
seekTo | number(秒) | 快进到多少秒 |
this.RNAliplayerRef.play();
this.RNAliplayerRef.fullscreen();
自定义控制层 UI
import ALIViewPlayer from 'react-native-aliplayer/ALIViewPlayer';
// ALIViewPlayer 支持参数可见源码 ALIViewPlayer.propTypes
<ALIViewPlayer>
<CustomUi />
</ALIViewPlayer>;
FAQs
react-native-nj-one-click
The npm package react-native-nj-one-click receives a total of 4 weekly downloads. As such, react-native-nj-one-click popularity was classified as not popular.
We found that react-native-nj-one-click demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.