Sha256: 8fc64f1daabe346bcbea5ce7ae98a6f603defbd35a05e59fad94c80c225f68fb

Contents?: true

Size: 941 Bytes

Versions: 1

Compression:

Stored size: 941 Bytes

Contents

# Sublime Video for Rails 3.1 

## Installation

Add to your Gemfile

```ruby

gem 'sublimevideo_rails'

```

And run bundle to install the library.

```ruby

bundle

```


Add the sublime.yml file to your config directory

```yaml

# config/sublime.yml (change the site token)
SITE:
  TOKEN: ajezdvbh 
```

You can optionally use the following options to include HD videos

```ruby

  source:         #MP4
  source_hd_mp4:  #HD MP4
  source_webm:    #webm 
  source_webm_hd  #HD WebM
  width:          #width of the video
  height:         #height of the video
  poster:         #image that will be displayed on the screen
  class:          #CSS class of the video player container

```

## Usage

```erb

<%= sublimevideo_rails source: "http://domain.com/path/to/video.mp4", width:"400px" %>

```

#Watermark

```ruby

#Coming soon

```
#Example app
```ruby
http://lit-bastion-1612.herokuapp.com
```


## Resources
http://sublimevideo.net

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sublimevideo_rails-0.0.11 readme.md