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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2fd2036465b5bca4990ce971de93f34164642511
|
4
|
+
data.tar.gz: 88496637be1952fc2b6cf746586cdf97f014aa93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82259951bdf2363d959c02e80ef35f0f9700206857ec4beb6392a5374c1141276067f7cb7d4f0b55e6aef94e5c8a0101886b459fe20943335073c4322b918c15
|
7
|
+
data.tar.gz: e238110a51da31fbb1cf676096a3c5d0de4fdfcc97ec610b32e042253b648c9fb2f9a7a196870ab93e5fc1adf9d2c938f9b43ba934883d59a74cb7c0f545cf9a
|
@@ -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', :
|
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!"
|