
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@chrisabdo/video
Advanced tools
A lightweight and customizable React video player component.
npm install @chrisabdo/video
import { Video } from "@chrisabdo/video";
function App() {
return (
<Video
src="path/to/your/video.mp4"
progressColor="#3B82F6"
controlsColor="#FFFFFF"
textColor="#FFFFFF"
controlsBackgroundColor="rgba(0, 0, 0, 0.5)"
/>
);
}
The Video
component accepts all standard HTML video attributes in addition to the following custom props:
Prop | Type | Default | Description |
---|---|---|---|
src | string | - | The source URL of the video (required) |
progressColor | string | "#3B82F6" | Color of the progress bar |
controlsColor | string | "#FFFFFF" | Color of the control icons |
textColor | string | "#FFFFFF" | Color of the text (time display) |
controlsBackgroundColor | string | "rgba(0, 0, 0, 0.5)" | Background color of the controls bar |
hideControls | boolean | false | If true, hides the control bar |
className | string | - | Additional CSS class for the video container |
interface VideoProps extends React.VideoHTMLAttributes<HTMLVideoElement> {
progressColor?: string;
controlsColor?: string;
textColor?: string;
hideControls?: boolean;
controlsBackgroundColor?: string;
}
To contribute to this project:
bun install
bun run build
Christopher Abdo
If you encounter any issues or have feedback, please file an issue on the GitHub repository.
FAQs
A lightweight and customizable React video player component
The npm package @chrisabdo/video receives a total of 0 weekly downloads. As such, @chrisabdo/video popularity was classified as not popular.
We found that @chrisabdo/video demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.