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.
- checksums.yaml +4 -4
- data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +1 -1
- data/_includes/themes/j1/layouts/layout_resource_generator.html +1 -4
- data/_includes/themes/j1/procedures/blocks/footer/boxes/social_media_icons.proc +24 -23
- data/_includes/themes/j1/procedures/layouts/content_writer.proc +4 -3
- data/_includes/themes/j1/procedures/layouts/default_writer.proc +37 -6
- data/_includes/themes/j1/procedures/layouts/module_writer.proc +31 -95
- data/_includes/themes/j1/procedures/layouts/resource_writer.proc +51 -29
- data/assets/data/amplitude.28.html +887 -0
- data/assets/data/amplitude.29.html +923 -0
- data/assets/data/amplitude.html +311 -46
- data/assets/data/banner.html +9 -7
- data/assets/data/masterslider.html +128 -7
- data/assets/data/panel.html +16 -65
- data/assets/theme/j1/adapter/js/amplitude.23.js +1165 -0
- data/assets/theme/j1/adapter/js/amplitude.24.js +1164 -0
- data/assets/theme/j1/adapter/js/amplitude.25.js +1268 -0
- data/assets/theme/j1/adapter/js/amplitude.js +294 -117
- data/assets/theme/j1/adapter/js/attic.js +14 -11
- data/assets/theme/j1/adapter/js/docsearch.js +2 -2
- data/assets/theme/j1/adapter/js/fab.js +2 -2
- data/assets/theme/j1/adapter/js/j1.js +8 -8
- data/assets/theme/j1/adapter/js/lazyLoader.js +60 -10
- data/assets/theme/j1/adapter/js/masonry.js +1 -1
- data/assets/theme/j1/adapter/js/masterslider.js +2 -2
- data/assets/theme/j1/adapter/js/particles.js +2 -2
- data/assets/theme/j1/adapter/js/scroller.js +2 -2
- data/assets/theme/j1/adapter/js/slick.js +2 -2
- data/assets/theme/j1/adapter/js/themes.js +1 -1
- data/assets/theme/j1/adapter/js/translator.js +2 -2
- data/assets/theme/j1/adapter/js/waves.js +1 -1
- data/assets/theme/j1/core/css/animate.css +1634 -1070
- data/assets/theme/j1/core/css/animate.css.map +1 -0
- data/assets/theme/j1/core/css/animate.min.css +2 -1
- data/assets/theme/j1/core/css/animate.min.css.map +1 -0
- data/assets/theme/j1/core/css/icon-fonts/fontawesome.css +3060 -1538
- data/assets/theme/j1/core/css/icon-fonts/fontawesome.css.map +1 -0
- data/assets/theme/j1/core/css/icon-fonts/fontawesome.min.css +2 -1
- data/assets/theme/j1/core/css/icon-fonts/fontawesome.min.css.map +1 -0
- data/assets/theme/j1/core/css/icon-fonts/iconify.css +2308 -1153
- data/assets/theme/j1/core/css/icon-fonts/iconify.css.map +1 -0
- data/assets/theme/j1/core/css/icon-fonts/iconify.min.css +2 -1
- data/assets/theme/j1/core/css/icon-fonts/iconify.min.css.map +1 -0
- data/assets/theme/j1/core/css/icon-fonts/mdi.css +16716 -8423
- data/assets/theme/j1/core/css/icon-fonts/mdi.css.map +1 -0
- data/assets/theme/j1/core/css/icon-fonts/mdi.min.css +2 -1
- data/assets/theme/j1/core/css/icon-fonts/mdi.min.css.map +1 -0
- data/assets/theme/j1/core/css/icon-fonts/mdib.css +5554 -2766
- data/assets/theme/j1/core/css/icon-fonts/mdib.css.map +1 -0
- data/assets/theme/j1/core/css/icon-fonts/mdib.min.css +2 -1
- data/assets/theme/j1/core/css/icon-fonts/mdib.min.css.map +1 -0
- data/assets/theme/j1/core/css/icon-fonts/mdil.css +742 -441
- data/assets/theme/j1/core/css/icon-fonts/mdil.css.map +1 -0
- data/assets/theme/j1/core/css/icon-fonts/mdil.min.css +2 -1
- data/assets/theme/j1/core/css/icon-fonts/mdil.min.css.map +1 -0
- data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.css +6552 -3980
- data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.css.map +1 -0
- data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.min.css +2 -5
- data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.min.css.map +1 -0
- data/assets/theme/j1/core/css/themes/unodark/bootstrap.css +6818 -4131
- data/assets/theme/j1/core/css/themes/unodark/bootstrap.css.map +1 -0
- data/assets/theme/j1/core/css/themes/unodark/bootstrap.min.css +2 -5
- data/assets/theme/j1/core/css/themes/unodark/bootstrap.min.css.map +1 -0
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.css +18568 -11577
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.css.map +1 -0
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css +2 -35
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css.map +1 -0
- data/assets/theme/j1/core/css/vendor.css +1771 -1043
- data/assets/theme/j1/core/css/vendor.css.map +1 -0
- data/assets/theme/j1/core/css/vendor.min.css +2 -1
- data/assets/theme/j1/core/css/vendor.min.css.map +1 -0
- data/assets/theme/j1/core/js/template.js +399 -447
- data/assets/theme/j1/core/js/template.min.js +7 -7
- data/assets/theme/j1/core/js/template.min.js.map +1 -1
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.css +4 -2
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.css +39 -4
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.min.css +1 -1
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.css +57 -17
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.min.css +1 -1
- data/assets/theme/j1/modules/amplitudejs/icons/player/blue/pause.png +0 -0
- data/assets/theme/j1/modules/amplitudejs/icons/player/blue/play.png +0 -0
- data/assets/theme/j1/modules/amplitudejs/icons/player/blue/play.svg +87 -0
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/skip-backward.svg +60 -0
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/skip-forward.svg +59 -0
- data/assets/theme/j1/modules/amplitudejs/js/amplitude.js +65 -21
- data/assets/theme/j1/modules/amplitudejs/js/amplitude.min.js +1 -1
- data/assets/theme/j1/modules/amplitudejs/js/tech/ytp.js +113 -0
- data/assets/theme/j1/modules/iconPicker/js/universal-icon-picker.js +471 -471
- data/assets/theme/j1/modules/j1LazyLoader/LICENSE +21 -0
- data/assets/theme/j1/modules/j1LazyLoader/js/j1Lazy.js +870 -0
- data/assets/theme/j1/modules/js-cookies/js/js.cookie.js +3 -3
- data/assets/theme/j1/modules/lazyCssLoader/js/main.0.js +166 -0
- data/assets/theme/j1/modules/lazyCssLoader/js/main.1.js +65 -0
- data/assets/theme/j1/modules/lazyCssLoader/js/main.js +66 -0
- data/assets/theme/j1/modules/lazyCssLoader/js/plugins/examplePlugin.js +13 -0
- data/assets/theme/j1/modules/lazyCssLoader/js/plugins/my-plugin.js +25 -0
- data/assets/theme/j1/modules/lazyCssLoader/js/plugins/plugin-interface.js +9 -0
- data/assets/theme/j1/modules/lazyCssLoader/js/plugins/pluginA.js +46 -0
- data/assets/theme/j1/modules/lazyLoader/js/plugins/README.md +324 -0
- data/assets/theme/j1/modules/lazyLoader/js/plugins/jquery.lazy.picture.js +188 -0
- data/assets/theme/j1/modules/lightGallery/js/lightgallery.js +1 -1
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.0.js +794 -0
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.js +151 -67
- data/assets/theme/j1/modules/slimSelect/js/select.js +1 -1
- data/assets/theme/j1/modules/slimSelect/js/select.min.js +3 -3
- data/assets/theme/j1/modules/themeSwitcher/js/switcher.js +2 -1
- data/assets/theme/j1/modules/videojs/js/plugins/players/dm/dailymotion.min.js +1 -1
- data/assets/theme/j1/modules/videojs/js/plugins/players/dm/icon/scalable/dailymotion.svg +62 -0
- data/assets/theme/j1/modules/videojs/js/plugins/players/yt/v3.0.0/youtube.js +832 -0
- data/assets/theme/j1/modules/videojs/js/plugins/players/yt/v3.0.0/youtube.min.js +17 -0
- data/assets/theme/j1/modules/videojs/js/plugins/players/yt/youtube.min.js +1 -1
- data/assets/theme/j1/modules/videojs/js/video.js +2 -2
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/README.md +577 -560
- data/lib/starter_web/_config.yml +2 -2
- data/lib/starter_web/_data/blocks/footer.yml +10 -5
- data/lib/starter_web/_data/blocks/panel.yml +2 -2
- data/lib/starter_web/_data/layouts/default.yml +14 -3
- data/lib/starter_web/_data/modules/amplitude.yml +145 -0
- data/lib/starter_web/_data/modules/defaults/amplitude.yml +29 -7
- data/lib/starter_web/_data/modules/defaults/lazyLoader.yml +2 -2
- data/lib/starter_web/_data/modules/gallery.yml +136 -0
- data/lib/starter_web/_data/modules/lazyLoader.0.yml +118 -0
- data/lib/starter_web/_data/modules/lazyLoader.yml +68 -31
- data/lib/starter_web/_data/modules/masonry.yml +4 -4
- data/lib/starter_web/_data/modules/masterslider.yml +118 -12
- data/lib/starter_web/_data/modules/navigator_menu.yml +831 -803
- data/lib/starter_web/_data/resources.yml +154 -190
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_includes/attributes.asciidoc +1 -0
- data/lib/starter_web/_plugins/asciidoctor/amplitude-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/dailymotion-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/gallery-block.rb +4 -2
- data/lib/starter_web/_plugins/asciidoctor/masonry-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/videojs-block.rb +58 -46
- data/lib/starter_web/_plugins/asciidoctor/vimeo-block.rb +26 -19
- data/lib/starter_web/_plugins/asciidoctor/youtube-block.rb +30 -40
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/image/icons/lanus/favicon.ico +0 -0
- data/lib/starter_web/assets/image/icons/lanus/lanus-512x512.png +0 -0
- data/lib/starter_web/assets/image/icons/lanus/lanus.ico +0 -0
- data/lib/starter_web/assets/image/icons/lanus/lanus.png +0 -0
- data/lib/starter_web/assets/image/icons/lanus/scalable/lanus.svg +76 -0
- data/lib/starter_web/assets/image/icons/lanus/scalable/lanus_sw.svg +62 -0
- data/lib/starter_web/assets/image/modules/icons/social/scalable/icon-twitter-x-28 - social.svg +86 -0
- data/lib/starter_web/assets/image/modules/icons/social/scalable/icon-twitter-x-28.svg +64 -0
- data/lib/starter_web/assets/image/modules/icons/social/scalable/icon-twitter-x.svg +1 -0
- data/lib/starter_web/assets/image/modules/icons/social/twitter_x.png +0 -0
- data/lib/starter_web/package.json +7 -18
- data/lib/starter_web/pages/public/amplitude_yt_tester.adoc +218 -0
- data/lib/starter_web/pages/public/features/template.adoc +18 -8
- data/lib/starter_web/pages/public/features/template.asciidoc +758 -0
- data/lib/starter_web/pages/public/lazy_loader_tester.adoc +402 -0
- data/lib/starter_web/pages/public/manuals/ytdl/man.adoc +3020 -0
- data/lib/starter_web/pages/public/manuals/ytdl/man.md +2378 -0
- data/lib/starter_web/pages/public/tools/previewer/_includes/attributes.asciidoc +0 -16
- data/lib/starter_web/pages/public/tools/previewer/_includes/documents/amplitudejs.large.css.asciidoc +505 -0
- data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.hover.html +69 -0
- data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.nested.html +75 -0
- data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.textarea.html +57 -0
- data/lib/starter_web/pages/public/tools/previewer/_includes/documents/my.content.html +112 -0
- data/lib/starter_web/pages/public/tools/previewer/preview_amplitudejs.adoc +172 -0
- data/lib/starter_web/pages/public/tour/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/pages/public/tour/_includes/documents/419_advanced_modals_demo.asciidoc +16 -16
- data/lib/starter_web/pages/public/tour/asciidoc_extensions.adoc +13 -3
- data/lib/starter_web/pages/public/tour/bootstrap_themes.adoc +12 -3
- data/lib/starter_web/pages/public/tour/highlghter_rouge.adoc +13 -3
- data/lib/starter_web/pages/public/tour/icon_fonts.adoc +12 -3
- data/lib/starter_web/pages/public/tour/modal_extentions.adoc +12 -6
- data/lib/starter_web/pages/public/tour/{playback_audio.adoc → play_audio.adoc} +207 -188
- data/lib/starter_web/pages/public/tour/{playback_video.adoc → play_video.adoc} +49 -51
- data/lib/starter_web/pages/public/tour/present_images.adoc +27 -5
- data/lib/starter_web/pages/public/tour/quicksearch.adoc +13 -3
- data/lib/starter_web/pages/public/tour/responsive_tables.adoc +13 -4
- data/lib/starter_web/pages/public/tour/typography.adoc +12 -3
- metadata +90 -22
- /data/assets/theme/j1/modules/{lazyLoader → j1LazyLoader/js}/plugins/README.md +0 -0
- /data/assets/theme/j1/modules/{lazyLoader/plugins/jquery.lazy.picture.js → j1LazyLoader/js/plugins/picture.js} +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.ajax.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.ajax.min.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.av.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.av.min.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.iframe.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.iframe.min.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.noop.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.noop.min.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.picture.min.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.script.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.script.min.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.vimeo.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.vimeo.min.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.youtube.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.youtube.min.js +0 -0
data/assets/data/amplitude.html
CHANGED
@@ -76,26 +76,77 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
76
76
|
|
77
77
|
<body>
|
78
78
|
{% comment %} create player instances
|
79
|
+
player.volume_slider: {{player.volume_slider | debug}}
|
80
|
+
amplitude_defaults.volume_slider: {{amplitude_defaults.player.volume_slider | debug}}
|
81
|
+
volume_slider: {{volume_slider}}
|
79
82
|
============================================================================== {% endcomment %}
|
80
83
|
|
81
84
|
{% for player in amplitude_options.players %} {% if player.enabled %}
|
82
|
-
{% assign player_enabled = player.enabled %}
|
83
|
-
{% assign player_id = player.id %}
|
84
|
-
{% assign player_playlist = player.playlist.name | strip %}
|
85
85
|
|
86
|
-
|
87
|
-
{%
|
86
|
+
{% comment %} player default settings
|
87
|
+
---------------------------------------------------------------------------- {% endcomment %}
|
88
|
+
{% assign source_media = amplitude_defaults.player.source %}
|
89
|
+
{% assign song_progress_bar = amplitude_defaults.player.song_progress_bar %}
|
90
|
+
{% assign display_hours = amplitude_defaults.player.display_hours %}
|
91
|
+
{% assign volume_slider = amplitude_defaults.player.volume_slider.enabled %}
|
92
|
+
{% assign volume_slider_min = amplitude_defaults.player.volume_slider.min_value %}
|
93
|
+
{% assign volume_slider_max = amplitude_defaults.player.volume_slider.max_value %}
|
94
|
+
{% assign volume_slider_step = amplitude_defaults.player.volume_slider.slider_step %}
|
95
|
+
{% assign shuffle_repeat_button = amplitude_defaults.player.shuffle_repeat_button %}
|
96
|
+
{% assign shuffle_button = amplitude_defaults.player.shuffle_button %}
|
97
|
+
{% assign skip_forward_backward_button = amplitude_defaults.player.skip_forward_backward_button %}
|
98
|
+
{% assign playlist_controls = amplitude_defaults.player.playlist.controls %}
|
99
|
+
{% assign playlist_audio_info = amplitude_defaults.player.playlist.audio_info %}
|
100
|
+
|
101
|
+
{% comment %} player settings
|
88
102
|
---------------------------------------------------------------------------- {% endcomment %}
|
103
|
+
{% assign player_enabled = player.enabled %}
|
104
|
+
{% assign player_id = player.id %}
|
105
|
+
{% assign player_playlist = player.playlist.name | strip %}
|
106
|
+
|
89
107
|
{% if player.type %}
|
90
|
-
{% assign player_type
|
91
|
-
{% else %}
|
92
|
-
{% assign player_type = amplitude_defaults.player.type %}
|
108
|
+
{% assign player_type = player.type %}
|
93
109
|
{% endif %}
|
94
110
|
|
95
111
|
{% if player.playlist.controls %}
|
96
112
|
{% assign playlist_controls = player.playlist.controls %}
|
97
|
-
{%
|
98
|
-
|
113
|
+
{% endif %}
|
114
|
+
|
115
|
+
{% if player.song_progress_bar %}
|
116
|
+
{% assign song_progress_bar = player.song_progress_bar %}
|
117
|
+
{% endif %}
|
118
|
+
|
119
|
+
{% comment %} NOTE: slider VALUE is set by Adapter|Amplitude API (volume)
|
120
|
+
---------------------------------------------------------------------------- {% endcomment %}
|
121
|
+
{% if player.volume_slider %}
|
122
|
+
{% assign volume_slider = player.volume_slider.enabled %}
|
123
|
+
{% assign volume_slider_min = amplitude_defaults.player.volume_slider.min_value %}
|
124
|
+
{% assign volume_slider_max = amplitude_defaults.player.volume_slider.max_value %}
|
125
|
+
{% assign volume_slider_step = amplitude_defaults.player.volume_slider.slider_step %}
|
126
|
+
{% endif %}
|
127
|
+
|
128
|
+
{% if player.shuffle_repeat_button %}
|
129
|
+
{% assign shuffle_repeat_button = player.shuffle_repeat_button %}
|
130
|
+
{% endif %}
|
131
|
+
|
132
|
+
{% if player.shuffle_button %}
|
133
|
+
{% assign shuffle_button = player.shuffle_button %}
|
134
|
+
{% endif %}
|
135
|
+
|
136
|
+
{% if player.repeat_button %}
|
137
|
+
{% assign repeat_button = player.repeat_button %}
|
138
|
+
{% endif %}
|
139
|
+
|
140
|
+
{% if player.skip_forward_backward_button %}
|
141
|
+
{% assign skip_forward_backward_button = player.skip_forward_backward_button %}
|
142
|
+
{% endif %}
|
143
|
+
|
144
|
+
{% if player.display_hours %}
|
145
|
+
{% assign display_hours = player.display_hours %}
|
146
|
+
{% endif %}
|
147
|
+
|
148
|
+
{% if player.playlist.audio_info %}
|
149
|
+
{% assign player_audio_info = player.playlist.audio_info %}
|
99
150
|
{% endif %}
|
100
151
|
|
101
152
|
{% comment %} unused
|
@@ -110,11 +161,6 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
110
161
|
{% endunless %}
|
111
162
|
{% endunless %}
|
112
163
|
---------------------------------------------------------------------------- {% endcomment %}
|
113
|
-
{% if player.playlist.audio_info %}
|
114
|
-
{% assign player_audio_info = player.playlist.audio_info %}
|
115
|
-
{% else %}
|
116
|
-
{% assign player_audio_info = amplitude_defaults.player.playlist.audio_info %}
|
117
|
-
{% endif %}
|
118
164
|
|
119
165
|
|
120
166
|
{% comment %} collect playlist items
|
@@ -140,7 +186,7 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
140
186
|
|
141
187
|
{% comment %} MINI player
|
142
188
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {% endcomment %}
|
143
|
-
{% when 'mini' %}{% if player_enabled %}
|
189
|
+
{% when 'mini' %} {% if player_enabled %}
|
144
190
|
<!-- START create player instance on ID: {{player_id}} of type: {{player_type}} -->
|
145
191
|
<div id="{{player_id}}" class="mini-player">
|
146
192
|
|
@@ -148,15 +194,24 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
148
194
|
<div class="mini-player-container">
|
149
195
|
|
150
196
|
<!-- START progress bar -->
|
197
|
+
{% if song_progress_bar %}
|
151
198
|
<progress
|
152
199
|
class="mini-player-progress amplitude-song-played-progress"
|
153
200
|
data-amplitude-playlist="{{player_playlist}}">
|
154
201
|
</progress>
|
202
|
+
{% endif %}
|
155
203
|
<!-- END progress bar -->
|
156
204
|
|
157
205
|
<!-- START time container -->
|
158
206
|
<div class="time-container">
|
159
207
|
<span class="current-time">
|
208
|
+
{% if display_hours %}
|
209
|
+
<span
|
210
|
+
class="amplitude-current-hours"
|
211
|
+
data-amplitude-playlist="{{player_playlist}}">
|
212
|
+
</span>
|
213
|
+
:
|
214
|
+
{% endif %}
|
160
215
|
<span
|
161
216
|
class="amplitude-current-minutes"
|
162
217
|
data-amplitude-playlist="{{player_playlist}}">
|
@@ -168,6 +223,13 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
168
223
|
</span>
|
169
224
|
</span>
|
170
225
|
<span class="duration">
|
226
|
+
{% if display_hours %}
|
227
|
+
<span
|
228
|
+
class="amplitude-duration-hours"
|
229
|
+
data-amplitude-playlist="{{player_playlist}}">
|
230
|
+
</span>
|
231
|
+
:
|
232
|
+
{% endif %}
|
171
233
|
<span
|
172
234
|
class="amplitude-duration-minutes"
|
173
235
|
data-amplitude-playlist="{{player_playlist}}">
|
@@ -222,9 +284,17 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
222
284
|
|
223
285
|
<!-- START volume container -->
|
224
286
|
<div class="mini-player volume-container">
|
287
|
+
{% if volume_slider %}
|
225
288
|
<img src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/volume.svg" alt="Volume Icon">
|
226
|
-
|
227
|
-
|
289
|
+
<input
|
290
|
+
id="volume_slider_{{player_id}}"
|
291
|
+
class="mini-player amplitude-volume-slider"
|
292
|
+
type="range"
|
293
|
+
min="{{volume_slider_min}}"
|
294
|
+
max="{{volume_slider_max}}"
|
295
|
+
step="{{volume_slider_step}}"
|
296
|
+
aria-label="Amplitude Volume Slider">
|
297
|
+
{% endif %}
|
228
298
|
</div>
|
229
299
|
<!-- END volume container -->
|
230
300
|
|
@@ -241,7 +311,7 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
241
311
|
|
242
312
|
{% comment %} COMPACT player
|
243
313
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {% endcomment %}
|
244
|
-
{% when 'compact' %}{% if player_enabled %}
|
314
|
+
{% when 'compact' %} {% if player_enabled %}
|
245
315
|
<!-- START create player instance on ID: {{player_id}} of type: {{player_type}} -->
|
246
316
|
<div id="{{player_id}}" class="compact-player">
|
247
317
|
<div class="compact-player-container">
|
@@ -257,36 +327,63 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
257
327
|
{% if playlist_controls %}
|
258
328
|
<div class="playlist-screen-controls">
|
259
329
|
<div class="playlist-screen-meta-container">
|
260
|
-
<span
|
330
|
+
<span
|
331
|
+
class="song-name" data-amplitude-playlist="{{player_playlist}}"
|
332
|
+
data-amplitude-source="{{source_media_attribute}}"
|
333
|
+
data-amplitude-song-info="name"></span>
|
261
334
|
<div class="song-artist-album">
|
262
|
-
<span
|
335
|
+
<span
|
336
|
+
data-amplitude-playlist="{{player_playlist}}"
|
337
|
+
data-amplitude-source="{{source_media_attribute}}"
|
338
|
+
data-amplitude-song-info="artist" data-amplitude-song-index="0"></span>
|
263
339
|
</div>
|
264
340
|
</div>
|
265
341
|
<div class="list-controls">
|
266
|
-
<div
|
267
|
-
|
268
|
-
|
342
|
+
<div
|
343
|
+
class="list-previous amplitude-prev"
|
344
|
+
data-amplitude-source="{{source_media_attribute}}"
|
345
|
+
data-amplitude-playlist="{{player_playlist}}">
|
346
|
+
</div>
|
347
|
+
<div
|
348
|
+
class="list-play-pause amplitude-play-pause"
|
349
|
+
data-amplitude-source="{{source_media_attribute}}"
|
350
|
+
data-amplitude-playlist="{{player_playlist}}">
|
351
|
+
</div>
|
352
|
+
<div
|
353
|
+
class="list-next amplitude-next"
|
354
|
+
data-amplitude-source="{{source_media_attribute}}"
|
355
|
+
data-amplitude-playlist="{{player_playlist}}">
|
356
|
+
</div>
|
269
357
|
</div>
|
270
358
|
</div> <!-- END playlist controls -->
|
271
359
|
{% endif %}
|
272
360
|
|
273
361
|
<!-- START playlist items -->
|
274
|
-
<div
|
362
|
+
<div
|
363
|
+
id="compact_player_title_list_{{player_playlist}}"
|
364
|
+
class="compact-player-title-list">
|
275
365
|
{% for item in playlist_items %} {% if item.enabled %}
|
276
366
|
<!-- START list item -->
|
277
367
|
<div
|
278
368
|
class="song amplitude-song-container amplitude-play-pause"
|
369
|
+
data-amplitude-source="{{source_media_attribute}}"
|
279
370
|
data-amplitude-song-index="{{forloop.index0}}"
|
280
371
|
data-amplitude-playlist="{{player_playlist}}">
|
281
372
|
|
282
373
|
<span class="song-number-now-playing">
|
283
374
|
<span class="title-number">
|
284
375
|
{{forloop.index}}
|
285
|
-
<img
|
376
|
+
<img
|
377
|
+
class="now-playing"
|
378
|
+
src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/now-playing.svg"
|
379
|
+
alt="now-playing">
|
286
380
|
</span>
|
287
381
|
</span>
|
288
382
|
|
289
|
-
<div
|
383
|
+
<div
|
384
|
+
class="playlist-song-meta song-meta-container"
|
385
|
+
data-amplitude-source="{{source_media_attribute}}"
|
386
|
+
data-amplitude-playlist="{{player_playlist}}">
|
290
387
|
<span class="song-name">{{item.title}}</span>
|
291
388
|
<span class="song-artist-album">
|
292
389
|
<span>{{item.name}}</span>
|
@@ -321,32 +418,42 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
321
418
|
<div id="show_playlist_{{player_id}}" class="compact-player-header show-playlist">
|
322
419
|
<span>
|
323
420
|
<span
|
421
|
+
data-amplitude-source="{{source_media_attribute}}"
|
324
422
|
data-amplitude-playlist="{{player_playlist}}"
|
325
423
|
data-amplitude-song-info="artist">
|
326
424
|
</span>
|
327
425
|
<span class="song-artist-album-delimiter">·</span>
|
328
426
|
<span
|
427
|
+
data-amplitude-source="{{source_media_attribute}}"
|
329
428
|
data-amplitude-playlist="{{player_playlist}}"
|
330
429
|
data-amplitude-song-info="album">
|
331
430
|
</span>
|
332
431
|
</span>
|
333
|
-
<img
|
432
|
+
<img
|
433
|
+
class="compact-player-header-arrows"
|
434
|
+
src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/down.svg"
|
435
|
+
alt="Down Arrow">
|
334
436
|
</div> <!-- END compact player header (toggle playlist) -->
|
335
437
|
|
336
438
|
<div class="player-top">
|
337
439
|
<!-- jadams, DEFAULT album cover image replaced by AmplidudeJS (based on playlist) -->
|
338
440
|
<img
|
339
441
|
src="/assets/audio/cover/default/placeholder-blue.jpg"
|
442
|
+
data-amplitude-source="{{source_media_attribute}}"
|
340
443
|
data-amplitude-playlist="{{player_playlist}}"
|
341
444
|
data-amplitude-song-info="cover_art_url"
|
342
445
|
alt="album cover">
|
343
446
|
</div>
|
344
447
|
|
345
|
-
<!-- progress bar -->
|
448
|
+
<!-- START progress bar -->
|
449
|
+
{% if song_progress_bar %}
|
346
450
|
<progress
|
347
451
|
class="compact-player-progress amplitude-song-played-progress"
|
452
|
+
data-amplitude-source="{{source_media_attribute}}"
|
348
453
|
data-amplitude-playlist="{{player_playlist}}">
|
349
454
|
</progress>
|
455
|
+
<!-- END progress bar -->
|
456
|
+
{% endif %}
|
350
457
|
<!-- END COMPACT player TOP -->
|
351
458
|
|
352
459
|
<!-- START COMPACT player MIDDLE -->
|
@@ -356,42 +463,68 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
356
463
|
<div id="compact_player_controls">
|
357
464
|
|
358
465
|
<div class="compact-player-controls-container">
|
466
|
+
{% if shuffle_button %}
|
359
467
|
<div
|
360
468
|
id="compact_player_shuffle"
|
361
469
|
class="amplitude-shuffle amplitude-shuffle-off"
|
470
|
+
data-amplitude-source="{{source_media_attribute}}"
|
362
471
|
data-amplitude-playlist="{{player_playlist}}">
|
363
472
|
</div>
|
473
|
+
{% endif %}
|
364
474
|
<div
|
365
475
|
id="compact_player_previous"
|
366
476
|
class="amplitude-prev"
|
477
|
+
data-amplitude-source="{{source_media_attribute}}"
|
367
478
|
data-amplitude-playlist="{{player_playlist}}">
|
368
479
|
</div>
|
480
|
+
{% if skip_forward_backward_button %}
|
481
|
+
<div
|
482
|
+
id="skip-backward_{{player_id}}"
|
483
|
+
class="compact-player-skip-backward">
|
484
|
+
</div>
|
485
|
+
{% endif %}
|
369
486
|
<div
|
370
487
|
id="compact_player_play_pause"
|
371
488
|
class="amplitude-play-pause amplitude-paused"
|
489
|
+
data-amplitude-source="{{source_media_attribute}}"
|
372
490
|
data-amplitude-playlist="{{player_playlist}}">
|
373
491
|
</div>
|
492
|
+
{% if skip_forward_backward_button %}
|
493
|
+
<div
|
494
|
+
id="skip-forward_{{player_id}}"
|
495
|
+
class="compact-player-skip-forward">
|
496
|
+
</div>
|
497
|
+
{% endif %}
|
374
498
|
<div
|
375
499
|
id="compact_player_next"
|
376
500
|
class="amplitude-next"
|
501
|
+
data-amplitude-source="{{source_media_attribute}}"
|
377
502
|
data-amplitude-playlist="{{player_playlist}}">
|
378
503
|
</div>
|
504
|
+
{% if repeat_button %}
|
379
505
|
<div
|
380
506
|
id="compact_player_repeat"
|
381
507
|
class="amplitude-repeat amplitude-repeat-off"
|
508
|
+
data-amplitude-source="{{source_media_attribute}}"
|
382
509
|
data-amplitude-playlist="{{player_playlist}}">
|
383
510
|
</div>
|
511
|
+
{% endif %}
|
384
512
|
|
385
513
|
<!-- START volume container -->
|
386
514
|
<div class="compact-player-volume-container">
|
515
|
+
{% if volume_slider %}
|
387
516
|
<div class="volume-controls">
|
388
517
|
<div class="amplitude-mute amplitude-not-muted"></div>
|
389
518
|
<input
|
390
|
-
|
519
|
+
id="volume_slider_{{player_id}}"
|
391
520
|
class="amplitude-volume-slider"
|
392
|
-
|
521
|
+
type="range"
|
522
|
+
min="{{volume_slider_min}}"
|
523
|
+
max="{{volume_slider_max}}"
|
524
|
+
step="{{volume_slider_step}}"
|
393
525
|
aria-label="Amplitude Volume Slider">
|
394
526
|
</div>
|
527
|
+
{% endif %}
|
395
528
|
</div>
|
396
529
|
<!-- END volume container -->
|
397
530
|
</div>
|
@@ -407,24 +540,44 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
407
540
|
<!-- time container -->
|
408
541
|
<div class="time-container">
|
409
542
|
<span class="current-time">
|
543
|
+
{% if display_hours %}
|
544
|
+
<span
|
545
|
+
class="amplitude-current-hours"
|
546
|
+
data-amplitude-source="{{source_media_attribute}}"
|
547
|
+
data-amplitude-playlist="{{player_playlist}}">
|
548
|
+
</span>
|
549
|
+
:
|
550
|
+
{% endif %}
|
410
551
|
<span
|
411
552
|
class="amplitude-current-minutes"
|
553
|
+
data-amplitude-source="{{source_media_attribute}}"
|
412
554
|
data-amplitude-playlist="{{player_playlist}}">
|
413
555
|
</span>
|
414
556
|
:
|
415
557
|
<span
|
416
558
|
class="amplitude-current-seconds"
|
559
|
+
data-amplitude-source="{{source_media_attribute}}"
|
417
560
|
data-amplitude-playlist="{{player_playlist}}">
|
418
561
|
</span>
|
419
562
|
</span>
|
420
563
|
<span class="duration">
|
564
|
+
{% if display_hours %}
|
565
|
+
<span
|
566
|
+
class="amplitude-duration-hours"
|
567
|
+
data-amplitude-source="{{source_media_attribute}}"
|
568
|
+
data-amplitude-playlist="{{player_playlist}}">
|
569
|
+
</span>
|
570
|
+
:
|
571
|
+
{% endif %}
|
421
572
|
<span
|
422
573
|
class="amplitude-duration-minutes"
|
574
|
+
data-amplitude-source="{{source_media_attribute}}"
|
423
575
|
data-amplitude-playlist="{{player_playlist}}">
|
424
576
|
</span>
|
425
577
|
:
|
426
578
|
<span
|
427
579
|
class="amplitude-duration-seconds"
|
580
|
+
data-amplitude-source="{{source_media_attribute}}"
|
428
581
|
data-amplitude-playlist="{{player_playlist}}">
|
429
582
|
</span>
|
430
583
|
</span>
|
@@ -435,15 +588,18 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
435
588
|
<div class="meta-container compact-player">
|
436
589
|
<span
|
437
590
|
class="song-name"
|
591
|
+
data-amplitude-source="{{source_media_attribute}}"
|
438
592
|
data-amplitude-playlist="{{player_playlist}}"
|
439
593
|
data-amplitude-song-info="name">
|
440
594
|
</span>
|
441
595
|
<div class="audio-artist-album">
|
442
596
|
<span
|
597
|
+
data-amplitude-source="{{source_media_attribute}}"
|
443
598
|
data-amplitude-playlist="{{player_playlist}}"
|
444
599
|
data-amplitude-song-info="artist">
|
445
600
|
</span>
|
446
601
|
<span
|
602
|
+
data-amplitude-source="{{source_media_attribute}}"
|
447
603
|
data-amplitude-playlist="{{player_playlist}}"
|
448
604
|
data-amplitude-song-info="album">
|
449
605
|
</span>
|
@@ -452,6 +608,7 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
452
608
|
<!-- END meta container -->
|
453
609
|
</div>
|
454
610
|
<!-- START COMPACT player BOTTOM -->
|
611
|
+
|
455
612
|
</div>
|
456
613
|
<!-- END compact player -->
|
457
614
|
|
@@ -465,38 +622,60 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
465
622
|
|
466
623
|
|
467
624
|
{% comment %} LARGE player
|
625
|
+
player.source: {{source_media}}
|
468
626
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {% endcomment %}
|
469
627
|
{% when 'large' %} {% if player_enabled %}
|
628
|
+
|
629
|
+
{% if player.source %}
|
630
|
+
{% assign source_media = player.source %}
|
631
|
+
{% endif %}
|
632
|
+
|
633
|
+
{% if player.source == 'video' %}
|
634
|
+
{% assign source_media_attribute = 'youtube' %}
|
635
|
+
{% else %}
|
636
|
+
{% assign source_media_attribute = 'audio' %}
|
637
|
+
{% endif %}
|
638
|
+
|
470
639
|
<!-- START create player instance on ID: {{player_id}} of type: {{player_type}} -->
|
471
640
|
{% capture large_player_left_side %}
|
472
641
|
<!-- START LARGE player left TOP -->
|
473
642
|
<div div class="player-left-top">
|
643
|
+
|
474
644
|
<div class="large-player-playlist-header">
|
475
645
|
<span class="audio-artist">
|
476
646
|
<span
|
477
647
|
data-amplitude-playlist="{{player_playlist}}"
|
648
|
+
data-amplitude-source="{{source_media_attribute}}"
|
478
649
|
data-amplitude-song-info="artist">
|
479
650
|
</span>
|
480
651
|
<span class="song-artist-album-delimiter">·</span>
|
481
652
|
<span
|
482
653
|
data-amplitude-playlist="{{player_playlist}}"
|
654
|
+
data-amplitude-source="{{source_media_attribute}}"
|
483
655
|
data-amplitude-song-info="album">
|
484
656
|
</span>
|
485
657
|
</span>
|
486
658
|
</div>
|
487
659
|
|
488
|
-
<!-- DEFAULT album cover image (replaced by AJS API based on playlist) -->
|
660
|
+
<!-- NOTE: DEFAULT album cover image (replaced by AJS API based on playlist) -->
|
489
661
|
<img
|
490
662
|
src="/assets/audio/cover/default/placeholder-blue.jpg"
|
663
|
+
width="500" height="500"
|
491
664
|
data-amplitude-playlist="{{player_playlist}}"
|
665
|
+
data-amplitude-source="{{source_media_attribute}}"
|
492
666
|
data-amplitude-song-info="cover_art_url"
|
493
667
|
alt="album cover"
|
494
668
|
>
|
495
|
-
<!-- progress bar -->
|
669
|
+
<!-- START progress bar -->
|
670
|
+
{% if song_progress_bar %}
|
496
671
|
<progress
|
497
672
|
class="large-player-progress amplitude-song-played-progress"
|
673
|
+
data-amplitude-source="{{source_media_attribute}}"
|
498
674
|
data-amplitude-playlist="{{player_playlist}}">
|
675
|
+
|
499
676
|
</progress>
|
677
|
+
{% endif %}
|
678
|
+
<!-- END progress bar -->
|
500
679
|
</div>
|
501
680
|
<!-- END LARGE player left TOP -->
|
502
681
|
|
@@ -507,42 +686,70 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
507
686
|
<div id="large_player_controls">
|
508
687
|
|
509
688
|
<div class="large-player-controls-container">
|
689
|
+
{% if shuffle_button %}
|
510
690
|
<div
|
511
691
|
id="large_player_shuffle"
|
512
692
|
class="amplitude-shuffle amplitude-shuffle-off"
|
693
|
+
data-amplitude-source="{{source_media_attribute}}"
|
513
694
|
data-amplitude-playlist="{{player_playlist}}">
|
514
695
|
</div>
|
696
|
+
{% endif %}
|
515
697
|
<div
|
516
698
|
id="large_player_previous"
|
517
699
|
class="amplitude-prev"
|
700
|
+
data-amplitude-source="{{source_media_attribute}}"
|
518
701
|
data-amplitude-playlist="{{player_playlist}}">
|
519
702
|
</div>
|
703
|
+
{% if skip_forward_backward_button %}
|
704
|
+
<div
|
705
|
+
id="skip-backward_{{player_id}}"
|
706
|
+
class="large-player-skip-backward"
|
707
|
+
data-amplitude-source="{{source_media_attribute}}">
|
708
|
+
</div>
|
709
|
+
{% endif %}
|
520
710
|
<div
|
521
711
|
id="large_player_play_pause"
|
522
712
|
class="amplitude-play-pause amplitude-paused"
|
713
|
+
data-amplitude-source="{{source_media_attribute}}"
|
523
714
|
data-amplitude-playlist="{{player_playlist}}">
|
524
715
|
</div>
|
716
|
+
{% if skip_forward_backward_button %}
|
717
|
+
<div
|
718
|
+
id="skip-forward_{{player_id}}"
|
719
|
+
class="large-player-skip-forward"
|
720
|
+
data-amplitude-source="{{source_media_attribute}}">
|
721
|
+
</div>
|
722
|
+
{% endif %}
|
525
723
|
<div
|
526
724
|
id="large_player_next"
|
527
725
|
class="amplitude-next"
|
726
|
+
data-amplitude-source="{{source_media_attribute}}"
|
528
727
|
data-amplitude-playlist="{{player_playlist}}">
|
529
728
|
</div>
|
729
|
+
{% if repeat_button %}
|
530
730
|
<div
|
531
|
-
id="
|
731
|
+
id="large_player_repeat"
|
532
732
|
class="amplitude-repeat amplitude-repeat-off"
|
733
|
+
data-amplitude-source="{{source_media_attribute}}"
|
533
734
|
data-amplitude-playlist="{{player_playlist}}">
|
534
735
|
</div>
|
736
|
+
{% endif %}
|
535
737
|
|
536
738
|
<!-- START volume container -->
|
537
739
|
<div class="compact-player-volume-container">
|
740
|
+
{% if volume_slider %}
|
538
741
|
<div class="volume-controls">
|
539
742
|
<div class="amplitude-mute amplitude-not-muted"></div>
|
540
743
|
<input
|
541
|
-
|
744
|
+
id="volume_slider_{{player_id}}"
|
542
745
|
class="amplitude-volume-slider"
|
543
|
-
|
746
|
+
type="range"
|
747
|
+
min="{{volume_slider_min}}"
|
748
|
+
max="{{volume_slider_max}}"
|
749
|
+
step="{{volume_slider_step}}"
|
544
750
|
aria-label="Amplitude Volume Slider">
|
545
751
|
</div>
|
752
|
+
{% endif %}
|
546
753
|
</div>
|
547
754
|
<!-- END volume container -->
|
548
755
|
</div>
|
@@ -559,24 +766,44 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
559
766
|
<!-- time container -->
|
560
767
|
<div class="time-container">
|
561
768
|
<span class="current-time">
|
769
|
+
{% if display_hours %}
|
770
|
+
<span
|
771
|
+
class="amplitude-current-hours"
|
772
|
+
data-amplitude-source="{{source_media_attribute}}"
|
773
|
+
data-amplitude-playlist="{{player_playlist}}">
|
774
|
+
</span>
|
775
|
+
:
|
776
|
+
{% endif %}
|
562
777
|
<span
|
563
778
|
class="amplitude-current-minutes"
|
779
|
+
data-amplitude-source="{{source_media_attribute}}"
|
564
780
|
data-amplitude-playlist="{{player_playlist}}">
|
565
781
|
</span>
|
566
782
|
:
|
567
783
|
<span
|
568
784
|
class="amplitude-current-seconds"
|
785
|
+
data-amplitude-source="{{source_media_attribute}}"
|
569
786
|
data-amplitude-playlist="{{player_playlist}}">
|
570
787
|
</span>
|
571
788
|
</span>
|
572
789
|
<span class="duration">
|
790
|
+
{% if display_hours %}
|
791
|
+
<span
|
792
|
+
class="amplitude-duration-hours"
|
793
|
+
data-amplitude-source="{{source_media_attribute}}"
|
794
|
+
data-amplitude-playlist="{{player_playlist}}">
|
795
|
+
</span>
|
796
|
+
:
|
797
|
+
{% endif %}
|
573
798
|
<span
|
574
799
|
class="amplitude-duration-minutes"
|
800
|
+
data-amplitude-source="{{source_media_attribute}}"
|
575
801
|
data-amplitude-playlist="{{player_playlist}}">
|
576
802
|
</span>
|
577
803
|
:
|
578
804
|
<span
|
579
805
|
class="amplitude-duration-seconds"
|
806
|
+
data-amplitude-source="{{source_media_attribute}}"
|
580
807
|
data-amplitude-playlist="{{player_playlist}}">
|
581
808
|
</span>
|
582
809
|
</span>
|
@@ -586,15 +813,18 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
586
813
|
<div class="meta-container large-player">
|
587
814
|
<span
|
588
815
|
class="song-name"
|
816
|
+
data-amplitude-source="{{source_media_attribute}}"
|
589
817
|
data-amplitude-playlist="{{player_playlist}}"
|
590
818
|
data-amplitude-song-info="name">
|
591
819
|
</span>
|
592
820
|
<div class="audio-artist-album">
|
593
821
|
<span
|
822
|
+
data-amplitude-source="{{source_media_attribute}}"
|
594
823
|
data-amplitude-playlist="{{player_playlist}}"
|
595
824
|
data-amplitude-song-info="artist">
|
596
825
|
</span>
|
597
826
|
<span
|
827
|
+
data-amplitude-source="{{source_media_attribute}}"
|
598
828
|
data-amplitude-playlist="{{player_playlist}}"
|
599
829
|
data-amplitude-song-info="album">
|
600
830
|
</span>
|
@@ -617,42 +847,77 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
617
847
|
<!-- END Large Player|Left Side -->
|
618
848
|
|
619
849
|
<!-- Large Player|Right Side (playlist) -->
|
620
|
-
<div
|
621
|
-
|
850
|
+
<div
|
851
|
+
id="large_player_right" class="hide-scrollbar"
|
852
|
+
data-amplitude-source="{{source_media_attribute}}"
|
853
|
+
data-amplitude-playlist="{{player_playlist}}">
|
854
|
+
<div
|
855
|
+
id="playlist_header_{{player_id}}"
|
856
|
+
class="large-player-playlist-header">Playlist
|
857
|
+
</div>
|
622
858
|
|
623
859
|
<!-- jadams, 2024-07-06: controls configurable in player -->
|
624
860
|
{% if playlist_controls %}
|
625
861
|
<div class="playlist-screen-controls large-player">
|
626
862
|
<div class="playlist-screen-meta-container">
|
627
|
-
<span
|
863
|
+
<span
|
864
|
+
class="song-name"
|
865
|
+
data-amplitude-source="{{source_media_attribute}}"
|
866
|
+
data-amplitude-playlist="{{player_playlist}}"
|
867
|
+
data-amplitude-song-info="name">
|
868
|
+
</span>
|
628
869
|
<div class="song-artist-album">
|
629
|
-
<span
|
870
|
+
<span
|
871
|
+
data-amplitude-source="{{source_media_attribute}}"
|
872
|
+
data-amplitude-playlist="{{player_playlist}}"
|
873
|
+
data-amplitude-song-info="artist"
|
874
|
+
data-amplitude-song-index="0">
|
875
|
+
</span>
|
630
876
|
</div>
|
631
877
|
</div>
|
632
878
|
<div class="list-controls">
|
633
|
-
<div
|
634
|
-
|
635
|
-
|
879
|
+
<div
|
880
|
+
class="list-previous amplitude-prev"
|
881
|
+
data-amplitude-source="{{source_media_attribute}}"
|
882
|
+
data-amplitude-playlist="{{player_playlist}}">
|
883
|
+
</div>
|
884
|
+
<div
|
885
|
+
class="list-play-pause amplitude-play-pause"
|
886
|
+
data-amplitude-source="{{source_media_attribute}}"
|
887
|
+
data-amplitude-playlist="{{player_playlist}}">
|
888
|
+
</div>
|
889
|
+
<div
|
890
|
+
class="list-next amplitude-next"
|
891
|
+
data-amplitude-source="{{source_media_attribute}}"
|
892
|
+
data-amplitude-playlist="{{player_playlist}}"></div>
|
636
893
|
</div>
|
637
894
|
</div> <!-- END playlist controls -->
|
638
895
|
{% endif %}
|
639
896
|
|
640
897
|
<!-- START playlist items -->
|
641
|
-
<div
|
898
|
+
<div
|
899
|
+
id="large_player_title_list_{{player_playlist}}"
|
900
|
+
class="large-player-title-list">
|
642
901
|
{% for item in playlist_items %}{% if item.enabled %}
|
643
902
|
<!-- START list item -->
|
644
903
|
<div
|
645
904
|
class="song amplitude-song-container amplitude-play-pause"
|
646
905
|
data-amplitude-song-index="{{forloop.index0}}"
|
906
|
+
data-amplitude-source="{{source_media_attribute}}"
|
647
907
|
data-amplitude-playlist="{{player_playlist}}">
|
648
908
|
|
649
|
-
<div
|
909
|
+
<div
|
910
|
+
class="song-now-playing-icon-container"
|
911
|
+
data-amplitude-source="{{source_media_attribute}}"
|
912
|
+
data-amplitude-playlist="{{player_playlist}}">
|
650
913
|
<span class="title-number">{{forloop.index}}
|
651
914
|
<img class="now-playing" src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/now-playing.svg" alt="now-playing">
|
652
915
|
</span>
|
653
916
|
</div>
|
654
917
|
|
655
|
-
<div
|
918
|
+
<div
|
919
|
+
class="audio-meta-data"
|
920
|
+
data-amplitude-playlist="{{player_playlist}}">
|
656
921
|
<span class="audio-title">{{item.title}}</span>
|
657
922
|
<span class="audio-artist">
|
658
923
|
<span>{{item.name}}</span>
|