Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@financial-times/g-audio
Advanced tools
This is an origami component to help create styled audio players for IG pages. This is currently experimental.
Check out how to include Origami components in your project to get started with g-audio
.
Install the module:
npm install @financial-times/g-audio
Load the JS:
import GAudio from '@financial-times/g-audio';
GAudio.init();
Load the CSS:
@import '@financial-times/g-audio/main';
@include gAudio();
Copy markup from one of the following demos:
To create an audio player inline with text:
<span class="g-audio">
Bring to the table win-win survival
<audio controls>
<source src="demo.mp3" type="audio/mpeg">
</audio>
</span>
To create an audio player between paragraphs of text (in development):
<span class="g-audio g-audio--block">
Podcasting operational change management
<audio controls>
<source src="demo2.mp3" type="audio/mpeg">
</audio>
</span>
State | Major Version | Last Minor Release | Migration guide |
---|---|---|---|
✨ active | 2 | N/A | migrate to v2 |
⚠ maintained | 1 | 1.0.7 | N/A |
This software is published by the Financial Times under the MIT licence.
FAQs
IG audio player component
We found that @financial-times/g-audio demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 10 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
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.