Coder Social home page Coder Social logo

bitmovin-player-rails's Introduction

Bitmovin-Player Rails

Adaptive HTML5 Video Player for Rails

Usage

After installation you can embed a Bitmovin-Player anywhere in your views as simple as this:

<%= bitmovin_player(
	width: '800px', height: '450px',
	dash: "//bitmovin-a.akamaihd.net/content/MI201109210084_1/mpds/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.mpd"
	hls: "//bitmovin-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8"
	progressive: "//bitmovin-a.akamaihd.net/content/MI201109210084_1/MI201109210084_mpeg-4_hd_high_1080p25_10mbits.mp4"
	poster: "//bitmovin-a.akamaihd.net/content/MI201109210084_1/poster.jpg") %>

Installation

Add this line to your application's Gemfile:

gem 'bitmovin-player-rails'

And then execute:

$ bundle

Now run the generator and follow the instructions

$ rails generate bitmovin_player

Configuration

Bitmovin-Player-Rails supports all settings Bitmovin-Player supports. Please look at the documentation and just translate the JavaScript config to Ruby hashes and you are good to go.

Need Help?

If you find a bug or need some help don't hesitate to raise an Issue here on GitHub or contact us

Contributing

Feel free to send us pull requests or suggestions!

License

The gem is available as open source under the terms of the MIT License.

bitmovin-player-rails's People

Contributors

tigraine avatar tomaszstas-railwaymen avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.