samvera_hls 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/lib/samvera_hls/version.rb +1 -1
  3. data/vendor/assets/flash/mediaelement-flash-audio-ogg.swf +0 -0
  4. data/vendor/assets/flash/mediaelement-flash-audio.swf +0 -0
  5. data/vendor/assets/flash/mediaelement-flash-video-hls.swf +0 -0
  6. data/vendor/assets/flash/mediaelement-flash-video-mdash.swf +0 -0
  7. data/vendor/assets/flash/mediaelement-flash-video.swf +0 -0
  8. data/vendor/assets/images/mejs-controls.png +0 -0
  9. data/vendor/assets/images/mejs-controls.svg +1 -0
  10. data/vendor/assets/images/playlist-controls.svg +52 -0
  11. data/vendor/assets/javascripts/lang/ca.js +89 -0
  12. data/vendor/assets/javascripts/lang/cs.js +90 -0
  13. data/vendor/assets/javascripts/lang/de.js +90 -0
  14. data/vendor/assets/javascripts/lang/es.js +90 -0
  15. data/vendor/assets/javascripts/lang/fa.js +90 -0
  16. data/vendor/assets/javascripts/lang/fr.js +91 -0
  17. data/vendor/assets/javascripts/lang/hr.js +87 -0
  18. data/vendor/assets/javascripts/lang/hu.js +90 -0
  19. data/vendor/assets/javascripts/lang/it.js +90 -0
  20. data/vendor/assets/javascripts/lang/ja.js +90 -0
  21. data/vendor/assets/javascripts/lang/ko.js +90 -0
  22. data/vendor/assets/javascripts/lang/nl.js +91 -0
  23. data/vendor/assets/javascripts/lang/pl.js +90 -0
  24. data/vendor/assets/javascripts/lang/pt.js +92 -0
  25. data/vendor/assets/javascripts/lang/ro.js +90 -0
  26. data/vendor/assets/javascripts/lang/ru.js +90 -0
  27. data/vendor/assets/javascripts/lang/sk.js +90 -0
  28. data/vendor/assets/javascripts/lang/sv.js +89 -0
  29. data/vendor/assets/javascripts/lang/uk.js +89 -0
  30. data/vendor/assets/javascripts/lang/zh-cn.js +90 -0
  31. data/vendor/assets/javascripts/lang/zh.js +91 -0
  32. data/vendor/assets/javascripts/mediaelement-and-player.js +8497 -0
  33. data/vendor/assets/javascripts/playlist-i18n.js +149 -0
  34. data/vendor/assets/javascripts/playlist.js +348 -0
  35. data/vendor/assets/javascripts/renderers/dailymotion.js +415 -0
  36. data/vendor/assets/javascripts/renderers/dailymotion.min.js +12 -0
  37. data/vendor/assets/javascripts/renderers/facebook.js +361 -0
  38. data/vendor/assets/javascripts/renderers/facebook.min.js +12 -0
  39. data/vendor/assets/javascripts/renderers/soundcloud.js +306 -0
  40. data/vendor/assets/javascripts/renderers/soundcloud.min.js +12 -0
  41. data/vendor/assets/javascripts/renderers/twitch.js +374 -0
  42. data/vendor/assets/javascripts/renderers/twitch.min.js +12 -0
  43. data/vendor/assets/javascripts/renderers/vimeo.js +411 -0
  44. data/vendor/assets/javascripts/renderers/vimeo.min.js +12 -0
  45. data/vendor/assets/stylesheets/mediaelementplayer-legacy.css.erb +774 -0
  46. data/vendor/assets/stylesheets/mediaelementplayer.css.erb +774 -0
  47. data/vendor/assets/stylesheets/playlist.css.erb +229 -0
  48. metadata +46 -1
@@ -0,0 +1,229 @@
1
+ .mejs__container.mejs__video,
2
+ .mejs-container.mejs-video {
3
+ overflow: hidden;
4
+ }
5
+ .mejs__container.mejs__audio,
6
+ .mejs-container.mejs-audio {
7
+ min-height: 200px;
8
+ }
9
+ .mejs__container.mejs__audio.mejs__no-playlist,
10
+ .mejs-container.mejs-audio.mejs__no-playlist {
11
+ min-height: 60px;
12
+ }
13
+ .mejs__playlist-button,
14
+ .mejs-playlist-button {
15
+ position: relative;
16
+ }
17
+ .mejs__playlist-button > button,
18
+ .mejs-playlist-button > button,
19
+ .mejs__next-button > button,
20
+ .mejs-next-button > button,
21
+ .mejs__prev-button > button,
22
+ .mejs-prev-button > button,
23
+ .mejs__loop-button > button,
24
+ .mejs-loop-button > button,
25
+ .mejs__shuffle-button > button,
26
+ .mejs-shuffle-button > button {
27
+ background: url(<%= asset_path "playlist-controls.svg" %>) transparent no-repeat;
28
+ }
29
+ .mejs__playlist-button > button,
30
+ .mejs-playlist-button > button {
31
+ background-position: -80px 0;
32
+ }
33
+ .mejs__next-button > button,
34
+ .mejs-next-button > button {
35
+ background-position: 0 0;
36
+ }
37
+ .mejs__prev-button > button,
38
+ .mejs-prev-button > button {
39
+ background-position: -20px 0;
40
+ }
41
+ .mejs__loop-button > button,
42
+ .mejs-loop-button > button {
43
+ background-position: -120px 0;
44
+ }
45
+ .mejs__shuffle-button > button,
46
+ .mejs-shuffle-button > button {
47
+ background-position: -100px 0;
48
+ }
49
+ .mejs__loop-button.mejs__loop-off > button,
50
+ .mejs-loop-button.mejs-loop-off > button,
51
+ .mejs__shuffle-button.mejs__shuffle-off > button,
52
+ .mejs-shuffle-button.mejs-shuffle-off > button {
53
+ opacity: 0.7;
54
+ }
55
+ .mejs__playlist-button > .mejs__playlist-selector,
56
+ .mejs-playlist-button > .mejs-playlist-selector {
57
+ background: rgba(50, 50, 50, 0.7);
58
+ border: solid 1px transparent;
59
+ border-radius: 0;
60
+ bottom: 100%;
61
+ margin-right: -43px;
62
+ overflow: hidden;
63
+ padding: 0;
64
+ position: absolute;
65
+ right: 50%;
66
+ visibility: visible;
67
+ width: 86px;
68
+ }
69
+
70
+ .mejs__playlist-selector-list,
71
+ .mejs-playlist-selector-list {
72
+ height: 100%;
73
+ list-style-type: none !important;
74
+ margin: 0;
75
+ overflow-y: auto;
76
+ padding: 0;
77
+ }
78
+
79
+ .mejs__playlist-selector-list-item,
80
+ .mejs-playlist-selector-list-item {
81
+ border-bottom: 1px solid #c8c8c8;
82
+ border-collapse: collapse;
83
+ cursor: pointer;
84
+ display: table;
85
+ list-style-type: none !important;
86
+ position: relative;
87
+ width: 100%;
88
+ }
89
+ .mejs__playlist-item-inner {
90
+ display: table-row;
91
+ overflow: hidden;
92
+ }
93
+
94
+ .mejs__playlist-selector-list-item:hover,
95
+ .mejs-playlist-selector-list-item:hover {
96
+ background-color: rgb(200, 200, 200) !important;
97
+ background-color: rgba(255, 255, 255, 0.4) !important;
98
+ }
99
+
100
+ .mejs__playlist-selector-list-item:focus,
101
+ .mejs-playlist-selector-list-item:focus {
102
+ outline: none;
103
+ }
104
+
105
+ .mejs__playlist-selector-input,
106
+ .mejs-playlist-selector-input {
107
+ left: -1000px;
108
+ position: absolute;
109
+ }
110
+
111
+ .mejs__playlist-selector-label,
112
+ .mejs-playlist-selector-label {
113
+ cursor: pointer;
114
+ float: left;
115
+ font-size: 1.3em;
116
+ margin: 0;
117
+ }
118
+
119
+ .mejs__playlist-selector-label > span,
120
+ .mejs-playlist-selector-label > span {
121
+ -webkit-background-clip: text;
122
+ background-clip: text;
123
+ background-color: #eb5802;
124
+ background-image: -webkit-linear-gradient(top, #eb5802, #f3ad39);
125
+ background-image: linear-gradient(to bottom, #eb5802, #f3ad39);
126
+ color: transparent;
127
+ font-size: 0.65em;
128
+ vertical-align: middle;
129
+ }
130
+ .mejs__playlist-selected,
131
+ .mejs-playlist-selected {
132
+ background-color: #3a3a3a;
133
+ }
134
+
135
+ .mejs__playlist-layer,
136
+ .mejs-playlist-layer {
137
+ background: #222;
138
+ bottom: 40px;
139
+ color: #fff;
140
+ font-size: 12px;
141
+ height: calc(100% - 40px) !important;
142
+ overflow: hidden;
143
+ position: absolute;
144
+ right: 0;
145
+ text-align: center;
146
+ top: 0;
147
+ -webkit-transition: 0.5s;
148
+ transition: 0.5s;
149
+ width: 33.33333% !important;
150
+ z-index: 2;
151
+ }
152
+
153
+ .mejs__container.mejs__audio .mejs__playlist-layer,
154
+ .mejs-container.mejs-audio .mejs-playlist-layer {
155
+ bottom: 85px;
156
+ height: calc(100% - 85px) !important;
157
+ overflow: auto;
158
+ width: 100% !important;
159
+ }
160
+
161
+ .mejs__playlist-hidden,
162
+ .mejs-playlist-hidden {
163
+ right: -33.33333%;
164
+ -webkit-transition: 0.5s;
165
+ transition: 0.5s;
166
+ }
167
+
168
+ .mejs__playlist-item-thumbnail,
169
+ .mejs-playlist-item-thumbnail {
170
+ display: table-cell;
171
+ padding: 7px 5px;
172
+ vertical-align: top;
173
+ width: 30%;
174
+ }
175
+ .mejs__container.mejs__audio .mejs__playlist-item-thumbnail,
176
+ .mejs-container.mejs-audio .mejs-playlist-item-thumbnail {
177
+ padding: 5px;
178
+ width: 15%;
179
+ }
180
+
181
+ .mejs__playlist-item-thumbnail > img,
182
+ .mejs-playlist-item-thumbnail > img {
183
+ height: auto;
184
+ width: 100%;
185
+ }
186
+ .mejs__playlist-item-content,
187
+ .mejs-playlist-item-content {
188
+ display: table-cell;
189
+ padding: 10px;
190
+ width: 70%;
191
+ }
192
+ .mejs__container.mejs__audio .mejs__playlist-item-content,
193
+ .mejs-container.mejs-audio .mejs-playlist-item-content {
194
+ margin: 0;
195
+ width: 85%;
196
+ }
197
+ .mejs__playlist-item-description,
198
+ .mejs-playlist-item-description {
199
+ clear: left;
200
+ padding: 5px 0;
201
+ text-align: left;
202
+ }
203
+ .mejs__playlist-current,
204
+ .mejs-playlist-current {
205
+ background: #000;
206
+ bottom: 34px;
207
+ height: auto !important;
208
+ left: 0;
209
+ position: absolute;
210
+ z-index: 3;
211
+ }
212
+ .mejs__playlist-current p,
213
+ .mejs-playlist-current p {
214
+ color: #fff;
215
+ font-size: 0.8em;
216
+ margin: 15px 10px;
217
+ }
218
+ .mejs__playlist-current > img,
219
+ .mejs-playlist-current > img {
220
+ float: left;
221
+ margin: 5px 10px;
222
+ max-height: 35px;
223
+ }
224
+ .mejs__playlist-current-title,
225
+ .mejs-playlist-current-title,
226
+ .mejs__playlist-current-description,
227
+ .mejs-playlist-current-description {
228
+ font-style: italic;
229
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: samvera_hls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ned Henry, UCSC Library Digital Initiatives
@@ -106,6 +106,51 @@ files:
106
106
  - spec/dummy/public/500.html
107
107
  - spec/dummy/public/favicon.ico
108
108
  - spec/test_app_templates/lib/generators/test_app_generator.rb
109
+ - vendor/assets/flash/mediaelement-flash-audio-ogg.swf
110
+ - vendor/assets/flash/mediaelement-flash-audio.swf
111
+ - vendor/assets/flash/mediaelement-flash-video-hls.swf
112
+ - vendor/assets/flash/mediaelement-flash-video-mdash.swf
113
+ - vendor/assets/flash/mediaelement-flash-video.swf
114
+ - vendor/assets/images/mejs-controls.png
115
+ - vendor/assets/images/mejs-controls.svg
116
+ - vendor/assets/images/playlist-controls.svg
117
+ - vendor/assets/javascripts/lang/ca.js
118
+ - vendor/assets/javascripts/lang/cs.js
119
+ - vendor/assets/javascripts/lang/de.js
120
+ - vendor/assets/javascripts/lang/es.js
121
+ - vendor/assets/javascripts/lang/fa.js
122
+ - vendor/assets/javascripts/lang/fr.js
123
+ - vendor/assets/javascripts/lang/hr.js
124
+ - vendor/assets/javascripts/lang/hu.js
125
+ - vendor/assets/javascripts/lang/it.js
126
+ - vendor/assets/javascripts/lang/ja.js
127
+ - vendor/assets/javascripts/lang/ko.js
128
+ - vendor/assets/javascripts/lang/nl.js
129
+ - vendor/assets/javascripts/lang/pl.js
130
+ - vendor/assets/javascripts/lang/pt.js
131
+ - vendor/assets/javascripts/lang/ro.js
132
+ - vendor/assets/javascripts/lang/ru.js
133
+ - vendor/assets/javascripts/lang/sk.js
134
+ - vendor/assets/javascripts/lang/sv.js
135
+ - vendor/assets/javascripts/lang/uk.js
136
+ - vendor/assets/javascripts/lang/zh-cn.js
137
+ - vendor/assets/javascripts/lang/zh.js
138
+ - vendor/assets/javascripts/mediaelement-and-player.js
139
+ - vendor/assets/javascripts/playlist-i18n.js
140
+ - vendor/assets/javascripts/playlist.js
141
+ - vendor/assets/javascripts/renderers/dailymotion.js
142
+ - vendor/assets/javascripts/renderers/dailymotion.min.js
143
+ - vendor/assets/javascripts/renderers/facebook.js
144
+ - vendor/assets/javascripts/renderers/facebook.min.js
145
+ - vendor/assets/javascripts/renderers/soundcloud.js
146
+ - vendor/assets/javascripts/renderers/soundcloud.min.js
147
+ - vendor/assets/javascripts/renderers/twitch.js
148
+ - vendor/assets/javascripts/renderers/twitch.min.js
149
+ - vendor/assets/javascripts/renderers/vimeo.js
150
+ - vendor/assets/javascripts/renderers/vimeo.min.js
151
+ - vendor/assets/stylesheets/mediaelementplayer-legacy.css.erb
152
+ - vendor/assets/stylesheets/mediaelementplayer.css.erb
153
+ - vendor/assets/stylesheets/playlist.css.erb
109
154
  homepage: http://github.com/UCSCLibrary/samvera_hls
110
155
  licenses:
111
156
  - Apache License, v2.0