![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
= Mp3Player
Here's a WordPress Audio Player plugin wrapper for Rails 3.x with asset pipeline support.
== Installation
Simply add to your application's Gemfile: gem 'mp3_player'
In your layout add: <%= mp3_player_headers %>
or: <%= javascript_include_tag 'http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js' %> <%= mp3_player_headers without_swfobject: true %>
== Usage
To check the player is working simply add: <%= mp3_player("http://github.com/sekrett/mp3_player/raw/master/test.mp3") %> to your view.
If you're using paperclip or carrierwave: <%= mp3_player @my_model.mp3.url %>
Additionally you can just use google's MP3 player with the following helper: <%= google_mp3_player @my_model.mp3.url %>
== Customization
You may specify extra options (all colors should be expressed as hexadecimal values minus the '#'. eg.: <%= mp3_player @my_model.mp3.url, { bg: "99FFFF", text: 'FF0000') %>
Also you may create a configuration yml file and set global options there: rails generate mp3_player:yml
For a complete list of options see documentation at http://wpaudioplayer.com/standalone.
== Contributing
git checkout -b my-new-feature
)git commit -am 'Added some feature'
)git push origin my-new-feature
)== Copyright
This plugin is based on the Audio Player 2.0 by Martin Laine (http://wpaudioplayer.com/standalone)
Thanks to Matt Ittigson (http://github.com/mattenat) for inspiring changes to help support paperclip.
Copyright © 2009 Gavin Morrice (http://handyrailstips.com), released under the MIT license
Copyright © 2010-2013 Alexander Zubkov (http://github.com/sekrett), released under the MIT license
FAQs
Unknown package
We found that mp3_player demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.