j1-template 2024.3.13 → 2024.3.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (215) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +1 -1
  3. data/_includes/themes/j1/layouts/layout_resource_generator.html +1 -4
  4. data/_includes/themes/j1/procedures/blocks/footer/boxes/social_media_icons.proc +24 -23
  5. data/_includes/themes/j1/procedures/layouts/content_writer.proc +4 -3
  6. data/_includes/themes/j1/procedures/layouts/default_writer.proc +37 -6
  7. data/_includes/themes/j1/procedures/layouts/module_writer.proc +31 -95
  8. data/_includes/themes/j1/procedures/layouts/resource_writer.proc +51 -29
  9. data/assets/data/amplitude.html +403 -85
  10. data/assets/data/banner.html +9 -7
  11. data/assets/data/cookieconsent.html +8 -8
  12. data/assets/data/masterslider.html +128 -7
  13. data/assets/data/panel.html +16 -65
  14. data/assets/data/speak2me.html +11 -11
  15. data/assets/data/translator.html +29 -29
  16. data/assets/theme/j1/adapter/js/amplitude.js +310 -128
  17. data/assets/theme/j1/adapter/js/attic.js +14 -11
  18. data/assets/theme/j1/adapter/js/docsearch.js +2 -2
  19. data/assets/theme/j1/adapter/js/fab.js +2 -2
  20. data/assets/theme/j1/adapter/js/j1.js +12 -12
  21. data/assets/theme/j1/adapter/js/lazyLoader.js +60 -10
  22. data/assets/theme/j1/adapter/js/masonry.js +1 -1
  23. data/assets/theme/j1/adapter/js/masterslider.js +2 -2
  24. data/assets/theme/j1/adapter/js/particles.js +2 -2
  25. data/assets/theme/j1/adapter/js/scroller.js +2 -2
  26. data/assets/theme/j1/adapter/js/slick.js +2 -2
  27. data/assets/theme/j1/adapter/js/themes.js +43 -5
  28. data/assets/theme/j1/adapter/js/translator.js +2 -2
  29. data/assets/theme/j1/adapter/js/waves.js +1 -1
  30. data/assets/theme/j1/core/css/animate.css +1634 -1070
  31. data/assets/theme/j1/core/css/animate.css.map +1 -0
  32. data/assets/theme/j1/core/css/animate.min.css +2 -1
  33. data/assets/theme/j1/core/css/animate.min.css.map +1 -0
  34. data/assets/theme/j1/core/css/icon-fonts/fontawesome.css +3060 -1538
  35. data/assets/theme/j1/core/css/icon-fonts/fontawesome.css.map +1 -0
  36. data/assets/theme/j1/core/css/icon-fonts/fontawesome.min.css +2 -1
  37. data/assets/theme/j1/core/css/icon-fonts/fontawesome.min.css.map +1 -0
  38. data/assets/theme/j1/core/css/icon-fonts/iconify.css +2308 -1153
  39. data/assets/theme/j1/core/css/icon-fonts/iconify.css.map +1 -0
  40. data/assets/theme/j1/core/css/icon-fonts/iconify.min.css +2 -1
  41. data/assets/theme/j1/core/css/icon-fonts/iconify.min.css.map +1 -0
  42. data/assets/theme/j1/core/css/icon-fonts/mdi.css +16716 -8423
  43. data/assets/theme/j1/core/css/icon-fonts/mdi.css.map +1 -0
  44. data/assets/theme/j1/core/css/icon-fonts/mdi.min.css +2 -1
  45. data/assets/theme/j1/core/css/icon-fonts/mdi.min.css.map +1 -0
  46. data/assets/theme/j1/core/css/icon-fonts/mdib.css +5576 -2768
  47. data/assets/theme/j1/core/css/icon-fonts/mdib.css.map +1 -0
  48. data/assets/theme/j1/core/css/icon-fonts/mdib.min.css +2 -1
  49. data/assets/theme/j1/core/css/icon-fonts/mdib.min.css.map +1 -0
  50. data/assets/theme/j1/core/css/icon-fonts/mdil.css +742 -441
  51. data/assets/theme/j1/core/css/icon-fonts/mdil.css.map +1 -0
  52. data/assets/theme/j1/core/css/icon-fonts/mdil.min.css +2 -1
  53. data/assets/theme/j1/core/css/icon-fonts/mdil.min.css.map +1 -0
  54. data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.css +6552 -3980
  55. data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.css.map +1 -0
  56. data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.min.css +2 -5
  57. data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.min.css.map +1 -0
  58. data/assets/theme/j1/core/css/themes/unodark/bootstrap.css +6818 -4131
  59. data/assets/theme/j1/core/css/themes/unodark/bootstrap.css.map +1 -0
  60. data/assets/theme/j1/core/css/themes/unodark/bootstrap.min.css +2 -5
  61. data/assets/theme/j1/core/css/themes/unodark/bootstrap.min.css.map +1 -0
  62. data/assets/theme/j1/core/css/themes/unolight/bootstrap.css +18568 -11577
  63. data/assets/theme/j1/core/css/themes/unolight/bootstrap.css.map +1 -0
  64. data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css +2 -35
  65. data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css.map +1 -0
  66. data/assets/theme/j1/core/css/vendor.css +1771 -1043
  67. data/assets/theme/j1/core/css/vendor.css.map +1 -0
  68. data/assets/theme/j1/core/css/vendor.min.css +2 -1
  69. data/assets/theme/j1/core/css/vendor.min.css.map +1 -0
  70. data/assets/theme/j1/core/js/template.js +132 -197
  71. data/assets/theme/j1/core/js/template.min.js +7 -7
  72. data/assets/theme/j1/core/js/template.min.js.map +1 -1
  73. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.css +53 -24
  74. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.min.css +1 -1
  75. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.css +138 -78
  76. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.min.css +1 -1
  77. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.css +137 -81
  78. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.min.css +1 -1
  79. data/assets/theme/j1/modules/amplitudejs/icons/player/blue/pause.png +0 -0
  80. data/assets/theme/j1/modules/amplitudejs/icons/player/blue/play.png +0 -0
  81. data/assets/theme/j1/modules/amplitudejs/icons/player/blue/play.svg +87 -0
  82. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/skip-backward.svg +60 -0
  83. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/skip-forward.svg +59 -0
  84. data/assets/theme/j1/modules/amplitudejs/js/amplitude.js +65 -21
  85. data/assets/theme/j1/modules/amplitudejs/js/amplitude.min.js +1 -1
  86. data/assets/theme/j1/modules/amplitudejs/js/tech/ytp.js +113 -0
  87. data/assets/theme/j1/modules/gemini/js/gemini.js.map +1 -1
  88. data/assets/theme/j1/modules/iconPicker/js/universal-icon-picker.js +471 -471
  89. data/assets/theme/j1/modules/j1LazyLoader/LICENSE +21 -0
  90. data/assets/theme/j1/modules/j1LazyLoader/js/j1Lazy.js +870 -0
  91. data/assets/theme/j1/modules/jquery/js/jquery.min.map +1 -1
  92. data/assets/theme/j1/modules/js-cookies/js/js.cookie.js +3 -3
  93. data/assets/theme/j1/modules/lazyCssLoader/js/main.0.js +166 -0
  94. data/assets/theme/j1/modules/lazyCssLoader/js/main.1.js +65 -0
  95. data/assets/theme/j1/modules/lazyCssLoader/js/main.js +66 -0
  96. data/assets/theme/j1/modules/lazyCssLoader/js/plugins/examplePlugin.js +13 -0
  97. data/assets/theme/j1/modules/lazyCssLoader/js/plugins/my-plugin.js +25 -0
  98. data/assets/theme/j1/modules/lazyCssLoader/js/plugins/plugin-interface.js +9 -0
  99. data/assets/theme/j1/modules/lazyCssLoader/js/plugins/pluginA.js +46 -0
  100. data/assets/theme/j1/modules/lazyLoader/js/plugins/README.md +324 -0
  101. data/assets/theme/j1/modules/lazyLoader/js/plugins/jquery.lazy.picture.js +188 -0
  102. data/assets/theme/j1/modules/lightGallery/js/lightgallery.js +1 -1
  103. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.0.js +794 -0
  104. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.js +151 -67
  105. data/assets/theme/j1/modules/slimSelect/js/select.js +1 -1
  106. data/assets/theme/j1/modules/slimSelect/js/select.min.js +3 -3
  107. data/assets/theme/j1/modules/themeSwitcher/js/switcher.js +2 -1
  108. data/assets/theme/j1/modules/videojs/js/plugins/players/dm/dailymotion.js +2 -2
  109. data/assets/theme/j1/modules/videojs/js/plugins/players/dm/dailymotion.min.js +1 -1
  110. data/assets/theme/j1/modules/videojs/js/plugins/players/dm/icon/scalable/dailymotion.svg +62 -0
  111. data/assets/theme/j1/modules/videojs/js/plugins/players/yt/v3.0.0/youtube.js +832 -0
  112. data/assets/theme/j1/modules/videojs/js/plugins/players/yt/v3.0.0/youtube.min.js +17 -0
  113. data/assets/theme/j1/modules/videojs/js/plugins/players/yt/youtube.min.js +1 -1
  114. data/assets/theme/j1/modules/videojs/js/video.js +2 -2
  115. data/lib/j1/version.rb +1 -1
  116. data/lib/starter_web/README.md +577 -560
  117. data/lib/starter_web/_config.yml +2 -2
  118. data/lib/starter_web/_data/blocks/footer.yml +10 -5
  119. data/lib/starter_web/_data/blocks/panel.yml +2 -2
  120. data/lib/starter_web/_data/layouts/default.yml +14 -3
  121. data/lib/starter_web/_data/modules/amplitude.yml +595 -30
  122. data/lib/starter_web/_data/modules/defaults/amplitude.yml +30 -7
  123. data/lib/starter_web/_data/modules/defaults/lazyLoader.yml +2 -2
  124. data/lib/starter_web/_data/modules/gallery.yml +136 -0
  125. data/lib/starter_web/_data/modules/lazyLoader.yml +69 -32
  126. data/lib/starter_web/_data/modules/masonry.yml +4 -4
  127. data/lib/starter_web/_data/modules/masterslider.yml +124 -18
  128. data/lib/starter_web/_data/modules/navigator_menu.yml +831 -803
  129. data/lib/starter_web/_data/resources.yml +155 -190
  130. data/lib/starter_web/_data/templates/feed.xml +1 -1
  131. data/lib/starter_web/_includes/attributes.asciidoc +1 -0
  132. data/lib/starter_web/_plugins/asciidoctor/amplitude-block.rb +1 -1
  133. data/lib/starter_web/_plugins/asciidoctor/carousel-block.rb +2 -1
  134. data/lib/starter_web/_plugins/asciidoctor/dailymotion-block.rb +1 -1
  135. data/lib/starter_web/_plugins/asciidoctor/gallery-block.rb +4 -2
  136. data/lib/starter_web/_plugins/asciidoctor/lightbox-block.rb +1 -1
  137. data/lib/starter_web/_plugins/asciidoctor/masonry-block.rb +1 -1
  138. data/lib/starter_web/_plugins/asciidoctor/masterslider-block.rb +1 -1
  139. data/lib/starter_web/_plugins/asciidoctor/slick-block.rb +2 -1
  140. data/lib/starter_web/_plugins/asciidoctor/videojs-block.rb +58 -46
  141. data/lib/starter_web/_plugins/asciidoctor/vimeo-block.rb +26 -19
  142. data/lib/starter_web/_plugins/asciidoctor/youtube-block.rb +30 -40
  143. data/lib/starter_web/_plugins/index/lunr.rb +1 -1
  144. data/lib/starter_web/assets/audio/cover/spontanorama/spontanorama.jpg +0 -0
  145. data/lib/starter_web/assets/audio/cover/spontanorama/src/spontanorama.png +0 -0
  146. data/lib/starter_web/assets/audio/cover/spontanorama/src/spontanorama.psd +0 -0
  147. data/lib/starter_web/assets/image/icons/lanus/favicon.ico +0 -0
  148. data/lib/starter_web/assets/image/icons/lanus/lanus-512x512.png +0 -0
  149. data/lib/starter_web/assets/image/icons/lanus/lanus.ico +0 -0
  150. data/lib/starter_web/assets/image/icons/lanus/lanus.png +0 -0
  151. data/lib/starter_web/assets/image/icons/lanus/scalable/lanus.svg +76 -0
  152. data/lib/starter_web/assets/image/icons/lanus/scalable/lanus_sw.svg +62 -0
  153. data/lib/starter_web/assets/image/modules/icons/social/scalable/icon-twitter-x-28 - social.svg +86 -0
  154. data/lib/starter_web/assets/image/modules/icons/social/scalable/icon-twitter-x-28.svg +64 -0
  155. data/lib/starter_web/assets/image/modules/icons/social/scalable/icon-twitter-x.svg +1 -0
  156. data/lib/starter_web/assets/image/modules/icons/social/twitter_x.png +0 -0
  157. data/lib/starter_web/package.json +7 -18
  158. data/lib/starter_web/pages/public/amplitude_yt_tester.adoc +218 -0
  159. data/lib/starter_web/pages/public/features/template.adoc +18 -8
  160. data/lib/starter_web/pages/public/features/template.asciidoc +758 -0
  161. data/lib/starter_web/pages/public/lazy_loader_tester.adoc +402 -0
  162. data/lib/starter_web/pages/public/manuals/ytdl/man.adoc +3020 -0
  163. data/lib/starter_web/pages/public/manuals/ytdl/man.md +2378 -0
  164. data/lib/starter_web/pages/public/tools/previewer/_includes/attributes.asciidoc +0 -16
  165. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/amplitudejs.large.css.asciidoc +505 -0
  166. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.hover.html +69 -0
  167. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.nested.html +75 -0
  168. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.textarea.html +57 -0
  169. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/my.content.html +112 -0
  170. data/lib/starter_web/pages/public/tools/previewer/preview_amplitudejs.adoc +172 -0
  171. data/lib/starter_web/pages/{public/tour → tour}/_includes/attributes.asciidoc +2 -2
  172. data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/419_advanced_modals_demo.asciidoc +16 -16
  173. data/lib/starter_web/pages/{public/tour → tour}/asciidoc_extensions.adoc +14 -4
  174. data/lib/starter_web/pages/{public/tour → tour}/bootstrap_themes.adoc +13 -4
  175. data/lib/starter_web/pages/{public/tour → tour}/highlghter_rouge.adoc +14 -4
  176. data/lib/starter_web/pages/{public/tour → tour}/icon_fonts.adoc +12 -3
  177. data/lib/starter_web/pages/{public/tour → tour}/modal_extentions.adoc +13 -7
  178. data/lib/starter_web/pages/{public/tour/playback_audio.adoc → tour/play_audio.adoc} +215 -188
  179. data/lib/starter_web/pages/{public/tour/playback_video.adoc → tour/play_video.adoc} +68 -53
  180. data/lib/starter_web/pages/{public/tour → tour}/present_images.adoc +42 -19
  181. data/lib/starter_web/pages/{public/tour → tour}/quicksearch.adoc +14 -4
  182. data/lib/starter_web/pages/{public/tour → tour}/responsive_tables.adoc +14 -5
  183. data/lib/starter_web/pages/{public/tour → tour}/typography.adoc +13 -4
  184. metadata +112 -47
  185. /data/assets/theme/j1/modules/{lazyLoader → j1LazyLoader/js}/plugins/README.md +0 -0
  186. /data/assets/theme/j1/modules/{lazyLoader/plugins/jquery.lazy.picture.js → j1LazyLoader/js/plugins/picture.js} +0 -0
  187. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.ajax.js +0 -0
  188. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.ajax.min.js +0 -0
  189. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.av.js +0 -0
  190. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.av.min.js +0 -0
  191. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.iframe.js +0 -0
  192. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.iframe.min.js +0 -0
  193. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.noop.js +0 -0
  194. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.noop.min.js +0 -0
  195. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.picture.min.js +0 -0
  196. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.script.js +0 -0
  197. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.script.min.js +0 -0
  198. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.vimeo.js +0 -0
  199. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.vimeo.min.js +0 -0
  200. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.youtube.js +0 -0
  201. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.youtube.min.js +0 -0
  202. /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/100_gistblock.asciidoc +0 -0
  203. /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/410_bottom_info.asciidoc +0 -0
  204. /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/410_bottom_left_warning.asciidoc +0 -0
  205. /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/410_bottom_right_danger.asciidoc +0 -0
  206. /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/410_central_success.asciidoc +0 -0
  207. /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/410_full_height_left_info.asciidoc +0 -0
  208. /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/410_full_height_right_success.asciidoc +0 -0
  209. /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/410_table_bs_modal_examples.asciidoc +0 -0
  210. /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/410_top_info.asciidoc +0 -0
  211. /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/410_top_left_info.asciidoc +0 -0
  212. /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/410_top_right_success.asciidoc +0 -0
  213. /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/tables/bs_modal_examples.asciidoc +0 -0
  214. /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/themes_bootstrap.asciidoc +0 -0
  215. /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/themes_rouge.asciidoc +0 -0
@@ -1,188 +1,215 @@
1
- ---
2
- title: Audio Player
3
- title_extention: Playback Audio using J1 Template
4
- tagline: Playback Audio
5
-
6
- date: 2024-04-16
7
- #last_modified: 2024-01-01
8
-
9
- description: >
10
- J1 Template provides playing audio on web pages
11
- by HTML5 and supports custom players created
12
- by AmplitudeJS to playback audio individually.
13
- keywords: >
14
- open source, free, template, jekyll, jekyllone, web,
15
- sites, static, jamstack, bootstrap, html, html5,
16
- asciidoctor, audio
17
-
18
- categories: [ Tour ]
19
- tags: [ Audio, Module ]
20
-
21
- image:
22
- path: /assets/image/modules/attics/1920x1280/alexey-ruban.jpg
23
- width: 1920
24
- height: 1280
25
-
26
- tts: true
27
- comments: false
28
- exclude_from_search: false
29
- regenerate: false
30
- personalization: true
31
- permalink: /pages/public/tour/playback_audio/
32
-
33
- resources: [ amplitudejs ]
34
- resource_options:
35
- - toccer:
36
- collapseDepth: 2
37
- - attic:
38
- slides:
39
- - url: /assets/image/modules/attics/1920x1280/alexey-ruban.jpg
40
- alt: Photo by Alexey Ruban on Unsplash
41
- badge:
42
- type: unsplash
43
- author: Alexey Ruban
44
- href: //unsplash.com/de/@intelligenciya
45
- ---
46
-
47
- // Page Initializer
48
- // =============================================================================
49
- // Enable the Liquid Preprocessor
50
- :page-liquid:
51
-
52
- // Set (local) page attributes here
53
- // -----------------------------------------------------------------------------
54
- // :page--attr: <attr-value>
55
-
56
-
57
- // Load Liquid procedures
58
- // -----------------------------------------------------------------------------
59
- {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
60
-
61
- // Load page attributes
62
- // -----------------------------------------------------------------------------
63
- {% include {{load_attributes}} scope="all" %}
64
-
65
- // See: https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Audio_codecs
66
- // See: https://docs.asciidoctor.org/asciidoc/latest/macros/audio-and-video/
67
- //
68
- [role="dropcap"]
69
- The Audio tag in HTML5 is a great way to add audio media to web pages.
70
- However, the browser fully controls the audio playback interface,
71
- which can limit or even break a page's design if audio media is used.
72
-
73
- AmplitudeJS for J1 Template offers a straightforward solution for web
74
- developers. It allows them to easily customize the appearance of their audio
75
- players without the need for complex scripting. By leveraging J1 Template
76
- and Amplitude's API, web designers can craft unique interfaces that define
77
- the visual and functional aspects of a player's audio control elements.
78
-
79
- mdi:clock-time-five-outline[24px, md-gray mt-4 mb-5 mr-2]
80
- *5-10 Minutes* to read
81
-
82
-
83
- [role="mt-5"]
84
- == HTML 5 Audio
85
-
86
- Audio players can easily be embedded in web pages using the *audio* tag
87
- `<audio>.` Browsers have a built-in framework for decoding and playing audio
88
- content directly within a webpage.
89
-
90
- .Ambient Piano
91
- audio::/assets/audio/sound-effects/ambient-piano.mp3[role="mt-4 mb-5"]
92
-
93
-
94
- [role="mt-5"]
95
- == AmplitudeJS Audio
96
-
97
- The J1 Template implements custom players based on the (default) theme Uno.
98
- The color scheme used matches the look and feel of the template to preserve
99
- the page design.
100
-
101
- Three types of AmplitudeJS players are build-in for the J1 template system:
102
-
103
- * Mini Player
104
- * Compact Player (default player)
105
- * Large Player
106
-
107
- [role="mt-4"]
108
- [NOTE]
109
- ====
110
- Amplitude players for the J1 Template are mobile-friendly. Instead of
111
- clicking on the appropriate elements, touch events are applied to all
112
- mobile devices.
113
- ====
114
-
115
-
116
- [role="mt-5"]
117
- == Mini Player
118
-
119
- In the context of complex components on a web page, like an audio player,
120
- a mini player refers to a minimized version of full players. It typically
121
- offers basic playback controls, such as pause, play, and
122
- volume adjustment, while taking up less screen space.
123
-
124
- Mini players are beneficial when you want to listen to audio in the
125
- background without dedicating the entire screen to the player. They
126
- are commonly found on music streaming services, podcast platforms, and
127
- websites with embedded audio content.
128
-
129
- .Emancipator · From Dusk To Dawn
130
- amplitude::free_emancipator_mini[role="mt-3 mb-5"]
131
-
132
- .Royalty Free Music · Disco 80th
133
- amplitude::free_disco_mini[role="mt-3 mb-5"]
134
-
135
-
136
- [role="mt-5"]
137
- == Compact Player
138
-
139
- A complex component like an audio player on a web page, *compact*
140
- typically refers to a design or layout that minimizes the component's
141
- space while maintaining its functionality and usability.
142
-
143
- A *compact* design allows the audio player to fit neatly within the web
144
- page's layout without overwhelming or dominating the content around it.
145
- The design aims to balance functionality and space efficiency, ensuring
146
- users can easily access and control the audio playback without sacrificing
147
- too much screen space.
148
-
149
- .Emancipator · From Dusk To Dawn
150
- amplitude::free_emancipator_compact[role="mt-3 mb-5"]
151
-
152
- .Royalty Free Music · Disco 80th
153
- amplitude::free_disco_compact[role="mt-3 mb-5"]
154
-
155
-
156
- [role="mt-5"]
157
- == Large Player
158
-
159
- A large player supports a design for displaying all components but requires
160
- the full (horizontal) space in a webpage. This player type makes it easy for
161
- all users to navigate and plaback all titles provided.
162
-
163
- .Emancipator · From Dusk To Dawn
164
- amplitude::free_emancipator_large[role="mt-3 mb-5"]
165
-
166
- .Royalty Free Music · Disco 80th
167
- amplitude::free_disco_large[role="mt-3 mb-5"]
168
-
169
-
170
- [role="mt-5"]
171
- == What next
172
-
173
- I hope, you've enjoyed exploring the possibilities J1 offers for playing
174
- digital audio content. But much, much more can the J1 do for your web in
175
- terms of multimedia.
176
-
177
- The J1 Template support playing video on web pages by using the
178
- HTML5 video support, the new standard of HTML. HTML5 implements a
179
- pure HTML way to show play video on the web. Modern browsers
180
- support the the video tag `<video>` for the current HTML5 standard.
181
-
182
- The previous proprietary de facto standard software like a Flash Player,
183
- Quicktime, or Silverlight is no longer needed as the Theme JekyllOne provides
184
- HTML5 video for local content and from online sources on the Internet.
185
-
186
- [role="mb-7"]
187
- Incredible? See the next examples on how to playback video on the page
188
- link:{url-tour--playback-video}[Video Player].
1
+ ---
2
+ title: Audio Player
3
+ title_extention: Playback Audio using J1 Template
4
+ tagline: Playback Audio
5
+
6
+ date: 2024-04-16
7
+ #last_modified: 2024-01-01
8
+
9
+ description: >
10
+ J1 Template provides playing audio on web pages
11
+ by HTML5 and supports custom players created
12
+ by AmplitudeJS to playback audio individually.
13
+ keywords: >
14
+ open source, free, template, jekyll, jekyllone, web,
15
+ sites, static, jamstack, bootstrap, html, html5,
16
+ asciidoctor, audio
17
+
18
+ categories: [ Tour ]
19
+ tags: [ Audio, Module ]
20
+
21
+ image:
22
+ path: /assets/image/modules/attics/1920x1280/alexey-ruban.jpg
23
+ width: 1920
24
+ height: 1280
25
+
26
+ tts: true
27
+ comments: false
28
+ exclude_from_search: false
29
+ regenerate: false
30
+ personalization: true
31
+ permalink: /pages/public/tour/present_audio/
32
+
33
+ resources: [ amplitudejs ]
34
+ resource_options:
35
+ - toccer:
36
+ collapseDepth: 2
37
+ - attic:
38
+ slides:
39
+ - url: /assets/image/modules/attics/1920x1280/alexey-ruban.jpg
40
+ alt: Photo by Alexey Ruban on Unsplash
41
+ badge:
42
+ type: unsplash
43
+ author: Alexey Ruban
44
+ href: //unsplash.com/de/@intelligenciya
45
+ ---
46
+
47
+ // Page Initializer
48
+ // =============================================================================
49
+ // Enable the Liquid Preprocessor
50
+ :page-liquid:
51
+
52
+ // Set (local) page attributes here
53
+ // -----------------------------------------------------------------------------
54
+ // :page--attr: <attr-value>
55
+ :time-num--string: 5-10
56
+ :time-en--string: Minutes
57
+ :time-en--description: to read
58
+ :time-de--string: Minuten
59
+ :time-de--description: Lesezeit
60
+
61
+ // Load Liquid procedures
62
+ // -----------------------------------------------------------------------------
63
+ {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
64
+
65
+ // Load page attributes
66
+ // -----------------------------------------------------------------------------
67
+ {% include {{load_attributes}} scope="all" %}
68
+
69
+ // See: https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Audio_codecs
70
+ // See: https://docs.asciidoctor.org/asciidoc/latest/macros/audio-and-video/
71
+ //
72
+ [role="dropcap"]
73
+ The Audio tag in HTML5 is a great way to add audio media to web pages.
74
+ However, the browser fully controls the audio playback interface,
75
+ which can limit or even break a page's design if audio media is used.
76
+
77
+ AmplitudeJS for J1 Template offers a straightforward solution for web
78
+ developers. It allows them to easily customize the appearance of their audio
79
+ players without the need for complex scripting. By leveraging J1 Template
80
+ and Amplitude's API, web designers can craft unique interfaces that define
81
+ the visual and functional aspects of a player's audio control elements.
82
+
83
+ [subs=attributes]
84
+ ++++
85
+ <div class="video-title">
86
+ <i class="mdib mdib-clock-outline mdib-24px mr-2"></i>
87
+ {time-num--string} {time-en--string} {time-en--description}
88
+ </div>
89
+ ++++
90
+
91
+ // Include sub-documents (if any)
92
+ // -----------------------------------------------------------------------------
93
+ [role="mt-5"]
94
+ == HTML 5 Audio
95
+
96
+ Audio players can easily be embedded in web pages using the *audio* tag
97
+ `<audio>.` Browsers have a built-in framework for decoding and playing audio
98
+ content directly within a webpage.
99
+
100
+ .Ambient Piano
101
+ audio::/assets/audio/sound-effects/ambient-piano.mp3[role="mt-4 mb-5"]
102
+
103
+
104
+ [role="mt-5"]
105
+ == AmplitudeJS Audio
106
+
107
+ The J1 Template implements custom players based on the (default) theme Uno.
108
+ The color scheme used matches the look and feel of the template to preserve
109
+ the page design.
110
+
111
+ Three types of AmplitudeJS players are build-in for the J1 template system:
112
+
113
+ * Mini Player
114
+ * Compact Player (default payer)
115
+ * Large Player
116
+
117
+ [role="mt-4"]
118
+ [NOTE]
119
+ ====
120
+ Amplitude players for the J1 Template are mobile-friendly. Instead of
121
+ clicking on the appropriate elements, touch events are applied to all
122
+ mobile devices.
123
+ ====
124
+
125
+
126
+ [role="mt-5"]
127
+ == Mini Player
128
+
129
+ In the context of complex components on a web page, like an audio player,
130
+ a mini player refers to a minimized version of full players. It typically
131
+ offers basic playback controls, such as pause, play, and
132
+ volume adjustment, while taking up less screen space.
133
+
134
+ Mini players are beneficial when you want to listen to audio in the
135
+ background without dedicating the entire screen to the player. They
136
+ are commonly found on music streaming services, podcast platforms, and
137
+ websites with embedded audio content.
138
+
139
+ .Emancipator · From Dusk To Dawn
140
+ amplitude::free_emancipator_mini[role="mt-3 mb-5"]
141
+
142
+ .Royalty Free Music · Disco 80th
143
+ amplitude::free_disco_mini[role="mt-3 mb-5"]
144
+
145
+ lorem:sentences[5]
146
+
147
+
148
+ [role="mt-5"]
149
+ == Compact Player
150
+
151
+ The design of a *Compact player* is an efficient approach that involves
152
+ condensing the player controls and display elements into a smaller area.
153
+ It allows the audio player to fit neatly within the web page's layout without
154
+ overwhelming or dominating the content around it.
155
+
156
+ The player aims to balance functionality and space efficiency, ensuring users
157
+ can easily access and control the audio playback without sacrificing too much
158
+ screen space or placing multiple players side-by-side.
159
+
160
+ .Emancipator · From Dusk To Dawn
161
+ amplitude::free_emancipator_compact[role="mt-3 mb-5"]
162
+
163
+ .Royalty Free Music · Disco 80th
164
+ amplitude::free_disco_compact[role="mt-3 mb-5"]
165
+
166
+ lorem:sentences[5]
167
+
168
+ .Spontanorama 2024 (compact)
169
+ amplitude::spontanorama_2024_compact[role="mt-4 mb-5"]
170
+
171
+
172
+ [role="mt-5"]
173
+ == Large Player
174
+
175
+ A complex component, like an audio player on a web page, typically refers
176
+ to a design or layout that minimizes the component's space while maintaining
177
+ its functionality and usability.
178
+
179
+ The large design provides the full functionality of an audio player to ensure
180
+ users can easily control audio playback. The player behaves similarly to a
181
+ compact player, but all controls are displayed in a single window; there is
182
+ no need to open other widgets.
183
+
184
+ .Emancipator · From Dusk To Dawn
185
+ amplitude::free_emancipator_large[role="mt-4 mb-5"]
186
+
187
+ lorem:sentences[5]
188
+
189
+ .Royalty Free Music · Disco 80th
190
+ amplitude::free_disco_large[role="mt-4 mb-5"]
191
+
192
+ lorem:sentences[5]
193
+
194
+ .Spontanorama 2024 (large)
195
+ amplitude::spontanorama_2024_large[role="mt-4 mb-5"]
196
+
197
+
198
+ [role="mt-5"]
199
+ == What next
200
+
201
+ I hope, you've enjoyed exploring the possibilities J1 offers for playing
202
+ digital audio content. But much, much more can the J1 Templte do for your
203
+ web in terms of multimedia.
204
+
205
+ The Template support playing video on web pages by using the *HTML5* video
206
+ support, the new standard of HTML. It implements a pure HTML way to playback
207
+ videos on the web. All Modern browsers support the the HTML video tag `<video>`
208
+ for the current HTML standard.
209
+
210
+ The previous proprietary de facto standard software like a Flash Player,
211
+ Quicktime, or Silverlight is no longer needed as the Theme JekyllOne provides
212
+ HTML5 video for local content and from online sources on the Internet.
213
+
214
+ [role="mb-8"]
215
+ Incredible? See the next example page link:{url-tour--present-video}[Video Player].
@@ -28,20 +28,33 @@ image:
28
28
  compress: false
29
29
  personalization: true
30
30
  regenerate: false
31
- permalink: /pages/public/tour/playback_video/
31
+ permalink: /pages/public/tour/present_video/
32
32
 
33
33
  resources: [
34
34
  gallery, lightgallery, masonry,
35
- rouge, videojs, vimeo-player
35
+ videojs, vimeo-player
36
36
  ]
37
37
  resource_options:
38
38
  - toccer:
39
39
  collapseDepth: 3
40
40
  - attic:
41
41
  slides:
42
- # Tylor Swift Concert Munich 2024
43
- - url: //img.youtube.com/vi/Zu7EA3aA9Z4/maxresdefault.jpg
44
- alt: Tylor Swift Concert Munich 2024
42
+ # Broadway Underground - still image (animate default)
43
+ - url: /assets/video/headers/present_videos/still/underground-broadway.jpg
44
+ alt: Broadway Underground
45
+ title: Video Player
46
+ tagline: Playback Video
47
+ # Broadway Underground - FAYETTE ST
48
+ - url: /assets/video/headers/present_videos/underground-broadway.mp4
49
+ alt: Broadway Underground Video
50
+ title: Video Player
51
+ tagline: Playback Video
52
+ isVideo: true
53
+ loop: false
54
+ duration: 6000
55
+ # Broadway Underground - still image (animate random)
56
+ - url: /assets/video/headers/present_videos/still/underground-broadway.jpg
57
+ alt: Broadway Underground
45
58
  title: Video Player
46
59
  tagline: Playback Video
47
60
  ---
@@ -54,6 +67,11 @@ resource_options:
54
67
  // Set (local) page attributes here
55
68
  // -----------------------------------------------------------------------------
56
69
  // :page--attr: <attr-value>
70
+ :time-num--string: 5-10
71
+ :time-en--string: Minutes
72
+ :time-en--description: to read
73
+ :time-de--string: Minuten
74
+ :time-de--description: Lesezeit
57
75
 
58
76
  // Load Liquid procedures
59
77
  // -----------------------------------------------------------------------------
@@ -76,13 +94,17 @@ software, like _Flash Player_, _Quicktime_, _Silverlight_ is no longer needed
76
94
  as the J1 Template provides audio and video support for local video files
77
95
  and online sources.
78
96
 
79
- mdi:clock-time-five-outline[24px, md-gray mt-5 mr-2]
80
- *10-15 Minutes* to read
97
+ [subs=attributes]
98
+ ++++
99
+ <div class="video-title">
100
+ <i class="mdib mdib-clock-outline mdib-24px mr-2"></i>
101
+ {time-num--string} {time-en--string} {time-en--description}
102
+ </div>
103
+ ++++
81
104
 
82
105
 
83
106
  // Include sub-documents (if any)
84
107
  // -----------------------------------------------------------------------------
85
-
86
108
  [role="mt-5"]
87
109
  == HTML 5 Player
88
110
  // See: https://docs.asciidoctor.org/asciidoc/latest/macros/audio-and-video/
@@ -94,24 +116,29 @@ a built-in multimedia framework for decoding and displaying video content.
94
116
  Two types of video sources are supported:
95
117
 
96
118
  * Video files from local folders (your webspace)
97
- * Video files from Online sources (on the Internet) like YouTube, Wistia,
98
- Dailymotion etc.
119
+ * Video files from online sources (on the Internet) like YouTube, Vimeo, etc.
99
120
 
100
121
  Standalone video players embedded in websites are software components that
101
122
  integrate and play video sources directly within a page or application. These
102
123
  players are essential for all current sites and apps. Embedded players provide
103
124
  a seamless and user-friendly way to present multimedia content to your audience.
104
125
 
126
+ [role="mb-4"]
105
127
  All modern browsers universally support the video tag `<video>`. This tag
106
128
  offers an out-of-the-box framework for decoding and displaying video content
107
129
  without loading *external players*.
108
130
 
109
- .MP4 Video · Peck Pocketed
110
- video::/assets/video//html5/peck_pocketed.mp4[poster="/assets/video/poster/html5/peck_pocketed.jpg", opts="" role="mt-4 mb-5"]
131
+ ++++
132
+ <div class="video-title">
133
+ <i class="mdib mdib-youtube-tv mdib-24px mr-2"></i>
134
+ Peck Pocketed · MP4 Video
135
+ </div>
136
+ ++++
137
+ video::/assets/video//html5/peck_pocketed.mp4[poster="/assets/video/poster/html5/peck_pocketed.jpg", opts="" role="mt-1 mb-5"]
111
138
 
112
139
 
113
140
  [role="mt-5"]
114
- == VideoJS Player
141
+ == VideoJS
115
142
 
116
143
  VideoJS is a *free-to-use* open-source JavaScript framework for building
117
144
  custom video players for the web. Implementing VideoJS for the J1 Template
@@ -129,7 +156,7 @@ better user experience.
129
156
  VideoJS provides a flexible and customizable platform for displaying and
130
157
  controlling MPEG 4 video content on websites and web applications.
131
158
 
132
- .MP4 Video · Rolling Wild
159
+ .Rolling Wild · MP4 Video
133
160
  videojs::/assets/video//html5/rolling_wild.mp4[poster="/assets/video/poster/html5/rolling_wild.jpg", opts="" role="mt-4 mb-5"]
134
161
 
135
162
  [role="mt-4"]
@@ -139,35 +166,27 @@ YouTube is a popular online video-sharing platform that allows users to
139
166
  upload, view, share, and comment on videos. The platform provides services
140
167
  for people and organizations to publish various video content.
141
168
 
142
- See below Adele's opening concert in Munich's specially built open-air arena,
143
- and tens of thousands celebrated with her. It is an extraordinary concert
144
- series: a pop-up stadium tailored to her needs was built specifically for her
145
- and long catwalks bring Adele closer to her fans.
169
+ The season 19 (2024) of _America's Got Talent_ (AGT) is special. In the long
170
+ history of AGT, only a few *Goldern Buzzers* were given. In 2024, this is
171
+ different - for good reasons. See a compilation on YouTube of the very best
172
+ auditions ever.
146
173
 
147
- The arena, shaped like an amphitheater, is decorated in black and white and
148
- is dominated by a 220-meter-long and 17-meter-high screen. Find below the first
149
- 45 minutes of her opening concert in August 2024 at the Adele World, Munich.
174
+ .AGT 2024 · Best Auditions
175
+ youtube::4VSBJU52UvM[poster="//img.youtube.com/vi/4VSBJU52UvM/maxresdefault.jpg" role="mt-4 mb-5"]
150
176
 
151
- .Adele Concert, August 2024 · Adele World Munich
152
- youtube::KIvU5etrbSM[poster="//img.youtube.com/vi/KIvU5etrbSM/maxresdefault.jpg" role="mt-4 mb-5"]
177
+ Dog Dancing is presented quite often on stage. Like AGT season 18,
178
+ Adrian Stoica presented his dog Hurricane https://www.youtube.com/watch?v=ENGRnUN1UKQ)[Youtube, {browser-window--new}].
179
+ But see Roni Sagi - an Israeli dog trainer - and her dog Rhythm.
180
+ This is Dog Dancing the next level.
153
181
 
154
- Pop icon Taylor Swift thrilled more than 70,000 fans at a sold-out concert
155
- at the Olympic Stadium in Munich. But the enthusiasm for the US star
156
- extended far beyond the stadium.
182
+ .Roni Sagi & Rhythm · ALL Performances (AGT 2024)
183
+ youtube::1J2qz6B-PFY[poster="//img.youtube.com/vi/1J2qz6B-PFY/maxresdefault.jpg" role="mt-4 mb-5"]
157
184
 
158
- Taylor Swift recognized the unusual situation in Munich and, at the
159
- beginning of her concert, greeted not only the fans in the stadium
160
- but also the thousands who had gathered in the park in front of the
161
- stadium.
185
+ // .Fortnight (feat. Post Malone, Official Music Video) · Taylor Swift
186
+ // youtube::q3zqJs7JUCQ[poster="//img.youtube.com/vi/q3zqJs7JUCQ/maxresdefault.jpg" role="mt-4 mb-5"]
162
187
 
163
- That evening, Taylor Swift took her fans through her long career. For
164
- over three hours, the pop queen played 45 songs, album by album, the
165
- so-called Eras. Taylor Swift concluded the show with a spectacular
166
- fireworks display. See impressions of this emotional event below.
167
-
168
- .Taylor Swift Concert, August 2024 · Olympic Stadium in Munich
169
- youtube::Zu7EA3aA9Z4[poster="//img.youtube.com/vi/Zu7EA3aA9Z4/maxresdefault.jpg" role="mt-4 mb-5"]
170
188
 
189
+ ////
171
190
  [role="mt-4"]
172
191
  === Dailymotion
173
192
 
@@ -176,19 +195,21 @@ high-quality advertisers through a proprietary advertising system.
176
195
  Like YouTube, videos can be watched for free, but ads are shown on every
177
196
  video.
178
197
 
179
- .SELF Channel · Beginner Mat Pilates
198
+ .Beginner Mat Pilates · SELF Channel
180
199
  dailymotion::x87ycik[poster="/assets/video/poster/dailymotion/pilates.jpg" role="mt-4 mb-5"]
200
+ ////
201
+
181
202
 
182
203
  [role="mt-4"]
183
204
  === Vimeo
184
-
205
+
185
206
  Vimeo is an sharing platform that allows users to upload, share, and view
186
207
  video content. It was founded in 2004 by a group of filmmakers and has
187
208
  since grown into a popular platform for individuals and businesses to
188
- showcase their videos. Vimeo is known for its emphasis on high-quality videos
189
- and creative expression.
209
+ showcase their videos. Vimeo is known for its emphasis on high-quality
210
+ video and creative expression.
190
211
 
191
- .Forever 21 · Kick It Old School
212
+ .Kick It Old School · Forever 21
192
213
  vimeo::179528528[poster="/assets/video/poster/vimeo/kick_it_old_school.jpg" role="mt-4 mb-5"]
193
214
  // vimeo::179528528[poster="auto" role="mt-4 mb-5"]
194
215
  // vimeo::179528528[role="mt-4 mb-5"]
@@ -232,7 +253,7 @@ and video content provided online.
232
253
  Masonry for J1 Template is a great tool for creating dynamic video galleries.
233
254
  The module makes creating a gallery to display videos of different types easy.
234
255
 
235
- .Mixed Video
256
+ .Mixed Video · Masonry + LightGallery
236
257
  masonry::mixed_video_example[role="mt-4 mb-5"]
237
258
 
238
259
  [role="mb-5"]
@@ -258,7 +279,7 @@ Using a modern MP4 Encoder for video compression, a video will play around
258
279
  HD 720p (1280x720 pixel).
259
280
  ====
260
281
 
261
- .Local MP4 Video
282
+ .Local MP4 Video · Justified Gallery + LightGallery
262
283
  gallery::jg_video_html5[role="mt-4 mb-5"]
263
284
 
264
285
  [role="mt-4"]
@@ -271,17 +292,11 @@ hours of content every day. The number of YouTube channels is enormous.
271
292
  Today, it's a must for TV stations or musicians to publish videos of their
272
293
  shows or songs on YouTube.
273
294
 
274
- // Below a classic channel *Carpool Karaoke* featured by frontman _James Corden_
275
- // of *The Late Late Show* at CBS, Los Angeles.
276
- //
277
- // .James Corden · Carpool Karaoke
278
- // gallery::jg_video_online_youtube_james_and_adele[role="mb-5"]
279
-
280
295
  A really great channel at YouTube is presented by _Taylor Swift_ for her
281
296
  new studio album *The Tortured Poets Department: The Anthology*, released on
282
297
  April 19, 2024.
283
298
 
284
- .The Tortured Poets Department · Taylor Swift
299
+ .Taylor Swift - The Tortured Poets Department · Justified Gallery + LightGallery
285
300
  gallery::jg_video_online_taylor_swift[role="mt-5 mb-4"]
286
301
 
287
302
  [role="mb-5"]
@@ -314,7 +329,7 @@ Business. Each membership has varied storage limits, but the free plan
314
329
  offers sufficient space for private projects to present video content
315
330
  without advertising.
316
331
 
317
- .Forever 21
332
+ .Forever 21 · Justified Gallery + LightGallery
318
333
  gallery::jg_video_online_vimeo[role="mb-5"]
319
334
 
320
335
  [role="mt-4"]
@@ -329,7 +344,7 @@ connect to high-quality advertisers through a proprietary Advertising system.
329
344
  Like YouTube, videos can be watched for free, but ads are shown on each and
330
345
  every video.
331
346
 
332
- .SELF Chanel
347
+ .SELF Chanel · Justified Gallery + LightGallery
333
348
  gallery::jg_video_online_dailymotion[role="mt-4 mb-5"]
334
349
 
335
350