glimmer-cw-video 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/LICENSE.txt +1 -1
- data/README.md +4 -4
- data/VERSION +1 -1
- data/glimmer-cw-video.gemspec +8 -12
- data/lib/views/glimmer/video.rb +3 -3
- metadata +16 -44
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eaece50fa013536bcaa2cc9695323e10dc6c9a9ad09ef286f8ead88c8010d4af
|
4
|
+
data.tar.gz: 8e3ddb6f497ba0c2f9efd7c0aadc66299433370f40f083d4ae9ab79fe90fb68f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42a4360aa93c99c9d8147f33b52ce6758abd2e5a1bf2313d927f00652ed5d7bba311f491094186625ea28e5f2c64f014253f99889aa7dd8f703da0d435ac294b
|
7
|
+
data.tar.gz: 0b142707223a8a6cab4ceb012dc2b2a7cad980da868070f0dc6f44cbbb71f8fb2be0ed21bb6ddceab2739d3bcaa6cf1b77213452f70aa40bd465f32c3fba8894
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 1.1.1
|
4
|
+
|
5
|
+
- Relaxed indirect dependency on glimmer through glimmer-dsl-xml by upgrading to a newer version (1.3.2)
|
6
|
+
- Relaxed indirect dependency on glimmer through glimmer-dsl-css by upgrading to a newer version (1.2.2)
|
7
|
+
- Fix issue with `Glimmer::Config.xml_attribute_underscore` in glimmer-dsl-xml by upgrading to a newer version (1.3.2)
|
8
|
+
|
3
9
|
## 1.1.0
|
4
10
|
|
5
11
|
- Upgraded glimmer-dsl-swt, glimmer-dsl-xml, and glimmer-dsl-css
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -49,7 +49,7 @@ require 'glimmer-cw-video'
|
|
49
49
|
# ... more require statements follow
|
50
50
|
```
|
51
51
|
|
52
|
-
## API Options
|
52
|
+
## API Options
|
53
53
|
|
54
54
|
Here are the options to pass in as hash arguments to the `video` widget keyword (see in [Samples](#samples)):
|
55
55
|
- `autoplay` (true [default] or false): plays video automatically as soon as loaded
|
@@ -101,7 +101,7 @@ Run this command to list available Video samples:
|
|
101
101
|
glimmer sample:list
|
102
102
|
```
|
103
103
|
|
104
|
-
### Hello, Video!
|
104
|
+
### Hello, Video!
|
105
105
|
|
106
106
|
Run:
|
107
107
|
|
@@ -206,7 +206,7 @@ end
|
|
206
206
|
when swt(:arrow_down)
|
207
207
|
@video.volume_down
|
208
208
|
end
|
209
|
-
}
|
209
|
+
}
|
210
210
|
|
211
211
|
on_playing {
|
212
212
|
display_video_status(@video, 'Playing')
|
@@ -262,7 +262,7 @@ Dialog for video ended event:
|
|
262
262
|
|
263
263
|
[MIT](LICENSE.txt)
|
264
264
|
|
265
|
-
Copyright (c) 2020 - Andy Maleh.
|
265
|
+
Copyright (c) 2020-2023 - Andy Maleh.
|
266
266
|
|
267
267
|
--
|
268
268
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.1
|
data/glimmer-cw-video.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: glimmer-cw-video 1.1.
|
5
|
+
# stub: glimmer-cw-video 1.1.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "glimmer-cw-video".freeze
|
9
|
-
s.version = "1.1.
|
9
|
+
s.version = "1.1.1"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|
13
13
|
s.authors = ["Andy Maleh".freeze]
|
14
|
-
s.date = "
|
14
|
+
s.date = "2023-06-15"
|
15
15
|
s.description = "Glimmer video widget with basic functionality like play, pause, loop, and reload. Support mp4, webm, and ogg. Works with both local files and web URLs.".freeze
|
16
16
|
s.email = "andy.am@gmail.com".freeze
|
17
17
|
s.extra_rdoc_files = [
|
@@ -36,7 +36,7 @@ Gem::Specification.new do |s|
|
|
36
36
|
]
|
37
37
|
s.homepage = "http://github.com/AndyObtiva/glimmer-cw-video".freeze
|
38
38
|
s.licenses = ["MIT".freeze]
|
39
|
-
s.rubygems_version = "3.
|
39
|
+
s.rubygems_version = "3.2.33".freeze
|
40
40
|
s.summary = "Glimmer Custom Widget - Video".freeze
|
41
41
|
|
42
42
|
if s.respond_to? :specification_version then
|
@@ -45,24 +45,20 @@ Gem::Specification.new do |s|
|
|
45
45
|
|
46
46
|
if s.respond_to? :add_runtime_dependency then
|
47
47
|
s.add_runtime_dependency(%q<glimmer-dsl-swt>.freeze, [">= 4.17.4.1", "< 5.0.0.0"])
|
48
|
-
s.add_runtime_dependency(%q<glimmer-dsl-xml>.freeze, [">= 1.
|
49
|
-
s.add_runtime_dependency(%q<glimmer-dsl-css>.freeze, [">= 1.
|
48
|
+
s.add_runtime_dependency(%q<glimmer-dsl-xml>.freeze, [">= 1.3.2", "< 2.0.0"])
|
49
|
+
s.add_runtime_dependency(%q<glimmer-dsl-css>.freeze, [">= 1.2.2", "< 2.0.0"])
|
50
50
|
s.add_development_dependency(%q<juwelier>.freeze, ["~> 2.4.9"])
|
51
|
-
s.add_development_dependency(%q<glimmer-cs-gladiator>.freeze, [">= 0"])
|
52
51
|
s.add_development_dependency(%q<rspec>.freeze, ["~> 3.5.0"])
|
53
|
-
s.add_development_dependency(%q<jeweler>.freeze, ["= 2.3.9"])
|
54
52
|
s.add_development_dependency(%q<coveralls>.freeze, ["= 0.8.23"])
|
55
53
|
s.add_development_dependency(%q<simplecov>.freeze, ["~> 0.16.1"])
|
56
54
|
s.add_development_dependency(%q<simplecov-lcov>.freeze, ["~> 0.7.0"])
|
57
55
|
s.add_development_dependency(%q<glimmer-cw-video>.freeze, [">= 0"])
|
58
56
|
else
|
59
57
|
s.add_dependency(%q<glimmer-dsl-swt>.freeze, [">= 4.17.4.1", "< 5.0.0.0"])
|
60
|
-
s.add_dependency(%q<glimmer-dsl-xml>.freeze, [">= 1.
|
61
|
-
s.add_dependency(%q<glimmer-dsl-css>.freeze, [">= 1.
|
58
|
+
s.add_dependency(%q<glimmer-dsl-xml>.freeze, [">= 1.3.2", "< 2.0.0"])
|
59
|
+
s.add_dependency(%q<glimmer-dsl-css>.freeze, [">= 1.2.2", "< 2.0.0"])
|
62
60
|
s.add_dependency(%q<juwelier>.freeze, ["~> 2.4.9"])
|
63
|
-
s.add_dependency(%q<glimmer-cs-gladiator>.freeze, [">= 0"])
|
64
61
|
s.add_dependency(%q<rspec>.freeze, ["~> 3.5.0"])
|
65
|
-
s.add_dependency(%q<jeweler>.freeze, ["= 2.3.9"])
|
66
62
|
s.add_dependency(%q<coveralls>.freeze, ["= 0.8.23"])
|
67
63
|
s.add_dependency(%q<simplecov>.freeze, ["~> 0.16.1"])
|
68
64
|
s.add_dependency(%q<simplecov-lcov>.freeze, ["~> 0.7.0"])
|
data/lib/views/glimmer/video.rb
CHANGED
@@ -71,7 +71,7 @@ module Glimmer
|
|
71
71
|
}
|
72
72
|
}
|
73
73
|
|
74
|
-
def source
|
74
|
+
def source
|
75
75
|
file_source = file
|
76
76
|
if file_source
|
77
77
|
if file_source.start_with?('uri:classloader')
|
@@ -86,7 +86,7 @@ module Glimmer
|
|
86
86
|
File.binwrite(tmp_file, file_content)
|
87
87
|
"file://#{tmp_file}"
|
88
88
|
else
|
89
|
-
file_source = File.expand_path(file_source)
|
89
|
+
file_source = File.expand_path(file_source)
|
90
90
|
"file://#{file_source}"
|
91
91
|
end
|
92
92
|
else
|
@@ -323,7 +323,7 @@ module Glimmer
|
|
323
323
|
|
324
324
|
def browser_body_background
|
325
325
|
color = background
|
326
|
-
if color.is_a?(Symbol) || color.is_a?(String)
|
326
|
+
if color.is_a?(Symbol) || color.is_a?(String)
|
327
327
|
color = color(color)
|
328
328
|
end
|
329
329
|
if color.respond_to?(:swt_color)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glimmer-cw-video
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Maleh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -20,8 +20,8 @@ dependencies:
|
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: 5.0.0.0
|
22
22
|
name: glimmer-dsl-swt
|
23
|
-
prerelease: false
|
24
23
|
type: :runtime
|
24
|
+
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
@@ -35,18 +35,18 @@ dependencies:
|
|
35
35
|
requirements:
|
36
36
|
- - ">="
|
37
37
|
- !ruby/object:Gem::Version
|
38
|
-
version: 1.
|
38
|
+
version: 1.3.2
|
39
39
|
- - "<"
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: 2.0.0
|
42
42
|
name: glimmer-dsl-xml
|
43
|
-
prerelease: false
|
44
43
|
type: :runtime
|
44
|
+
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 1.
|
49
|
+
version: 1.3.2
|
50
50
|
- - "<"
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: 2.0.0
|
@@ -55,18 +55,18 @@ dependencies:
|
|
55
55
|
requirements:
|
56
56
|
- - ">="
|
57
57
|
- !ruby/object:Gem::Version
|
58
|
-
version: 1.
|
58
|
+
version: 1.2.2
|
59
59
|
- - "<"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 2.0.0
|
62
62
|
name: glimmer-dsl-css
|
63
|
-
prerelease: false
|
64
63
|
type: :runtime
|
64
|
+
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 1.
|
69
|
+
version: 1.2.2
|
70
70
|
- - "<"
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: 2.0.0
|
@@ -77,27 +77,13 @@ dependencies:
|
|
77
77
|
- !ruby/object:Gem::Version
|
78
78
|
version: 2.4.9
|
79
79
|
name: juwelier
|
80
|
-
prerelease: false
|
81
80
|
type: :development
|
81
|
+
prerelease: false
|
82
82
|
version_requirements: !ruby/object:Gem::Requirement
|
83
83
|
requirements:
|
84
84
|
- - "~>"
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: 2.4.9
|
87
|
-
- !ruby/object:Gem::Dependency
|
88
|
-
requirement: !ruby/object:Gem::Requirement
|
89
|
-
requirements:
|
90
|
-
- - ">="
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
version: '0'
|
93
|
-
name: glimmer-cs-gladiator
|
94
|
-
prerelease: false
|
95
|
-
type: :development
|
96
|
-
version_requirements: !ruby/object:Gem::Requirement
|
97
|
-
requirements:
|
98
|
-
- - ">="
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
version: '0'
|
101
87
|
- !ruby/object:Gem::Dependency
|
102
88
|
requirement: !ruby/object:Gem::Requirement
|
103
89
|
requirements:
|
@@ -105,27 +91,13 @@ dependencies:
|
|
105
91
|
- !ruby/object:Gem::Version
|
106
92
|
version: 3.5.0
|
107
93
|
name: rspec
|
108
|
-
prerelease: false
|
109
94
|
type: :development
|
95
|
+
prerelease: false
|
110
96
|
version_requirements: !ruby/object:Gem::Requirement
|
111
97
|
requirements:
|
112
98
|
- - "~>"
|
113
99
|
- !ruby/object:Gem::Version
|
114
100
|
version: 3.5.0
|
115
|
-
- !ruby/object:Gem::Dependency
|
116
|
-
requirement: !ruby/object:Gem::Requirement
|
117
|
-
requirements:
|
118
|
-
- - '='
|
119
|
-
- !ruby/object:Gem::Version
|
120
|
-
version: 2.3.9
|
121
|
-
name: jeweler
|
122
|
-
prerelease: false
|
123
|
-
type: :development
|
124
|
-
version_requirements: !ruby/object:Gem::Requirement
|
125
|
-
requirements:
|
126
|
-
- - '='
|
127
|
-
- !ruby/object:Gem::Version
|
128
|
-
version: 2.3.9
|
129
101
|
- !ruby/object:Gem::Dependency
|
130
102
|
requirement: !ruby/object:Gem::Requirement
|
131
103
|
requirements:
|
@@ -133,8 +105,8 @@ dependencies:
|
|
133
105
|
- !ruby/object:Gem::Version
|
134
106
|
version: 0.8.23
|
135
107
|
name: coveralls
|
136
|
-
prerelease: false
|
137
108
|
type: :development
|
109
|
+
prerelease: false
|
138
110
|
version_requirements: !ruby/object:Gem::Requirement
|
139
111
|
requirements:
|
140
112
|
- - '='
|
@@ -147,8 +119,8 @@ dependencies:
|
|
147
119
|
- !ruby/object:Gem::Version
|
148
120
|
version: 0.16.1
|
149
121
|
name: simplecov
|
150
|
-
prerelease: false
|
151
122
|
type: :development
|
123
|
+
prerelease: false
|
152
124
|
version_requirements: !ruby/object:Gem::Requirement
|
153
125
|
requirements:
|
154
126
|
- - "~>"
|
@@ -161,8 +133,8 @@ dependencies:
|
|
161
133
|
- !ruby/object:Gem::Version
|
162
134
|
version: 0.7.0
|
163
135
|
name: simplecov-lcov
|
164
|
-
prerelease: false
|
165
136
|
type: :development
|
137
|
+
prerelease: false
|
166
138
|
version_requirements: !ruby/object:Gem::Requirement
|
167
139
|
requirements:
|
168
140
|
- - "~>"
|
@@ -175,8 +147,8 @@ dependencies:
|
|
175
147
|
- !ruby/object:Gem::Version
|
176
148
|
version: '0'
|
177
149
|
name: glimmer-cw-video
|
178
|
-
prerelease: false
|
179
150
|
type: :development
|
151
|
+
prerelease: false
|
180
152
|
version_requirements: !ruby/object:Gem::Requirement
|
181
153
|
requirements:
|
182
154
|
- - ">="
|
@@ -224,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
224
196
|
- !ruby/object:Gem::Version
|
225
197
|
version: '0'
|
226
198
|
requirements: []
|
227
|
-
rubygems_version: 3.
|
199
|
+
rubygems_version: 3.2.33
|
228
200
|
signing_key:
|
229
201
|
specification_version: 4
|
230
202
|
summary: Glimmer Custom Widget - Video
|