jekyll-poly 0.0.7 → 0.0.8

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
  SHA256:
3
- metadata.gz: '06788c80a4cdee89e3a94678e9b5914808236c98c3f108cb33186633a2917f6a'
4
- data.tar.gz: 79d590530118320c9efe8b83b224180c686fb3f5728572ddcc71c5d4a6d44c41
3
+ metadata.gz: 7851d1abb3cdf9bdc6c4111eaf672f18750bcf3c59222870318e099f3b7cd848
4
+ data.tar.gz: '03292241c3efdcb131572d6048a53821991fe78da0f173f6b5533472fac6236c'
5
5
  SHA512:
6
- metadata.gz: 7fd4f2e0e800cdbd513b677f3335b14cbdda979fcb8eb22fdd56c47d6df98bdd8a38103f5308b91ed5b5dc1ac5ef39dd06cbc500d12ce25a49b7c6be904705b3
7
- data.tar.gz: a4dd8500f330056d39c1c266c536ee8554b335490e5233290831c955ce032fae11cbaf25496845a7db07212b3efe65d50b446cedac2477e6482be91895f616d5
6
+ metadata.gz: 334d8336e6c27ce4c197fb41cf12eabd1de2b01f8616bc59fbddb1006a8ddab4b7eada88256893caca057cadeedde97c7ef35f8700e685a26979ddc2d357cbb9
7
+ data.tar.gz: b0b8c299845d176098e564b51509204e9f58dc16b99e7b50919c8c1558bf27ba4ce7565efdd1e380f1c153afd6bbfabbc3b7663773446ab9621e15b234de525c
@@ -8,27 +8,7 @@ class PolyEmbed < Liquid::Tag
8
8
  end
9
9
 
10
10
  def generate_iframe(poly_id)
11
- %Q{<style>
12
- .embed-container {
13
- position: relative;
14
- padding-bottom: 56.25%;
15
- height: 0;
16
- overflow: hidden;
17
- max-width: 100%;
18
- }
19
- .embed-container iframe,
20
- .embed-container object,
21
- .embed-container embed {
22
- position: absolute;
23
- top: 0;
24
- left: 0;
25
- width: 100%;
26
- height: 100%;
27
- }
28
- </style>
29
- <div class=".embed-container">
30
- <iframe width="100%" height="480px" src="https://poly.google.com/view/#{ poly_id }/embed" frameborder="0" style="border:none;" allowvr="yes" allow="vr; xr; accelerometer; magnetometer; gyroscope; autoplay;" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" onmousewheel="" ></iframe>
31
- </div>}
11
+ %Q{<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%;}.embed-container iframe,.embed-container object,.embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%;}</style><div class=".embed-container"><iframe width="100%" height="480px" src="https://poly.google.com/view/#{ poly_id }/embed" frameborder="0" style="border:none;" allowvr="yes" allow="vr; xr; accelerometer; magnetometer; gyroscope; autoplay;" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" onmousewheel="" ></iframe></div>}
32
12
  end
33
13
 
34
14
  def generate_from_template(context, tmpl_path, poly_id)
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Poly
3
- VERSION = "0.0.7"
3
+ VERSION = "0.0.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-poly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leo Blondel