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.
- 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.html +403 -85
- data/assets/data/banner.html +9 -7
- data/assets/data/cookieconsent.html +8 -8
- data/assets/data/masterslider.html +128 -7
- data/assets/data/panel.html +16 -65
- data/assets/data/speak2me.html +11 -11
- data/assets/data/translator.html +29 -29
- data/assets/theme/j1/adapter/js/amplitude.js +310 -128
- 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 +12 -12
- 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 +43 -5
- 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 +5576 -2768
- 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 +132 -197
- 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 +53 -24
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.min.css +1 -1
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.css +138 -78
- 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 +137 -81
- 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/gemini/js/gemini.js.map +1 -1
- 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/jquery/js/jquery.min.map +1 -1
- 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.js +2 -2
- 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 +595 -30
- data/lib/starter_web/_data/modules/defaults/amplitude.yml +30 -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.yml +69 -32
- data/lib/starter_web/_data/modules/masonry.yml +4 -4
- data/lib/starter_web/_data/modules/masterslider.yml +124 -18
- data/lib/starter_web/_data/modules/navigator_menu.yml +831 -803
- data/lib/starter_web/_data/resources.yml +155 -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/carousel-block.rb +2 -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/lightbox-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/masonry-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/masterslider-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/slick-block.rb +2 -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/audio/cover/spontanorama/spontanorama.jpg +0 -0
- data/lib/starter_web/assets/audio/cover/spontanorama/src/spontanorama.png +0 -0
- data/lib/starter_web/assets/audio/cover/spontanorama/src/spontanorama.psd +0 -0
- 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 → tour}/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/419_advanced_modals_demo.asciidoc +16 -16
- data/lib/starter_web/pages/{public/tour → tour}/asciidoc_extensions.adoc +14 -4
- data/lib/starter_web/pages/{public/tour → tour}/bootstrap_themes.adoc +13 -4
- data/lib/starter_web/pages/{public/tour → tour}/highlghter_rouge.adoc +14 -4
- data/lib/starter_web/pages/{public/tour → tour}/icon_fonts.adoc +12 -3
- data/lib/starter_web/pages/{public/tour → tour}/modal_extentions.adoc +13 -7
- data/lib/starter_web/pages/{public/tour/playback_audio.adoc → tour/play_audio.adoc} +215 -188
- data/lib/starter_web/pages/{public/tour/playback_video.adoc → tour/play_video.adoc} +68 -53
- data/lib/starter_web/pages/{public/tour → tour}/present_images.adoc +42 -19
- data/lib/starter_web/pages/{public/tour → tour}/quicksearch.adoc +14 -4
- data/lib/starter_web/pages/{public/tour → tour}/responsive_tables.adoc +14 -5
- data/lib/starter_web/pages/{public/tour → tour}/typography.adoc +13 -4
- metadata +112 -47
- /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/lib/starter_web/pages/{public/tour → tour}/_includes/documents/100_gistblock.asciidoc +0 -0
- /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/410_bottom_info.asciidoc +0 -0
- /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/410_bottom_left_warning.asciidoc +0 -0
- /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/410_bottom_right_danger.asciidoc +0 -0
- /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/410_central_success.asciidoc +0 -0
- /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/410_full_height_left_info.asciidoc +0 -0
- /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/410_full_height_right_success.asciidoc +0 -0
- /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/410_table_bs_modal_examples.asciidoc +0 -0
- /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/410_top_info.asciidoc +0 -0
- /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/410_top_left_info.asciidoc +0 -0
- /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/410_top_right_success.asciidoc +0 -0
- /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/tables/bs_modal_examples.asciidoc +0 -0
- /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/themes_bootstrap.asciidoc +0 -0
- /data/lib/starter_web/pages/{public/tour → tour}/_includes/documents/themes_rouge.asciidoc +0 -0
data/assets/data/amplitude.html
CHANGED
@@ -76,28 +76,87 @@ 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 audio_rating = amplitude_defaults.player.audio_rating %}
|
91
|
+
{% assign display_hours = amplitude_defaults.player.display_hours %}
|
92
|
+
{% assign volume_slider = amplitude_defaults.player.volume_slider.enabled %}
|
93
|
+
{% assign volume_slider_min = amplitude_defaults.player.volume_slider.min_value %}
|
94
|
+
{% assign volume_slider_max = amplitude_defaults.player.volume_slider.max_value %}
|
95
|
+
{% assign volume_slider_step = amplitude_defaults.player.volume_slider.slider_step %}
|
96
|
+
{% assign shuffle_repeat_button = amplitude_defaults.player.shuffle_repeat_button %}
|
97
|
+
{% assign shuffle_button = amplitude_defaults.player.shuffle_button %}
|
98
|
+
{% assign skip_forward_backward_button = amplitude_defaults.player.skip_forward_backward_button %}
|
99
|
+
{% assign playlist_controls = amplitude_defaults.player.playlist.controls %}
|
100
|
+
{% assign playlist_audio_info = amplitude_defaults.player.playlist.audio_info %}
|
101
|
+
|
102
|
+
{% comment %} player settings
|
88
103
|
---------------------------------------------------------------------------- {% endcomment %}
|
104
|
+
{% assign player_enabled = player.enabled %}
|
105
|
+
{% assign player_id = player.id %}
|
106
|
+
{% assign player_playlist = player.playlist.name | strip %}
|
107
|
+
|
89
108
|
{% if player.type %}
|
90
|
-
{% assign player_type
|
91
|
-
{% else %}
|
92
|
-
{% assign player_type = amplitude_defaults.player.type %}
|
109
|
+
{% assign player_type = player.type %}
|
93
110
|
{% endif %}
|
94
111
|
|
95
112
|
{% if player.playlist.controls %}
|
96
113
|
{% assign playlist_controls = player.playlist.controls %}
|
114
|
+
{% endif %}
|
115
|
+
|
116
|
+
{% if player.song_progress_bar %}
|
117
|
+
{% assign song_progress_bar = player.song_progress_bar %}
|
118
|
+
{% endif %}
|
119
|
+
|
120
|
+
{% comment %} NOTE: slider VALUE is set by Adapter|Amplitude API (volume)
|
121
|
+
---------------------------------------------------------------------------- {% endcomment %}
|
122
|
+
{% if player.volume_slider %}
|
123
|
+
{% assign volume_slider = player.volume_slider.enabled %}
|
124
|
+
{% assign volume_slider_min = amplitude_defaults.player.volume_slider.min_value %}
|
125
|
+
{% assign volume_slider_max = amplitude_defaults.player.volume_slider.max_value %}
|
126
|
+
{% assign volume_slider_step = amplitude_defaults.player.volume_slider.slider_step %}
|
127
|
+
{% endif %}
|
128
|
+
|
129
|
+
{% if player.shuffle_repeat_button %}
|
130
|
+
{% assign shuffle_repeat_button = player.shuffle_repeat_button %}
|
131
|
+
{% endif %}
|
132
|
+
|
133
|
+
{% if player.shuffle_button %}
|
134
|
+
{% assign shuffle_button = player.shuffle_button %}
|
135
|
+
{% endif %}
|
136
|
+
|
137
|
+
{% if player.repeat_button %}
|
138
|
+
{% assign repeat_button = player.repeat_button %}
|
139
|
+
{% endif %}
|
140
|
+
|
141
|
+
{% if player.skip_forward_backward_button %}
|
142
|
+
{% assign skip_forward_backward_button = player.skip_forward_backward_button %}
|
143
|
+
{% endif %}
|
144
|
+
|
145
|
+
{% if player.display_hours %}
|
146
|
+
{% assign display_hours = player.display_hours %}
|
147
|
+
{% endif %}
|
148
|
+
|
149
|
+
{% if player.playlist.audio_info %}
|
150
|
+
{% assign player_audio_info = player.playlist.audio_info %}
|
151
|
+
{% endif %}
|
152
|
+
|
153
|
+
{% if player.audio_rating %}
|
154
|
+
{% assign player_audio_rating = player.audio_rating %}
|
97
155
|
{% else %}
|
98
|
-
{% assign
|
156
|
+
{% assign player_audio_rating = audio_rating %}
|
99
157
|
{% endif %}
|
100
158
|
|
159
|
+
|
101
160
|
{% comment %} unused
|
102
161
|
----------------------------------------------------------------------------
|
103
162
|
{% unless player.playlist.scrollbar %}
|
@@ -110,11 +169,6 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
110
169
|
{% endunless %}
|
111
170
|
{% endunless %}
|
112
171
|
---------------------------------------------------------------------------- {% 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
172
|
|
119
173
|
|
120
174
|
{% comment %} collect playlist items
|
@@ -140,7 +194,7 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
140
194
|
|
141
195
|
{% comment %} MINI player
|
142
196
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {% endcomment %}
|
143
|
-
{% when 'mini' %}{% if player_enabled %}
|
197
|
+
{% when 'mini' %} {% if player_enabled %}
|
144
198
|
<!-- START create player instance on ID: {{player_id}} of type: {{player_type}} -->
|
145
199
|
<div id="{{player_id}}" class="mini-player">
|
146
200
|
|
@@ -148,15 +202,24 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
148
202
|
<div class="mini-player-container">
|
149
203
|
|
150
204
|
<!-- START progress bar -->
|
205
|
+
{% if song_progress_bar %}
|
151
206
|
<progress
|
152
207
|
class="mini-player-progress amplitude-song-played-progress"
|
153
208
|
data-amplitude-playlist="{{player_playlist}}">
|
154
209
|
</progress>
|
210
|
+
{% endif %}
|
155
211
|
<!-- END progress bar -->
|
156
212
|
|
157
213
|
<!-- START time container -->
|
158
214
|
<div class="time-container">
|
159
215
|
<span class="current-time">
|
216
|
+
{% if display_hours %}
|
217
|
+
<span
|
218
|
+
class="amplitude-current-hours"
|
219
|
+
data-amplitude-playlist="{{player_playlist}}">
|
220
|
+
</span>
|
221
|
+
:
|
222
|
+
{% endif %}
|
160
223
|
<span
|
161
224
|
class="amplitude-current-minutes"
|
162
225
|
data-amplitude-playlist="{{player_playlist}}">
|
@@ -168,6 +231,13 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
168
231
|
</span>
|
169
232
|
</span>
|
170
233
|
<span class="duration">
|
234
|
+
{% if display_hours %}
|
235
|
+
<span
|
236
|
+
class="amplitude-duration-hours"
|
237
|
+
data-amplitude-playlist="{{player_playlist}}">
|
238
|
+
</span>
|
239
|
+
:
|
240
|
+
{% endif %}
|
171
241
|
<span
|
172
242
|
class="amplitude-duration-minutes"
|
173
243
|
data-amplitude-playlist="{{player_playlist}}">
|
@@ -222,9 +292,17 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
222
292
|
|
223
293
|
<!-- START volume container -->
|
224
294
|
<div class="mini-player volume-container">
|
295
|
+
{% if volume_slider %}
|
225
296
|
<img src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/volume.svg" alt="Volume Icon">
|
226
|
-
|
227
|
-
|
297
|
+
<input
|
298
|
+
id="volume_slider_{{player_id}}"
|
299
|
+
class="mini-player amplitude-volume-slider"
|
300
|
+
type="range"
|
301
|
+
min="{{volume_slider_min}}"
|
302
|
+
max="{{volume_slider_max}}"
|
303
|
+
step="{{volume_slider_step}}"
|
304
|
+
aria-label="Amplitude Volume Slider">
|
305
|
+
{% endif %}
|
228
306
|
</div>
|
229
307
|
<!-- END volume container -->
|
230
308
|
|
@@ -241,7 +319,7 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
241
319
|
|
242
320
|
{% comment %} COMPACT player
|
243
321
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {% endcomment %}
|
244
|
-
{% when 'compact' %}{% if player_enabled %}
|
322
|
+
{% when 'compact' %} {% if player_enabled %}
|
245
323
|
<!-- START create player instance on ID: {{player_id}} of type: {{player_type}} -->
|
246
324
|
<div id="{{player_id}}" class="compact-player">
|
247
325
|
<div class="compact-player-container">
|
@@ -253,59 +331,105 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
253
331
|
Hide Playlist
|
254
332
|
</div> <!-- END playlist-screen header (toggle playlist) -->
|
255
333
|
|
256
|
-
<!-- jadams, 2024-07-06: controls configurable in player -->
|
257
334
|
{% if playlist_controls %}
|
258
335
|
<div class="playlist-screen-controls">
|
259
336
|
<div class="playlist-screen-meta-container">
|
260
|
-
<span
|
337
|
+
<span
|
338
|
+
class="song-name" data-amplitude-playlist="{{player_playlist}}"
|
339
|
+
data-amplitude-source="{{source_media_attribute}}"
|
340
|
+
data-amplitude-song-info="name"></span>
|
261
341
|
<div class="song-artist-album">
|
262
|
-
<span
|
342
|
+
<span
|
343
|
+
data-amplitude-source="{{source_media_attribute}}"
|
344
|
+
data-amplitude-playlist="{{player_playlist}}"
|
345
|
+
data-amplitude-song-info="artist">
|
346
|
+
</span>
|
347
|
+
<!-- span class="song-artist-album-delimiter">·</span>
|
348
|
+
<span
|
349
|
+
data-amplitude-source="audio"
|
350
|
+
data-amplitude-playlist="{{player_playlist}}"
|
351
|
+
data-amplitude-song-info="album">
|
352
|
+
</span -->
|
263
353
|
</div>
|
264
354
|
</div>
|
265
355
|
<div class="list-controls">
|
266
|
-
<div
|
267
|
-
|
268
|
-
|
356
|
+
<div
|
357
|
+
class="list-previous amplitude-prev"
|
358
|
+
data-amplitude-source="{{source_media_attribute}}"
|
359
|
+
data-amplitude-playlist="{{player_playlist}}">
|
360
|
+
</div>
|
361
|
+
<div
|
362
|
+
class="list-play-pause amplitude-play-pause"
|
363
|
+
data-amplitude-source="{{source_media_attribute}}"
|
364
|
+
data-amplitude-playlist="{{player_playlist}}">
|
365
|
+
</div>
|
366
|
+
<div
|
367
|
+
class="list-next amplitude-next"
|
368
|
+
data-amplitude-source="{{source_media_attribute}}"
|
369
|
+
data-amplitude-playlist="{{player_playlist}}">
|
370
|
+
</div>
|
269
371
|
</div>
|
270
372
|
</div> <!-- END playlist controls -->
|
271
373
|
{% endif %}
|
272
374
|
|
273
|
-
<!-- START playlist items -->
|
274
|
-
<div
|
375
|
+
<!-- START playlist items (COMPACT player )-->
|
376
|
+
<div
|
377
|
+
id="compact_player_title_list_{{player_playlist}}"
|
378
|
+
class="compact-player-title-list">
|
275
379
|
{% for item in playlist_items %} {% if item.enabled %}
|
276
380
|
<!-- START list item -->
|
277
381
|
<div
|
278
382
|
class="song amplitude-song-container amplitude-play-pause"
|
383
|
+
data-amplitude-source="{{source_media_attribute}}"
|
279
384
|
data-amplitude-song-index="{{forloop.index0}}"
|
280
385
|
data-amplitude-playlist="{{player_playlist}}">
|
281
386
|
|
282
387
|
<span class="song-number-now-playing">
|
283
388
|
<span class="title-number">
|
284
389
|
{{forloop.index}}
|
285
|
-
<img
|
390
|
+
<img
|
391
|
+
class="now-playing"
|
392
|
+
src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/now-playing.svg"
|
393
|
+
alt="now-playing">
|
286
394
|
</span>
|
287
395
|
</span>
|
288
396
|
|
289
|
-
<div
|
397
|
+
<div
|
398
|
+
class="playlist-song-meta song-meta-container"
|
399
|
+
data-amplitude-source="{{source_media_attribute}}"
|
400
|
+
data-amplitude-playlist="{{player_playlist}}">
|
290
401
|
<span class="song-name">{{item.title}}</span>
|
291
|
-
|
402
|
+
|
403
|
+
{% if player_audio_rating %}
|
404
|
+
<span class="audio-rating">
|
405
|
+
{{item.rating}}
|
406
|
+
<i class="mdib mdib-star md-gray-400 mdib-18px"></i>
|
407
|
+
</span>
|
408
|
+
{% endif %}
|
409
|
+
|
410
|
+
<!-- span class="song-artist-album">
|
292
411
|
<span>{{item.name}}</span>
|
293
412
|
<span class="song-artist-album-delimiter">·</span>
|
294
413
|
<span>{{item.artist}}</span>
|
414
|
+
</span -->
|
415
|
+
|
416
|
+
<span class="song-artist-album">
|
417
|
+
<span>{{item.artist}}</span>
|
295
418
|
</span>
|
296
|
-
</div>
|
297
419
|
|
298
|
-
<a href="{{item.audio_info}}" class="audio-info-link" target="_blank">
|
299
420
|
{% if player_audio_info %}
|
300
|
-
<
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
421
|
+
<span class="audio-info">
|
422
|
+
<a href="{{item.audio_info}}" class="audio-info-link" target="_blank">
|
423
|
+
<i class="mdib mdib-information md-gray-400 mdib-24px"></i>
|
424
|
+
</a>
|
425
|
+
</span>
|
305
426
|
{% endif %}
|
306
|
-
</a>
|
307
427
|
|
308
|
-
|
428
|
+
<span class="audio-duration">{{item.duration}}</span>
|
429
|
+
|
430
|
+
</div> <!-- END song-meta-container -->
|
431
|
+
|
432
|
+
|
309
433
|
</div>
|
310
434
|
<!-- END list item -->
|
311
435
|
{% endif %} {% endfor %}
|
@@ -321,32 +445,45 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
321
445
|
<div id="show_playlist_{{player_id}}" class="compact-player-header show-playlist">
|
322
446
|
<span>
|
323
447
|
<span
|
448
|
+
data-amplitude-source="{{source_media_attribute}}"
|
324
449
|
data-amplitude-playlist="{{player_playlist}}"
|
325
450
|
data-amplitude-song-info="artist">
|
326
451
|
</span>
|
327
452
|
<span class="song-artist-album-delimiter">·</span>
|
328
453
|
<span
|
454
|
+
data-amplitude-source="{{source_media_attribute}}"
|
329
455
|
data-amplitude-playlist="{{player_playlist}}"
|
330
456
|
data-amplitude-song-info="album">
|
331
457
|
</span>
|
332
458
|
</span>
|
333
|
-
<img
|
459
|
+
<img
|
460
|
+
class="compact-player-header-arrows"
|
461
|
+
src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/down.svg"
|
462
|
+
alt="Down Arrow">
|
334
463
|
</div> <!-- END compact player header (toggle playlist) -->
|
335
464
|
|
336
465
|
<div class="player-top">
|
337
|
-
<!--
|
338
|
-
<
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
466
|
+
<!-- NOTE: album cover image (replaced by AJS API based on playlist) -->
|
467
|
+
<div class="album-cover-image">
|
468
|
+
<img
|
469
|
+
src="/assets/audio/cover/default/placeholder-blue.jpg"
|
470
|
+
data-amplitude-playlist="{{player_playlist}}"
|
471
|
+
data-amplitude-source="{{source_media_attribute}}"
|
472
|
+
data-amplitude-song-info="cover_art_url"
|
473
|
+
alt="album cover image"
|
474
|
+
>
|
475
|
+
</div>
|
343
476
|
</div>
|
344
477
|
|
345
|
-
<!-- progress bar -->
|
478
|
+
<!-- START progress bar -->
|
479
|
+
{% if song_progress_bar %}
|
346
480
|
<progress
|
347
481
|
class="compact-player-progress amplitude-song-played-progress"
|
482
|
+
data-amplitude-source="{{source_media_attribute}}"
|
348
483
|
data-amplitude-playlist="{{player_playlist}}">
|
349
484
|
</progress>
|
485
|
+
<!-- END progress bar -->
|
486
|
+
{% endif %}
|
350
487
|
<!-- END COMPACT player TOP -->
|
351
488
|
|
352
489
|
<!-- START COMPACT player MIDDLE -->
|
@@ -356,42 +493,68 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
356
493
|
<div id="compact_player_controls">
|
357
494
|
|
358
495
|
<div class="compact-player-controls-container">
|
496
|
+
{% if shuffle_button %}
|
359
497
|
<div
|
360
498
|
id="compact_player_shuffle"
|
361
499
|
class="amplitude-shuffle amplitude-shuffle-off"
|
500
|
+
data-amplitude-source="{{source_media_attribute}}"
|
362
501
|
data-amplitude-playlist="{{player_playlist}}">
|
363
502
|
</div>
|
503
|
+
{% endif %}
|
364
504
|
<div
|
365
505
|
id="compact_player_previous"
|
366
506
|
class="amplitude-prev"
|
507
|
+
data-amplitude-source="{{source_media_attribute}}"
|
367
508
|
data-amplitude-playlist="{{player_playlist}}">
|
368
509
|
</div>
|
510
|
+
{% if skip_forward_backward_button %}
|
511
|
+
<div
|
512
|
+
id="skip-backward_{{player_id}}"
|
513
|
+
class="compact-player-skip-backward">
|
514
|
+
</div>
|
515
|
+
{% endif %}
|
369
516
|
<div
|
370
517
|
id="compact_player_play_pause"
|
371
518
|
class="amplitude-play-pause amplitude-paused"
|
519
|
+
data-amplitude-source="{{source_media_attribute}}"
|
372
520
|
data-amplitude-playlist="{{player_playlist}}">
|
373
521
|
</div>
|
522
|
+
{% if skip_forward_backward_button %}
|
523
|
+
<div
|
524
|
+
id="skip-forward_{{player_id}}"
|
525
|
+
class="compact-player-skip-forward">
|
526
|
+
</div>
|
527
|
+
{% endif %}
|
374
528
|
<div
|
375
529
|
id="compact_player_next"
|
376
530
|
class="amplitude-next"
|
531
|
+
data-amplitude-source="{{source_media_attribute}}"
|
377
532
|
data-amplitude-playlist="{{player_playlist}}">
|
378
533
|
</div>
|
534
|
+
{% if repeat_button %}
|
379
535
|
<div
|
380
536
|
id="compact_player_repeat"
|
381
537
|
class="amplitude-repeat amplitude-repeat-off"
|
538
|
+
data-amplitude-source="{{source_media_attribute}}"
|
382
539
|
data-amplitude-playlist="{{player_playlist}}">
|
383
540
|
</div>
|
541
|
+
{% endif %}
|
384
542
|
|
385
543
|
<!-- START volume container -->
|
386
544
|
<div class="compact-player-volume-container">
|
545
|
+
{% if volume_slider %}
|
387
546
|
<div class="volume-controls">
|
388
547
|
<div class="amplitude-mute amplitude-not-muted"></div>
|
389
548
|
<input
|
390
|
-
|
549
|
+
id="volume_slider_{{player_id}}"
|
391
550
|
class="amplitude-volume-slider"
|
392
|
-
|
551
|
+
type="range"
|
552
|
+
min="{{volume_slider_min}}"
|
553
|
+
max="{{volume_slider_max}}"
|
554
|
+
step="{{volume_slider_step}}"
|
393
555
|
aria-label="Amplitude Volume Slider">
|
394
556
|
</div>
|
557
|
+
{% endif %}
|
395
558
|
</div>
|
396
559
|
<!-- END volume container -->
|
397
560
|
</div>
|
@@ -407,24 +570,44 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
407
570
|
<!-- time container -->
|
408
571
|
<div class="time-container">
|
409
572
|
<span class="current-time">
|
573
|
+
{% if display_hours %}
|
574
|
+
<span
|
575
|
+
class="amplitude-current-hours"
|
576
|
+
data-amplitude-source="{{source_media_attribute}}"
|
577
|
+
data-amplitude-playlist="{{player_playlist}}">
|
578
|
+
</span>
|
579
|
+
:
|
580
|
+
{% endif %}
|
410
581
|
<span
|
411
582
|
class="amplitude-current-minutes"
|
583
|
+
data-amplitude-source="{{source_media_attribute}}"
|
412
584
|
data-amplitude-playlist="{{player_playlist}}">
|
413
585
|
</span>
|
414
586
|
:
|
415
587
|
<span
|
416
588
|
class="amplitude-current-seconds"
|
589
|
+
data-amplitude-source="{{source_media_attribute}}"
|
417
590
|
data-amplitude-playlist="{{player_playlist}}">
|
418
591
|
</span>
|
419
592
|
</span>
|
420
593
|
<span class="duration">
|
594
|
+
{% if display_hours %}
|
595
|
+
<span
|
596
|
+
class="amplitude-duration-hours"
|
597
|
+
data-amplitude-source="{{source_media_attribute}}"
|
598
|
+
data-amplitude-playlist="{{player_playlist}}">
|
599
|
+
</span>
|
600
|
+
:
|
601
|
+
{% endif %}
|
421
602
|
<span
|
422
603
|
class="amplitude-duration-minutes"
|
604
|
+
data-amplitude-source="{{source_media_attribute}}"
|
423
605
|
data-amplitude-playlist="{{player_playlist}}">
|
424
606
|
</span>
|
425
607
|
:
|
426
608
|
<span
|
427
609
|
class="amplitude-duration-seconds"
|
610
|
+
data-amplitude-source="{{source_media_attribute}}"
|
428
611
|
data-amplitude-playlist="{{player_playlist}}">
|
429
612
|
</span>
|
430
613
|
</span>
|
@@ -435,15 +618,18 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
435
618
|
<div class="meta-container compact-player">
|
436
619
|
<span
|
437
620
|
class="song-name"
|
621
|
+
data-amplitude-source="{{source_media_attribute}}"
|
438
622
|
data-amplitude-playlist="{{player_playlist}}"
|
439
623
|
data-amplitude-song-info="name">
|
440
624
|
</span>
|
441
625
|
<div class="audio-artist-album">
|
442
626
|
<span
|
627
|
+
data-amplitude-source="{{source_media_attribute}}"
|
443
628
|
data-amplitude-playlist="{{player_playlist}}"
|
444
629
|
data-amplitude-song-info="artist">
|
445
630
|
</span>
|
446
631
|
<span
|
632
|
+
data-amplitude-source="{{source_media_attribute}}"
|
447
633
|
data-amplitude-playlist="{{player_playlist}}"
|
448
634
|
data-amplitude-song-info="album">
|
449
635
|
</span>
|
@@ -452,6 +638,7 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
452
638
|
<!-- END meta container -->
|
453
639
|
</div>
|
454
640
|
<!-- START COMPACT player BOTTOM -->
|
641
|
+
|
455
642
|
</div>
|
456
643
|
<!-- END compact player -->
|
457
644
|
|
@@ -465,38 +652,62 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
465
652
|
|
466
653
|
|
467
654
|
{% comment %} LARGE player
|
655
|
+
player.source: {{source_media}}
|
468
656
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {% endcomment %}
|
469
657
|
{% when 'large' %} {% if player_enabled %}
|
658
|
+
|
659
|
+
{% if player.source %}
|
660
|
+
{% assign source_media = player.source %}
|
661
|
+
{% endif %}
|
662
|
+
|
663
|
+
{% if player.source == 'video' %}
|
664
|
+
{% assign source_media_attribute = 'youtube' %}
|
665
|
+
{% else %}
|
666
|
+
{% assign source_media_attribute = 'audio' %}
|
667
|
+
{% endif %}
|
668
|
+
|
470
669
|
<!-- START create player instance on ID: {{player_id}} of type: {{player_type}} -->
|
471
670
|
{% capture large_player_left_side %}
|
472
671
|
<!-- START LARGE player left TOP -->
|
473
672
|
<div div class="player-left-top">
|
673
|
+
|
474
674
|
<div class="large-player-playlist-header">
|
475
675
|
<span class="audio-artist">
|
476
676
|
<span
|
477
677
|
data-amplitude-playlist="{{player_playlist}}"
|
678
|
+
data-amplitude-source="{{source_media_attribute}}"
|
478
679
|
data-amplitude-song-info="artist">
|
479
680
|
</span>
|
480
681
|
<span class="song-artist-album-delimiter">·</span>
|
481
682
|
<span
|
482
683
|
data-amplitude-playlist="{{player_playlist}}"
|
684
|
+
data-amplitude-source="{{source_media_attribute}}"
|
483
685
|
data-amplitude-song-info="album">
|
484
686
|
</span>
|
485
687
|
</span>
|
486
688
|
</div>
|
487
689
|
|
488
|
-
<!--
|
489
|
-
<
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
690
|
+
<!-- NOTE: album cover image (replaced by AJS API based on playlist) -->
|
691
|
+
<div class="album-cover-image">
|
692
|
+
<img
|
693
|
+
src="/assets/audio/cover/default/placeholder-blue.jpg"
|
694
|
+
data-amplitude-playlist="{{player_playlist}}"
|
695
|
+
data-amplitude-source="{{source_media_attribute}}"
|
696
|
+
data-amplitude-song-info="cover_art_url"
|
697
|
+
alt="album cover image"
|
698
|
+
>
|
699
|
+
</div>
|
700
|
+
|
701
|
+
<!-- START progress bar -->
|
702
|
+
{% if song_progress_bar %}
|
496
703
|
<progress
|
497
704
|
class="large-player-progress amplitude-song-played-progress"
|
705
|
+
data-amplitude-source="{{source_media_attribute}}"
|
498
706
|
data-amplitude-playlist="{{player_playlist}}">
|
707
|
+
|
499
708
|
</progress>
|
709
|
+
{% endif %}
|
710
|
+
<!-- END progress bar -->
|
500
711
|
</div>
|
501
712
|
<!-- END LARGE player left TOP -->
|
502
713
|
|
@@ -507,42 +718,70 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
507
718
|
<div id="large_player_controls">
|
508
719
|
|
509
720
|
<div class="large-player-controls-container">
|
721
|
+
{% if shuffle_button %}
|
510
722
|
<div
|
511
723
|
id="large_player_shuffle"
|
512
724
|
class="amplitude-shuffle amplitude-shuffle-off"
|
725
|
+
data-amplitude-source="{{source_media_attribute}}"
|
513
726
|
data-amplitude-playlist="{{player_playlist}}">
|
514
727
|
</div>
|
728
|
+
{% endif %}
|
515
729
|
<div
|
516
730
|
id="large_player_previous"
|
517
731
|
class="amplitude-prev"
|
732
|
+
data-amplitude-source="{{source_media_attribute}}"
|
518
733
|
data-amplitude-playlist="{{player_playlist}}">
|
519
734
|
</div>
|
735
|
+
{% if skip_forward_backward_button %}
|
736
|
+
<div
|
737
|
+
id="skip-backward_{{player_id}}"
|
738
|
+
class="large-player-skip-backward"
|
739
|
+
data-amplitude-source="{{source_media_attribute}}">
|
740
|
+
</div>
|
741
|
+
{% endif %}
|
520
742
|
<div
|
521
743
|
id="large_player_play_pause"
|
522
744
|
class="amplitude-play-pause amplitude-paused"
|
745
|
+
data-amplitude-source="{{source_media_attribute}}"
|
523
746
|
data-amplitude-playlist="{{player_playlist}}">
|
524
747
|
</div>
|
748
|
+
{% if skip_forward_backward_button %}
|
749
|
+
<div
|
750
|
+
id="skip-forward_{{player_id}}"
|
751
|
+
class="large-player-skip-forward"
|
752
|
+
data-amplitude-source="{{source_media_attribute}}">
|
753
|
+
</div>
|
754
|
+
{% endif %}
|
525
755
|
<div
|
526
756
|
id="large_player_next"
|
527
757
|
class="amplitude-next"
|
758
|
+
data-amplitude-source="{{source_media_attribute}}"
|
528
759
|
data-amplitude-playlist="{{player_playlist}}">
|
529
760
|
</div>
|
761
|
+
{% if repeat_button %}
|
530
762
|
<div
|
531
|
-
id="
|
763
|
+
id="large_player_repeat"
|
532
764
|
class="amplitude-repeat amplitude-repeat-off"
|
765
|
+
data-amplitude-source="{{source_media_attribute}}"
|
533
766
|
data-amplitude-playlist="{{player_playlist}}">
|
534
767
|
</div>
|
768
|
+
{% endif %}
|
535
769
|
|
536
770
|
<!-- START volume container -->
|
537
771
|
<div class="compact-player-volume-container">
|
772
|
+
{% if volume_slider %}
|
538
773
|
<div class="volume-controls">
|
539
774
|
<div class="amplitude-mute amplitude-not-muted"></div>
|
540
775
|
<input
|
541
|
-
|
776
|
+
id="volume_slider_{{player_id}}"
|
542
777
|
class="amplitude-volume-slider"
|
543
|
-
|
778
|
+
type="range"
|
779
|
+
min="{{volume_slider_min}}"
|
780
|
+
max="{{volume_slider_max}}"
|
781
|
+
step="{{volume_slider_step}}"
|
544
782
|
aria-label="Amplitude Volume Slider">
|
545
783
|
</div>
|
784
|
+
{% endif %}
|
546
785
|
</div>
|
547
786
|
<!-- END volume container -->
|
548
787
|
</div>
|
@@ -559,24 +798,44 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
559
798
|
<!-- time container -->
|
560
799
|
<div class="time-container">
|
561
800
|
<span class="current-time">
|
801
|
+
{% if display_hours %}
|
802
|
+
<span
|
803
|
+
class="amplitude-current-hours"
|
804
|
+
data-amplitude-source="{{source_media_attribute}}"
|
805
|
+
data-amplitude-playlist="{{player_playlist}}">
|
806
|
+
</span>
|
807
|
+
:
|
808
|
+
{% endif %}
|
562
809
|
<span
|
563
810
|
class="amplitude-current-minutes"
|
811
|
+
data-amplitude-source="{{source_media_attribute}}"
|
564
812
|
data-amplitude-playlist="{{player_playlist}}">
|
565
813
|
</span>
|
566
814
|
:
|
567
815
|
<span
|
568
816
|
class="amplitude-current-seconds"
|
817
|
+
data-amplitude-source="{{source_media_attribute}}"
|
569
818
|
data-amplitude-playlist="{{player_playlist}}">
|
570
819
|
</span>
|
571
820
|
</span>
|
572
821
|
<span class="duration">
|
822
|
+
{% if display_hours %}
|
823
|
+
<span
|
824
|
+
class="amplitude-duration-hours"
|
825
|
+
data-amplitude-source="{{source_media_attribute}}"
|
826
|
+
data-amplitude-playlist="{{player_playlist}}">
|
827
|
+
</span>
|
828
|
+
:
|
829
|
+
{% endif %}
|
573
830
|
<span
|
574
831
|
class="amplitude-duration-minutes"
|
832
|
+
data-amplitude-source="{{source_media_attribute}}"
|
575
833
|
data-amplitude-playlist="{{player_playlist}}">
|
576
834
|
</span>
|
577
835
|
:
|
578
836
|
<span
|
579
837
|
class="amplitude-duration-seconds"
|
838
|
+
data-amplitude-source="{{source_media_attribute}}"
|
580
839
|
data-amplitude-playlist="{{player_playlist}}">
|
581
840
|
</span>
|
582
841
|
</span>
|
@@ -586,15 +845,18 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
586
845
|
<div class="meta-container large-player">
|
587
846
|
<span
|
588
847
|
class="song-name"
|
848
|
+
data-amplitude-source="{{source_media_attribute}}"
|
589
849
|
data-amplitude-playlist="{{player_playlist}}"
|
590
850
|
data-amplitude-song-info="name">
|
591
851
|
</span>
|
592
852
|
<div class="audio-artist-album">
|
593
853
|
<span
|
854
|
+
data-amplitude-source="{{source_media_attribute}}"
|
594
855
|
data-amplitude-playlist="{{player_playlist}}"
|
595
856
|
data-amplitude-song-info="artist">
|
596
857
|
</span>
|
597
858
|
<span
|
859
|
+
data-amplitude-source="{{source_media_attribute}}"
|
598
860
|
data-amplitude-playlist="{{player_playlist}}"
|
599
861
|
data-amplitude-song-info="album">
|
600
862
|
</span>
|
@@ -617,66 +879,122 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
617
879
|
<!-- END Large Player|Left Side -->
|
618
880
|
|
619
881
|
<!-- Large Player|Right Side (playlist) -->
|
620
|
-
<div
|
621
|
-
|
882
|
+
<div
|
883
|
+
id="large_player_right" class="hide-scrollbar"
|
884
|
+
data-amplitude-source="{{source_media_attribute}}"
|
885
|
+
data-amplitude-playlist="{{player_playlist}}">
|
886
|
+
<div
|
887
|
+
id="playlist_header_{{player_id}}"
|
888
|
+
class="large-player-playlist-header">Playlist
|
889
|
+
</div>
|
622
890
|
|
623
|
-
<!-- jadams, 2024-07-06: controls configurable in player -->
|
624
891
|
{% if playlist_controls %}
|
625
892
|
<div class="playlist-screen-controls large-player">
|
626
893
|
<div class="playlist-screen-meta-container">
|
627
|
-
<span
|
894
|
+
<span
|
895
|
+
class="song-name"
|
896
|
+
data-amplitude-source="{{source_media_attribute}}"
|
897
|
+
data-amplitude-playlist="{{player_playlist}}"
|
898
|
+
data-amplitude-song-info="name">
|
899
|
+
</span>
|
628
900
|
<div class="song-artist-album">
|
629
|
-
<span
|
901
|
+
<span
|
902
|
+
data-amplitude-source="{{source_media_attribute}}"
|
903
|
+
data-amplitude-playlist="{{player_playlist}}"
|
904
|
+
data-amplitude-song-info="artist">
|
905
|
+
</span>
|
906
|
+
<!-- span class="song-artist-album-delimiter">·</span>
|
907
|
+
<span
|
908
|
+
data-amplitude-source="audio"
|
909
|
+
data-amplitude-playlist="{{player_playlist}}"
|
910
|
+
data-amplitude-song-info="album">
|
911
|
+
</span -->
|
630
912
|
</div>
|
631
913
|
</div>
|
632
914
|
<div class="list-controls">
|
633
|
-
<div
|
634
|
-
|
635
|
-
|
915
|
+
<div
|
916
|
+
class="list-previous amplitude-prev"
|
917
|
+
data-amplitude-source="{{source_media_attribute}}"
|
918
|
+
data-amplitude-playlist="{{player_playlist}}">
|
919
|
+
</div>
|
920
|
+
<div
|
921
|
+
class="list-play-pause amplitude-play-pause"
|
922
|
+
data-amplitude-source="{{source_media_attribute}}"
|
923
|
+
data-amplitude-playlist="{{player_playlist}}">
|
924
|
+
</div>
|
925
|
+
<div
|
926
|
+
class="list-next amplitude-next"
|
927
|
+
data-amplitude-source="{{source_media_attribute}}"
|
928
|
+
data-amplitude-playlist="{{player_playlist}}"></div>
|
636
929
|
</div>
|
637
930
|
</div> <!-- END playlist controls -->
|
638
931
|
{% endif %}
|
639
932
|
|
640
|
-
<!-- START playlist items -->
|
641
|
-
<div
|
933
|
+
<!-- START playlist items (Large Player) -->
|
934
|
+
<div
|
935
|
+
id="large_player_title_list_{{player_playlist}}"
|
936
|
+
class="large-player-title-list">
|
642
937
|
{% for item in playlist_items %}{% if item.enabled %}
|
643
938
|
<!-- START list item -->
|
644
939
|
<div
|
645
940
|
class="song amplitude-song-container amplitude-play-pause"
|
646
941
|
data-amplitude-song-index="{{forloop.index0}}"
|
942
|
+
data-amplitude-source="{{source_media_attribute}}"
|
647
943
|
data-amplitude-playlist="{{player_playlist}}">
|
648
944
|
|
649
|
-
<div
|
945
|
+
<div
|
946
|
+
class="song-number-now-playing"
|
947
|
+
data-amplitude-source="{{source_media_attribute}}"
|
948
|
+
data-amplitude-playlist="{{player_playlist}}">
|
650
949
|
<span class="title-number">{{forloop.index}}
|
651
|
-
<img
|
950
|
+
<img
|
951
|
+
class="now-playing"
|
952
|
+
src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/now-playing.svg"
|
953
|
+
alt="now-playing">
|
652
954
|
</span>
|
653
955
|
</div>
|
654
956
|
|
655
|
-
<div
|
957
|
+
<div
|
958
|
+
class="audio-meta-data"
|
959
|
+
data-amplitude-playlist="{{player_playlist}}">
|
656
960
|
<span class="audio-title">{{item.title}}</span>
|
961
|
+
|
962
|
+
{% if player_audio_rating %}
|
963
|
+
<span class="audio-rating">
|
964
|
+
{{item.rating}}
|
965
|
+
<i class="mdib mdib-star md-gray-400 mdib-18px"></i>
|
966
|
+
</span>
|
967
|
+
{% endif %}
|
968
|
+
|
657
969
|
<span class="audio-artist">
|
658
|
-
<span>{{item.name}}</span>
|
659
|
-
<span class="song-artist-album-delimiter">·</span>
|
660
970
|
<span>{{item.artist}}</span>
|
971
|
+
<!-- span class="song-artist-album-delimiter">·</span>
|
972
|
+
<span>{{item.name}}</span -->
|
973
|
+
|
974
|
+
{% if player_audio_info %}
|
975
|
+
<span class="audio-info">
|
976
|
+
<a href="{{item.audio_info}}" class="audio-info-link" target="_blank">
|
977
|
+
<i class="mdib mdib-information md-gray-400 mdib-24px"></i>
|
978
|
+
</a>
|
979
|
+
</span>
|
980
|
+
{% endif %}
|
661
981
|
</span>
|
662
982
|
</div>
|
663
983
|
|
664
|
-
|
665
|
-
|
666
|
-
<img class="audio-info-blue" src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/audio-info-blue.svg" alt="audio-info" style="display: block">
|
667
|
-
<img class="audio-info-white" src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/audio-info-white.svg" alt="audio-info" style="display: none">
|
668
|
-
{% else %}
|
669
|
-
<img class="audio-info-blue" src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/audio-info-blue.svg" alt="audio-info" style="display: none">
|
670
|
-
<img class="audio-info-white" src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/audio-info-white.svg" alt="audio-info" style="display: none">
|
671
|
-
{% endif %}
|
672
|
-
</a>
|
673
|
-
|
984
|
+
<!-- jadams, 2024-11-05: workaround -->
|
985
|
+
{% if player.display_hours %}
|
674
986
|
<span class="audio-duration">{{item.duration}}</span>
|
987
|
+
{% else %}
|
988
|
+
<span class="audio-duration" style="margin-left: 50px;">{{item.duration}}</span>
|
989
|
+
<!-- span class="audio-duration">{{item.duration}}</span -->
|
990
|
+
{% endif %}
|
991
|
+
|
992
|
+
|
675
993
|
</div>
|
676
994
|
<!-- END list item -->
|
677
995
|
{% endif %}{% endfor %}
|
678
996
|
</div>
|
679
|
-
<!--
|
997
|
+
<!-- END playlist items (Large Player) -->
|
680
998
|
|
681
999
|
</div> <!-- END Large Player|Right Side -->
|
682
1000
|
|