bitmovin-player-rails 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7101ee068ef2b87c6f1be799b09c5b2ed7bcf046
4
- data.tar.gz: e1dd5c81c080ce4eb6f8ac4c4427ad2245152ce7
3
+ metadata.gz: 2fd2036465b5bca4990ce971de93f34164642511
4
+ data.tar.gz: 88496637be1952fc2b6cf746586cdf97f014aa93
5
5
  SHA512:
6
- metadata.gz: 34d596c85d6780e14e9e5dbf276d3223dae087f33cc546163f3e0076ac8766143940374b6312d3a20f2c47dc2b23e124795991ee9639fa7c7c3f37c4c591994e
7
- data.tar.gz: 31fe80d0d5ec4bcb5c7281c2abd7ae23e1913ce650c944dce9f5ef003111d003530c89fb860cd5e5e114fee1ce00514dea7fcdff5f8e42d16a2009a4ff5ff561
6
+ metadata.gz: 82259951bdf2363d959c02e80ef35f0f9700206857ec4beb6392a5374c1141276067f7cb7d4f0b55e6aef94e5c8a0101886b459fe20943335073c4322b918c15
7
+ data.tar.gz: e238110a51da31fbb1cf676096a3c5d0de4fdfcc97ec610b32e042253b648c9fb2f9a7a196870ab93e5fc1adf9d2c938f9b43ba934883d59a74cb7c0f545cf9a
@@ -1,7 +1,7 @@
1
1
  module Bitmovin
2
2
  module Player
3
3
  module Rails
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.1'
5
5
  end
6
6
  end
7
7
  end
@@ -3,7 +3,7 @@ You can now use bitmovin-player in any of your Rails templates as a view helper:
3
3
  Example:
4
4
 
5
5
  <%= bitmovin_player(
6
- dash: "//bitmovin-a.akamaihd.net/content/MI201109210084_1/mpds/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.mpd"
7
- hls: "//bitmovin-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8"
8
- progressive: "//bitmovin-a.akamaihd.net/content/MI201109210084_1/MI201109210084_mpeg-4_hd_high_1080p25_10mbits.mp4"
6
+ dash: "//bitmovin-a.akamaihd.net/content/MI201109210084_1/mpds/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.mpd",
7
+ hls: "//bitmovin-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8",
8
+ progressive: "//bitmovin-a.akamaihd.net/content/MI201109210084_1/MI201109210084_mpeg-4_hd_high_1080p25_10mbits.mp4",
9
9
  poster: "//bitmovin-a.akamaihd.net/content/MI201109210084_1/poster.jpg") %>
@@ -31,8 +31,8 @@ class BitmovinPlayerGenerator < Rails::Generators::Base
31
31
  template "config.yml.erb", "config/bitmovin_player.yml"
32
32
  application "config.bitmovin_player = config_for(:bitmovin_player)"
33
33
 
34
- inject_into_file 'app/views/layouts/application.html.erb', :after => 'javascript_include_tag' do
35
- "<%= bitmovin_player_script %>"
34
+ inject_into_file 'app/views/layouts/application.html.erb', :before => '</head>' do
35
+ "<%= bitmovin_player_script %>\n"
36
36
  end
37
37
 
38
38
  puts "Installation successful!"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitmovin-player-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Hoelbling-Inzko