parliament-utils 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a051cb11537b231b277ebd5e726d610960d30691
|
|
4
|
+
data.tar.gz: f681e82c529a044415df651ee97ff2af35bea0a4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 02edb0072127c6fcd4a3666d243369099af4b8282e1e2647bd09d5d6fbc44eb59642b9266660b03048c058fe93ef4404feb13b8990ee5bfa7a54c2913bf6c8dd
|
|
7
|
+
data.tar.gz: 4168e3d2a5bbf1a2ad8e07a70a8e3d0d03772ddda54fb8c240052c290edd793e955ef2a8e300c505af25726e40dacb5005157086d0a0d18b32b9f7e08ae25287
|
|
@@ -38,13 +38,14 @@ module Parliament
|
|
|
38
38
|
# Add original query if present, and not an empty string
|
|
39
39
|
url << "#{uri.query}&" if uri.query&.size
|
|
40
40
|
# Add player options
|
|
41
|
-
url << 'audioOnly=False&
|
|
41
|
+
url << 'audioOnly=False&autoStart=False&statsEnabled=False'
|
|
42
42
|
end
|
|
43
43
|
|
|
44
|
+
# Escape special characters in HTML
|
|
45
|
+
video_url = CGI.escapeHTML(video_url)
|
|
46
|
+
|
|
44
47
|
# Return the video player
|
|
45
|
-
%(<div class="video-wrap">
|
|
46
|
-
<iframe src="#{video_url}" name="UKPPlayer" title="UK Parliament Player" seamless="seamless" frameborder="0" allowfullscreen style="width: 100%; height: 100%"></iframe>
|
|
47
|
-
</div>)
|
|
48
|
+
%(<div class="video-wrap"><iframe src="#{video_url}" name="UKPPlayer" title="UK Parliament Player" seamless="seamless" frameborder="0" allowfullscreen style="width: 100%; height: 100%"></iframe></div>)
|
|
48
49
|
end
|
|
49
50
|
end
|
|
50
51
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: parliament-utils
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rebecca Appleyard
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-05-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: parliament-ruby
|