onebox 2.2.4 → 2.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/onebox.rb +2 -1
- data/lib/onebox/engine/audio_onebox.rb +1 -1
- data/lib/onebox/engine/video_onebox.rb +1 -1
- data/lib/onebox/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5124afb82cbf3d3103700c9b6e8ff935ab054f27ec9e115fa67e318554b402a
|
4
|
+
data.tar.gz: 66d69a4e0fea63708a7740b021e1ef4f149b5dd0537d0fc1fd060b8fa7d6ce96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75dfc88ec22ce1c633a6614068171f6f2d5f16841f6d0d800af6b4bf348eff7a46c64c85d64a701a6a791f551c635e24cb84ddc3de452c572579916029c672e5
|
7
|
+
data.tar.gz: d9d5ac8c391e3f638e1e0ac9aa198ecb4259bcc1c38e626cea0b68ca527659d21f8d74f47ad6b99a94e02fda10fa4a0812b175ebef52b08d1f07dba037994210
|
data/lib/onebox.rb
CHANGED
@@ -15,7 +15,7 @@ module Onebox
|
|
15
15
|
escaped_url = ::Onebox::Helpers.normalize_url_for_output(@url)
|
16
16
|
|
17
17
|
<<-HTML
|
18
|
-
<audio controls>
|
18
|
+
<audio controls #{@options[:disable_media_download_controls] ? 'controlslist="nodownload"' : ""}>
|
19
19
|
<source src="#{escaped_url}">
|
20
20
|
<a href="#{escaped_url}">#{@url}</a>
|
21
21
|
</audio>
|
@@ -20,7 +20,7 @@ module Onebox
|
|
20
20
|
escaped_url = ::Onebox::Helpers.normalize_url_for_output(@url)
|
21
21
|
<<-HTML
|
22
22
|
<div class="onebox video-onebox">
|
23
|
-
<video width='100%' height='100%' controls>
|
23
|
+
<video width='100%' height='100%' controls #{@options[:disable_media_download_controls] ? 'controlslist="nodownload"' : ""}>
|
24
24
|
<source src='#{escaped_url}'>
|
25
25
|
<a href='#{escaped_url}'>#{@url}</a>
|
26
26
|
</video>
|
data/lib/onebox/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onebox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joanna Zeta
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-02-
|
13
|
+
date: 2021-02-25 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: addressable
|