Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
mosaic-video
Advanced tools
A simple, lightweight wrapper for the HTML media element, specifically targetting video functionality. There is no styling included in this wrapper.
npm i mosaic-video --save
Supply a player ID, a source file, a margin boolean, a hover boolean, and CSS class names for each nested element. If no class names or ID's are given, default classes/ID's are created. The margin property is used to determine whether or not the playhead moves via margin change or via padding change. If the margin is marked as false, it'll move by increasing padding. Its default value is true. Hover is used to add an option for mouseover progress selection. This is set to true in the demo.
Other available properties: playerId, playerClass, timelineClass, playheadClass, & durationClass.
import './css/main.css';
import React from 'react';
import ReactDOM from 'react-dom';
import Mosaic from 'mosaic-video';
const App = () => (
<Mosaic
hover={true}
margin={false}
playClass="fa fa-play"
pauseClass="fa fa-pause"
source="video/1.mov"
/>
);
ReactDOM.render(<App/>, document.getElementById('app'));
Feel free to create an issue, or message me at @mskalandunas if you have any questions.
FAQs
A React video wrapper for the HTML media element.
We found that mosaic-video 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.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.