Security News
Supply Chain Attack Detected in @solana/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.
ember-html5-audio
Advanced tools
Ember.js addon that wraps an HTML5 audio (<audio>
) element and "Emberizes" the events (loadedmetadata
, ended
, durationchange
, etc...) that it sends.
Install as an Ember-CLI addon:
ember install ember-html5-audio
// templates/some-template.hbs
{{html5-audio
src="https://link-to-audio-file.ogg"
durationChange=(action 'onDurationChange')
loadedMetadata=(action 'onLoadedMetadata')
ended=(action 'onEnded')
timeUpdate=(action 'onTimeUpdate')
actionReceiver=html5Audio
}}
Arguments for the component:
It implements some of the events for media elements (see https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Media_events). Please fork and PR if you want to add more supported events.
durationchange
event (https://developer.mozilla.org/en-US/docs/Web/Events/durationchange)loadedmetadata
event (https://developer.mozilla.org/en-US/docs/Web/Events/loadedmetadata)ended
eventtimeupdate
event (https://developer.mozilla.org/en-US/docs/Web/Events/timeupdate)We allow actions to be sent to the audio element through the ember-component-inbound-actions addon. Supported actions:
git clone
this repositorynpm install
bower install
npm test
(Runs ember try:testall
to test your addon against multiple Ember versions)ember test
ember test --server
FAQs
Ember.js component that serves as a HTML5 audio element.
We found that ember-html5-audio 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.