j1-template 2024.3.19 → 2024.3.20

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.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/assets/data/amplitude_app.html +174 -150
  3. data/assets/data/swiper_app.2.html +757 -0
  4. data/assets/data/swiper_app.4.html +769 -0
  5. data/assets/data/swiper_app.html +171 -27
  6. data/assets/theme/j1/adapter/js/amplitude.js +817 -165
  7. data/assets/theme/j1/adapter/js/swiper.js +63 -15
  8. data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.css +111 -101
  9. data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.min.css +1 -1
  10. data/assets/theme/j1/core/css/themes/unodark/bootstrap.css +111 -101
  11. data/assets/theme/j1/core/css/themes/unodark/bootstrap.min.css +1 -1
  12. data/assets/theme/j1/core/css/themes/unolight/bootstrap.css +111 -101
  13. data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  14. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.css +140 -219
  15. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.min.css +1 -1
  16. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.css +117 -23
  17. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.min.css +1 -1
  18. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.css +323 -493
  19. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.min.css +1 -2
  20. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/mini.css +20 -73
  21. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/mini.min.css +1 -1
  22. data/assets/theme/j1/modules/amplitudejs/js/tech/ytp.js +2062 -843
  23. data/assets/theme/j1/modules/amplitudejs/scss/theme/uno/dark/player/large.scss +439 -264
  24. data/assets/theme/j1/modules/swiperjs/css/modules/layoutBase.css +16 -0
  25. data/assets/theme/j1/modules/swiperjs/css/modules/layoutBase.min.css +16 -0
  26. data/assets/theme/j1/modules/swiperjs/css/modules/layoutExpanding.css +24 -24
  27. data/assets/theme/j1/modules/swiperjs/css/modules/layoutExpanding.min.css +1 -235
  28. data/assets/theme/j1/modules/swiperjs/css/modules/layoutNeighbor.min.css +2 -2
  29. data/assets/theme/j1/modules/swiperjs/css/modules/layoutParallax.css +16 -0
  30. data/assets/theme/j1/modules/swiperjs/css/modules/layoutParallax.min.css +16 -0
  31. data/assets/theme/j1/modules/swiperjs/css/modules/layoutStacked.css +6 -7
  32. data/assets/theme/j1/modules/swiperjs/css/modules/layoutStacked.min.css +1 -82
  33. data/assets/theme/j1/modules/swiperjs/css/modules/layoutThumbs.min.css +2 -29
  34. data/assets/theme/j1/modules/swiperjs/css/theme/uno.css +29 -12
  35. data/assets/theme/j1/modules/swiperjs/css/theme/uno.min.css +1 -1
  36. data/assets/theme/j1/modules/swiperjs/js/modules/layoutBase.js +25 -0
  37. data/assets/theme/j1/modules/swiperjs/js/modules/layoutBase.min.js +25 -0
  38. data/assets/theme/j1/modules/swiperjs/js/modules/layoutExpanding.js +1 -5
  39. data/assets/theme/j1/modules/swiperjs/js/modules/layoutExpanding.min.js +1 -5
  40. data/assets/theme/j1/modules/swiperjs/js/modules/layoutNeighbor.js +12 -14
  41. data/assets/theme/j1/modules/swiperjs/js/modules/layoutNeighbor.min.js +1 -17
  42. data/assets/theme/j1/modules/swiperjs/js/modules/layoutPanorama.js +0 -1
  43. data/assets/theme/j1/modules/swiperjs/js/modules/layoutParallax.js +25 -0
  44. data/assets/theme/j1/modules/swiperjs/js/modules/layoutParallax.min.js +25 -0
  45. data/assets/theme/j1/modules/swiperjs/js/modules/layoutStacked.0.js +114 -0
  46. data/assets/theme/j1/modules/swiperjs/js/modules/layoutStacked.1.js +93 -0
  47. data/assets/theme/j1/modules/swiperjs/js/modules/layoutStacked.js +42 -13
  48. data/assets/theme/j1/modules/swiperjs/js/modules/layoutStacked.min.js +17 -0
  49. data/assets/theme/j1/modules/swiperjs/js/modules/layoutThumbs.js +76 -25
  50. data/assets/theme/j1/modules/swiperjs/js/modules/layoutThumbs.min.js +1 -17
  51. data/assets/theme/j1/modules/swiperjs/js/swiper-bundle.js +9152 -9131
  52. data/assets/theme/j1/modules/swiperjs/js/swiper-bundle.min.js +1 -1
  53. data/lib/j1/version.rb +1 -1
  54. data/lib/starter_web/README.md +5 -5
  55. data/lib/starter_web/_config.yml +1 -1
  56. data/lib/starter_web/_data/modules/amplitude_app.yml +206 -23
  57. data/lib/starter_web/_data/modules/amplitude_playlists.yml +1122 -19
  58. data/lib/starter_web/_data/modules/defaults/{amplitude_app.yml → amplitude.yml} +70 -26
  59. data/lib/starter_web/_data/modules/swiper_app.yml +289 -155
  60. data/lib/starter_web/_data/modules/swiper_playlists.yml +51 -1
  61. data/lib/starter_web/_data/resources.yml +6 -2
  62. data/lib/starter_web/_data/templates/feed.xml +1 -1
  63. data/lib/starter_web/_plugins/filter/filters.rb +1 -11
  64. data/lib/starter_web/_plugins/index/lunr.rb +1 -1
  65. data/lib/starter_web/assets/image/module/swiper/avatar/avatar-1.png +0 -0
  66. data/lib/starter_web/assets/image/module/swiper/avatar/avatar-2.png +0 -0
  67. data/lib/starter_web/assets/image/module/swiper/avatar/avatar-3.png +0 -0
  68. data/lib/starter_web/assets/image/module/swiper/avatar/avatar-4.png +0 -0
  69. data/lib/starter_web/assets/image/module/swiper/avatar/avatar-5.png +0 -0
  70. data/lib/starter_web/package.json +1 -1
  71. data/lib/starter_web/pages/public/tools/previewer/preview_amplitudejs.adoc +82 -34
  72. data/lib/starter_web/pages/public/tools/tester/app_tester_amplitudejs_yt.adoc +62 -15
  73. data/lib/starter_web/pages/public/tools/tester/app_tester_swiperjs.adoc +121 -36
  74. data/lib/starter_web/pages/public/tour/play_audio.adoc +60 -70
  75. data/lib/starter_web/pages/public/tour/play_video.adoc +1 -1
  76. metadata +29 -14
  77. data/assets/theme/j1/modules/swiperjs/js/highlightJS.js +0 -13376
  78. data/assets/theme/j1/modules/swiperjs/js/highlightJS.min.js +0 -1246
  79. data/assets/theme/j1/modules/swiperjs/js/modules/!readme +0 -3
  80. /data/lib/starter_web/assets/image/module/swiper/extended/{poster → stacked}/!info/!readme +0 -0
  81. /data/lib/starter_web/assets/image/module/swiper/extended/{poster → stacked}/image/!readme +0 -0
  82. /data/lib/starter_web/assets/image/module/swiper/extended/{poster → stacked}/image/1.jpg +0 -0
  83. /data/lib/starter_web/assets/image/module/swiper/extended/{poster → stacked}/image/2.jpg +0 -0
  84. /data/lib/starter_web/assets/image/module/swiper/extended/{poster → stacked}/image/3.jpg +0 -0
  85. /data/lib/starter_web/assets/image/module/swiper/extended/{poster → stacked}/image/4.jpg +0 -0
  86. /data/lib/starter_web/assets/image/module/swiper/extended/{poster → stacked}/image/5.jpg +0 -0
  87. /data/lib/starter_web/assets/image/module/swiper/extended/{poster → stacked}/image/6.jpg +0 -0
@@ -75,7 +75,7 @@ all types of websites, such as those viewed on desktop computers, tablets, or
75
75
  smartphones.
76
76
 
77
77
 
78
- [role="mt-5"]
78
+ [role="mt-4"]
79
79
  == What SwiperJS Apps are
80
80
 
81
81
  SwiperJS Apps are preconfigured swipers (sliders) that use the SwiperJS API as
@@ -120,7 +120,7 @@ A more *emphasized* type of a **text**-based swiper is a *parallax* text
120
120
  swiper. If you want to *focus* the meaning, this kind of a swiper may be
121
121
  nteresting. Parallax text sliders can be placed as *banners* on a page.
122
122
 
123
- .Extended Text Swiper · Parallax
123
+ .Extended Text Swiper · Parallax
124
124
  swiper::swiper_text_parallax[role="mt-4 mb-5"]
125
125
 
126
126
 
@@ -145,7 +145,7 @@ below the Swiper App indicate how *many* slides (images) the slide show
145
145
  *contains* for improved usage experience.
146
146
 
147
147
  .Image Swiper · Full-width + Pagination
148
- swiper::swiper_image_base_full_width_pagination[role="mt-4 mb-5"]
148
+ swiper::swiper_image_base_full_width_pagination[role="mt-3"]
149
149
 
150
150
  [role="mt-4"]
151
151
  ==== Equal Image Sizes
@@ -156,9 +156,10 @@ many facts to know animated for the reader's attention within a single
156
156
  line.
157
157
 
158
158
  .Equal Image Sizes · Captions + Navigation + Pagination
159
- swiper::swiper_image_base_navigation_pagination_lightbox[role="mt-4 mb-4"]
159
+ swiper::swiper_image_base_navigation_pagination[role="mt-3"]
160
160
 
161
- [role="mt-5"]
161
+
162
+ [role="mt-4"]
162
163
  ==== Mixed Image Sizes
163
164
 
164
165
  Pictures you've made are typically *not even in size*. Images may have the
@@ -166,7 +167,7 @@ same size (resolution), but some are orientated *landscape*, or others may
166
167
  be *portrait*. For that reason, a more powerful swiper is needed to create
167
168
  so-called justified slides.
168
169
 
169
- .Mixed Image Sizes · Captions + Lightbos
170
+ .Mixed Image Sizes · Captions + Lightbox
170
171
  swiper::swiper_image_base_captions[role="mt-4 mb-4"]
171
172
 
172
173
 
@@ -222,7 +223,7 @@ presented *images*.
222
223
  ++++
223
224
  <div class="swiper-title"> <i class="mdib mdib-view-carousel mdib-24px mr-2"></i> Extendend Swiper · Layout Thumb Right + Captions </div>
224
225
  <div class="container g-0 mb-5">
225
- <div class="row gx-1">
226
+ <div id="thumb_view_row" class="row gx-1">
226
227
 
227
228
  <!-- Thumb View (main) -->
228
229
  <div class="col-md-9">
@@ -255,7 +256,11 @@ presented *images*.
255
256
  <div class="swp-caption-content">Little Bird</div>
256
257
  </li>
257
258
  </ul> <!-- END Swiper wrapper -->
258
- </div> <!-- END Swiper container -->
259
+
260
+ <!-- Outer Pagination -->
261
+ <div id="thumb_view_row_pagination" class="swiper-pagination-outer"></div>
262
+
263
+ </div> <!-- END Swiper container -->
259
264
  </div> <!-- END Thumb View (main) -->
260
265
 
261
266
  <!-- Thumb View (thumbs/right) -->
@@ -293,6 +298,10 @@ presented *images*.
293
298
  </div> <!-- END Thumb View (thumbs/right) -->
294
299
 
295
300
  </div> <!-- END BS row -->
301
+
302
+ <!-- Outer Pagination -->
303
+ <!--div class="swiper-pagination-outer"></div -->
304
+
296
305
  </div> <!-- END BS container -->
297
306
 
298
307
  <script>
@@ -318,10 +327,14 @@ $(function() {
318
327
  }
319
328
  });
320
329
 
321
- // Initialize Master instance (right)
330
+ // Initialize Master instance
322
331
  var masterSwiper2 = new Swiper('#master_slider_2', {
323
332
  direction: 'horizontal',
324
333
  grabCursor: true,
334
+ pagination: {
335
+ el: '.swiper-pagination-outer',
336
+ clickable: true,
337
+ },
325
338
  effect: 'fade',
326
339
  fadeEffect: {
327
340
  crossFade: true
@@ -339,6 +352,22 @@ $(function() {
339
352
  }
340
353
  });
341
354
 
355
+ // workaround for swiper pagination placed 'outer'
356
+ // ---------------------------------------------------------------
357
+ {% assign init_swiper_delay = 500 %}
358
+ {% assign pagination_enabled = true %}
359
+
360
+ {% if pagination_enabled %}
361
+ setTimeout(() => {
362
+ const sourceEl = document.getElementById('thumb_view_row_pagination');
363
+ const targetEl = document.getElementById('thumb_view_row');
364
+ targetEl.appendChild(sourceEl);
365
+
366
+ // logger.debug('\n' + 'pagination elements (outer) moved');
367
+ }, {{init_swiper_delay}});
368
+ {% endif %}
369
+ // ---------------------------------------------------------------
370
+
342
371
  clearInterval(dependencies_met_page_ready);
343
372
  } // END pageVisible
344
373
  }, 10); // END dependencies_met_page_ready
@@ -476,43 +505,49 @@ $(function() {
476
505
 
477
506
  lorem:sentences[5]
478
507
 
508
+ .Extendend Swiper · Layout Stacked
509
+ swiper::swiper_image_stacked[role="mt-4 mb-5"]
510
+
511
+ ////
479
512
  ++++
480
- <div class="carousel-title"> <i class="mdib mdib-view-carousel mdib-24px mr-2"></i> Extendend Swiper · Layout Stacked</div>
481
- <!-- Posters slider -->
513
+ <div class="carousel-title"> <i class="mdib mdib-view-carousel mdib-24px mr-2"></i> Extendend Swiper · Layout Stacked (manual)</div>
514
+ <!-- Stacked slider -->
482
515
  <div id="stacked_slider" class="stacked-slider mt-3">
483
- <div class="swiper swiper-container">
516
+ <div id="stacked_slider_swiper_container" class="swiper swiper-container">
484
517
 
485
518
  <ul class="swiper-wrapper">
486
519
  <li class="swiper-slide">
487
520
  <!-- set image parallax scale for nice zoom effect -->
488
- <img data-swiper-parallax-scale="1.1" src="/assets/image/module/swiper/extended/poster/image/1.jpg" alt="">
521
+ <img data-swiper-parallax-scale="1.1" src="/assets/image/module/swiper/extended/stacked/image/1.jpg" alt="">
489
522
  </li>
490
523
  <li class="swiper-slide">
491
- <img data-swiper-parallax-scale="1.1" src="/assets/image/module/swiper/extended/poster/image/2.jpg" alt="">
524
+ <img data-swiper-parallax-scale="1.1" src="/assets/image/module/swiper/extended/stacked/image/2.jpg" alt="">
492
525
  </li>
493
526
  <li class="swiper-slide">
494
- <img data-swiper-parallax-scale="1.1" src="/assets/image/module/swiper/extended/poster/image/3.jpg" alt="">
527
+ <img data-swiper-parallax-scale="1.1" src="/assets/image/module/swiper/extended/stacked/image/3.jpg" alt="">
495
528
  </li>
496
529
  <li class="swiper-slide">
497
- <img data-swiper-parallax-scale="1.1" src="/assets/image/module/swiper/extended/poster/image/4.jpg" alt="">
530
+ <img data-swiper-parallax-scale="1.1" src="/assets/image/module/swiper/extended/stacked/image/4.jpg" alt="">
498
531
  </li>
499
532
  <li class="swiper-slide">
500
- <img data-swiper-parallax-scale="1.1" src="/assets/image/module/swiper/extended/poster/image/5.jpg" alt="">
533
+ <img data-swiper-parallax-scale="1.1" src="/assets/image/module/swiper/extended/stacked/image/5.jpg" alt="">
501
534
  </li>
502
535
  <li class="swiper-slide">
503
- <img data-swiper-parallax-scale="1.1" src="/assets/image/module/swiper/extended/poster/image/6.jpg" alt="">
536
+ <img data-swiper-parallax-scale="1.1" src="/assets/image/module/swiper/extended/stacked/image/6.jpg" alt="">
504
537
  </li>
505
- </ul>
538
+ </ul> <!-- END Swiper Wrapper (slides) -->
506
539
 
507
- </div>
508
- </div>
509
- ++++
540
+ <!-- Pagination -->
541
+ <!-- div id="stacked_slider_pagination" class="swiper-pagination-outer"></div -->
542
+ <div id="stacked_slider_pagination" class="swiper-pagination-inner"></div>
543
+
544
+ </div> <!-- END Swiper Container (elements) -->
545
+ </div> <!-- END Swiper stacked_slider -->
510
546
 
511
- ++++
512
547
  <script>
513
548
  $(function() {
514
549
 
515
- function createPostersSlider(el) {
550
+ function LayoutStacked(el) {
516
551
  const swiperEl = el.querySelector('.swiper');
517
552
 
518
553
  const calcNextOffset = () => {
@@ -524,12 +559,25 @@ $(function() {
524
559
  return `${nextOffsetVh}%`;
525
560
  };
526
561
 
527
- const postersSwiper = new Swiper(swiperEl, {
562
+ const onLastSlide = (swiper) => {
563
+ console.log ('\n' + 'LayoutStacked, Entered event: reachEnd');
564
+ // swiper.allowTouchMove = false;
565
+ // swiper.allowSlidePrev = false;
566
+ // swiper.allowSlideNext = false;
567
+ };
568
+
569
+ const stackedSwiper = new Swiper(swiperEl, {
528
570
  effect: 'creative',
529
571
  speed: 600,
530
572
  resistanceRatio: 0,
531
573
  grabCursor: true,
532
574
  parallax: true,
575
+ pagination: {
576
+ //el: '.swiper-pagination-outer',
577
+ el: '.swiper-pagination-inner',
578
+ type: 'bullets',
579
+ clickable: true
580
+ },
533
581
  creativeEffect: {
534
582
  limitProgress: 3,
535
583
  perspective: true,
@@ -543,26 +591,52 @@ $(function() {
543
591
  },
544
592
  },
545
593
  on: {
546
- init: (swiper) => { var slideHeight = 600; swiper.slides.forEach(slide => { slide.style.height = `${slideHeight}px`; }); }
594
+ init: (swiper) => {
595
+ var slideHeight = 900;
596
+ swiper.slides.forEach(slide => {
597
+ slide.style.height = `${slideHeight}px`;
598
+ });
599
+ },
600
+ // reachEnd: (swiper) => {
601
+ // onLastSlide(swiper);
602
+ // }
547
603
  }
548
604
  });
549
605
 
550
606
  const onResize = () => {
551
- if (!postersSwiper || postersSwiper.destroyed) return;
607
+ if (!stackedSwiper || stackedSwiper.destroyed) return;
552
608
  // prettier-ignore
553
- postersSwiper.params.creativeEffect.next.translate = [calcNextOffset(), 0, 0];
609
+ stackedSwiper.params.creativeEffect.next.translate = [calcNextOffset(), 0, 0];
554
610
  if (
555
- postersSwiper.params.resizeObserver &&
611
+ stackedSwiper.params.resizeObserver &&
556
612
  typeof window.ResizeObserver !== 'undefined'
557
613
  ) {
558
- postersSwiper.update();
614
+ stackedSwiper.update();
559
615
  }
560
616
  };
561
617
  window.addEventListener('resize', onResize);
562
618
 
563
- return postersSwiper;
564
619
 
565
- } // END createPostersSlider
620
+ // workaround for swiper pagination placed 'outer'
621
+ // -------------------------------------------------------------------------
622
+ {% assign init_swiper_delay = 500 %}
623
+ {% assign pagination_el = swiper.module_settings.pagination.el | split: '-' %}
624
+ {% assign pagination_position = pagination_el[2] %}
625
+
626
+ setTimeout(() => {
627
+ // const sourceEl = document.getElementById('{{swiper.id}}_pagination');
628
+ // const targetEl = document.getElementById('{{swiper.id}}');
629
+ const sourceEl = document.getElementById('stacked_slider_pagination');
630
+ const targetEl = document.getElementById('stacked_slider_swiper_container');
631
+ // targetEl.appendChild(sourceEl);
632
+
633
+ // logger.debug('\n' + 'pagination elements (outer) moved');
634
+ }, {{init_swiper_delay}});
635
+ // -------------------------------------------------------------------------
636
+
637
+ return stackedSwiper;
638
+
639
+ } // END LayoutStacked
566
640
 
567
641
  // ---------------------------------------------------------------------------
568
642
  // Swiper initializer
@@ -573,7 +647,7 @@ $(function() {
573
647
  if (atticFinished) {
574
648
  const sliderEl = document.querySelector('#stacked_slider');
575
649
 
576
- createPostersSlider(sliderEl);
650
+ LayoutStacked(sliderEl);
577
651
 
578
652
  clearInterval(dependencies_met_page_ready);
579
653
  } // END pageVisible
@@ -583,7 +657,7 @@ $(function() {
583
657
  }); // END Document READY
584
658
  </script>
585
659
  ++++
586
-
660
+ ////
587
661
 
588
662
  [role="mt-5"]
589
663
  ==== Layout Expanding
@@ -595,7 +669,7 @@ lorem:sentences[3]
595
669
  <div id="app" class="extended-app">
596
670
  <!-- Style expanding-slide should wrap the swiper for Effect: Expanding -->
597
671
  <div id="expanding_slides" class="expanding-slide mt-4">
598
- <div class="swiper swiper-container">
672
+ <div id="expanding_slides_swiper_container" class="swiper swiper-container">
599
673
 
600
674
  <ul class="swiper-wrapper">
601
675
  <!-- First slide -->
@@ -702,6 +776,12 @@ lorem:sentences[3]
702
776
  </li>
703
777
  </ul> <!-- END Swiper wrapper -->
704
778
 
779
+ <!-- Inner Pagination -->
780
+ <!-- div class="swiper-pagination-inner"></div -->
781
+
782
+ <!-- Outer pagination, NOT moved by SwiperJS Adapter (workaround) -->
783
+ <div class="swiper-pagination-outer"></div>
784
+
705
785
  </div> <!-- END Swiper container -->
706
786
  </div> <!-- END expanding_slides -->
707
787
  </div> <!-- END app -->
@@ -771,7 +851,12 @@ $(function() {
771
851
 
772
852
  const swiper = new Swiper(swiperEl, {
773
853
  speed: 600,
774
- // resistanceRatio: 0,
854
+ pagination: {
855
+ el: '.swiper-pagination-outer',
856
+ type: 'bullets',
857
+ clickable: true
858
+ },
859
+ resistanceRatio: 0,
775
860
  // slidesPerView: 'auto',
776
861
  // centeredSlides: true,
777
862
  on: {
@@ -4,7 +4,7 @@ title_extention: Playback Audio using J1 Template
4
4
  tagline: Playback Audio
5
5
 
6
6
  date: 2024-04-16
7
- #last_modified: 2024-01-01
7
+ last_modified: 2025-05-17
8
8
 
9
9
  description: >
10
10
  J1 Template provides playing audio on web pages
@@ -91,33 +91,6 @@ the visual and functional aspects of a player's audio control elements.
91
91
  // Include sub-documents (if any)
92
92
  // -----------------------------------------------------------------------------
93
93
 
94
- // [role="mt-5"]
95
- // == AmplitudeJS Video (Youtube)
96
-
97
- // The example below demonstrates playing only the *Audio* track from YouTube
98
- // Video using an AmplitudJS player. The J1 template uses the video *plugin* ytp
99
- // to extend the native functionality of the AmplitudeJS API to playback YouTube
100
- // files for the audio part.
101
-
102
- // [role="mt-4 mb-5"]
103
- // [CAUTION]
104
- // ====
105
- // Playing audio tracks is currently supported only for videos from YouTube (YT).
106
- // The YT plugin *ytp* embeds a YouTube (iframe) player and mimics the AmplitudeJS
107
- // player buttons and controls to manage a *playlist* of videos the same as known
108
- // for native audio files.
109
- // ====
110
-
111
- // .Manon Mélodie · TuneCore 2024
112
- // amplitude::manon_melodie_yt_large[role="mt-4 mb-4"]
113
-
114
- // [NOTE]
115
- // ====
116
- // AmplitudeJS YT Player can only be used with the J1 Template. Currently, only
117
- // AJS players of type *large * are supported.
118
- // ====
119
-
120
-
121
94
  [role="mt-5"]
122
95
  == HTML 5 Audio
123
96
 
@@ -130,17 +103,17 @@ audio::/assets/audio/sound-effects/ambient-piano.mp3[role="mt-4 mb-5"]
130
103
 
131
104
 
132
105
  [role="mt-5"]
133
- == AmplitudeJS (AJS) Audio
106
+ == AmplitudeJS
134
107
 
135
- The J1 Template implements custom players based on the (default) theme Uno.
136
- The color scheme used matches the look and feel of the template to preserve
137
- the page design.
108
+ The J1 Template suports *native audio* files (e.g. mp3) using *custom players*
109
+ based on *AmplitudeJS* using the the (default) theme Uno. The color scheme
110
+ used matches the look and feel of the template to preserve the page design.
138
111
 
139
112
  Three types of AmplitudeJS players are build-in for the J1 template system:
140
113
 
141
- * Mini Player
142
- * Compact Player (default payer)
143
- * Large Player
114
+ * *Mini* Players
115
+ * *Compact* Players (default payer)
116
+ * *Large* Players
144
117
 
145
118
  [role="mt-4"]
146
119
  [NOTE]
@@ -152,7 +125,7 @@ mobile devices.
152
125
 
153
126
 
154
127
  [role="mt-5"]
155
- === Mini Player
128
+ === Mini Players
156
129
 
157
130
  In the context of complex components on a web page, like an audio player,
158
131
  a mini player refers to a minimized version of full players. It typically
@@ -165,16 +138,14 @@ are commonly found on music streaming services, podcast platforms, and
165
138
  websites with embedded audio content.
166
139
 
167
140
  .Emancipator · From Dusk To Dawn
168
- amplitude::free_emancipator_mini[role="mt-3 mb-5"]
141
+ amplitude::emancipator_mini[role="mb-5"]
169
142
 
170
143
  .Royalty Free Music · Disco 80th
171
- amplitude::free_disco_mini[role="mt-3 mb-5"]
172
-
173
- lorem:sentences[5]
144
+ amplitude::disco_mini[role="mb-5"]
174
145
 
175
146
 
176
147
  [role="mt-5"]
177
- === Compact Player
148
+ === Compact Players
178
149
 
179
150
  The design of a *Compact player* is an efficient approach that involves
180
151
  condensing the player controls and display elements into a smaller area.
@@ -186,61 +157,80 @@ can easily access and control the audio playback without sacrificing too much
186
157
  screen space or placing multiple players side-by-side.
187
158
 
188
159
  .Emancipator · From Dusk To Dawn
189
- amplitude::free_emancipator_compact[role="mt-3 mb-5"]
160
+ amplitude::emancipator_compact[role="mb-5"]
190
161
 
191
162
  .Royalty Free Music · Disco 80th
192
- amplitude::free_disco_compact[role="mt-3 mb-5"]
163
+ amplitude::disco_compact[role="mb-5"]
193
164
 
194
165
 
195
166
  [role="mt-5"]
196
- === Large Player
167
+ === Large Players
197
168
 
198
169
  A complex component, like an audio player on a web page, typically refers
199
170
  to a design or layout that minimizes the component's space while maintaining
200
171
  its functionality and usability.
201
172
 
173
+ [role="mt-4"]
174
+ ==== Emancipator
175
+
202
176
  The large design provides the full functionality of an audio player to ensure
203
177
  users can easily control audio playback. The player behaves similarly to a
204
178
  compact player, but all controls are displayed in a single window; there is
205
179
  no need to open other widgets.
206
180
 
207
181
  .Emancipator · From Dusk To Dawn
208
- amplitude::free_emancipator_large[role="mt-4 mb-5"]
182
+ amplitude::emancipator_large[role="mb-5"]
183
+
184
+ [role="mt-4"]
185
+ ==== Disco 80th
186
+
187
+ lorem:sentences[3]
209
188
 
210
189
  .Royalty Free Music · Disco 80th
211
- amplitude::free_disco_large[role="mt-4 mb-5"]
190
+ amplitude::disco_large[role="mb-5"]
212
191
 
213
- // lorem:sentences[5]
214
192
 
215
- // .Spontanorama 2024 (large)
216
- // amplitude::spontanorama_2024_large[role="mt-4 mb-5"]
217
193
 
194
+ [role="mt-5"]
195
+ == AmplitudeJS on Youtube
196
+
197
+ The example demonstrates playing *Audio* track from *YouTube Video* using an
198
+ AmplitudJS player. The J1 template uses the video *plugin ytp* to extend the
199
+ native functionality of the AmplitudeJS API to playback YouTube files only for
200
+ the audio part.
201
+
202
+ [role="mt-4 mb-5"]
203
+ [CAUTION]
204
+ ====
205
+ Playing audio tracks is currently supported only for videos from YouTube (YT).
206
+ The YT plugin *ytp* embeds a YouTube (iframe) player and mimics the AmplitudeJS
207
+ player buttons and controls to manage a *playlist* of videos the same as known
208
+ for native audio files.
209
+ ====
210
+
211
+ .Manon Mélodie · YouTube 2025
212
+ amplitude::manon_melodie_yt_large[role="mb-5"]
218
213
 
219
- // [role="mt-5"]
220
- // == AmplitudeJS Video (Youtube)
214
+ [role="mt-4 mb-5"]
215
+ [NOTE]
216
+ ====
217
+ AmplitudeJS YT Player can only be used with the J1 Template. Currently, only
218
+ AJS players of type *large* are supported.
219
+ ====
221
220
 
222
- // The example below demonstrates playing only the *Audio* track from YouTube
223
- // Video using an AmplitudJS player. The J1 template uses the video *plugin* ytp
224
- // to extend the native functionality of the AmplitudeJS API to playback YouTube
225
- // files for the audio part.
226
221
 
227
- // [role="mt-4 mb-5"]
228
- // [CAUTION]
229
- // ====
230
- // Playing audio tracks is currently supported only for videos from YouTube (YT).
231
- // The YT plugin *ytp* embeds a YouTube (iframe) player and mimics the AmplitudeJS
232
- // player buttons and controls to manage a *playlist* of videos the same as known
233
- // for native audio files.
234
- // ====
222
+ // [role="mt-4"]
223
+ // === Ephraim Kishon
224
+
225
+ // lorem:sentences[5]
226
+
227
+ // [role="mt-4"]
228
+ // ==== Beste Familiengeschichten
235
229
 
236
- // .Manon Mélodie · TuneCore 2024
237
- // amplitude::manon_melodie_yt_large[role="mt-4 mb-4"]
230
+ // lorem:sentences[3]
238
231
 
239
- // [NOTE]
240
- // ====
241
- // AmplitudeJS YT Player can only be used with the J1 Template. Currently, only
242
- // AJS players of type *large * are supported.
243
- // ====
232
+ // .Ephraim Kishon · Beste Familiengeschichten
233
+ // amplitude::ephraim_kishon_beste_familiengeschichten_yt_large[role="mb-5"]
244
234
 
245
235
 
246
236
  [role="mt-5"]
@@ -31,7 +31,7 @@ regenerate: false
31
31
  permalink: /pages/public/tour/present_video/
32
32
 
33
33
  resources: [
34
- amplitudejs,
34
+ # amplitudejs,
35
35
  gallery, lightgallery, masonry,
36
36
  videojs, vimeo-player
37
37
  ]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: j1-template
3
3
  version: !ruby/object:Gem::Version
4
- version: 2024.3.19
4
+ version: 2024.3.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - juergen_jekyll_one
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-03-04 00:00:00.000000000 Z
11
+ date: 2025-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -340,6 +340,8 @@ files:
340
340
  - assets/data/rtext_resizer.html
341
341
  - assets/data/slick.html
342
342
  - assets/data/speak2me.html
343
+ - assets/data/swiper_app.2.html
344
+ - assets/data/swiper_app.4.html
343
345
  - assets/data/swiper_app.html
344
346
  - assets/data/swiper_app.json
345
347
  - assets/data/themes.bootswatch.json
@@ -1698,12 +1700,16 @@ files:
1698
1700
  - assets/theme/j1/modules/spinner/js/spin.min.js
1699
1701
  - assets/theme/j1/modules/swiperjs/LICENSE
1700
1702
  - assets/theme/j1/modules/swiperjs/README.md
1703
+ - assets/theme/j1/modules/swiperjs/css/modules/layoutBase.css
1704
+ - assets/theme/j1/modules/swiperjs/css/modules/layoutBase.min.css
1701
1705
  - assets/theme/j1/modules/swiperjs/css/modules/layoutExpanding.css
1702
1706
  - assets/theme/j1/modules/swiperjs/css/modules/layoutExpanding.min.css
1703
1707
  - assets/theme/j1/modules/swiperjs/css/modules/layoutNeighbor.css
1704
1708
  - assets/theme/j1/modules/swiperjs/css/modules/layoutNeighbor.min.css
1705
1709
  - assets/theme/j1/modules/swiperjs/css/modules/layoutPanorama.css
1706
1710
  - assets/theme/j1/modules/swiperjs/css/modules/layoutPanorama.min.css
1711
+ - assets/theme/j1/modules/swiperjs/css/modules/layoutParallax.css
1712
+ - assets/theme/j1/modules/swiperjs/css/modules/layoutParallax.min.css
1707
1713
  - assets/theme/j1/modules/swiperjs/css/modules/layoutStacked.css
1708
1714
  - assets/theme/j1/modules/swiperjs/css/modules/layoutStacked.min.css
1709
1715
  - assets/theme/j1/modules/swiperjs/css/modules/layoutThumbs.css
@@ -1712,16 +1718,20 @@ files:
1712
1718
  - assets/theme/j1/modules/swiperjs/css/swiper-bundle.min..css
1713
1719
  - assets/theme/j1/modules/swiperjs/css/theme/uno.css
1714
1720
  - assets/theme/j1/modules/swiperjs/css/theme/uno.min.css
1715
- - assets/theme/j1/modules/swiperjs/js/highlightJS.js
1716
- - assets/theme/j1/modules/swiperjs/js/highlightJS.min.js
1717
- - assets/theme/j1/modules/swiperjs/js/modules/!readme
1721
+ - assets/theme/j1/modules/swiperjs/js/modules/layoutBase.js
1722
+ - assets/theme/j1/modules/swiperjs/js/modules/layoutBase.min.js
1718
1723
  - assets/theme/j1/modules/swiperjs/js/modules/layoutExpanding.js
1719
1724
  - assets/theme/j1/modules/swiperjs/js/modules/layoutExpanding.min.js
1720
1725
  - assets/theme/j1/modules/swiperjs/js/modules/layoutNeighbor.js
1721
1726
  - assets/theme/j1/modules/swiperjs/js/modules/layoutNeighbor.min.js
1722
1727
  - assets/theme/j1/modules/swiperjs/js/modules/layoutPanorama.js
1723
1728
  - assets/theme/j1/modules/swiperjs/js/modules/layoutPanorama.min.js
1729
+ - assets/theme/j1/modules/swiperjs/js/modules/layoutParallax.js
1730
+ - assets/theme/j1/modules/swiperjs/js/modules/layoutParallax.min.js
1731
+ - assets/theme/j1/modules/swiperjs/js/modules/layoutStacked.0.js
1732
+ - assets/theme/j1/modules/swiperjs/js/modules/layoutStacked.1.js
1724
1733
  - assets/theme/j1/modules/swiperjs/js/modules/layoutStacked.js
1734
+ - assets/theme/j1/modules/swiperjs/js/modules/layoutStacked.min.js
1725
1735
  - assets/theme/j1/modules/swiperjs/js/modules/layoutThumbs.js
1726
1736
  - assets/theme/j1/modules/swiperjs/js/modules/layoutThumbs.min.js
1727
1737
  - assets/theme/j1/modules/swiperjs/js/swiper-bundle.js
@@ -2003,7 +2013,7 @@ files:
2003
2013
  - lib/starter_web/_data/modules/cookieconsent.yml
2004
2014
  - lib/starter_web/_data/modules/cookies.yml
2005
2015
  - lib/starter_web/_data/modules/defaults/advertising.yml
2006
- - lib/starter_web/_data/modules/defaults/amplitude_app.yml
2016
+ - lib/starter_web/_data/modules/defaults/amplitude.yml
2007
2017
  - lib/starter_web/_data/modules/defaults/analytics.yml
2008
2018
  - lib/starter_web/_data/modules/defaults/attics.yml
2009
2019
  - lib/starter_web/_data/modules/defaults/authentication.yml
@@ -2572,6 +2582,11 @@ files:
2572
2582
  - lib/starter_web/assets/image/module/masterslider/wp-examples/ms-free-business-3.jpg
2573
2583
  - lib/starter_web/assets/image/module/swiper/audio/!info/!readme
2574
2584
  - lib/starter_web/assets/image/module/swiper/audio/!readme
2585
+ - lib/starter_web/assets/image/module/swiper/avatar/avatar-1.png
2586
+ - lib/starter_web/assets/image/module/swiper/avatar/avatar-2.png
2587
+ - lib/starter_web/assets/image/module/swiper/avatar/avatar-3.png
2588
+ - lib/starter_web/assets/image/module/swiper/avatar/avatar-4.png
2589
+ - lib/starter_web/assets/image/module/swiper/avatar/avatar-5.png
2575
2590
  - lib/starter_web/assets/image/module/swiper/extended/expanding/!info/!readme
2576
2591
  - lib/starter_web/assets/image/module/swiper/extended/expanding/image/avatar/avatar-1.jpg
2577
2592
  - lib/starter_web/assets/image/module/swiper/extended/expanding/image/avatar/avatar-2.jpg
@@ -2609,14 +2624,14 @@ files:
2609
2624
  - lib/starter_web/assets/image/module/swiper/extended/panorama/image/7.jpg
2610
2625
  - lib/starter_web/assets/image/module/swiper/extended/panorama/image/8.jpg
2611
2626
  - lib/starter_web/assets/image/module/swiper/extended/panorama/image/9.jpg
2612
- - lib/starter_web/assets/image/module/swiper/extended/poster/!info/!readme
2613
- - lib/starter_web/assets/image/module/swiper/extended/poster/image/!readme
2614
- - lib/starter_web/assets/image/module/swiper/extended/poster/image/1.jpg
2615
- - lib/starter_web/assets/image/module/swiper/extended/poster/image/2.jpg
2616
- - lib/starter_web/assets/image/module/swiper/extended/poster/image/3.jpg
2617
- - lib/starter_web/assets/image/module/swiper/extended/poster/image/4.jpg
2618
- - lib/starter_web/assets/image/module/swiper/extended/poster/image/5.jpg
2619
- - lib/starter_web/assets/image/module/swiper/extended/poster/image/6.jpg
2627
+ - lib/starter_web/assets/image/module/swiper/extended/stacked/!info/!readme
2628
+ - lib/starter_web/assets/image/module/swiper/extended/stacked/image/!readme
2629
+ - lib/starter_web/assets/image/module/swiper/extended/stacked/image/1.jpg
2630
+ - lib/starter_web/assets/image/module/swiper/extended/stacked/image/2.jpg
2631
+ - lib/starter_web/assets/image/module/swiper/extended/stacked/image/3.jpg
2632
+ - lib/starter_web/assets/image/module/swiper/extended/stacked/image/4.jpg
2633
+ - lib/starter_web/assets/image/module/swiper/extended/stacked/image/5.jpg
2634
+ - lib/starter_web/assets/image/module/swiper/extended/stacked/image/6.jpg
2620
2635
  - lib/starter_web/assets/image/module/swiper/simple/free_animal/!info/!readme
2621
2636
  - lib/starter_web/assets/image/module/swiper/simple/free_animal/image/free-animal-1.jpg
2622
2637
  - lib/starter_web/assets/image/module/swiper/simple/free_animal/image/free-animal-2.jpg