mastalk 0.5.5 → 0.5.6
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 +4 -4
- data/lib/mastalk/snippets/bright_video.html.erb +7 -9
- data/mastalk.gemspec +1 -1
- data/spec/mastalk_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 21514f5efa08f3f1ed0fb4ffe8976bd03a924eca
|
|
4
|
+
data.tar.gz: 78f4a1d37f20e14bba74de7cca7417412d0adcda
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 30994732342ae16a43908c53af8d4cd353f447c990b25abe5ed34fb3a26695070339e14e1f986f6a5aa7aaeb93fb48a8f74903192deaf7c42a4556e66736ee65
|
|
7
|
+
data.tar.gz: 245cacf57a8384d2db39cd397d3a383ee7f42a546ad9395aaaa9332a8eb994283a88b3c2cf7f91608ade67ee5d4a661c08391e208e243e7dea82e8f4b452d88b
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
# $~brightcove_video, ~$
|
|
2
2
|
|
|
3
3
|
<div class="video-wrapper">
|
|
4
|
-
<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
</video>
|
|
12
|
-
<script src="//players.brightcove.net/3608769895001/b15c0e6a-51da-4bb1-b717-bccae778670d_default/index.min.js"></script>
|
|
4
|
+
<iframe src='//players.brightcove.net/3608769895001/b15c0e6a-51da-4bb1-b717-bccae778670d_default/index.html?videoId=<%= body.strip %>'
|
|
5
|
+
frameBorder="0"
|
|
6
|
+
allowfullscreen=""
|
|
7
|
+
webkitallowfullscreen=""
|
|
8
|
+
mozallowfullscreen=""
|
|
9
|
+
style="width: 100%; height: 100%; position: absolute; top: 0px; bottom: 0px; right: 0px; left: 0px;" >
|
|
10
|
+
</iframe>
|
|
13
11
|
</div>
|
data/mastalk.gemspec
CHANGED
data/spec/mastalk_spec.rb
CHANGED
|
@@ -146,7 +146,7 @@ describe Mastalk::Document do
|
|
|
146
146
|
let(:source) { "$~brightcove_video3739688349001~$" }
|
|
147
147
|
|
|
148
148
|
it 'pre-processes correctly' do
|
|
149
|
-
expect(subject.to_html).to
|
|
149
|
+
expect(subject.to_html).to include('//players.brightcove.net/3608769895001/b15c0e6a-51da-4bb1-b717-bccae778670d_default/index.html?videoId=3739688349001')
|
|
150
150
|
end
|
|
151
151
|
end
|
|
152
152
|
|