j1-template 2024.3.22 → 2024.3.23
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/data/{galeries.html → gallery_app.html} +4 -4
- data/assets/theme/bla +0 -0
- data/assets/theme/j1/adapter/js/amplitude.js +144 -52
- data/assets/theme/j1/adapter/js/gallery.js +1 -1
- data/assets/theme/j1/adapter/js/themes.js +41 -69
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.css +19 -52
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
- data/assets/theme/j1/modules/amplitudejs/js/tech/ytp.js +466 -396
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lg-transitions.css +984 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lg-transitions.min.css +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lightgallery-bundle.css +1627 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lightgallery-bundle.min.css +25 -0
- data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/uno.css +1 -1
- data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/uno.min.css +1 -1
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/fonts/lg.svg +54 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/fonts/lg.ttf +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/fonts/lg.woff +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/fonts/lg.woff2 +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/images/loading.gif +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/img/loading.gif +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/img/video-play.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/img/vimeo-play.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/img/youtube-play.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/lightgallery.js +2782 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/lightgallery.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/LICENSE.md +44 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/README.md +37 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/parser.js +890 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/parser.min.js +8 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/j1/lg-video.1.js +585 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-autoplay.js +275 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-autoplay.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-comment.js +230 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-comment.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-fullscreen.js +160 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-fullscreen.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-hash.js +223 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-hash.min.js +27 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-medium-zoom.js +157 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-medium-zoom.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-pager.js +164 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-pager.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-rotate.js +299 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-rotate.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-share.js +244 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-share.min.js +27 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-thumbnail.js +509 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-thumbnail.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-video.js +909 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-video.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-vimeo-thumbnail.js +207 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-vimeo-thumbnail.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-zoom.js +999 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-zoom.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/css/lg-transitions.css +3 -126
- data/assets/theme/j1/modules/lightGallery/css/lg-transitions.min.css +3 -10
- data/assets/theme/j1/modules/lightGallery/css/lightgallery-bundle.css +70 -237
- data/assets/theme/j1/modules/lightGallery/css/lightgallery-bundle.min.css +4 -10
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/animation-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/customize-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/dynamic-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/facebook-icon.svg +10 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/googleplus-icon.svg +30 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/html5-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/linked-in.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/module-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/play-button-hover.svg +94 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/play-button.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/play-button.svg +93 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/responsive-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/thumb-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/touch-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/twitter-icon.svg +15 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/twitter.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/video1-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/zoom-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/zoom.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/uno.css +276 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/uno.min.css +17 -0
- data/assets/theme/j1/modules/lightGallery/js/lightgallery.js +163 -120
- data/assets/theme/j1/modules/lightGallery/js/lightgallery.min.js +6 -6
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-thumbnail.0.js +495 -0
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-thumbnail.1.js +513 -0
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-video.0.js +553 -0
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-video.1.js +1 -1
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-video.2.js +914 -0
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-autoplay.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-autoplay.min.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-comment.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-comment.min.js +6 -6
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-fullscreen.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-fullscreen.min.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-hash.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-hash.min.js +5 -6
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-medium-zoom.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-medium-zoom.min.js +6 -6
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-pager.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-pager.min.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-relative-caption.js +179 -0
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-relative-caption.min.js +32 -0
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-rotate.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-rotate.min.js +6 -6
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-share.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-share.min.js +6 -7
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-thumbnail.js +27 -20
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-thumbnail.min.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.js +77 -125
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.min.js +6 -6
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-vimeo-thumbnail.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-vimeo-thumbnail.min.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-zoom.js +11 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-zoom.min.js +5 -5
- data/assets/theme/j1/modules/themeSwitcher/js/switcher.js +13 -12
- data/assets/theme/j1/modules/videoPlayer/tiktoc/README.md +1 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/font/README.md +151 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/font/VideoJS.svg +150 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/city.css +147 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/city.min.css +5 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/fantasy.css +113 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/fantasy.min.css +5 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/forest.css +166 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/forest.min.css +5 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/sea.css +72 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/sea.min.css +5 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/uno.css +311 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/uno.min.css +19 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/videojs.css +1686 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/videojs.min.css +13 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/js/video.js +65226 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/js/video.min.js +55 -0
- data/assets/theme/j1/modules/videojs/assets/README.md +1 -0
- data/assets/theme/j1/modules/videojs/assets/icons/speedometer-medium.svg +35 -0
- data/assets/theme/j1/modules/videojs/css/font/VideoJS.ttf +0 -0
- data/assets/theme/j1/modules/videojs/css/font/VideoJS.woff +0 -0
- data/assets/theme/j1/modules/videojs/css/themes/uno.css +157 -22
- data/assets/theme/j1/modules/videojs/css/themes/uno.min.css +1 -1
- data/assets/theme/j1/modules/videojs/css/videojs.css +674 -316
- data/assets/theme/j1/modules/videojs/css/videojs.min.css +4 -3
- data/assets/theme/j1/modules/videojs/js/video.js +15893 -12288
- data/assets/theme/j1/modules/videojs/js/video.min.js +22 -23
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/!examples/index.html +31 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/LICENSE +19 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/README.md +69 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/css/aspect-ratio-panel.css +2 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/css/aspect-ratio-panel.min.css +2 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/js/aspect-ratio-panel.js +339 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/js/aspect-ratio-panel.min.js +2 -0
- data/assets/theme/j1/modules/videojs/{js/plugins/controls/autocaption → plugins/controls/autocaption/js}/autocaption.js +0 -5
- data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/!examples/index.html +29 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/LICENSE +19 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/README.md +90 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/js/videojs-persist.js +120 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/js/videojs-persist.min.js +2 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/!examples/index.html +37 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/LICENSE +19 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/README.md +61 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/js/playbackrate-adjuster.js +94 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/js/playbackrate-adjuster.min.js +20 -0
- data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/skipbuttons/README.md +25 -11
- data/assets/theme/j1/modules/videojs/{css/plugins/controls → plugins/controls/zoom/css}/zoom.css +7 -6
- data/assets/theme/j1/modules/videojs/plugins/controls/zoom/css/zoom.min.css +22 -0
- data/assets/theme/j1/modules/videojs/{js/plugins/players/dm → plugins/players/dm/js}/dailymotion.js +1 -1
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.0.js +521 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.1.js +605 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.3.js +643 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.4.js +583 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.5.js +665 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.6.js +642 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.7.js +673 -0
- data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/api → plugins/players/vm/api/js}/vimeo.js +1 -1
- data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/api → plugins/players/vm/api/js}/vimeo.min.js +1 -1
- data/assets/theme/j1/modules/videojs/{js/plugins/players/vm → plugins/players/vm/js}/vimeo.js +4 -5
- data/assets/theme/j1/modules/videojs/plugins/players/vm/js/vimeo.min.js +28 -0
- data/assets/theme/j1/modules/videojs/plugins/players/wt/!unused/wistia.0.js +395 -0
- data/assets/theme/j1/modules/videojs/plugins/players/wt/!unused/wistia.1.js +401 -0
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/modules/amplitude_playlists.yml +16 -1
- data/lib/starter_web/_data/modules/defaults/gallery.yml +3 -3
- data/lib/starter_web/_data/modules/gallery.yml +83 -87
- data/lib/starter_web/_data/modules/navigator_menu.yml +3 -3
- data/lib/starter_web/_data/resources.yml +16 -12
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_plugins/asciidoctor/videojs-block.rb +50 -30
- data/lib/starter_web/_plugins/asciidoctor/youtube-block.rb +37 -23
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/video/poster/vimeo/fall_2011.jpg +0 -0
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/tools/tester/videojs_macro_tester.adoc +282 -0
- data/lib/starter_web/pages/public/tour/video_data.adoc +1 -0
- metadata +221 -106
- data/assets/data/swiper_app.2.html +0 -757
- data/assets/data/swiper_app.4.html +0 -769
- data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.0.css +0 -32
- data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.1.css +0 -31
- data/assets/theme/j1/modules/videojs/css/plugins/controls/zoom.min.css +0 -21
- data/assets/theme/j1/modules/videojs/js/plugins/players/vm/vimeo.min.js +0 -16
- data/assets/theme/j1/modules/videojs/js/plugins/players/wt/api/src/WistiaPlayer.ts +0 -1617
- data/lib/starter_web/assets/video/poster/vimeo/stay_colorful.jpg +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/animation-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/customize-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/dynamic-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/facebook-icon.svg +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/googleplus-icon.svg +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/html5-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/linked-in.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/module-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/play-button-hover.svg +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/play-button.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/play-button.svg +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/responsive-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/thumb-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/touch-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/twitter-icon.svg +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/twitter.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/video1-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/zoom-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/zoom.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{js → !v2.7.2/js}/plugins/j1/j1-video.js +0 -0
- /data/assets/theme/j1/modules/lightGallery/{js → !v2.7.2/js}/plugins/j1/j1-video.min.js +0 -0
- /data/assets/theme/j1/modules/videoPlayer/dailymotion/js/{!readme → README.md} +0 -0
- /data/assets/theme/j1/modules/videoPlayer/tiktoc/{js/player.min.js → player.min.js} +0 -0
- /data/assets/theme/j1/modules/videoPlayer/vimeo/js/{!readme → README.md} +0 -0
- /data/assets/theme/j1/modules/videoPlayer/wistia/js/{!readme → README.md} +0 -0
- /data/assets/theme/j1/modules/videojs/{css → !v8.12.0/css}/font/video-js-cdn.css +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/autocaption/LICENSE +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/autocaption/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/autocaption → plugins/controls/autocaption/js}/autocaption.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/hotkeys/examples → plugins/controls/hotkeys/!examples}/example.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/hotkeys/LICENSE.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/hotkeys/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/hotkeys → plugins/controls/hotkeys/js}/hotkeys.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/hotkeys → plugins/controls/hotkeys/js}/hotkeys.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{css/plugins/controls → plugins/controls/skipbuttons/css}/skipbuttons.css +0 -0
- /data/assets/theme/j1/modules/videojs/{css/plugins/controls → plugins/controls/skipbuttons/css}/skipbuttons.min.css +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/skipbuttons → plugins/controls/skipbuttons/js}/skipbuttons.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/skipbuttons → plugins/controls/skipbuttons/js}/skipbuttons.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/zoom/examples → plugins/controls/zoom/!examples}/index.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/zoom/examples → plugins/controls/zoom/!examples}/index.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/zoom/examples → plugins/controls/zoom/!examples}/styles.css +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/zoom/LICENSE.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/zoom/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/zoom → plugins/controls/zoom/js}/zoom.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/zoom → plugins/controls/zoom/js}/zoom.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/dailymotion-controls.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/dailymotion-javascript.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/dailymotion-playlist.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/global-parameters.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/simple.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/switch.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/dm/LICENSE +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/doc → plugins/players/dm}/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/dm/api/LICENSE +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/api/doc → plugins/players/dm/api}/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/api → plugins/players/dm/api/js}/dailymotion.sdk.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/api → plugins/players/dm/api/js}/dailymotion.sdk.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/dm/icon/scalable/dailymotion.svg +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm → plugins/players/dm/js}/dailymotion.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/examples → plugins/players/vm/!examples}/index.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/examples → plugins/players/vm/!examples}/player/index.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/vm/LICENSE +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/doc → plugins/players/vm}/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/api/doc → plugins/players/vm/api}/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/vm/api/css/embed.player.css +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/vm/api/css/embed.player.uno.css +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/vm/api/css/player.css +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/wt/doc → plugins/players/wt}/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/wt/api/doc/Readme.txt → plugins/players/wt/api/README.md} +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/wt/api → plugins/players/wt/api/js}/wistia.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/wt → plugins/players/wt/js}/wistia.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/wt → plugins/players/wt/js}/wistia.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/global-parameters.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/simple.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/switch.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/youtube-controls.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/youtube-javascript.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/youtube-list.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/youtube-playlist.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/v3.0.0 → plugins/players/yt/!v3.0.0}/youtube.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/v3.0.0 → plugins/players/yt/!v3.0.0}/youtube.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/yt/LICENSE +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/doc → plugins/players/yt}/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/api → plugins/players/yt/api/js}/youtube.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt → plugins/players/yt/js}/youtube.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt → plugins/players/yt/js}/youtube.min.js +0 -0
@@ -1,12 +1,12 @@
|
|
1
1
|
/*
|
2
2
|
# -----------------------------------------------------------------------------
|
3
3
|
# ~/assets/theme/j1/modules/lightGallery/js/core/lightgallery.js
|
4
|
-
# Provides the lightGallery Main JS module
|
4
|
+
# Provides the lightGallery v2.8.3 Main JS module
|
5
5
|
#
|
6
6
|
# Product/Info:
|
7
7
|
# https://jekyll.one
|
8
8
|
#
|
9
|
-
# Copyright (C)
|
9
|
+
# Copyright (C) 2025 Sachin Neravath
|
10
10
|
# Copyright (C) 2023-2025 Juergen Adams
|
11
11
|
#
|
12
12
|
# J1 Template is licensed under the MIT License.
|
@@ -17,7 +17,7 @@
|
|
17
17
|
*/
|
18
18
|
|
19
19
|
/*!
|
20
|
-
* lightgallery | 2.
|
20
|
+
* lightgallery | 2.8.3 | March 1st 2025
|
21
21
|
* http://www.lightgalleryjs.com/
|
22
22
|
* Copyright (c) 2020 Sachin Neravath;
|
23
23
|
* @license GPLv3
|
@@ -69,111 +69,111 @@
|
|
69
69
|
* Below interfaces are used to build the website documentations
|
70
70
|
* */
|
71
71
|
var lGEvents = {
|
72
|
-
afterAppendSlide:
|
73
|
-
init:
|
74
|
-
hasVideo:
|
75
|
-
containerResize:
|
76
|
-
updateSlides:
|
77
|
-
afterAppendSubHtml:
|
78
|
-
beforeOpen:
|
79
|
-
afterOpen:
|
80
|
-
slideItemLoad:
|
81
|
-
beforeSlide:
|
82
|
-
afterSlide:
|
83
|
-
posterClick:
|
84
|
-
dragStart:
|
85
|
-
dragMove:
|
86
|
-
dragEnd:
|
87
|
-
beforeNextSlide:
|
88
|
-
beforePrevSlide:
|
89
|
-
beforeClose:
|
90
|
-
afterClose:
|
91
|
-
rotateLeft:
|
92
|
-
rotateRight:
|
93
|
-
flipHorizontal:
|
94
|
-
flipVertical:
|
95
|
-
autoplay:
|
96
|
-
autoplayStart:
|
97
|
-
autoplayStop:
|
72
|
+
afterAppendSlide: 'lgAfterAppendSlide',
|
73
|
+
init: 'lgInit',
|
74
|
+
hasVideo: 'lgHasVideo',
|
75
|
+
containerResize: 'lgContainerResize',
|
76
|
+
updateSlides: 'lgUpdateSlides',
|
77
|
+
afterAppendSubHtml: 'lgAfterAppendSubHtml',
|
78
|
+
beforeOpen: 'lgBeforeOpen',
|
79
|
+
afterOpen: 'lgAfterOpen',
|
80
|
+
slideItemLoad: 'lgSlideItemLoad',
|
81
|
+
beforeSlide: 'lgBeforeSlide',
|
82
|
+
afterSlide: 'lgAfterSlide',
|
83
|
+
posterClick: 'lgPosterClick',
|
84
|
+
dragStart: 'lgDragStart',
|
85
|
+
dragMove: 'lgDragMove',
|
86
|
+
dragEnd: 'lgDragEnd',
|
87
|
+
beforeNextSlide: 'lgBeforeNextSlide',
|
88
|
+
beforePrevSlide: 'lgBeforePrevSlide',
|
89
|
+
beforeClose: 'lgBeforeClose',
|
90
|
+
afterClose: 'lgAfterClose',
|
91
|
+
rotateLeft: 'lgRotateLeft',
|
92
|
+
rotateRight: 'lgRotateRight',
|
93
|
+
flipHorizontal: 'lgFlipHorizontal',
|
94
|
+
flipVertical: 'lgFlipVertical',
|
95
|
+
autoplay: 'lgAutoplay',
|
96
|
+
autoplayStart: 'lgAutoplayStart',
|
97
|
+
autoplayStop: 'lgAutoplayStop',
|
98
98
|
};
|
99
99
|
|
100
100
|
var lightGalleryCoreSettings = {
|
101
|
-
mode:
|
102
|
-
easing:
|
103
|
-
speed:
|
104
|
-
licenseKey:
|
105
|
-
height:
|
106
|
-
width:
|
107
|
-
addClass:
|
108
|
-
startClass:
|
109
|
-
backdropDuration:
|
110
|
-
container:
|
111
|
-
startAnimationDuration:
|
112
|
-
zoomFromOrigin:
|
113
|
-
hideBarsDelay:
|
114
|
-
showBarsAfter:
|
115
|
-
slideDelay:
|
116
|
-
supportLegacyBrowser:
|
117
|
-
allowMediaOverlap:
|
118
|
-
videoMaxSize:
|
119
|
-
loadYouTubePoster:
|
120
|
-
defaultCaptionHeight:
|
121
|
-
ariaLabelledby:
|
122
|
-
ariaDescribedby:
|
123
|
-
resetScrollPosition:
|
124
|
-
hideScrollbar:
|
125
|
-
closable:
|
126
|
-
swipeToClose:
|
127
|
-
closeOnTap:
|
128
|
-
showCloseIcon:
|
129
|
-
showMaximizeIcon:
|
130
|
-
loop:
|
131
|
-
escKey:
|
132
|
-
keyPress:
|
133
|
-
trapFocus:
|
134
|
-
controls:
|
135
|
-
slideEndAnimation:
|
136
|
-
hideControlOnEnd:
|
137
|
-
mousewheel:
|
138
|
-
getCaptionFromTitleOrAlt:
|
139
|
-
appendSubHtmlTo:
|
140
|
-
subHtmlSelectorRelative:
|
141
|
-
preload:
|
142
|
-
numberOfSlideItemsInDom:
|
143
|
-
selector:
|
144
|
-
selectWithin:
|
145
|
-
nextHtml:
|
146
|
-
prevHtml:
|
147
|
-
index:
|
148
|
-
iframeWidth:
|
149
|
-
iframeHeight:
|
150
|
-
iframeMaxWidth:
|
151
|
-
iframeMaxHeight:
|
152
|
-
download:
|
153
|
-
counter:
|
154
|
-
appendCounterTo:
|
155
|
-
swipeThreshold:
|
156
|
-
enableSwipe:
|
157
|
-
enableDrag:
|
158
|
-
dynamic:
|
159
|
-
dynamicEl:
|
160
|
-
extraProps:
|
161
|
-
exThumbImage:
|
162
|
-
isMobile:
|
101
|
+
mode: 'lg-slide',
|
102
|
+
easing: 'ease',
|
103
|
+
speed: 400,
|
104
|
+
licenseKey: '0000-0000-000-0000',
|
105
|
+
height: '100%',
|
106
|
+
width: '100%',
|
107
|
+
addClass: '',
|
108
|
+
startClass: 'lg-start-zoom',
|
109
|
+
backdropDuration: 300,
|
110
|
+
container: '',
|
111
|
+
startAnimationDuration: 400,
|
112
|
+
zoomFromOrigin: true,
|
113
|
+
hideBarsDelay: 0,
|
114
|
+
showBarsAfter: 10000,
|
115
|
+
slideDelay: 0,
|
116
|
+
supportLegacyBrowser: true,
|
117
|
+
allowMediaOverlap: false,
|
118
|
+
videoMaxSize: '1280-720',
|
119
|
+
loadYouTubePoster: true,
|
120
|
+
defaultCaptionHeight: 0,
|
121
|
+
ariaLabelledby: '',
|
122
|
+
ariaDescribedby: '',
|
123
|
+
resetScrollPosition: true,
|
124
|
+
hideScrollbar: false,
|
125
|
+
closable: true,
|
126
|
+
swipeToClose: true,
|
127
|
+
closeOnTap: true,
|
128
|
+
showCloseIcon: true,
|
129
|
+
showMaximizeIcon: false,
|
130
|
+
loop: true,
|
131
|
+
escKey: true,
|
132
|
+
keyPress: true,
|
133
|
+
trapFocus: true,
|
134
|
+
controls: true,
|
135
|
+
slideEndAnimation: true,
|
136
|
+
hideControlOnEnd: false,
|
137
|
+
mousewheel: false,
|
138
|
+
getCaptionFromTitleOrAlt: true,
|
139
|
+
appendSubHtmlTo: '.lg-sub-html',
|
140
|
+
subHtmlSelectorRelative: false,
|
141
|
+
preload: 2,
|
142
|
+
numberOfSlideItemsInDom: 10,
|
143
|
+
selector: '',
|
144
|
+
selectWithin: '',
|
145
|
+
nextHtml: '',
|
146
|
+
prevHtml: '',
|
147
|
+
index: 0,
|
148
|
+
iframeWidth: '100%',
|
149
|
+
iframeHeight: '100%',
|
150
|
+
iframeMaxWidth: '100%',
|
151
|
+
iframeMaxHeight: '100%',
|
152
|
+
download: true,
|
153
|
+
counter: true,
|
154
|
+
appendCounterTo: '.lg-toolbar',
|
155
|
+
swipeThreshold: 50,
|
156
|
+
enableSwipe: true,
|
157
|
+
enableDrag: true,
|
158
|
+
dynamic: false,
|
159
|
+
dynamicEl: [],
|
160
|
+
extraProps: [],
|
161
|
+
exThumbImage: '',
|
162
|
+
isMobile: undefined,
|
163
163
|
mobileSettings: {
|
164
|
-
|
165
|
-
|
166
|
-
|
164
|
+
controls: false,
|
165
|
+
showCloseIcon: false,
|
166
|
+
download: false,
|
167
167
|
},
|
168
|
-
plugins:
|
168
|
+
plugins: [],
|
169
169
|
strings: {
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
170
|
+
closeGallery: 'Close gallery',
|
171
|
+
toggleMaximize: 'Toggle maximize',
|
172
|
+
previousSlide: 'Previous slide',
|
173
|
+
nextSlide: 'Next slide',
|
174
|
+
download: 'Download',
|
175
|
+
playVideo: 'Play video',
|
176
|
+
mediaLoadingFailed: 'Oops... Failed to load content...',
|
177
177
|
},
|
178
178
|
};
|
179
179
|
|
@@ -466,7 +466,12 @@
|
|
466
466
|
};
|
467
467
|
lgQuery.prototype.prepend = function (html) {
|
468
468
|
this._each(function (el) {
|
469
|
-
|
469
|
+
if (typeof html === 'string') {
|
470
|
+
el.insertAdjacentHTML('afterbegin', html);
|
471
|
+
}
|
472
|
+
else if (html instanceof HTMLElement) {
|
473
|
+
el.insertBefore(html.cloneNode(true), el.firstChild);
|
474
|
+
}
|
470
475
|
});
|
471
476
|
return this;
|
472
477
|
};
|
@@ -590,6 +595,27 @@
|
|
590
595
|
return attr;
|
591
596
|
}
|
592
597
|
var utils = {
|
598
|
+
/**
|
599
|
+
* Fetches HTML content from a given URL and inserts it into a specified element.
|
600
|
+
*
|
601
|
+
* @param url - The URL to fetch the HTML content from.
|
602
|
+
* @param element - The DOM element (jQuery object) to insert the HTML content into.
|
603
|
+
* @param insertMethod - The method to insert the HTML ('append' or 'replace').
|
604
|
+
*/
|
605
|
+
fetchCaptionFromUrl: function (url, element, insertMethod) {
|
606
|
+
// Fetch content from the URL
|
607
|
+
fetch(url)
|
608
|
+
.then(function (response) { return response.text(); })
|
609
|
+
.then(function (htmlContent) {
|
610
|
+
if (insertMethod === 'append') {
|
611
|
+
var contentDiv = "<div class=\"lg-sub-html\">" + htmlContent + "</div>";
|
612
|
+
element.append(contentDiv);
|
613
|
+
}
|
614
|
+
else {
|
615
|
+
element.html(htmlContent);
|
616
|
+
}
|
617
|
+
});
|
618
|
+
},
|
593
619
|
/**
|
594
620
|
* get possible width and height from the lgSize attribute. Used for ZoomFromOrigin option
|
595
621
|
*/
|
@@ -674,7 +700,7 @@
|
|
674
700
|
},
|
675
701
|
getIframeMarkup: function (iframeWidth, iframeHeight, iframeMaxWidth, iframeMaxHeight, src, iframeTitle) {
|
676
702
|
var title = iframeTitle ? 'title="' + iframeTitle + '"' : '';
|
677
|
-
return "<div class=\"lg-
|
703
|
+
return "<div class=\"lg-media-cont lg-has-iframe\" style=\"width:" + iframeWidth + "; max-width:" + iframeMaxWidth + "; height: " + iframeHeight + "; max-height:" + iframeMaxHeight + "\">\n <iframe class=\"lg-object\" frameborder=\"0\" " + title + " src=\"" + src + "\" allowfullscreen=\"true\"></iframe>\n </div>";
|
678
704
|
},
|
679
705
|
getImgMarkup: function (index, src, altAttr, srcset, sizes, sources) {
|
680
706
|
var srcsetAttr = srcset ? "srcset=\"" + srcset + "\"" : '';
|
@@ -743,13 +769,14 @@
|
|
743
769
|
else if (_isVideo && _isVideo.vimeo) {
|
744
770
|
videoClass = 'lg-has-vimeo';
|
745
771
|
}
|
746
|
-
else if (_isVideo && _isVideo.tiktoc) {
|
747
|
-
videoClass = 'lg-has-tiktoc';
|
748
|
-
}
|
749
772
|
else {
|
750
773
|
videoClass = 'lg-has-html5';
|
751
774
|
}
|
752
|
-
|
775
|
+
var _dummy = dummyImg;
|
776
|
+
if (typeof dummyImg !== 'string') {
|
777
|
+
_dummy = dummyImg.outerHTML;
|
778
|
+
}
|
779
|
+
return "<div class=\"lg-video-cont " + videoClass + "\" style=\"" + videoContStyle + "\">\n <div class=\"lg-video-play-button\">\n <svg\n viewBox=\"0 0 20 20\"\n preserveAspectRatio=\"xMidYMid\"\n focusable=\"false\"\n aria-labelledby=\"" + playVideoString + "\"\n role=\"img\"\n class=\"lg-video-play-icon\"\n >\n <title>" + playVideoString + "</title>\n <polygon class=\"lg-video-play-icon-inner\" points=\"1,0 20,10 1,20\"></polygon>\n </svg>\n <svg class=\"lg-video-play-icon-bg\" viewBox=\"0 0 50 50\" focusable=\"false\">\n <circle cx=\"50%\" cy=\"50%\" r=\"20\"></circle></svg>\n <svg class=\"lg-video-play-icon-circle\" viewBox=\"0 0 50 50\" focusable=\"false\">\n <circle cx=\"50%\" cy=\"50%\" r=\"20\"></circle>\n </svg>\n </div>\n " + _dummy + "\n <img class=\"lg-object lg-video-poster\" src=\"" + _poster + "\" />\n </div>";
|
753
780
|
},
|
754
781
|
getFocusableElements: function (container) {
|
755
782
|
var elements = container.querySelectorAll('a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])');
|
@@ -934,7 +961,17 @@
|
|
934
961
|
if (this.settings.dynamic) {
|
935
962
|
this.zoomFromOrigin = false;
|
936
963
|
}
|
937
|
-
if (
|
964
|
+
if (this.settings.container) {
|
965
|
+
var container = this.settings.container;
|
966
|
+
if (typeof container === 'function') {
|
967
|
+
this.settings.container = container();
|
968
|
+
}
|
969
|
+
else if (typeof container === 'string') {
|
970
|
+
var el = document.querySelector(container);
|
971
|
+
this.settings.container = el !== null && el !== void 0 ? el : document.body;
|
972
|
+
}
|
973
|
+
}
|
974
|
+
else {
|
938
975
|
this.settings.container = document.body;
|
939
976
|
}
|
940
977
|
// settings.preload should not be grater than $item.length
|
@@ -1474,7 +1511,7 @@
|
|
1474
1511
|
}
|
1475
1512
|
if (this.settings.appendSubHtmlTo !== '.lg-item') {
|
1476
1513
|
if (subHtmlUrl) {
|
1477
|
-
this.outer.find('.lg-sub-html')
|
1514
|
+
utils.fetchCaptionFromUrl(subHtmlUrl, this.outer.find('.lg-sub-html'), 'replace');
|
1478
1515
|
}
|
1479
1516
|
else {
|
1480
1517
|
this.outer.find('.lg-sub-html').html(subHtml);
|
@@ -1483,7 +1520,7 @@
|
|
1483
1520
|
else {
|
1484
1521
|
var currentSlide = $LG(this.getSlideItemId(index));
|
1485
1522
|
if (subHtmlUrl) {
|
1486
|
-
|
1523
|
+
utils.fetchCaptionFromUrl(subHtmlUrl, currentSlide, 'append');
|
1487
1524
|
}
|
1488
1525
|
else {
|
1489
1526
|
currentSlide.append("<div class=\"lg-sub-html\">" + subHtml + "</div>");
|
@@ -1551,10 +1588,14 @@
|
|
1551
1588
|
if (!_dummyImgSrc)
|
1552
1589
|
return '';
|
1553
1590
|
var imgStyle = this.getDummyImgStyles(this.currentImageSize);
|
1554
|
-
var
|
1591
|
+
var dummyImgContentImg = document.createElement('img');
|
1592
|
+
dummyImgContentImg.alt = alt || '';
|
1593
|
+
dummyImgContentImg.src = _dummyImgSrc;
|
1594
|
+
dummyImgContentImg.className = "lg-dummy-img";
|
1595
|
+
dummyImgContentImg.style.cssText = imgStyle;
|
1555
1596
|
$currentSlide.addClass('lg-first-slide');
|
1556
1597
|
this.outer.addClass('lg-first-slide-loading');
|
1557
|
-
return
|
1598
|
+
return dummyImgContentImg;
|
1558
1599
|
}
|
1559
1600
|
return '';
|
1560
1601
|
};
|
@@ -1571,8 +1612,10 @@
|
|
1571
1612
|
else {
|
1572
1613
|
imgContent = utils.getImgMarkup(index, src, altAttr, srcset, sizes, sources);
|
1573
1614
|
}
|
1574
|
-
var
|
1575
|
-
|
1615
|
+
var picture = document.createElement('picture');
|
1616
|
+
picture.className = 'lg-img-wrap';
|
1617
|
+
$LG(picture).append(imgContent);
|
1618
|
+
$currentSlide.prepend(picture);
|
1576
1619
|
};
|
1577
1620
|
LightGallery.prototype.onSlideObjectLoad = function ($slide, isHTML5VideoWithoutPoster, onLoad, onError) {
|
1578
1621
|
var mediaObject = $slide.find('.lg-object').first();
|
@@ -1641,18 +1684,17 @@
|
|
1641
1684
|
_this.settings.loadYouTubePoster &&
|
1642
1685
|
!element.poster &&
|
1643
1686
|
element.__slideVideoInfo.youtube) {
|
1644
|
-
element.poster = "//img.youtube.com/vi/" + element.__slideVideoInfo.youtube[1] + "/
|
1687
|
+
element.poster = "//img.youtube.com/vi/" + element.__slideVideoInfo.youtube[1] + "/maxresdefault.jpg";
|
1645
1688
|
}
|
1646
1689
|
});
|
1647
1690
|
};
|
1648
|
-
|
1649
1691
|
/**
|
1650
1692
|
* Load slide content into slide.
|
1651
1693
|
* This is used to load content into slides that is not visible too
|
1652
1694
|
* @param {Number} index - index of the slide.
|
1653
1695
|
* @param {Boolean} rec - if true call loadcontent() function again.
|
1654
1696
|
*/
|
1655
|
-
|
1697
|
+
// jadams
|
1656
1698
|
LightGallery.prototype.loadContent = function (index, rec) {
|
1657
1699
|
var _this = this;
|
1658
1700
|
var currentGalleryItem = this.galleryItems[index];
|
@@ -2504,7 +2546,8 @@
|
|
2504
2546
|
LightGallery.prototype.isSlideElement = function (target) {
|
2505
2547
|
return (target.hasClass('lg-outer') ||
|
2506
2548
|
target.hasClass('lg-item') ||
|
2507
|
-
target.hasClass('lg-img-wrap')
|
2549
|
+
target.hasClass('lg-img-wrap') ||
|
2550
|
+
target.hasClass('lg-img-rotate'));
|
2508
2551
|
};
|
2509
2552
|
LightGallery.prototype.isPosterElement = function (target) {
|
2510
2553
|
var playButton = this.getSlideItem(this.index)
|
@@ -2779,4 +2822,4 @@
|
|
2779
2822
|
|
2780
2823
|
return lightGallery;
|
2781
2824
|
|
2782
|
-
})));
|
2825
|
+
})));
|