samvera_hls 0.3.5 → 0.3.6
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76ff202d13f1ea8f43e9427fb4d79338dcd100aaab550b41db49d45469c0c20c
|
4
|
+
data.tar.gz: bdd9d0ae5ddec5a236292fdbedda7ef2aa3ec3ee1c1c9416014a67a5a0315e94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1819a2e75d129f228de42b40090550d14c1980ead29ee6e583e79b1b637c9fb8ae943e2802bb009bed7f423b5653f346cd456c62f56fe2e12c37f1d84ed2a97
|
7
|
+
data.tar.gz: 8bf0d2cf61e3aa0648e669c6ea5032ea67817fd0babb87c5d07cbabec324d11f06bc80ac74146ec398d9b29d113d19e411f488291b9ccca864339f6ac7cb8e3f
|
@@ -26,19 +26,19 @@ module SamveraHls
|
|
26
26
|
end
|
27
27
|
|
28
28
|
def media_display_partial(file_set)
|
29
|
-
'file_sets/media_display
|
29
|
+
base = 'file_sets/media_display'
|
30
30
|
if file_set.image?
|
31
|
-
'image'
|
31
|
+
File.join('hyrax',base,'image')
|
32
32
|
elsif file_set.video?
|
33
|
-
'video_hls'
|
33
|
+
File.join(base,'video_hls')
|
34
34
|
elsif file_set.audio?
|
35
|
-
'audio_hls'
|
35
|
+
File.join(base,'audio_hls')
|
36
36
|
elsif file_set.pdf?
|
37
|
-
'pdf'
|
37
|
+
File.join('hyrax',base,'pdf')
|
38
38
|
elsif file_set.office_document?
|
39
|
-
'office_document'
|
39
|
+
File.join('hyrax',base,'office_document')
|
40
40
|
else
|
41
|
-
'default'
|
41
|
+
File.join('hyrax',base,'default')
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
data/lib/samvera_hls/version.rb
CHANGED