jekyll-uj-powertools 1.6.12 → 1.6.13

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: 19f624e2812b54ffff77ac6e5b5ab0d9198454555c9d331ccf109c6d32f0d724
4
- data.tar.gz: beebdaa32f7008d4427cbf030226157c9f691ee9e66e30612ead0d2c6f6b8518
3
+ metadata.gz: '02549cb967cbd7824079ec66c7b3efc58bfbd8900541807199e4999472e4f637'
4
+ data.tar.gz: 4b8f38b4f5a17787d3edd32b00f3a011682b2fd276dc561e9a1fb37349e2ddde
5
5
  SHA512:
6
- metadata.gz: 0e3a7b208d8acbdbb4a3fd634283a09acddcd4f2728f4b1275d03b28888cfa76730c9054942e3ac83b1031374ff8d1e8be65655f07db40f20fb01e5d33c5a006
7
- data.tar.gz: 15882e59423be03df44691a14bcf04ae2953a834caf7e2ce8c2b84bf8da487cd3cd210c5022d1815f50291ef0c9dc403e03e105664e03b6cf92a31a856a7b54e
6
+ metadata.gz: 572aee2b9a5c50dc70061d1d4b6b49773b0297a9e786c6e897fb767166600de697285570a245ee10e1b40f1a24dad018fff7adcf2ac3efa03380a07b8fd4fb0d
7
+ data.tar.gz: bdc0de0cb663b2f4de284ceefa13c094384b4d6cea72e90a7fd05fc48e3d1d3d56be2a29d6bf413aeb89295a448c7f4102397a742a99c0bed32fa4157fd71572
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
  Gem::Specification.new do |spec|
6
6
  # Gem info
7
7
  spec.name = "jekyll-uj-powertools"
8
- spec.version = "1.6.12"
8
+ spec.version = "1.6.13"
9
9
 
10
10
  # Author info
11
11
  spec.authors = ["ITW Creative Works"]
data/lib/tags/video.rb CHANGED
@@ -50,7 +50,8 @@ module Jekyll
50
50
  # parse_arguments and parse_options methods are now provided by VariableResolver module
51
51
 
52
52
  def build_video_element(src, src_path, extension, max_width, options)
53
- html = "<video\n"
53
+ html = "<div class=\"lazy-loading\" data-lazy-load-container>\n"
54
+ html += "<video\n"
54
55
 
55
56
  # Add common video attributes
56
57
  css_class = options['class'] || ''
@@ -83,7 +84,8 @@ module Jekyll
83
84
 
84
85
  # Fallback text
85
86
  html += "Your browser does not support the video tag.\n"
86
- html += "</video>"
87
+ html += "</video>\n"
88
+ html += "</div>"
87
89
 
88
90
  html
89
91
  end
@@ -126,7 +128,8 @@ module Jekyll
126
128
  poster = options['poster'] || ''
127
129
 
128
130
  # Build video tag on a single line to prevent markdown parsing issues
129
- html = "<video"
131
+ html = "<div class=\"lazy-loading\" data-lazy-load-container>"
132
+ html += "<video"
130
133
  html += " class=\"#{css_class}\"" unless css_class.empty?
131
134
  html += " style=\"#{style}\"" unless style.empty?
132
135
  html += " width=\"#{width}\"" unless width.empty?
@@ -147,6 +150,7 @@ module Jekyll
147
150
  html += "<source data-lazy=\"@src #{src}\" type=\"video/#{mime_type}\">"
148
151
  html += "Your browser does not support the video tag."
149
152
  html += "</video>"
153
+ html += "</div>"
150
154
 
151
155
  html
152
156
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-uj-powertools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.12
4
+ version: 1.6.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - ITW Creative Works
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-10-16 00:00:00.000000000 Z
11
+ date: 2025-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll