j1-template 2024.3.13 → 2024.3.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (193) 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.28.html +887 -0
  10. data/assets/data/amplitude.29.html +923 -0
  11. data/assets/data/amplitude.html +311 -46
  12. data/assets/data/banner.html +9 -7
  13. data/assets/data/masterslider.html +128 -7
  14. data/assets/data/panel.html +16 -65
  15. data/assets/theme/j1/adapter/js/amplitude.23.js +1165 -0
  16. data/assets/theme/j1/adapter/js/amplitude.24.js +1164 -0
  17. data/assets/theme/j1/adapter/js/amplitude.25.js +1268 -0
  18. data/assets/theme/j1/adapter/js/amplitude.js +294 -117
  19. data/assets/theme/j1/adapter/js/attic.js +14 -11
  20. data/assets/theme/j1/adapter/js/docsearch.js +2 -2
  21. data/assets/theme/j1/adapter/js/fab.js +2 -2
  22. data/assets/theme/j1/adapter/js/j1.js +8 -8
  23. data/assets/theme/j1/adapter/js/lazyLoader.js +60 -10
  24. data/assets/theme/j1/adapter/js/masonry.js +1 -1
  25. data/assets/theme/j1/adapter/js/masterslider.js +2 -2
  26. data/assets/theme/j1/adapter/js/particles.js +2 -2
  27. data/assets/theme/j1/adapter/js/scroller.js +2 -2
  28. data/assets/theme/j1/adapter/js/slick.js +2 -2
  29. data/assets/theme/j1/adapter/js/themes.js +1 -1
  30. data/assets/theme/j1/adapter/js/translator.js +2 -2
  31. data/assets/theme/j1/adapter/js/waves.js +1 -1
  32. data/assets/theme/j1/core/css/animate.css +1634 -1070
  33. data/assets/theme/j1/core/css/animate.css.map +1 -0
  34. data/assets/theme/j1/core/css/animate.min.css +2 -1
  35. data/assets/theme/j1/core/css/animate.min.css.map +1 -0
  36. data/assets/theme/j1/core/css/icon-fonts/fontawesome.css +3060 -1538
  37. data/assets/theme/j1/core/css/icon-fonts/fontawesome.css.map +1 -0
  38. data/assets/theme/j1/core/css/icon-fonts/fontawesome.min.css +2 -1
  39. data/assets/theme/j1/core/css/icon-fonts/fontawesome.min.css.map +1 -0
  40. data/assets/theme/j1/core/css/icon-fonts/iconify.css +2308 -1153
  41. data/assets/theme/j1/core/css/icon-fonts/iconify.css.map +1 -0
  42. data/assets/theme/j1/core/css/icon-fonts/iconify.min.css +2 -1
  43. data/assets/theme/j1/core/css/icon-fonts/iconify.min.css.map +1 -0
  44. data/assets/theme/j1/core/css/icon-fonts/mdi.css +16716 -8423
  45. data/assets/theme/j1/core/css/icon-fonts/mdi.css.map +1 -0
  46. data/assets/theme/j1/core/css/icon-fonts/mdi.min.css +2 -1
  47. data/assets/theme/j1/core/css/icon-fonts/mdi.min.css.map +1 -0
  48. data/assets/theme/j1/core/css/icon-fonts/mdib.css +5554 -2766
  49. data/assets/theme/j1/core/css/icon-fonts/mdib.css.map +1 -0
  50. data/assets/theme/j1/core/css/icon-fonts/mdib.min.css +2 -1
  51. data/assets/theme/j1/core/css/icon-fonts/mdib.min.css.map +1 -0
  52. data/assets/theme/j1/core/css/icon-fonts/mdil.css +742 -441
  53. data/assets/theme/j1/core/css/icon-fonts/mdil.css.map +1 -0
  54. data/assets/theme/j1/core/css/icon-fonts/mdil.min.css +2 -1
  55. data/assets/theme/j1/core/css/icon-fonts/mdil.min.css.map +1 -0
  56. data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.css +6552 -3980
  57. data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.css.map +1 -0
  58. data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.min.css +2 -5
  59. data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.min.css.map +1 -0
  60. data/assets/theme/j1/core/css/themes/unodark/bootstrap.css +6818 -4131
  61. data/assets/theme/j1/core/css/themes/unodark/bootstrap.css.map +1 -0
  62. data/assets/theme/j1/core/css/themes/unodark/bootstrap.min.css +2 -5
  63. data/assets/theme/j1/core/css/themes/unodark/bootstrap.min.css.map +1 -0
  64. data/assets/theme/j1/core/css/themes/unolight/bootstrap.css +18568 -11577
  65. data/assets/theme/j1/core/css/themes/unolight/bootstrap.css.map +1 -0
  66. data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css +2 -35
  67. data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css.map +1 -0
  68. data/assets/theme/j1/core/css/vendor.css +1771 -1043
  69. data/assets/theme/j1/core/css/vendor.css.map +1 -0
  70. data/assets/theme/j1/core/css/vendor.min.css +2 -1
  71. data/assets/theme/j1/core/css/vendor.min.css.map +1 -0
  72. data/assets/theme/j1/core/js/template.js +399 -447
  73. data/assets/theme/j1/core/js/template.min.js +7 -7
  74. data/assets/theme/j1/core/js/template.min.js.map +1 -1
  75. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.css +4 -2
  76. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.css +39 -4
  77. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.min.css +1 -1
  78. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.css +57 -17
  79. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.min.css +1 -1
  80. data/assets/theme/j1/modules/amplitudejs/icons/player/blue/pause.png +0 -0
  81. data/assets/theme/j1/modules/amplitudejs/icons/player/blue/play.png +0 -0
  82. data/assets/theme/j1/modules/amplitudejs/icons/player/blue/play.svg +87 -0
  83. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/skip-backward.svg +60 -0
  84. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/skip-forward.svg +59 -0
  85. data/assets/theme/j1/modules/amplitudejs/js/amplitude.js +65 -21
  86. data/assets/theme/j1/modules/amplitudejs/js/amplitude.min.js +1 -1
  87. data/assets/theme/j1/modules/amplitudejs/js/tech/ytp.js +113 -0
  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/js-cookies/js/js.cookie.js +3 -3
  92. data/assets/theme/j1/modules/lazyCssLoader/js/main.0.js +166 -0
  93. data/assets/theme/j1/modules/lazyCssLoader/js/main.1.js +65 -0
  94. data/assets/theme/j1/modules/lazyCssLoader/js/main.js +66 -0
  95. data/assets/theme/j1/modules/lazyCssLoader/js/plugins/examplePlugin.js +13 -0
  96. data/assets/theme/j1/modules/lazyCssLoader/js/plugins/my-plugin.js +25 -0
  97. data/assets/theme/j1/modules/lazyCssLoader/js/plugins/plugin-interface.js +9 -0
  98. data/assets/theme/j1/modules/lazyCssLoader/js/plugins/pluginA.js +46 -0
  99. data/assets/theme/j1/modules/lazyLoader/js/plugins/README.md +324 -0
  100. data/assets/theme/j1/modules/lazyLoader/js/plugins/jquery.lazy.picture.js +188 -0
  101. data/assets/theme/j1/modules/lightGallery/js/lightgallery.js +1 -1
  102. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.0.js +794 -0
  103. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.js +151 -67
  104. data/assets/theme/j1/modules/slimSelect/js/select.js +1 -1
  105. data/assets/theme/j1/modules/slimSelect/js/select.min.js +3 -3
  106. data/assets/theme/j1/modules/themeSwitcher/js/switcher.js +2 -1
  107. data/assets/theme/j1/modules/videojs/js/plugins/players/dm/dailymotion.min.js +1 -1
  108. data/assets/theme/j1/modules/videojs/js/plugins/players/dm/icon/scalable/dailymotion.svg +62 -0
  109. data/assets/theme/j1/modules/videojs/js/plugins/players/yt/v3.0.0/youtube.js +832 -0
  110. data/assets/theme/j1/modules/videojs/js/plugins/players/yt/v3.0.0/youtube.min.js +17 -0
  111. data/assets/theme/j1/modules/videojs/js/plugins/players/yt/youtube.min.js +1 -1
  112. data/assets/theme/j1/modules/videojs/js/video.js +2 -2
  113. data/lib/j1/version.rb +1 -1
  114. data/lib/starter_web/README.md +577 -560
  115. data/lib/starter_web/_config.yml +2 -2
  116. data/lib/starter_web/_data/blocks/footer.yml +10 -5
  117. data/lib/starter_web/_data/blocks/panel.yml +2 -2
  118. data/lib/starter_web/_data/layouts/default.yml +14 -3
  119. data/lib/starter_web/_data/modules/amplitude.yml +145 -0
  120. data/lib/starter_web/_data/modules/defaults/amplitude.yml +29 -7
  121. data/lib/starter_web/_data/modules/defaults/lazyLoader.yml +2 -2
  122. data/lib/starter_web/_data/modules/gallery.yml +136 -0
  123. data/lib/starter_web/_data/modules/lazyLoader.0.yml +118 -0
  124. data/lib/starter_web/_data/modules/lazyLoader.yml +68 -31
  125. data/lib/starter_web/_data/modules/masonry.yml +4 -4
  126. data/lib/starter_web/_data/modules/masterslider.yml +118 -12
  127. data/lib/starter_web/_data/modules/navigator_menu.yml +831 -803
  128. data/lib/starter_web/_data/resources.yml +154 -190
  129. data/lib/starter_web/_data/templates/feed.xml +1 -1
  130. data/lib/starter_web/_includes/attributes.asciidoc +1 -0
  131. data/lib/starter_web/_plugins/asciidoctor/amplitude-block.rb +1 -1
  132. data/lib/starter_web/_plugins/asciidoctor/dailymotion-block.rb +1 -1
  133. data/lib/starter_web/_plugins/asciidoctor/gallery-block.rb +4 -2
  134. data/lib/starter_web/_plugins/asciidoctor/masonry-block.rb +1 -1
  135. data/lib/starter_web/_plugins/asciidoctor/videojs-block.rb +58 -46
  136. data/lib/starter_web/_plugins/asciidoctor/vimeo-block.rb +26 -19
  137. data/lib/starter_web/_plugins/asciidoctor/youtube-block.rb +30 -40
  138. data/lib/starter_web/_plugins/index/lunr.rb +1 -1
  139. data/lib/starter_web/assets/image/icons/lanus/favicon.ico +0 -0
  140. data/lib/starter_web/assets/image/icons/lanus/lanus-512x512.png +0 -0
  141. data/lib/starter_web/assets/image/icons/lanus/lanus.ico +0 -0
  142. data/lib/starter_web/assets/image/icons/lanus/lanus.png +0 -0
  143. data/lib/starter_web/assets/image/icons/lanus/scalable/lanus.svg +76 -0
  144. data/lib/starter_web/assets/image/icons/lanus/scalable/lanus_sw.svg +62 -0
  145. data/lib/starter_web/assets/image/modules/icons/social/scalable/icon-twitter-x-28 - social.svg +86 -0
  146. data/lib/starter_web/assets/image/modules/icons/social/scalable/icon-twitter-x-28.svg +64 -0
  147. data/lib/starter_web/assets/image/modules/icons/social/scalable/icon-twitter-x.svg +1 -0
  148. data/lib/starter_web/assets/image/modules/icons/social/twitter_x.png +0 -0
  149. data/lib/starter_web/package.json +7 -18
  150. data/lib/starter_web/pages/public/amplitude_yt_tester.adoc +218 -0
  151. data/lib/starter_web/pages/public/features/template.adoc +18 -8
  152. data/lib/starter_web/pages/public/features/template.asciidoc +758 -0
  153. data/lib/starter_web/pages/public/lazy_loader_tester.adoc +402 -0
  154. data/lib/starter_web/pages/public/manuals/ytdl/man.adoc +3020 -0
  155. data/lib/starter_web/pages/public/manuals/ytdl/man.md +2378 -0
  156. data/lib/starter_web/pages/public/tools/previewer/_includes/attributes.asciidoc +0 -16
  157. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/amplitudejs.large.css.asciidoc +505 -0
  158. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.hover.html +69 -0
  159. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.nested.html +75 -0
  160. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.textarea.html +57 -0
  161. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/my.content.html +112 -0
  162. data/lib/starter_web/pages/public/tools/previewer/preview_amplitudejs.adoc +172 -0
  163. data/lib/starter_web/pages/public/tour/_includes/attributes.asciidoc +2 -2
  164. data/lib/starter_web/pages/public/tour/_includes/documents/419_advanced_modals_demo.asciidoc +16 -16
  165. data/lib/starter_web/pages/public/tour/asciidoc_extensions.adoc +13 -3
  166. data/lib/starter_web/pages/public/tour/bootstrap_themes.adoc +12 -3
  167. data/lib/starter_web/pages/public/tour/highlghter_rouge.adoc +13 -3
  168. data/lib/starter_web/pages/public/tour/icon_fonts.adoc +12 -3
  169. data/lib/starter_web/pages/public/tour/modal_extentions.adoc +12 -6
  170. data/lib/starter_web/pages/public/tour/{playback_audio.adoc → play_audio.adoc} +207 -188
  171. data/lib/starter_web/pages/public/tour/{playback_video.adoc → play_video.adoc} +49 -51
  172. data/lib/starter_web/pages/public/tour/present_images.adoc +27 -5
  173. data/lib/starter_web/pages/public/tour/quicksearch.adoc +13 -3
  174. data/lib/starter_web/pages/public/tour/responsive_tables.adoc +13 -4
  175. data/lib/starter_web/pages/public/tour/typography.adoc +12 -3
  176. metadata +90 -22
  177. /data/assets/theme/j1/modules/{lazyLoader → j1LazyLoader/js}/plugins/README.md +0 -0
  178. /data/assets/theme/j1/modules/{lazyLoader/plugins/jquery.lazy.picture.js → j1LazyLoader/js/plugins/picture.js} +0 -0
  179. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.ajax.js +0 -0
  180. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.ajax.min.js +0 -0
  181. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.av.js +0 -0
  182. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.av.min.js +0 -0
  183. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.iframe.js +0 -0
  184. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.iframe.min.js +0 -0
  185. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.noop.js +0 -0
  186. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.noop.min.js +0 -0
  187. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.picture.min.js +0 -0
  188. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.script.js +0 -0
  189. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.script.min.js +0 -0
  190. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.vimeo.js +0 -0
  191. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.vimeo.min.js +0 -0
  192. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.youtube.js +0 -0
  193. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.youtube.min.js +0 -0
@@ -1,188 +1,207 @@
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
+ A complex component like an audio player on a web page, *compact*
152
+ typically refers to a design or layout that minimizes the component's
153
+ space while maintaining its functionality and usability.
154
+
155
+ ////
156
+ The *compact design* for an audio player is an efficient approach that
157
+ involves condensing the player controls and display elements into a smaller
158
+ area. It uses icons or symbols instead of text labels where possible, and
159
+ possibly hides less frequently used features behind menus or dropdowns to
160
+ reduce clutter, thereby instilling confidence in its effectiveness.
161
+
162
+ A *compact* design allows the audio player to fit neatly within the web
163
+ page's layout without overwhelming or dominating the content around it.
164
+ The design aims to balance functionality and space efficiency, ensuring
165
+ users can easily access and control the audio playback without sacrificing
166
+ too much screen space.
167
+ ////
168
+
169
+ .Emancipator · From Dusk To Dawn
170
+ amplitude::free_emancipator_compact[role="mt-3 mb-5"]
171
+
172
+ .Royalty Free Music · Disco 80th
173
+ amplitude::free_disco_compact[role="mt-3 mb-5"]
174
+
175
+ lorem:sentences[5]
176
+
177
+
178
+ [role="mt-5"]
179
+ == Large Player
180
+
181
+ lorem:sentences[5]
182
+
183
+ .Emancipator · From Dusk To Dawn
184
+ amplitude::free_emancipator_large[role="mt-3 mb-5"]
185
+
186
+ .Royalty Free Music · Disco 80th
187
+ amplitude::free_disco_large[role="mt-3 mb-5"]
188
+
189
+
190
+ [role="mt-5"]
191
+ == What next
192
+
193
+ I hope, you've enjoyed exploring the possibilities J1 offers for playing
194
+ digital audio content. But much, much more can the J1 do for your web in
195
+ terms of multimedia.
196
+
197
+ The J1 Template support playing video on web pages by using the
198
+ HTML5 video support, the new standard of HTML. HTML5 implements a
199
+ pure HTML way to show play video on the web. Modern browsers
200
+ support the the video tag `<video>` for the current HTML5 standard.
201
+
202
+ The previous proprietary de facto standard software like a Flash Player,
203
+ Quicktime, or Silverlight is no longer needed as the Theme JekyllOne provides
204
+ HTML5 video for local content and from online sources on the Internet.
205
+
206
+ [role="mb-7"]
207
+ Incredible? See the next example page link:{url-tour--present-video}[Video Player].
@@ -25,10 +25,9 @@ image:
25
25
  width: 1920
26
26
  height: 1280
27
27
 
28
- compress: false
29
28
  personalization: true
30
29
  regenerate: false
31
- permalink: /pages/public/tour/playback_video/
30
+ permalink: /pages/public/tour/present_video/
32
31
 
33
32
  resources: [
34
33
  gallery, lightgallery, masonry,
@@ -39,9 +38,22 @@ resource_options:
39
38
  collapseDepth: 3
40
39
  - attic:
41
40
  slides:
42
- # Tylor Swift Concert Munich 2024
43
- - url: //img.youtube.com/vi/Zu7EA3aA9Z4/maxresdefault.jpg
44
- alt: Tylor Swift Concert Munich 2024
41
+ # Broadway Underground - still image (animate default)
42
+ - url: /assets/video/headers/present_videos/still/underground-broadway.jpg
43
+ alt: Broadway Underground
44
+ title: Video Player
45
+ tagline: Playback Video
46
+ # Broadway Underground - FAYETTE ST
47
+ - url: /assets/video/headers/present_videos/underground-broadway.mp4
48
+ alt: Broadway Underground Video
49
+ title: Video Player
50
+ tagline: Playback Video
51
+ isVideo: true
52
+ loop: false
53
+ duration: 6000
54
+ # Broadway Underground - still image (animate random)
55
+ - url: /assets/video/headers/present_videos/still/underground-broadway.jpg
56
+ alt: Broadway Underground
45
57
  title: Video Player
46
58
  tagline: Playback Video
47
59
  ---
@@ -54,6 +66,11 @@ resource_options:
54
66
  // Set (local) page attributes here
55
67
  // -----------------------------------------------------------------------------
56
68
  // :page--attr: <attr-value>
69
+ :time-num--string: 5-10
70
+ :time-en--string: Minutes
71
+ :time-en--description: to read
72
+ :time-de--string: Minuten
73
+ :time-de--description: Lesezeit
57
74
 
58
75
  // Load Liquid procedures
59
76
  // -----------------------------------------------------------------------------
@@ -76,13 +93,17 @@ software, like _Flash Player_, _Quicktime_, _Silverlight_ is no longer needed
76
93
  as the J1 Template provides audio and video support for local video files
77
94
  and online sources.
78
95
 
79
- mdi:clock-time-five-outline[24px, md-gray mt-5 mr-2]
80
- *10-15 Minutes* to read
96
+ [subs=attributes]
97
+ ++++
98
+ <div class="video-title">
99
+ <i class="mdib mdib-clock-outline mdib-24px mr-2"></i>
100
+ {time-num--string} {time-en--string} {time-en--description}
101
+ </div>
102
+ ++++
81
103
 
82
104
 
83
105
  // Include sub-documents (if any)
84
106
  // -----------------------------------------------------------------------------
85
-
86
107
  [role="mt-5"]
87
108
  == HTML 5 Player
88
109
  // See: https://docs.asciidoctor.org/asciidoc/latest/macros/audio-and-video/
@@ -102,12 +123,18 @@ 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"]
@@ -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,34 +166,11 @@ 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.
146
-
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.
169
+ .Best Auditions · AGT 2024
170
+ youtube::4VSBJU52UvM[poster="//img.youtube.com/vi/4VSBJU52UvM/maxresdefault.jpg" role="mt-4 mb-5"]
150
171
 
151
- .Adele Concert, August 2024 · Adele World Munich
152
- youtube::KIvU5etrbSM[poster="//img.youtube.com/vi/KIvU5etrbSM/maxresdefault.jpg" role="mt-4 mb-5"]
153
-
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.
157
-
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.
162
-
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"]
172
+ // .Fortnight (feat. Post Malone, Official Music Video) · Taylor Swift
173
+ // youtube::q3zqJs7JUCQ[poster="//img.youtube.com/vi/q3zqJs7JUCQ/maxresdefault.jpg" role="mt-4 mb-5"]
170
174
 
171
175
  [role="mt-4"]
172
176
  === Dailymotion
@@ -176,7 +180,7 @@ high-quality advertisers through a proprietary advertising system.
176
180
  Like YouTube, videos can be watched for free, but ads are shown on every
177
181
  video.
178
182
 
179
- .SELF Channel · Beginner Mat Pilates
183
+ .Beginner Mat Pilates · SELF Channel
180
184
  dailymotion::x87ycik[poster="/assets/video/poster/dailymotion/pilates.jpg" role="mt-4 mb-5"]
181
185
 
182
186
  [role="mt-4"]
@@ -188,7 +192,7 @@ since grown into a popular platform for individuals and businesses to
188
192
  showcase their videos. Vimeo is known for its emphasis on high-quality videos
189
193
  and creative expression.
190
194
 
191
- .Forever 21 · Kick It Old School
195
+ .Kick It Old School · Forever 21
192
196
  vimeo::179528528[poster="/assets/video/poster/vimeo/kick_it_old_school.jpg" role="mt-4 mb-5"]
193
197
  // vimeo::179528528[poster="auto" role="mt-4 mb-5"]
194
198
  // vimeo::179528528[role="mt-4 mb-5"]
@@ -232,7 +236,7 @@ and video content provided online.
232
236
  Masonry for J1 Template is a great tool for creating dynamic video galleries.
233
237
  The module makes creating a gallery to display videos of different types easy.
234
238
 
235
- .Mixed Video
239
+ .Mixed Video · Masonry + LightGallery
236
240
  masonry::mixed_video_example[role="mt-4 mb-5"]
237
241
 
238
242
  [role="mb-5"]
@@ -258,7 +262,7 @@ Using a modern MP4 Encoder for video compression, a video will play around
258
262
  HD 720p (1280x720 pixel).
259
263
  ====
260
264
 
261
- .Local MP4 Video
265
+ .Local MP4 Video · Justified Gallery + LightGallery
262
266
  gallery::jg_video_html5[role="mt-4 mb-5"]
263
267
 
264
268
  [role="mt-4"]
@@ -271,17 +275,11 @@ hours of content every day. The number of YouTube channels is enormous.
271
275
  Today, it's a must for TV stations or musicians to publish videos of their
272
276
  shows or songs on YouTube.
273
277
 
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
278
  A really great channel at YouTube is presented by _Taylor Swift_ for her
281
279
  new studio album *The Tortured Poets Department: The Anthology*, released on
282
280
  April 19, 2024.
283
281
 
284
- .The Tortured Poets Department · Taylor Swift
282
+ .Taylor Swift - The Tortured Poets Department · Justified Gallery + LightGallery
285
283
  gallery::jg_video_online_taylor_swift[role="mt-5 mb-4"]
286
284
 
287
285
  [role="mb-5"]
@@ -314,7 +312,7 @@ Business. Each membership has varied storage limits, but the free plan
314
312
  offers sufficient space for private projects to present video content
315
313
  without advertising.
316
314
 
317
- .Forever 21
315
+ .Forever 21 · Justified Gallery + LightGallery
318
316
  gallery::jg_video_online_vimeo[role="mb-5"]
319
317
 
320
318
  [role="mt-4"]
@@ -329,7 +327,7 @@ connect to high-quality advertisers through a proprietary Advertising system.
329
327
  Like YouTube, videos can be watched for free, but ads are shown on each and
330
328
  every video.
331
329
 
332
- .SELF Chanel
330
+ .SELF Chanel · Justified Gallery + LightGallery
333
331
  gallery::jg_video_online_dailymotion[role="mt-4 mb-5"]
334
332
 
335
333