
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
larkplayer-hls
Advanced tools
larkplayer 插件,用于播放 m3u8 视频
基于 hls.js 开发
NPM
npm install larkplayer-hls
CDN
<script type="text/javascript" src="https://unpkg.com/larkplayer-hls@latest/dist/larkplayer-hls.js"></script>
<!DOCTYPE html>
<html>
<head>
<title>larkplayer hls</title>
</head>
<body>
<video id="video-el" src="https://video-dev.github.io/streams/x36xhzz/x36xhzz.m3u8" loop controls></video>
<script type="text/javascript" src="https://unpkg.com/larkplayer@latest/dist/larkplayer.js"></script>
<script type="text/javascript" src="https://unpkg.com/larkplayer-hls@latest/dist/larkplayer-hls.js"></script>
<script type="text/javascript">
var player = larkplayer('video-el', {
width: 640,
height: 360,
MS: {
// 可选,详细参数见 https://github.com/video-dev/hls.js/blob/master/docs/API.md#fine-tuning
hls: {}
}
}, function () {
console.log('player is ready');
});
player.play();
</script>
</body>
</html>
import larkplayer from 'larkplayer';
import 'larkplayer-hls';
const player = larkplayer('video-el');
player.src('xxx.m3u8');
player.play();
FAQs
A hls playback plugin for larkplayer
We found that larkplayer-hls 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
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.