Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@667/filepond-plugin-media-preview
Advanced tools
The Media Preview plugin will kick in automatically when the uploaded file is of type video or audio and render a preview player inside the file item.
Install using npm:
npm install filepond-plugin-media-preview
Then import in your project:
import * as FilePond from 'filepond';
import FilePondPluginMediaPreview from 'filepond-plugin-media-preview';
Register the plugin:
FilePond.registerPlugin(FilePondPluginMediaPreview);
Create a new FilePond instance as normal.
const pond = FilePond.create({
name: 'filepond'
});
// Add it to the DOM
document.body.appendChild(pond.element);
The preview will become active when uploading an video or audio file.
Both the video and audio preview can be enabled or disabled. Use the following options:
const pond = FilePond.create({
name: 'filepond',
allowVideoPreview: true, // default true
allowAudioPreview: true // default true
});
Be sure to include this lib's styles, by importing the minified css.
import 'filepond-plugin-media-preview/dist/filepond-plugin-media-preview.min.css';
FAQs
Media preview Plugin for FilePond
We found that @667/filepond-plugin-media-preview 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.