Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rdoroshenko_mediaelement_rails

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rdoroshenko_mediaelement_rails

  • 0.4.0
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

MediaelementRails

This neat project brings the cool MediaElement.js (HTML5/Flash/Silverlight video player) to the Rails asset pipeline.

All you have to do is:

Add the gem to the list of required gems in your Gemfile:

# ...
gem "mediaelement_rails"
# ...

Javascript

Load the Mediaelement Javascript in your application.js:

//= require mediaelement_rails

And CSS

Load the Mediaelement CSS in your application.css:

/*
 *= require mediaelement_rails
 * and optionally:
 *= require mediaelement_rails/mejs-skins
 */

Wanna use MediaElement (not the player) only?

This is easy as hell too! Don't include any CSS and include the following in your application.js to get it working:

//= require mediaelement_rails/rails

Anything else I should know?

Nothing special! This project includes all assets you might need.

This project rocks and uses MIT-LICENSE.

FAQs

Package last updated on 07 Jul 2012

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc