j1-template 2023.10.0 → 2023.10.1
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/assets/themes/j1/adapter/js/gallery.js +22 -23
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +11 -11
- data/assets/themes/j1/modules/lightGallery/js/plugins/lg-fullscreen.min.js +26 -26
- data/assets/themes/j1/modules/lightGallery/js/plugins/lg-thumbnail.min.js +26 -26
- data/assets/themes/j1/modules/videojs/js/plugins/vm/examples/index.html +33 -33
- data/assets/themes/j1/modules/videojs/js/plugins/wt/api/Readme.txt +20 -20
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +2 -2
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/gallery.yml +1 -1
- data/lib/starter_web/_data/modules/gallery.yml +14 -15
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_plugins/asciidoctor/gallery-block.rb +50 -50
- data/lib/starter_web/_plugins/asciidoctor/gist-block.rb +56 -56
- data/lib/starter_web/_plugins/asciidoctor/google-ad-block.rb +52 -52
- data/lib/starter_web/_plugins/asciidoctor/lightbox-block.rb +88 -88
- data/lib/starter_web/_plugins/asciidoctor/masterslider-block.rb +54 -54
- data/lib/starter_web/_plugins/asciidoctor/range-slider-block.rb +49 -49
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/images/modules/attics/1920x1280/isaac-davis.jpg +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2023-10-18-url-types.adoc +98 -0
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +3 -3
- data/lib/starter_web/pages/public/learn/roundtrip/present_videos.adoc +3 -2
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +595 -595
- data/lib/starter_web/pages/public/tools/previewer/preview_bootstrap_theme.adoc +3093 -3093
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9f4c6b0b1f71e1171fd54f2d60998942d3768b6afe0f4998618f427b4f2c774e
|
|
4
|
+
data.tar.gz: 84e84714ead2288e3ba920da95f7b2d1e410af2e661655040bb422e2121c6541
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1ad4c8eeedf0bef706c1a994b9a81246b231bbd5b86f970d6e7e9b398514c8bcff387e4783b440c9a4d3821bd911664539de09a65c0945d5e019e001330cdae3
|
|
7
|
+
data.tar.gz: 288eea85cb06b65682b4ef33e3002ecc82a5a24b807589d3302f121f18c9d50de419cd12972d0ff492e49e749723a5aba1f88b16550f279a44a03982f9c02019
|
|
@@ -143,8 +143,6 @@ j1.adapter.gallery = (function (j1, window) {
|
|
|
143
143
|
var atticFinished = (j1.adapter.attic.getState() == 'finished') ? true: false;
|
|
144
144
|
|
|
145
145
|
if (j1.getState() == 'finished' && pageVisible) {
|
|
146
|
-
// if (j1.getState() == 'finished' && pageVisible && atticFinished) {
|
|
147
|
-
|
|
148
146
|
// initialize state flag
|
|
149
147
|
_this.setState('started');
|
|
150
148
|
logger.debug('\n' + 'state: ' + _this.getState());
|
|
@@ -157,7 +155,7 @@ j1.adapter.gallery = (function (j1, window) {
|
|
|
157
155
|
logger.info('\n' + 'module initialized successfully');
|
|
158
156
|
|
|
159
157
|
clearInterval(dependencies_met_j1_finished);
|
|
160
|
-
}
|
|
158
|
+
} // END 'finished' && 'pageVisible'
|
|
161
159
|
}, 10);
|
|
162
160
|
},
|
|
163
161
|
|
|
@@ -192,11 +190,10 @@ j1.adapter.gallery = (function (j1, window) {
|
|
|
192
190
|
if ( xhrLoadState === 'success' ) {
|
|
193
191
|
var $grid_{{gallery_id}} = $('#{{gallery_id}}'); // used for later access
|
|
194
192
|
|
|
195
|
-
logger.info('\n' + 'initialize gallery on id: ' + '{{gallery_id}}');
|
|
193
|
+
logger.info('\n' + 'dyn_loader: initialize gallery on id: ' + '{{gallery_id}}');
|
|
196
194
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
$grid_{{gallery_id}}.justifiedGallery({
|
|
195
|
+
/* eslint-disable */
|
|
196
|
+
$('#{{gallery_id}}').justifiedGallery({
|
|
200
197
|
{% for option in gallery.gallery_options %}
|
|
201
198
|
{% if option[0] contains "gutters" %}
|
|
202
199
|
{{'margins' | json}}: {{option[1] | json}},
|
|
@@ -204,17 +201,17 @@ j1.adapter.gallery = (function (j1, window) {
|
|
|
204
201
|
{% endif %}
|
|
205
202
|
{{option[0] | json}}: {{option[1] | json}},
|
|
206
203
|
{% endfor %}
|
|
207
|
-
})
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
logger.info('\n' + 'initialize
|
|
215
|
-
|
|
216
|
-
var lg
|
|
217
|
-
|
|
204
|
+
})
|
|
205
|
+
.on('jg.complete', function (evt) {
|
|
206
|
+
evt.stopPropagation();
|
|
207
|
+
|
|
208
|
+
// setup the lightbox
|
|
209
|
+
//
|
|
210
|
+
logger.info('\n' + 'dyn_loader: callback "jg.complete" entered on id: ' + '{{gallery_id}}');
|
|
211
|
+
logger.info('\n' + 'dyn_loader: initialize lightGallery on id: ' + '{{gallery_id}}');
|
|
212
|
+
|
|
213
|
+
var lg = document.getElementById("{{gallery_id}}");
|
|
214
|
+
lightGallery(lg, {
|
|
218
215
|
"plugins": [{{gallery.lightGallery.plugins}}],
|
|
219
216
|
{% for option in gallery.lightGallery.options %}
|
|
220
217
|
{{option[0] | json}}: {{option[1] | json}},
|
|
@@ -226,12 +223,14 @@ j1.adapter.gallery = (function (j1, window) {
|
|
|
226
223
|
{{option[0] | json}}: {{option[1] | json}},
|
|
227
224
|
{% endfor %}
|
|
228
225
|
}
|
|
229
|
-
});
|
|
230
|
-
|
|
231
|
-
}
|
|
226
|
+
}); // END lightGallery
|
|
227
|
+
|
|
228
|
+
}); // END justifiedGallery on('jg.complete)
|
|
229
|
+
/* eslint-enable */
|
|
230
|
+
|
|
231
|
+
clearInterval(load_dependencies['dependencies_met_html_loaded_{{gallery_id}}']);
|
|
232
|
+
} // END if xhrLoadState === 'success'
|
|
232
233
|
|
|
233
|
-
}
|
|
234
|
-
clearInterval(load_dependencies['dependencies_met_html_loaded_{{gallery_id}}']);
|
|
235
234
|
}, 10); // END dependencies_met_html_loaded
|
|
236
235
|
|
|
237
236
|
{% endif %} // ENDIF gallery enabled
|
|
@@ -26885,17 +26885,17 @@ $caret-width-lg: $caret-width !default;
|
|
|
26885
26885
|
.g-max-height-500 {
|
|
26886
26886
|
min-height: 500px !important; }
|
|
26887
26887
|
|
|
26888
|
-
/*
|
|
26889
|
-
# -----------------------------------------------------------------------------
|
|
26890
|
-
# ~/scss/theme_uno/extensions/_video.scss
|
|
26891
|
-
# Product/Info:
|
|
26892
|
-
# https://jekyll.one
|
|
26893
|
-
#
|
|
26894
|
-
# Copyright (C) 2023 Juergen Adams
|
|
26895
|
-
#
|
|
26896
|
-
# J1 Template is licensed under the MIT License.
|
|
26897
|
-
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
|
|
26898
|
-
# ------------------------------------------------------------------------------
|
|
26888
|
+
/*
|
|
26889
|
+
# -----------------------------------------------------------------------------
|
|
26890
|
+
# ~/scss/theme_uno/extensions/_video.scss
|
|
26891
|
+
# Product/Info:
|
|
26892
|
+
# https://jekyll.one
|
|
26893
|
+
#
|
|
26894
|
+
# Copyright (C) 2023 Juergen Adams
|
|
26895
|
+
#
|
|
26896
|
+
# J1 Template is licensed under the MIT License.
|
|
26897
|
+
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
|
|
26898
|
+
# ------------------------------------------------------------------------------
|
|
26899
26899
|
*/
|
|
26900
26900
|
video {
|
|
26901
26901
|
width: 100%;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
/*
|
|
2
|
-
# -----------------------------------------------------------------------------
|
|
3
|
-
# ~/assets/themes/j1/modules/lightGallery/js/plugins/lg-fullscreen.min.js
|
|
4
|
-
# Provides lightGallery JS code for the plugin lgFullscreen
|
|
5
|
-
#
|
|
6
|
-
# Product/Info:
|
|
7
|
-
# https://jekyll.one
|
|
8
|
-
#
|
|
9
|
-
# Copyright (C) 2023 Sachin Neravath
|
|
10
|
-
# Copyright (C) 2023 Juergen Adams
|
|
11
|
-
#
|
|
12
|
-
# J1 Template is licensed under the MIT License.
|
|
13
|
-
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
|
|
14
|
-
# lightGallery is licensed under the GPLv3 license
|
|
15
|
-
# See: https://github.com/sachinchoolur/lightGallery/blob/master/LICENSE
|
|
16
|
-
# -----------------------------------------------------------------------------
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* lightgallery | 2.7.2 | September 20th 2023
|
|
21
|
-
* http://www.lightgalleryjs.com/
|
|
22
|
-
* Copyright (c) 2020 Sachin Neravath;
|
|
23
|
-
* @license GPLv3
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
!function(e,l){"object"==typeof exports&&"undefined"!=typeof module?module.exports=l():"function"==typeof define&&define.amd?define(l):(e="undefined"!=typeof globalThis?globalThis:e||self).lgFullscreen=l()}(this,(function(){"use strict";var e=function(){return(e=Object.assign||function(e){for(var l,n=1,t=arguments.length;n<t;n++)for(var c in l=arguments[n])Object.prototype.hasOwnProperty.call(l,c)&&(e[c]=l[c]);return e}).apply(this,arguments)},l={fullScreen:!0,fullscreenPluginStrings:{toggleFullscreen:"Toggle Fullscreen"}};return function(){function n(n,t){return this.core=n,this.$LG=t,this.settings=e(e({},l),this.core.settings),this}return n.prototype.init=function(){var e="";if(this.settings.fullScreen){if(!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled))return;e='<button type="button" aria-label="'+this.settings.fullscreenPluginStrings.toggleFullscreen+'" class="lg-fullscreen lg-icon"></button>',this.core.$toolbar.append(e),this.fullScreen()}},n.prototype.isFullScreen=function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement},n.prototype.requestFullscreen=function(){var e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.msRequestFullscreen?e.msRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen&&e.webkitRequestFullscreen()},n.prototype.exitFullscreen=function(){document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()},n.prototype.fullScreen=function(){var e=this;this.$LG(document).on("fullscreenchange.lg.global"+this.core.lgId+" \n webkitfullscreenchange.lg.global"+this.core.lgId+" \n mozfullscreenchange.lg.global"+this.core.lgId+" \n MSFullscreenChange.lg.global"+this.core.lgId,(function(){e.core.lgOpened&&e.core.outer.toggleClass("lg-fullscreen-on")})),this.core.outer.find(".lg-fullscreen").first().on("click.lg",(function(){e.isFullScreen()?e.exitFullscreen():e.requestFullscreen()}))},n.prototype.closeGallery=function(){this.isFullScreen()&&this.exitFullscreen()},n.prototype.destroy=function(){this.$LG(document).off("fullscreenchange.lg.global"+this.core.lgId+" \n webkitfullscreenchange.lg.global"+this.core.lgId+" \n mozfullscreenchange.lg.global"+this.core.lgId+" \n MSFullscreenChange.lg.global"+this.core.lgId)},n}()}));
|
|
1
|
+
/*
|
|
2
|
+
# -----------------------------------------------------------------------------
|
|
3
|
+
# ~/assets/themes/j1/modules/lightGallery/js/plugins/lg-fullscreen.min.js
|
|
4
|
+
# Provides lightGallery JS code for the plugin lgFullscreen
|
|
5
|
+
#
|
|
6
|
+
# Product/Info:
|
|
7
|
+
# https://jekyll.one
|
|
8
|
+
#
|
|
9
|
+
# Copyright (C) 2023 Sachin Neravath
|
|
10
|
+
# Copyright (C) 2023 Juergen Adams
|
|
11
|
+
#
|
|
12
|
+
# J1 Template is licensed under the MIT License.
|
|
13
|
+
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
|
|
14
|
+
# lightGallery is licensed under the GPLv3 license
|
|
15
|
+
# See: https://github.com/sachinchoolur/lightGallery/blob/master/LICENSE
|
|
16
|
+
# -----------------------------------------------------------------------------
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* lightgallery | 2.7.2 | September 20th 2023
|
|
21
|
+
* http://www.lightgalleryjs.com/
|
|
22
|
+
* Copyright (c) 2020 Sachin Neravath;
|
|
23
|
+
* @license GPLv3
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
!function(e,l){"object"==typeof exports&&"undefined"!=typeof module?module.exports=l():"function"==typeof define&&define.amd?define(l):(e="undefined"!=typeof globalThis?globalThis:e||self).lgFullscreen=l()}(this,(function(){"use strict";var e=function(){return(e=Object.assign||function(e){for(var l,n=1,t=arguments.length;n<t;n++)for(var c in l=arguments[n])Object.prototype.hasOwnProperty.call(l,c)&&(e[c]=l[c]);return e}).apply(this,arguments)},l={fullScreen:!0,fullscreenPluginStrings:{toggleFullscreen:"Toggle Fullscreen"}};return function(){function n(n,t){return this.core=n,this.$LG=t,this.settings=e(e({},l),this.core.settings),this}return n.prototype.init=function(){var e="";if(this.settings.fullScreen){if(!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled))return;e='<button type="button" aria-label="'+this.settings.fullscreenPluginStrings.toggleFullscreen+'" class="lg-fullscreen lg-icon"></button>',this.core.$toolbar.append(e),this.fullScreen()}},n.prototype.isFullScreen=function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement},n.prototype.requestFullscreen=function(){var e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.msRequestFullscreen?e.msRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen&&e.webkitRequestFullscreen()},n.prototype.exitFullscreen=function(){document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()},n.prototype.fullScreen=function(){var e=this;this.$LG(document).on("fullscreenchange.lg.global"+this.core.lgId+" \n webkitfullscreenchange.lg.global"+this.core.lgId+" \n mozfullscreenchange.lg.global"+this.core.lgId+" \n MSFullscreenChange.lg.global"+this.core.lgId,(function(){e.core.lgOpened&&e.core.outer.toggleClass("lg-fullscreen-on")})),this.core.outer.find(".lg-fullscreen").first().on("click.lg",(function(){e.isFullScreen()?e.exitFullscreen():e.requestFullscreen()}))},n.prototype.closeGallery=function(){this.isFullScreen()&&this.exitFullscreen()},n.prototype.destroy=function(){this.$LG(document).off("fullscreenchange.lg.global"+this.core.lgId+" \n webkitfullscreenchange.lg.global"+this.core.lgId+" \n mozfullscreenchange.lg.global"+this.core.lgId+" \n MSFullscreenChange.lg.global"+this.core.lgId)},n}()}));
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
/*
|
|
2
|
-
# -----------------------------------------------------------------------------
|
|
3
|
-
# ~/assets/themes/j1/modules/lightGallery/js/plugins/lg-thumbnail.min.js
|
|
4
|
-
# Provides lightGallery JS code for the plugin lgThumbnail
|
|
5
|
-
#
|
|
6
|
-
# Product/Info:
|
|
7
|
-
# https://jekyll.one
|
|
8
|
-
#
|
|
9
|
-
# Copyright (C) 2023 Sachin Neravath
|
|
10
|
-
# Copyright (C) 2023 Juergen Adams
|
|
11
|
-
#
|
|
12
|
-
# J1 Template is licensed under the MIT License.
|
|
13
|
-
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
|
|
14
|
-
# lightGallery is licensed under the GPLv3 license
|
|
15
|
-
# See: https://github.com/sachinchoolur/lightGallery/blob/master/LICENSE
|
|
16
|
-
# -----------------------------------------------------------------------------
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* lightgallery | 2.7.2 | September 20th 2023
|
|
21
|
-
* http://www.lightgalleryjs.com/
|
|
22
|
-
* Copyright (c) 2020 Sachin Neravath;
|
|
23
|
-
* @license GPLv3
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).lgThumbnail=e()}(this,(function(){"use strict";var t=function(){return(t=Object.assign||function(t){for(var e,i=1,s=arguments.length;i<s;i++)for(var h in e=arguments[i])Object.prototype.hasOwnProperty.call(e,h)&&(t[h]=e[h]);return t}).apply(this,arguments)},e={thumbnail:!0,animateThumb:!0,currentPagerPosition:"middle",alignThumbnails:"middle",thumbWidth:100,thumbHeight:"80px",thumbMargin:5,appendThumbnailsTo:".lg-components",toggleThumb:!1,enableThumbDrag:!0,enableThumbSwipe:!0,thumbnailSwipeThreshold:10,loadYouTubeThumbnail:!0,youTubeThumbSize:1,thumbnailPluginStrings:{toggleThumbnails:"Toggle thumbnails"}},i="lgContainerResize",s="lgUpdateSlides",h="lgBeforeOpen",n="lgBeforeSlide";return function(){function o(t,e){return this.thumbOuterWidth=0,this.thumbTotalWidth=0,this.translateX=0,this.thumbClickable=!1,this.core=t,this.$LG=e,this}return o.prototype.init=function(){this.settings=t(t({},e),this.core.settings),this.thumbOuterWidth=0,this.thumbTotalWidth=this.core.galleryItems.length*(this.settings.thumbWidth+this.settings.thumbMargin),this.translateX=0,this.setAnimateThumbStyles(),this.core.settings.allowMediaOverlap||(this.settings.toggleThumb=!1),this.settings.thumbnail&&(this.build(),this.settings.animateThumb?(this.settings.enableThumbDrag&&this.enableThumbDrag(),this.settings.enableThumbSwipe&&this.enableThumbSwipe(),this.thumbClickable=!1):this.thumbClickable=!0,this.toggleThumbBar(),this.thumbKeyPress())},o.prototype.build=function(){var t=this;this.setThumbMarkup(),this.manageActiveClassOnSlideChange(),this.$lgThumb.first().on("click.lg touchend.lg",(function(e){var i=t.$LG(e.target);i.hasAttribute("data-lg-item-id")&&setTimeout((function(){if(t.thumbClickable&&!t.core.lgBusy){var e=parseInt(i.attr("data-lg-item-id"));t.core.slide(e,!1,!0,!1)}}),50)})),this.core.LGel.on(n+".thumb",(function(e){var i=e.detail.index;t.animateThumb(i)})),this.core.LGel.on(h+".thumb",(function(){t.thumbOuterWidth=t.core.outer.get().offsetWidth})),this.core.LGel.on(s+".thumb",(function(){t.rebuildThumbnails()})),this.core.LGel.on(i+".thumb",(function(){t.core.lgOpened&&setTimeout((function(){t.thumbOuterWidth=t.core.outer.get().offsetWidth,t.animateThumb(t.core.index),t.thumbOuterWidth=t.core.outer.get().offsetWidth}),50)}))},o.prototype.setThumbMarkup=function(){var t="lg-thumb-outer ";this.settings.alignThumbnails&&(t+="lg-thumb-align-"+this.settings.alignThumbnails);var e='<div class="'+t+'">\n <div class="lg-thumb lg-group">\n </div>\n </div>';this.core.outer.addClass("lg-has-thumb"),".lg-components"===this.settings.appendThumbnailsTo?this.core.$lgComponents.append(e):this.core.outer.append(e),this.$thumbOuter=this.core.outer.find(".lg-thumb-outer").first(),this.$lgThumb=this.core.outer.find(".lg-thumb").first(),this.settings.animateThumb&&this.core.outer.find(".lg-thumb").css("transition-duration",this.core.settings.speed+"ms").css("width",this.thumbTotalWidth+"px").css("position","relative"),this.setThumbItemHtml(this.core.galleryItems)},o.prototype.enableThumbDrag=function(){var t=this,e={cords:{startX:0,endX:0},isMoved:!1,newTranslateX:0,startTime:new Date,endTime:new Date,touchMoveTime:0},i=!1;this.$thumbOuter.addClass("lg-grab"),this.core.outer.find(".lg-thumb").first().on("mousedown.lg.thumb",(function(s){t.thumbTotalWidth>t.thumbOuterWidth&&(s.preventDefault(),e.cords.startX=s.pageX,e.startTime=new Date,t.thumbClickable=!1,i=!0,t.core.outer.get().scrollLeft+=1,t.core.outer.get().scrollLeft-=1,t.$thumbOuter.removeClass("lg-grab").addClass("lg-grabbing"))})),this.$LG(window).on("mousemove.lg.thumb.global"+this.core.lgId,(function(s){t.core.lgOpened&&i&&(e.cords.endX=s.pageX,e=t.onThumbTouchMove(e))})),this.$LG(window).on("mouseup.lg.thumb.global"+this.core.lgId,(function(){t.core.lgOpened&&(e.isMoved?e=t.onThumbTouchEnd(e):t.thumbClickable=!0,i&&(i=!1,t.$thumbOuter.removeClass("lg-grabbing").addClass("lg-grab")))}))},o.prototype.enableThumbSwipe=function(){var t=this,e={cords:{startX:0,endX:0},isMoved:!1,newTranslateX:0,startTime:new Date,endTime:new Date,touchMoveTime:0};this.$lgThumb.on("touchstart.lg",(function(i){t.thumbTotalWidth>t.thumbOuterWidth&&(i.preventDefault(),e.cords.startX=i.targetTouches[0].pageX,t.thumbClickable=!1,e.startTime=new Date)})),this.$lgThumb.on("touchmove.lg",(function(i){t.thumbTotalWidth>t.thumbOuterWidth&&(i.preventDefault(),e.cords.endX=i.targetTouches[0].pageX,e=t.onThumbTouchMove(e))})),this.$lgThumb.on("touchend.lg",(function(){e.isMoved?e=t.onThumbTouchEnd(e):t.thumbClickable=!0}))},o.prototype.rebuildThumbnails=function(){var t=this;this.$thumbOuter.addClass("lg-rebuilding-thumbnails"),setTimeout((function(){t.thumbTotalWidth=t.core.galleryItems.length*(t.settings.thumbWidth+t.settings.thumbMargin),t.$lgThumb.css("width",t.thumbTotalWidth+"px"),t.$lgThumb.empty(),t.setThumbItemHtml(t.core.galleryItems),t.animateThumb(t.core.index)}),50),setTimeout((function(){t.$thumbOuter.removeClass("lg-rebuilding-thumbnails")}),200)},o.prototype.setTranslate=function(t){this.$lgThumb.css("transform","translate3d(-"+t+"px, 0px, 0px)")},o.prototype.getPossibleTransformX=function(t){return t>this.thumbTotalWidth-this.thumbOuterWidth&&(t=this.thumbTotalWidth-this.thumbOuterWidth),t<0&&(t=0),t},o.prototype.animateThumb=function(t){if(this.$lgThumb.css("transition-duration",this.core.settings.speed+"ms"),this.settings.animateThumb){var e=0;switch(this.settings.currentPagerPosition){case"left":e=0;break;case"middle":e=this.thumbOuterWidth/2-this.settings.thumbWidth/2;break;case"right":e=this.thumbOuterWidth-this.settings.thumbWidth}this.translateX=(this.settings.thumbWidth+this.settings.thumbMargin)*t-1-e,this.translateX>this.thumbTotalWidth-this.thumbOuterWidth&&(this.translateX=this.thumbTotalWidth-this.thumbOuterWidth),this.translateX<0&&(this.translateX=0),this.setTranslate(this.translateX)}},o.prototype.onThumbTouchMove=function(t){return t.newTranslateX=this.translateX,t.isMoved=!0,t.touchMoveTime=(new Date).valueOf(),t.newTranslateX-=t.cords.endX-t.cords.startX,t.newTranslateX=this.getPossibleTransformX(t.newTranslateX),this.setTranslate(t.newTranslateX),this.$thumbOuter.addClass("lg-dragging"),t},o.prototype.onThumbTouchEnd=function(t){t.isMoved=!1,t.endTime=new Date,this.$thumbOuter.removeClass("lg-dragging");var e=t.endTime.valueOf()-t.startTime.valueOf(),i=t.cords.endX-t.cords.startX,s=Math.abs(i)/e;return s>.15&&t.endTime.valueOf()-t.touchMoveTime<30?((s+=1)>2&&(s+=1),s+=s*(Math.abs(i)/this.thumbOuterWidth),this.$lgThumb.css("transition-duration",Math.min(s-1,2)+"settings"),i*=s,this.translateX=this.getPossibleTransformX(this.translateX-i),this.setTranslate(this.translateX)):this.translateX=t.newTranslateX,Math.abs(t.cords.endX-t.cords.startX)<this.settings.thumbnailSwipeThreshold&&(this.thumbClickable=!0),t},o.prototype.getThumbHtml=function(t,e,i){var s,h=this.core.galleryItems[e].__slideVideoInfo||{};s=h.youtube&&this.settings.loadYouTubeThumbnail?"//img.youtube.com/vi/"+h.youtube[1]+"/"+this.settings.youTubeThumbSize+".jpg":t;var n=i?'alt="'+i+'"':"";return'<div data-lg-item-id="'+e+'" class="lg-thumb-item '+(e===this.core.index?" active":"")+'"\n style="width:'+this.settings.thumbWidth+"px; height: "+this.settings.thumbHeight+";\n margin-right: "+this.settings.thumbMargin+'px;">\n <img '+n+' data-lg-item-id="'+e+'" src="'+s+'" />\n </div>'},o.prototype.getThumbItemHtml=function(t){for(var e="",i=0;i<t.length;i++)e+=this.getThumbHtml(t[i].thumb,i,t[i].alt);return e},o.prototype.setThumbItemHtml=function(t){var e=this.getThumbItemHtml(t);this.$lgThumb.html(e)},o.prototype.setAnimateThumbStyles=function(){this.settings.animateThumb&&this.core.outer.addClass("lg-animate-thumb")},o.prototype.manageActiveClassOnSlideChange=function(){var t=this;this.core.LGel.on(n+".thumb",(function(e){var i=t.core.outer.find(".lg-thumb-item"),s=e.detail.index;i.removeClass("active"),i.eq(s).addClass("active")}))},o.prototype.toggleThumbBar=function(){var t=this;this.settings.toggleThumb&&(this.core.outer.addClass("lg-can-toggle"),this.core.$toolbar.append('<button type="button" aria-label="'+this.settings.thumbnailPluginStrings.toggleThumbnails+'" class="lg-toggle-thumb lg-icon"></button>'),this.core.outer.find(".lg-toggle-thumb").first().on("click.lg",(function(){t.core.outer.toggleClass("lg-components-open")})))},o.prototype.thumbKeyPress=function(){var t=this;this.$LG(window).on("keydown.lg.thumb.global"+this.core.lgId,(function(e){t.core.lgOpened&&t.settings.toggleThumb&&(38===e.keyCode?(e.preventDefault(),t.core.outer.addClass("lg-components-open")):40===e.keyCode&&(e.preventDefault(),t.core.outer.removeClass("lg-components-open")))}))},o.prototype.destroy=function(){this.settings.thumbnail&&(this.$LG(window).off(".lg.thumb.global"+this.core.lgId),this.core.LGel.off(".lg.thumb"),this.core.LGel.off(".thumb"),this.$thumbOuter.remove(),this.core.outer.removeClass("lg-has-thumb"))},o}()}));
|
|
1
|
+
/*
|
|
2
|
+
# -----------------------------------------------------------------------------
|
|
3
|
+
# ~/assets/themes/j1/modules/lightGallery/js/plugins/lg-thumbnail.min.js
|
|
4
|
+
# Provides lightGallery JS code for the plugin lgThumbnail
|
|
5
|
+
#
|
|
6
|
+
# Product/Info:
|
|
7
|
+
# https://jekyll.one
|
|
8
|
+
#
|
|
9
|
+
# Copyright (C) 2023 Sachin Neravath
|
|
10
|
+
# Copyright (C) 2023 Juergen Adams
|
|
11
|
+
#
|
|
12
|
+
# J1 Template is licensed under the MIT License.
|
|
13
|
+
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
|
|
14
|
+
# lightGallery is licensed under the GPLv3 license
|
|
15
|
+
# See: https://github.com/sachinchoolur/lightGallery/blob/master/LICENSE
|
|
16
|
+
# -----------------------------------------------------------------------------
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* lightgallery | 2.7.2 | September 20th 2023
|
|
21
|
+
* http://www.lightgalleryjs.com/
|
|
22
|
+
* Copyright (c) 2020 Sachin Neravath;
|
|
23
|
+
* @license GPLv3
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).lgThumbnail=e()}(this,(function(){"use strict";var t=function(){return(t=Object.assign||function(t){for(var e,i=1,s=arguments.length;i<s;i++)for(var h in e=arguments[i])Object.prototype.hasOwnProperty.call(e,h)&&(t[h]=e[h]);return t}).apply(this,arguments)},e={thumbnail:!0,animateThumb:!0,currentPagerPosition:"middle",alignThumbnails:"middle",thumbWidth:100,thumbHeight:"80px",thumbMargin:5,appendThumbnailsTo:".lg-components",toggleThumb:!1,enableThumbDrag:!0,enableThumbSwipe:!0,thumbnailSwipeThreshold:10,loadYouTubeThumbnail:!0,youTubeThumbSize:1,thumbnailPluginStrings:{toggleThumbnails:"Toggle thumbnails"}},i="lgContainerResize",s="lgUpdateSlides",h="lgBeforeOpen",n="lgBeforeSlide";return function(){function o(t,e){return this.thumbOuterWidth=0,this.thumbTotalWidth=0,this.translateX=0,this.thumbClickable=!1,this.core=t,this.$LG=e,this}return o.prototype.init=function(){this.settings=t(t({},e),this.core.settings),this.thumbOuterWidth=0,this.thumbTotalWidth=this.core.galleryItems.length*(this.settings.thumbWidth+this.settings.thumbMargin),this.translateX=0,this.setAnimateThumbStyles(),this.core.settings.allowMediaOverlap||(this.settings.toggleThumb=!1),this.settings.thumbnail&&(this.build(),this.settings.animateThumb?(this.settings.enableThumbDrag&&this.enableThumbDrag(),this.settings.enableThumbSwipe&&this.enableThumbSwipe(),this.thumbClickable=!1):this.thumbClickable=!0,this.toggleThumbBar(),this.thumbKeyPress())},o.prototype.build=function(){var t=this;this.setThumbMarkup(),this.manageActiveClassOnSlideChange(),this.$lgThumb.first().on("click.lg touchend.lg",(function(e){var i=t.$LG(e.target);i.hasAttribute("data-lg-item-id")&&setTimeout((function(){if(t.thumbClickable&&!t.core.lgBusy){var e=parseInt(i.attr("data-lg-item-id"));t.core.slide(e,!1,!0,!1)}}),50)})),this.core.LGel.on(n+".thumb",(function(e){var i=e.detail.index;t.animateThumb(i)})),this.core.LGel.on(h+".thumb",(function(){t.thumbOuterWidth=t.core.outer.get().offsetWidth})),this.core.LGel.on(s+".thumb",(function(){t.rebuildThumbnails()})),this.core.LGel.on(i+".thumb",(function(){t.core.lgOpened&&setTimeout((function(){t.thumbOuterWidth=t.core.outer.get().offsetWidth,t.animateThumb(t.core.index),t.thumbOuterWidth=t.core.outer.get().offsetWidth}),50)}))},o.prototype.setThumbMarkup=function(){var t="lg-thumb-outer ";this.settings.alignThumbnails&&(t+="lg-thumb-align-"+this.settings.alignThumbnails);var e='<div class="'+t+'">\n <div class="lg-thumb lg-group">\n </div>\n </div>';this.core.outer.addClass("lg-has-thumb"),".lg-components"===this.settings.appendThumbnailsTo?this.core.$lgComponents.append(e):this.core.outer.append(e),this.$thumbOuter=this.core.outer.find(".lg-thumb-outer").first(),this.$lgThumb=this.core.outer.find(".lg-thumb").first(),this.settings.animateThumb&&this.core.outer.find(".lg-thumb").css("transition-duration",this.core.settings.speed+"ms").css("width",this.thumbTotalWidth+"px").css("position","relative"),this.setThumbItemHtml(this.core.galleryItems)},o.prototype.enableThumbDrag=function(){var t=this,e={cords:{startX:0,endX:0},isMoved:!1,newTranslateX:0,startTime:new Date,endTime:new Date,touchMoveTime:0},i=!1;this.$thumbOuter.addClass("lg-grab"),this.core.outer.find(".lg-thumb").first().on("mousedown.lg.thumb",(function(s){t.thumbTotalWidth>t.thumbOuterWidth&&(s.preventDefault(),e.cords.startX=s.pageX,e.startTime=new Date,t.thumbClickable=!1,i=!0,t.core.outer.get().scrollLeft+=1,t.core.outer.get().scrollLeft-=1,t.$thumbOuter.removeClass("lg-grab").addClass("lg-grabbing"))})),this.$LG(window).on("mousemove.lg.thumb.global"+this.core.lgId,(function(s){t.core.lgOpened&&i&&(e.cords.endX=s.pageX,e=t.onThumbTouchMove(e))})),this.$LG(window).on("mouseup.lg.thumb.global"+this.core.lgId,(function(){t.core.lgOpened&&(e.isMoved?e=t.onThumbTouchEnd(e):t.thumbClickable=!0,i&&(i=!1,t.$thumbOuter.removeClass("lg-grabbing").addClass("lg-grab")))}))},o.prototype.enableThumbSwipe=function(){var t=this,e={cords:{startX:0,endX:0},isMoved:!1,newTranslateX:0,startTime:new Date,endTime:new Date,touchMoveTime:0};this.$lgThumb.on("touchstart.lg",(function(i){t.thumbTotalWidth>t.thumbOuterWidth&&(i.preventDefault(),e.cords.startX=i.targetTouches[0].pageX,t.thumbClickable=!1,e.startTime=new Date)})),this.$lgThumb.on("touchmove.lg",(function(i){t.thumbTotalWidth>t.thumbOuterWidth&&(i.preventDefault(),e.cords.endX=i.targetTouches[0].pageX,e=t.onThumbTouchMove(e))})),this.$lgThumb.on("touchend.lg",(function(){e.isMoved?e=t.onThumbTouchEnd(e):t.thumbClickable=!0}))},o.prototype.rebuildThumbnails=function(){var t=this;this.$thumbOuter.addClass("lg-rebuilding-thumbnails"),setTimeout((function(){t.thumbTotalWidth=t.core.galleryItems.length*(t.settings.thumbWidth+t.settings.thumbMargin),t.$lgThumb.css("width",t.thumbTotalWidth+"px"),t.$lgThumb.empty(),t.setThumbItemHtml(t.core.galleryItems),t.animateThumb(t.core.index)}),50),setTimeout((function(){t.$thumbOuter.removeClass("lg-rebuilding-thumbnails")}),200)},o.prototype.setTranslate=function(t){this.$lgThumb.css("transform","translate3d(-"+t+"px, 0px, 0px)")},o.prototype.getPossibleTransformX=function(t){return t>this.thumbTotalWidth-this.thumbOuterWidth&&(t=this.thumbTotalWidth-this.thumbOuterWidth),t<0&&(t=0),t},o.prototype.animateThumb=function(t){if(this.$lgThumb.css("transition-duration",this.core.settings.speed+"ms"),this.settings.animateThumb){var e=0;switch(this.settings.currentPagerPosition){case"left":e=0;break;case"middle":e=this.thumbOuterWidth/2-this.settings.thumbWidth/2;break;case"right":e=this.thumbOuterWidth-this.settings.thumbWidth}this.translateX=(this.settings.thumbWidth+this.settings.thumbMargin)*t-1-e,this.translateX>this.thumbTotalWidth-this.thumbOuterWidth&&(this.translateX=this.thumbTotalWidth-this.thumbOuterWidth),this.translateX<0&&(this.translateX=0),this.setTranslate(this.translateX)}},o.prototype.onThumbTouchMove=function(t){return t.newTranslateX=this.translateX,t.isMoved=!0,t.touchMoveTime=(new Date).valueOf(),t.newTranslateX-=t.cords.endX-t.cords.startX,t.newTranslateX=this.getPossibleTransformX(t.newTranslateX),this.setTranslate(t.newTranslateX),this.$thumbOuter.addClass("lg-dragging"),t},o.prototype.onThumbTouchEnd=function(t){t.isMoved=!1,t.endTime=new Date,this.$thumbOuter.removeClass("lg-dragging");var e=t.endTime.valueOf()-t.startTime.valueOf(),i=t.cords.endX-t.cords.startX,s=Math.abs(i)/e;return s>.15&&t.endTime.valueOf()-t.touchMoveTime<30?((s+=1)>2&&(s+=1),s+=s*(Math.abs(i)/this.thumbOuterWidth),this.$lgThumb.css("transition-duration",Math.min(s-1,2)+"settings"),i*=s,this.translateX=this.getPossibleTransformX(this.translateX-i),this.setTranslate(this.translateX)):this.translateX=t.newTranslateX,Math.abs(t.cords.endX-t.cords.startX)<this.settings.thumbnailSwipeThreshold&&(this.thumbClickable=!0),t},o.prototype.getThumbHtml=function(t,e,i){var s,h=this.core.galleryItems[e].__slideVideoInfo||{};s=h.youtube&&this.settings.loadYouTubeThumbnail?"//img.youtube.com/vi/"+h.youtube[1]+"/"+this.settings.youTubeThumbSize+".jpg":t;var n=i?'alt="'+i+'"':"";return'<div data-lg-item-id="'+e+'" class="lg-thumb-item '+(e===this.core.index?" active":"")+'"\n style="width:'+this.settings.thumbWidth+"px; height: "+this.settings.thumbHeight+";\n margin-right: "+this.settings.thumbMargin+'px;">\n <img '+n+' data-lg-item-id="'+e+'" src="'+s+'" />\n </div>'},o.prototype.getThumbItemHtml=function(t){for(var e="",i=0;i<t.length;i++)e+=this.getThumbHtml(t[i].thumb,i,t[i].alt);return e},o.prototype.setThumbItemHtml=function(t){var e=this.getThumbItemHtml(t);this.$lgThumb.html(e)},o.prototype.setAnimateThumbStyles=function(){this.settings.animateThumb&&this.core.outer.addClass("lg-animate-thumb")},o.prototype.manageActiveClassOnSlideChange=function(){var t=this;this.core.LGel.on(n+".thumb",(function(e){var i=t.core.outer.find(".lg-thumb-item"),s=e.detail.index;i.removeClass("active"),i.eq(s).addClass("active")}))},o.prototype.toggleThumbBar=function(){var t=this;this.settings.toggleThumb&&(this.core.outer.addClass("lg-can-toggle"),this.core.$toolbar.append('<button type="button" aria-label="'+this.settings.thumbnailPluginStrings.toggleThumbnails+'" class="lg-toggle-thumb lg-icon"></button>'),this.core.outer.find(".lg-toggle-thumb").first().on("click.lg",(function(){t.core.outer.toggleClass("lg-components-open")})))},o.prototype.thumbKeyPress=function(){var t=this;this.$LG(window).on("keydown.lg.thumb.global"+this.core.lgId,(function(e){t.core.lgOpened&&t.settings.toggleThumb&&(38===e.keyCode?(e.preventDefault(),t.core.outer.addClass("lg-components-open")):40===e.keyCode&&(e.preventDefault(),t.core.outer.removeClass("lg-components-open")))}))},o.prototype.destroy=function(){this.settings.thumbnail&&(this.$LG(window).off(".lg.thumb.global"+this.core.lgId),this.core.LGel.off(".lg.thumb"),this.core.LGel.off(".thumb"),this.$thumbOuter.remove(),this.core.outer.removeClass("lg-has-thumb"))},o}()}));
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html>
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="utf-8">
|
|
6
|
-
<title>videojs-vimeo Demo</title>
|
|
7
|
-
<link href="/node_modules/video.js/dist/video-js.css" rel="stylesheet">
|
|
8
|
-
</head>
|
|
9
|
-
<body>
|
|
10
|
-
<video
|
|
11
|
-
id="vid1"
|
|
12
|
-
class="video-js"
|
|
13
|
-
width="640" height="360"
|
|
14
|
-
data-setup='{
|
|
15
|
-
"techOrder": [
|
|
16
|
-
"vimeo", "html5"
|
|
17
|
-
],
|
|
18
|
-
"sources": [{
|
|
19
|
-
"type": "video/vimeo",
|
|
20
|
-
"src": "https://vimeo.com/179528528"
|
|
21
|
-
}],
|
|
22
|
-
"vimeo": {
|
|
23
|
-
"color": "#fbc51b"
|
|
24
|
-
}
|
|
25
|
-
}'
|
|
26
|
-
>
|
|
27
|
-
</video>
|
|
28
|
-
|
|
29
|
-
<script src="/node_modules/video.js/dist/video.js"></script>
|
|
30
|
-
<script src="/dist/videojs-vimeo.js"></script>
|
|
31
|
-
</body>
|
|
32
|
-
|
|
33
|
-
</html>
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html>
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
<title>videojs-vimeo Demo</title>
|
|
7
|
+
<link href="/node_modules/video.js/dist/video-js.css" rel="stylesheet">
|
|
8
|
+
</head>
|
|
9
|
+
<body>
|
|
10
|
+
<video
|
|
11
|
+
id="vid1"
|
|
12
|
+
class="video-js"
|
|
13
|
+
width="640" height="360"
|
|
14
|
+
data-setup='{
|
|
15
|
+
"techOrder": [
|
|
16
|
+
"vimeo", "html5"
|
|
17
|
+
],
|
|
18
|
+
"sources": [{
|
|
19
|
+
"type": "video/vimeo",
|
|
20
|
+
"src": "https://vimeo.com/179528528"
|
|
21
|
+
}],
|
|
22
|
+
"vimeo": {
|
|
23
|
+
"color": "#fbc51b"
|
|
24
|
+
}
|
|
25
|
+
}'
|
|
26
|
+
>
|
|
27
|
+
</video>
|
|
28
|
+
|
|
29
|
+
<script src="/node_modules/video.js/dist/video.js"></script>
|
|
30
|
+
<script src="/dist/videojs-vimeo.js"></script>
|
|
31
|
+
</body>
|
|
32
|
+
|
|
33
|
+
</html>
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
See: https://wistia.com/support/developers/e-v1
|
|
2
|
-
See: https://wistia.com/support/developers/player-api
|
|
3
|
-
|
|
4
|
-
For most of our embeds, E-v1.js is essential for the Wistia player to
|
|
5
|
-
function. If you’re using an Inline, Standard or Popover embed code,
|
|
6
|
-
the player will not appear on the page at all if E-v1 is missing.
|
|
7
|
-
|
|
8
|
-
When a webpage loads, E-v1.js needs to be there to build the player,
|
|
9
|
-
deliver your video files and thumbnail, and include any customizations
|
|
10
|
-
or plugins you’ve chosen for the video. It also controls any integrations
|
|
11
|
-
you have set up for lead capture and tracking, and much more.
|
|
12
|
-
|
|
13
|
-
In the simplest terms possible, E-v1.js, or “E-v1” for short, is the
|
|
14
|
-
Wistia player. More specifically, it’s the Wistia JavaScript library
|
|
15
|
-
which loads all the player code, builds the player on a webpage, and
|
|
16
|
-
enables you to access all the player features that Wistia has to offer.
|
|
17
|
-
|
|
18
|
-
It looks like this:
|
|
19
|
-
|
|
20
|
-
<script src="https://fast.wistia.com/assets/external/E-v1.js" async> </script>
|
|
1
|
+
See: https://wistia.com/support/developers/e-v1
|
|
2
|
+
See: https://wistia.com/support/developers/player-api
|
|
3
|
+
|
|
4
|
+
For most of our embeds, E-v1.js is essential for the Wistia player to
|
|
5
|
+
function. If you’re using an Inline, Standard or Popover embed code,
|
|
6
|
+
the player will not appear on the page at all if E-v1 is missing.
|
|
7
|
+
|
|
8
|
+
When a webpage loads, E-v1.js needs to be there to build the player,
|
|
9
|
+
deliver your video files and thumbnail, and include any customizations
|
|
10
|
+
or plugins you’ve chosen for the video. It also controls any integrations
|
|
11
|
+
you have set up for lead capture and tracking, and much more.
|
|
12
|
+
|
|
13
|
+
In the simplest terms possible, E-v1.js, or “E-v1” for short, is the
|
|
14
|
+
Wistia player. More specifically, it’s the Wistia JavaScript library
|
|
15
|
+
which loads all the player code, builds the player on a webpage, and
|
|
16
|
+
enables you to access all the player features that Wistia has to offer.
|
|
17
|
+
|
|
18
|
+
It looks like this:
|
|
19
|
+
|
|
20
|
+
<script src="https://fast.wistia.com/assets/external/E-v1.js" async> </script>
|
data/lib/j1/version.rb
CHANGED
data/lib/starter_web/Gemfile
CHANGED
|
@@ -75,11 +75,11 @@ gem 'jekyll', '~> 4.0'
|
|
|
75
75
|
# Specify the THEME GEM used for the project
|
|
76
76
|
|
|
77
77
|
# Loaded from RubyGems
|
|
78
|
-
gem 'j1-template', '~> 2023.10
|
|
78
|
+
gem 'j1-template', '~> 2023.10'
|
|
79
79
|
|
|
80
80
|
# Loaded from gem.fury.io
|
|
81
81
|
#source 'https://gem.fury.io/jekyll-one-org/' do
|
|
82
|
-
# gem 'j1-template', '~> 2023.10
|
|
82
|
+
# gem 'j1-template', '~> 2023.10'
|
|
83
83
|
#end
|
|
84
84
|
|
|
85
85
|
# ------------------------------------------------------------------------------
|
data/lib/starter_web/README.md
CHANGED
|
@@ -379,7 +379,7 @@ This command creates a **initial** project in folder **my-starter**.
|
|
|
379
379
|
2023-02-28 18:12:12 - GENERATE: Resolving dependencies...
|
|
380
380
|
2023-02-28 18:12:12 - GENERATE: Using bundler 2.3.7
|
|
381
381
|
...
|
|
382
|
-
2023-02-28 18:12:12 - GENERATE: Using j1-template 2023.10.
|
|
382
|
+
2023-02-28 18:12:12 - GENERATE: Using j1-template 2023.10.1
|
|
383
383
|
2023-02-28 18:12:12 - GENERATE: Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
|
|
384
384
|
2023-02-28 18:12:12 - GENERATE: Bundled gems are installed into `../../.gem`
|
|
385
385
|
2023-02-28 18:12:12 - GENERATE: C:/Users/xxx/.gem/ruby/3.1.0;C:/DevTools/Ruby31-x64/lib/ruby/gems/3.1.0;
|
|
@@ -415,7 +415,7 @@ commands are available as well.
|
|
|
415
415
|
2023-02-28 18:17:48 - SETUP: Initialize the project ...
|
|
416
416
|
2023-02-28 18:17:48 - SETUP: Be patient, this will take a while ...
|
|
417
417
|
2023-02-28 18:17:49 - SETUP:
|
|
418
|
-
2023-02-28 18:17:49 - SETUP: > j1@2023.10.
|
|
418
|
+
2023-02-28 18:17:49 - SETUP: > j1@2023.10.1 setup C:\Users\xxx\j1-projects\my-starter
|
|
419
419
|
2023-02-28 18:17:49 - SETUP: > npm --silent run setup-start && npm --silent run setup-base && run-s -s setup:*
|
|
420
420
|
2023-02-28 18:17:49 - SETUP:
|
|
421
421
|
2023-02-28 18:17:50 - SETUP: Setup project for first use ..
|
|
@@ -460,7 +460,7 @@ browser. Let's start the journey ...
|
|
|
460
460
|
Check setup state of the J1 project ...
|
|
461
461
|
2023-02-28 18:26:18 - SITE: Starting up your site ...
|
|
462
462
|
2023-02-28 18:26:18 - SITE:
|
|
463
|
-
2023-02-28 18:26:18 - SITE: > j1@2023.10.
|
|
463
|
+
2023-02-28 18:26:18 - SITE: > j1@2023.10.1 j1-site C:\Users\jadams\j1-projects\my-starter
|
|
464
464
|
2023-02-28 18:26:18 - SITE: > run-p -s j1-site:*
|
|
465
465
|
2023-02-28 18:26:18 - SITE:
|
|
466
466
|
2023-02-28 18:26:20 - SITE: Startup UTILSRV ..
|
|
@@ -499,7 +499,7 @@ Check setup state of the J1 project ...
|
|
|
499
499
|
REBUILD: Rebuild the projects website ...
|
|
500
500
|
REBUILD: Be patient, this will take a while ...
|
|
501
501
|
2023-02-28 18:45:09 - REBUILD:
|
|
502
|
-
2023-02-28 18:45:09 - REBUILD: > j1@2023.10.
|
|
502
|
+
2023-02-28 18:45:09 - REBUILD: > j1@2023.10.1 rebuild C:\Users\xxx\j1-projects\my-starter
|
|
503
503
|
2023-02-28 18:45:09 - REBUILD: > run-s -s rebuild:* && run-s -s post-rebuild:*
|
|
504
504
|
2023-02-28 18:45:09 - REBUILD:
|
|
505
505
|
2023-02-28 18:45:10 - REBUILD: Rebuild site incremental ..
|
|
@@ -547,7 +547,7 @@ using Lerna for all packages:
|
|
|
547
547
|
2023-02-28 18:29:07 - RESET: Reset the project to factory state ...
|
|
548
548
|
2023-02-28 18:29:07 - RESET: Be patient, this will take a while ...
|
|
549
549
|
2023-02-28 18:29:08 - RESET:
|
|
550
|
-
2023-02-28 18:29:08 - RESET: > j1@2023.10.
|
|
550
|
+
2023-02-28 18:29:08 - RESET: > j1@2023.10.1 reset C:\Users\xxx\j1-projects\my-starter
|
|
551
551
|
2023-02-28 18:29:08 - RESET: > run-s -s reset:*
|
|
552
552
|
2023-02-28 18:29:08 - RESET:
|
|
553
553
|
2023-02-28 18:29:08 - RESET: Reset project to factory state ..
|
data/lib/starter_web/_config.yml
CHANGED
|
@@ -53,7 +53,7 @@ environment: development
|
|
|
53
53
|
# ------------------------------------------------------------------------------
|
|
54
54
|
# Sets the build version of the site
|
|
55
55
|
#
|
|
56
|
-
version: 2023.10.
|
|
56
|
+
version: 2023.10.1
|
|
57
57
|
|
|
58
58
|
# copyright
|
|
59
59
|
# ------------------------------------------------------------------------------
|
|
@@ -45,7 +45,7 @@ defaults:
|
|
|
45
45
|
#
|
|
46
46
|
enabled: false # needed for j1.layout_shim_generator.html
|
|
47
47
|
xhr_data_path: /assets/data/galeries
|
|
48
|
-
gallery_complete_timeout:
|
|
48
|
+
gallery_complete_timeout: 1000
|
|
49
49
|
|
|
50
50
|
# ------------------------------------------------------------------------
|
|
51
51
|
# CSS filter options
|
|
@@ -50,7 +50,7 @@ settings:
|
|
|
50
50
|
# ------------------------------------------------------------------------
|
|
51
51
|
#
|
|
52
52
|
gallery_options:
|
|
53
|
-
rowHeight:
|
|
53
|
+
rowHeight: 250
|
|
54
54
|
gutters: 3
|
|
55
55
|
|
|
56
56
|
# ------------------------------------------------------------------------
|
|
@@ -224,7 +224,7 @@ settings:
|
|
|
224
224
|
# ------------------------------------------------------------------------
|
|
225
225
|
#
|
|
226
226
|
gallery_options:
|
|
227
|
-
rowHeight:
|
|
227
|
+
rowHeight: 250
|
|
228
228
|
gutters: 3
|
|
229
229
|
|
|
230
230
|
# ------------------------------------------------------------------------
|
|
@@ -394,7 +394,7 @@ settings:
|
|
|
394
394
|
name: Carpool Karaoke Adele
|
|
395
395
|
type: youtube
|
|
396
396
|
size: "1280-720"
|
|
397
|
-
source: "
|
|
397
|
+
source: "//youtube.com/watch?v=Nck6BZga7TQ"
|
|
398
398
|
pinterest_prefix: Pin video
|
|
399
399
|
tweet_prefix: Try video
|
|
400
400
|
description: >
|
|
@@ -435,7 +435,7 @@ settings:
|
|
|
435
435
|
name: Carpool Karaoke Michelle Obama
|
|
436
436
|
type: youtube
|
|
437
437
|
size: "1280-720"
|
|
438
|
-
source: "
|
|
438
|
+
source: "//youtube.com/watch?v=ln3wAdRAim4"
|
|
439
439
|
pinterest_prefix: Pin video
|
|
440
440
|
tweet_prefix: Try video
|
|
441
441
|
description: >
|
|
@@ -467,7 +467,7 @@ settings:
|
|
|
467
467
|
# ------------------------------------------------------------------------
|
|
468
468
|
#
|
|
469
469
|
gallery_options:
|
|
470
|
-
rowHeight:
|
|
470
|
+
rowHeight: 250
|
|
471
471
|
gutters: 3
|
|
472
472
|
|
|
473
473
|
# ------------------------------------------------------------------------
|
|
@@ -512,7 +512,7 @@ settings:
|
|
|
512
512
|
name: Carpool Karaoke Lady Gaga
|
|
513
513
|
type: youtube
|
|
514
514
|
size: "1280-720"
|
|
515
|
-
source: "
|
|
515
|
+
source: "//youtube.com/watch?v=Nck6BZga7TQ"
|
|
516
516
|
pinterest_prefix: Pin video
|
|
517
517
|
tweet_prefix: Try video
|
|
518
518
|
description: >
|
|
@@ -533,7 +533,7 @@ settings:
|
|
|
533
533
|
name: Last Carpool Karaoke
|
|
534
534
|
type: youtube
|
|
535
535
|
size: "1280-720"
|
|
536
|
-
source: "
|
|
536
|
+
source: "//youtube.com/watch?v=nV8UZJNBY6Y"
|
|
537
537
|
pinterest_prefix: Pin video
|
|
538
538
|
tweet_prefix: Try video
|
|
539
539
|
description: >
|
|
@@ -610,7 +610,7 @@ settings:
|
|
|
610
610
|
name: Voice Kids - Constance
|
|
611
611
|
type: youtube
|
|
612
612
|
size: "1280-720"
|
|
613
|
-
source: "
|
|
613
|
+
source: "//youtube.com/watch?v=aQqPgLMgO-I"
|
|
614
614
|
pinterest_prefix: Pin video
|
|
615
615
|
tweet_prefix: Try video
|
|
616
616
|
description: >
|
|
@@ -631,7 +631,7 @@ settings:
|
|
|
631
631
|
name: Voice Kids - Elisa
|
|
632
632
|
type: youtube
|
|
633
633
|
size: "1280-720"
|
|
634
|
-
source: "
|
|
634
|
+
source: "//youtube.com/watch?v=Bl6tkAgaP1g"
|
|
635
635
|
pinterest_prefix: Pin video
|
|
636
636
|
tweet_prefix: Try video
|
|
637
637
|
description: >
|
|
@@ -702,7 +702,7 @@ settings:
|
|
|
702
702
|
# ------------------------------------------------------------------------
|
|
703
703
|
#
|
|
704
704
|
gallery_options:
|
|
705
|
-
rowHeight:
|
|
705
|
+
rowHeight: 250
|
|
706
706
|
gutters: 3
|
|
707
707
|
|
|
708
708
|
# ------------------------------------------------------------------------
|
|
@@ -747,7 +747,7 @@ settings:
|
|
|
747
747
|
name: Forever 21
|
|
748
748
|
type: vimeo
|
|
749
749
|
size: "1280-720"
|
|
750
|
-
source: "
|
|
750
|
+
source: "//vimeo.com/179528528"
|
|
751
751
|
pinterest_prefix: Pin video
|
|
752
752
|
tweet_prefix: Try video
|
|
753
753
|
description: >
|
|
@@ -766,7 +766,7 @@ settings:
|
|
|
766
766
|
name: Forever 21
|
|
767
767
|
type: vimeo
|
|
768
768
|
size: "1280-720"
|
|
769
|
-
source: "
|
|
769
|
+
source: "//vimeo.com/202117650"
|
|
770
770
|
pinterest_prefix: Pin video
|
|
771
771
|
tweet_prefix: Try video
|
|
772
772
|
description: >
|
|
@@ -779,7 +779,6 @@ settings:
|
|
|
779
779
|
caption:
|
|
780
780
|
text: "Vimeo · Forever 21 - Stay Colorful, Babe!"
|
|
781
781
|
|
|
782
|
-
|
|
783
782
|
# --------------------------------------------------------------------------
|
|
784
783
|
# Online VIDEO (DailyMotion)
|
|
785
784
|
#
|
|
@@ -796,7 +795,7 @@ settings:
|
|
|
796
795
|
# ------------------------------------------------------------------------
|
|
797
796
|
#
|
|
798
797
|
gallery_options:
|
|
799
|
-
rowHeight:
|
|
798
|
+
rowHeight: 250
|
|
800
799
|
gutters: 3
|
|
801
800
|
|
|
802
801
|
# ------------------------------------------------------------------------
|
|
@@ -860,7 +859,7 @@ settings:
|
|
|
860
859
|
name: SELF Channel
|
|
861
860
|
type: dailymotion
|
|
862
861
|
size: "1280-720"
|
|
863
|
-
source: "
|
|
862
|
+
source: "//dai.ly/x87ycik"
|
|
864
863
|
pinterest_prefix: Pin video
|
|
865
864
|
tweet_prefix: Try video
|
|
866
865
|
description: >
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<id>{{ page.url | absolute_url | xml_escape }}</id>
|
|
58
58
|
<post_limited>{{ limit_posts }}</post_limited>
|
|
59
59
|
<template_name>J1 Theme</template_name>
|
|
60
|
-
<template_version>2023.10.
|
|
60
|
+
<template_version>2023.10.1</template_version>
|
|
61
61
|
|
|
62
62
|
{% assign title = site.title | default: site.name %}
|
|
63
63
|
{% if page.collection != "posts" %}
|