j1-template 2024.3.14 → 2024.3.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/data/amplitude.html +111 -58
- data/assets/data/cookieconsent.html +8 -8
- data/assets/data/panel.html +4 -3
- data/assets/data/speak2me.html +11 -11
- data/assets/data/translator.html +29 -29
- data/assets/theme/j1/adapter/js/amplitude.js +112 -88
- data/assets/theme/j1/adapter/js/j1.js +4 -4
- data/assets/theme/j1/adapter/js/masonry.js +2 -2
- data/assets/theme/j1/adapter/js/themes.js +42 -4
- data/assets/theme/j1/adapter/js/videojs.js +212 -0
- data/assets/theme/j1/core/css/icon-fonts/mdib.css +24 -4
- data/assets/theme/j1/core/css/icon-fonts/mdib.css.map +1 -1
- data/assets/theme/j1/core/css/icon-fonts/mdib.min.css +1 -1
- data/assets/theme/j1/core/css/icon-fonts/mdib.min.css.map +1 -1
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.css +9 -6
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.css.map +1 -1
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css.map +1 -1
- data/assets/theme/j1/core/js/template.js +262 -275
- data/assets/theme/j1/core/js/template.min.js +7 -7
- data/assets/theme/j1/core/js/template.min.js.map +1 -1
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.css +131 -24
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.min.css +1 -1
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.css +102 -76
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.min.css +1 -1
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.css +109 -78
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.min.css +1 -1
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/artist.svg +78 -0
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/mute.svg +52 -20
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/next.svg +20 -39
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/now-playing.svg +24 -38
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/playlist-hide.svg +85 -0
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/playlist-music.svg +85 -0
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/playlist-show.svg +85 -0
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/playlist.svg +85 -0
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/previous.svg +18 -37
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/skip-backward.svg +33 -30
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/skip-forward.svg +33 -29
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/small/next.svg +55 -14
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/small/previous.svg +56 -14
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/volume.svg +38 -21
- data/assets/theme/j1/modules/amplitudejs/js/amplitude.map +20 -20
- data/assets/theme/j1/modules/amplitudejs/js/tech/youtube_example.js +211 -0
- data/assets/theme/j1/modules/gemini/js/gemini.js.map +1 -1
- data/assets/theme/j1/modules/jquery/js/jquery.min.map +1 -1
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.js +206 -122
- data/assets/theme/j1/modules/videojs/assets/icons/custom-icons/next.svg +82 -0
- data/assets/theme/j1/modules/videojs/css/font/README.md +151 -0
- data/assets/theme/j1/modules/videojs/css/font/VideoJS.svg +150 -0
- data/assets/theme/j1/modules/videojs/css/font/video-js-cdn.css +2012 -0
- data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.0.css +32 -0
- data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.1.css +31 -0
- data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.css +31 -0
- data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.min.css +21 -0
- data/assets/theme/j1/modules/videojs/css/themes/uno.css +14 -3
- data/assets/theme/j1/modules/videojs/css/themes/uno.min.css +1 -1
- data/assets/theme/j1/modules/videojs/css/videojs.css +1 -0
- data/assets/theme/j1/modules/videojs/js/plugins/controls/autocaption/LICENSE +13 -0
- data/assets/theme/j1/modules/videojs/js/plugins/controls/autocaption/README.md +75 -0
- data/assets/theme/j1/modules/videojs/js/plugins/controls/autocaption/autocaption.js +149 -0
- data/assets/theme/j1/modules/videojs/js/plugins/controls/autocaption/autocaption.min.js +21 -0
- data/assets/theme/j1/modules/videojs/js/plugins/controls/hotkeys/README.md +76 -30
- data/assets/theme/j1/modules/videojs/js/plugins/controls/hotkeys/hotkeys.js +64 -53
- data/assets/theme/j1/modules/videojs/js/plugins/controls/hotkeys/hotkeys.min.js +1 -1
- data/assets/theme/j1/modules/videojs/js/plugins/controls/skipbuttons/README.md +133 -0
- data/assets/theme/j1/modules/videojs/js/plugins/controls/skipbuttons/skipbuttons.js +137 -0
- data/assets/theme/j1/modules/videojs/js/plugins/controls/skipbuttons/skipbuttons.min.js +21 -0
- data/assets/theme/j1/modules/videojs/js/plugins/controls/zoom/zoom.js +15 -12
- data/assets/theme/j1/modules/videojs/js/plugins/players/dm/dailymotion.js +2 -2
- data/assets/theme/j1/modules/videojs/js/plugins/players/yt/youtube.js +43 -16
- data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.3/fastfilereaderext.so +0 -0
- data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.3/rubyeventmachine.so +0 -0
- data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.4/fastfilereaderext.so +0 -0
- data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.4/rubyeventmachine.so +0 -0
- data/lib/j1/version.rb +1 -1
- data/lib/j1_app/j1_auth_manager/config.rb +0 -4
- data/lib/starter_web/Gemfile +45 -22
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +4 -6
- data/lib/starter_web/_data/modules/amplitude.yml +67 -37
- data/lib/starter_web/_data/modules/defaults/amplitude.yml +1 -0
- data/lib/starter_web/_data/modules/defaults/gallery.yml +42 -0
- data/lib/starter_web/_data/modules/defaults/videojs.yml +107 -0
- data/lib/starter_web/_data/modules/gallery.yml +30 -14
- data/lib/starter_web/_data/modules/lazyLoader.yml +8 -8
- data/lib/starter_web/_data/modules/masonry.yml +15 -0
- data/lib/starter_web/_data/modules/masterslider.yml +6 -6
- data/lib/starter_web/_data/modules/videojs.yml +57 -0
- data/lib/starter_web/_data/resources.yml +9 -26
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_includes/tables/jekyll_variables.asciidoc +1 -0
- data/lib/starter_web/_plugins/asciidoctor/carousel-block.rb +2 -1
- data/lib/starter_web/_plugins/asciidoctor/dailymotion-block.rb +4 -1
- data/lib/starter_web/_plugins/asciidoctor/lightbox-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/masterslider-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/slick-block.rb +2 -1
- data/lib/starter_web/_plugins/asciidoctor/videojs-block.rb +145 -24
- data/lib/starter_web/_plugins/asciidoctor/vimeo-block.rb +4 -1
- data/lib/starter_web/_plugins/asciidoctor/wistia-block.rb +313 -0
- data/lib/starter_web/_plugins/asciidoctor/youtube-block.rb +192 -17
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/audio/cover/spontanorama/spontanorama.jpg +0 -0
- data/lib/starter_web/assets/audio/cover/spontanorama/src/spontanorama.png +0 -0
- data/lib/starter_web/assets/audio/cover/spontanorama/src/spontanorama.psd +0 -0
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/amplitude_yt_tester.adoc +20 -7
- data/lib/starter_web/pages/public/manuals/integrations/amplitudejs/amplitudejs-api.adoc +1 -1
- data/lib/starter_web/pages/public/manuals/integrations/videojs/youtube-api.adoc +1638 -0
- data/lib/starter_web/pages/public/tools/previewer/preview_bootstrap_theme.adoc +5 -6
- data/lib/starter_web/pages/public/tools/previewer/preview_videojs.adoc +203 -0
- data/lib/starter_web/pages/public/tour/asciidoc_extensions.adoc +1 -1
- data/lib/starter_web/pages/public/tour/bootstrap_themes.adoc +1 -1
- data/lib/starter_web/pages/public/tour/highlghter_rouge.adoc +1 -1
- data/lib/starter_web/pages/public/tour/modal_extentions.adoc +1 -1
- data/lib/starter_web/pages/public/tour/play_audio.adoc +30 -29
- data/lib/starter_web/pages/public/tour/play_video.adoc +65 -39
- data/lib/starter_web/pages/public/tour/present_images.adoc +17 -16
- data/lib/starter_web/pages/public/tour/quicksearch.adoc +1 -1
- data/lib/starter_web/pages/public/tour/responsive_tables.adoc +1 -1
- data/lib/starter_web/pages/public/tour/typography.adoc +1 -1
- metadata +37 -20
- data/assets/data/amplitude.28.html +0 -887
- data/assets/data/amplitude.29.html +0 -923
- data/assets/theme/j1/adapter/js/amplitude.23.js +0 -1165
- data/assets/theme/j1/adapter/js/amplitude.24.js +0 -1164
- data/assets/theme/j1/adapter/js/amplitude.25.js +0 -1268
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/_pause.svg +0 -19
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/_play.svg +0 -18
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/show-playlist.svg +0 -15
- data/assets/theme/j1/modules/jqueryScrollbar/LICENSE +0 -20
- data/assets/theme/j1/modules/jqueryScrollbar/README.md +0 -28
- data/assets/theme/j1/modules/jqueryScrollbar/css/scrollbar.css +0 -939
- data/assets/theme/j1/modules/jqueryScrollbar/css/scrollbar.min.css +0 -20
- data/assets/theme/j1/modules/jqueryScrollbar/js/scrollbar.js +0 -851
- data/assets/theme/j1/modules/jqueryScrollbar/js/scrollbar.min.js +0 -36
- data/assets/theme/j1/modules/jqueryScrollbar/sass/scrollbar.scss +0 -806
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.0.js +0 -794
- data/lib/starter_web/_data/modules/lazyLoader.0.yml +0 -118
@@ -0,0 +1,212 @@
|
|
1
|
+
---
|
2
|
+
regenerate: true
|
3
|
+
---
|
4
|
+
|
5
|
+
{%- capture cache -%}
|
6
|
+
|
7
|
+
{% comment %}
|
8
|
+
# -----------------------------------------------------------------------------
|
9
|
+
# ~/assets/theme/j1/adapter/js/videojs.js
|
10
|
+
# Liquid template to adapt the videojs module
|
11
|
+
#
|
12
|
+
# Product/Info:// # https://jekyll.one
|
13
|
+
# Copyright (C) 2023, 2024 Juergen Adams
|
14
|
+
#
|
15
|
+
# J1 Template is licensed under the MIT License.
|
16
|
+
# For details, see: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE
|
17
|
+
# -----------------------------------------------------------------------------
|
18
|
+
# Test data:
|
19
|
+
# {{ liquid_var | debug }}
|
20
|
+
# videojs_options: {{ videojs_options | debug }}
|
21
|
+
# --------------------------------------------------------------------------
|
22
|
+
{% endcomment %}
|
23
|
+
|
24
|
+
{% comment %} Liquid procedures
|
25
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
26
|
+
|
27
|
+
{% comment %} Set global settings
|
28
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
29
|
+
{% assign environment = site.environment %}
|
30
|
+
{% assign asset_path = "/assets/theme/j1" %}
|
31
|
+
|
32
|
+
{% comment %} Process YML config data
|
33
|
+
================================================================================ {% endcomment %}
|
34
|
+
|
35
|
+
{% comment %} Set config files
|
36
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
37
|
+
{% assign template_config = site.data.j1_config %}
|
38
|
+
{% assign blocks = site.data.blocks %}
|
39
|
+
{% assign modules = site.data.modules %}
|
40
|
+
|
41
|
+
{% comment %} Set config data (settings only)
|
42
|
+
------------------------------------------------------------------------------- {% endcomment %}
|
43
|
+
{% assign videojs_defaults = modules.defaults.videojs.defaults %}
|
44
|
+
{% assign videojs_settings = modules.videojs.settings %}
|
45
|
+
|
46
|
+
{% comment %} Set config options (settings only)
|
47
|
+
------------------------------------------------------------------------------- {% endcomment %}
|
48
|
+
{% assign videojs_options = videojs_defaults | merge: videojs_settings %}
|
49
|
+
|
50
|
+
|
51
|
+
/*
|
52
|
+
# -----------------------------------------------------------------------------
|
53
|
+
# ~/assets/theme/j1/adapter/js/videojs.js
|
54
|
+
# J1 Adapter for the video module
|
55
|
+
#
|
56
|
+
# Product/Info:
|
57
|
+
# https://jekyll.one
|
58
|
+
#
|
59
|
+
# Copyright (C) 2023, 2024 Juergen Adams
|
60
|
+
#
|
61
|
+
# J1 Template is licensed under the MIT License.
|
62
|
+
# For details, see: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE
|
63
|
+
# -----------------------------------------------------------------------------
|
64
|
+
# Adapter generated: {{site.time}}
|
65
|
+
# -----------------------------------------------------------------------------
|
66
|
+
*/
|
67
|
+
|
68
|
+
// -----------------------------------------------------------------------------
|
69
|
+
// ESLint shimming
|
70
|
+
// -----------------------------------------------------------------------------
|
71
|
+
/* eslint indent: "off" */
|
72
|
+
// -----------------------------------------------------------------------------
|
73
|
+
"use strict";
|
74
|
+
j1.adapter.videojs = ((j1, window) => {
|
75
|
+
|
76
|
+
{% comment %} Set global variables
|
77
|
+
------------------------------------------------------------------------------ {% endcomment %}
|
78
|
+
var vjsDefaults;
|
79
|
+
var vjsSettings;
|
80
|
+
var vjsOptions;
|
81
|
+
|
82
|
+
var _this;
|
83
|
+
var logger;
|
84
|
+
var logText;
|
85
|
+
|
86
|
+
// date|time
|
87
|
+
var startTime;
|
88
|
+
var endTime;
|
89
|
+
var startTimeModule;
|
90
|
+
var endTimeModule;
|
91
|
+
var timeSeconds;
|
92
|
+
|
93
|
+
// ---------------------------------------------------------------------------
|
94
|
+
// main
|
95
|
+
// ---------------------------------------------------------------------------
|
96
|
+
return {
|
97
|
+
|
98
|
+
// -------------------------------------------------------------------------
|
99
|
+
// adapter initializer
|
100
|
+
// -------------------------------------------------------------------------
|
101
|
+
init: (options) => {
|
102
|
+
|
103
|
+
// -----------------------------------------------------------------------
|
104
|
+
// default module settings
|
105
|
+
// -----------------------------------------------------------------------
|
106
|
+
var settings = $.extend({
|
107
|
+
module_name: 'j1.adapter.videojs',
|
108
|
+
generated: '{{site.time}}'
|
109
|
+
}, options);
|
110
|
+
|
111
|
+
// -----------------------------------------------------------------------
|
112
|
+
// global variable settings
|
113
|
+
// -----------------------------------------------------------------------
|
114
|
+
|
115
|
+
// create settings object from module options
|
116
|
+
vjsDefaults = $.extend({}, {{videojs_defaults | replace: 'nil', 'null' | replace: '=>', ':' }});
|
117
|
+
vjsSettings = $.extend({}, {{videojs_settings | replace: 'nil', 'null' | replace: '=>', ':' }});
|
118
|
+
vjsOptions = $.extend(true, {}, vjsDefaults, vjsSettings);
|
119
|
+
|
120
|
+
_this = j1.adapter.videojs;
|
121
|
+
logger = log4javascript.getLogger('j1.adapter.videojs');
|
122
|
+
|
123
|
+
// -----------------------------------------------------------------------
|
124
|
+
// module initializer
|
125
|
+
// -----------------------------------------------------------------------
|
126
|
+
var dependencies_met_page_ready = setInterval (() => {
|
127
|
+
var pageState = $('#content').css("display");
|
128
|
+
var pageVisible = (pageState === 'block') ? true : false;
|
129
|
+
var j1CoreFinished = (j1.getState() === 'finished') ? true : false;
|
130
|
+
|
131
|
+
if (j1CoreFinished && pageVisible) {
|
132
|
+
startTimeModule = Date.now();
|
133
|
+
|
134
|
+
_this.setState('started');
|
135
|
+
logger.debug('\n' + 'state: ' + _this.getState());
|
136
|
+
logger.info('\n' + 'module is being initialized');
|
137
|
+
|
138
|
+
// save vjsOptions for later access
|
139
|
+
j1.modules.videojs = {};
|
140
|
+
j1.modules.videojs.options = vjsOptions || {};
|
141
|
+
|
142
|
+
_this.setState('finished');
|
143
|
+
logger.debug('\n' + 'state: ' + _this.getState());
|
144
|
+
logger.info('\n' + 'initializing module finished');
|
145
|
+
|
146
|
+
endTimeModule = Date.now();
|
147
|
+
logger.info('\n' + 'module initializing time: ' + (endTimeModule-startTimeModule) + 'ms');
|
148
|
+
|
149
|
+
clearInterval(dependencies_met_page_ready);
|
150
|
+
} // END pageVisible
|
151
|
+
}, 10); // END dependencies_met_page_ready
|
152
|
+
|
153
|
+
}, // END init
|
154
|
+
|
155
|
+
// -------------------------------------------------------------------------
|
156
|
+
// messageHandler()
|
157
|
+
// manage messages send from other J1 modules
|
158
|
+
// -------------------------------------------------------------------------
|
159
|
+
messageHandler: (sender, message) => {
|
160
|
+
var json_message = JSON.stringify(message, undefined, 2);
|
161
|
+
|
162
|
+
logText = '\n' + 'received message from ' + sender + ': ' + json_message;
|
163
|
+
logger.debug(logText);
|
164
|
+
|
165
|
+
// -----------------------------------------------------------------------
|
166
|
+
// process commands|actions
|
167
|
+
// -----------------------------------------------------------------------
|
168
|
+
if (message.type === 'command' && message.action === 'module_initialized') {
|
169
|
+
|
170
|
+
//
|
171
|
+
// place handling of command|action here
|
172
|
+
//
|
173
|
+
|
174
|
+
logger.info('\n' + message.text);
|
175
|
+
}
|
176
|
+
|
177
|
+
//
|
178
|
+
// place handling of other command|action here
|
179
|
+
//
|
180
|
+
|
181
|
+
return true;
|
182
|
+
}, // END messageHandler
|
183
|
+
|
184
|
+
// -------------------------------------------------------------------------
|
185
|
+
// setState()
|
186
|
+
// sets the current (processing) state of the module
|
187
|
+
// -------------------------------------------------------------------------
|
188
|
+
setState: (stat) => {
|
189
|
+
_this.state = stat;
|
190
|
+
}, // END setState
|
191
|
+
|
192
|
+
// -------------------------------------------------------------------------
|
193
|
+
// getState()
|
194
|
+
// Returns the current (processing) state of the module
|
195
|
+
// -------------------------------------------------------------------------
|
196
|
+
getState: () => {
|
197
|
+
return _this.state;
|
198
|
+
} // END getState
|
199
|
+
|
200
|
+
}; // END main (return)
|
201
|
+
|
202
|
+
})(j1, window);
|
203
|
+
|
204
|
+
{%- endcapture -%}
|
205
|
+
|
206
|
+
{%- if production -%}
|
207
|
+
{{ cache|minifyJS }}
|
208
|
+
{%- else -%}
|
209
|
+
{{ cache|strip_empty_lines }}
|
210
|
+
{%- endif -%}
|
211
|
+
|
212
|
+
{%- assign cache = false -%}
|
@@ -7248,6 +7248,26 @@
|
|
7248
7248
|
content: "\F039F";
|
7249
7249
|
}
|
7250
7250
|
|
7251
|
+
.mdib-numeric-1:before {
|
7252
|
+
content: "\F0B3A";
|
7253
|
+
}
|
7254
|
+
|
7255
|
+
.mdib-numeric-2:before {
|
7256
|
+
content: "\F0B3B";
|
7257
|
+
}
|
7258
|
+
|
7259
|
+
.mdib-numeric-3:before {
|
7260
|
+
content: "\F0B3C";
|
7261
|
+
}
|
7262
|
+
|
7263
|
+
.mdib-numeric-4:before {
|
7264
|
+
content: "\F0B3D";
|
7265
|
+
}
|
7266
|
+
|
7267
|
+
.mdib-numeric-5:before {
|
7268
|
+
content: "\F0B3E";
|
7269
|
+
}
|
7270
|
+
|
7251
7271
|
.mdib-npm:before {
|
7252
7272
|
content: "\F06F7";
|
7253
7273
|
}
|
@@ -9444,6 +9464,10 @@
|
|
9444
9464
|
content: "\F0E67";
|
9445
9465
|
}
|
9446
9466
|
|
9467
|
+
.mdib-star:before {
|
9468
|
+
content: "\F04CE";
|
9469
|
+
}
|
9470
|
+
|
9447
9471
|
.mdib-squeegee:before {
|
9448
9472
|
content: "\F0AE1";
|
9449
9473
|
}
|
@@ -9500,10 +9524,6 @@
|
|
9500
9524
|
content: "\F07EF";
|
9501
9525
|
}
|
9502
9526
|
|
9503
|
-
.mdib-star:before {
|
9504
|
-
content: "\F04CE";
|
9505
|
-
}
|
9506
|
-
|
9507
9527
|
.mdib-state-machine:before {
|
9508
9528
|
content: "\F11EF";
|
9509
9529
|
}
|