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
@@ -0,0 +1,64 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<svg
|
3
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
4
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
5
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
6
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
8
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
9
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
10
|
+
viewBox="0 0 24 56.571429"
|
11
|
+
width="28"
|
12
|
+
height="66"
|
13
|
+
version="1.1"
|
14
|
+
id="svg4"
|
15
|
+
sodipodi:docname="icons8-twitterx-28.svg"
|
16
|
+
inkscape:export-filename="D:\j1\github\j1-theme\j1-template\packages\300_theme_src\assets\image\modules\icons\social\twitter_x.png"
|
17
|
+
inkscape:export-xdpi="96"
|
18
|
+
inkscape:export-ydpi="96"
|
19
|
+
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)">
|
20
|
+
<metadata
|
21
|
+
id="metadata10">
|
22
|
+
<rdf:RDF>
|
23
|
+
<cc:Work
|
24
|
+
rdf:about="">
|
25
|
+
<dc:format>image/svg+xml</dc:format>
|
26
|
+
<dc:type
|
27
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
28
|
+
<dc:title></dc:title>
|
29
|
+
</cc:Work>
|
30
|
+
</rdf:RDF>
|
31
|
+
</metadata>
|
32
|
+
<defs
|
33
|
+
id="defs8" />
|
34
|
+
<sodipodi:namedview
|
35
|
+
pagecolor="#ffffff"
|
36
|
+
bordercolor="#666666"
|
37
|
+
borderopacity="1"
|
38
|
+
objecttolerance="10"
|
39
|
+
gridtolerance="10"
|
40
|
+
guidetolerance="10"
|
41
|
+
inkscape:pageopacity="0"
|
42
|
+
inkscape:pageshadow="2"
|
43
|
+
inkscape:window-width="2256"
|
44
|
+
inkscape:window-height="1246"
|
45
|
+
id="namedview6"
|
46
|
+
showgrid="false"
|
47
|
+
inkscape:pagecheckerboard="true"
|
48
|
+
inkscape:showpageshadow="false"
|
49
|
+
inkscape:zoom="15.212121"
|
50
|
+
inkscape:cx="8.87251"
|
51
|
+
inkscape:cy="31.942837"
|
52
|
+
inkscape:window-x="0"
|
53
|
+
inkscape:window-y="0"
|
54
|
+
inkscape:window-maximized="0"
|
55
|
+
inkscape:current-layer="svg4" />
|
56
|
+
<path
|
57
|
+
d="M 0.1515004,0.09387754 8.8052428,12.742245 0.60645907,22.545215 H 3.8268994 l 6.4194426,-7.695722 5.264182,7.695722 h 8.427454 L 14.886445,9.2926893 22.558809,0.09387754 H 19.388391 L 13.450108,7.1878765 8.6051561,0.09387754 Z M 4.8344778,2.5884705 H 7.3331775 L 19.257381,20.050622 h -2.477262 z"
|
58
|
+
id="path2"
|
59
|
+
style="stroke-width:1.23336;fill:#a8cbfe" />
|
60
|
+
<path
|
61
|
+
d="M 0.16495004,33.749791 8.7775961,46.534629 0.61774819,56.44337 H 3.8228945 l 6.3889565,-7.778755 5.239183,7.778755 h 8.387431 l -9.008547,-13.395515 7.635928,-9.298064 h -3.15536 l -5.910083,7.17054 -4.8219437,-7.17054 z m 4.66073806,2.52151 H 7.312521 l 11.867576,17.65056 H 16.7146 Z"
|
62
|
+
id="path2-8"
|
63
|
+
style="fill:#0d6efd;stroke-width:1.23705" />
|
64
|
+
</svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24px" height="24px"><path d="M 2.3671875 3 L 9.4628906 13.140625 L 2.7402344 21 L 5.3808594 21 L 10.644531 14.830078 L 14.960938 21 L 21.871094 21 L 14.449219 10.375 L 20.740234 3 L 18.140625 3 L 13.271484 8.6875 L 9.2988281 3 L 2.3671875 3 z M 6.2070312 5 L 8.2558594 5 L 18.033203 19 L 16.001953 19 L 6.2070312 5 z"/></svg>
|
Binary file
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"private": true,
|
3
3
|
"name": "j1",
|
4
|
-
"version": "2024.3.
|
4
|
+
"version": "2024.3.14",
|
5
5
|
"description": "J1 Template",
|
6
6
|
"homepage": "https://your.site",
|
7
7
|
"author": {
|
@@ -27,7 +27,6 @@
|
|
27
27
|
"ruby_gemfile": "Gemfile",
|
28
28
|
"ruby_userize": "true",
|
29
29
|
"ruby_vendorize": "true",
|
30
|
-
"mode": "production",
|
31
30
|
"loglevel": "silent"
|
32
31
|
},
|
33
32
|
"engines": {
|
@@ -46,14 +45,12 @@
|
|
46
45
|
"app": "run-p -s app:*",
|
47
46
|
"app:rackup": "cross-env INTERFACE=$npm_package_config_jekyll_app_interface PORT=$npm_package_config_jekyll_app_port bundle exec puma -C _data/puma/config.rb",
|
48
47
|
"app:open": "npm run delay-3s && cross-var open-cli $npm_package_config_jekyll_app_url",
|
49
|
-
|
50
48
|
"build": "run-s -s build:*",
|
51
49
|
"build:info": "echo build site incremental ..",
|
52
50
|
"build:do": "bundle exec jekyll b --incremental",
|
53
51
|
"postbuild": "run-s -s postbuild:*",
|
54
52
|
"postbuild:finished": "echo .. build finished.",
|
55
53
|
"postbuild:hint": "echo to open the site, run: yarn site",
|
56
|
-
|
57
54
|
"bundle": "run-s -s bundler:*",
|
58
55
|
"bundler:info": "echo create bundle ..",
|
59
56
|
"bundler:clean": "shx rm -f Gemfile.lock",
|
@@ -64,7 +61,6 @@
|
|
64
61
|
"bundle_vendor:info": "echo bundle rubies using vendor path ..",
|
65
62
|
"bundle_vendor:set-path": "bundle config set --local path ./vendor",
|
66
63
|
"bundle_vendor:bundle": "bundle install",
|
67
|
-
|
68
64
|
"clean": "run-s -s clean-site && run-s clean:*",
|
69
65
|
"clean-site": "echo clean up site files .. && bundle exec jekyll clean",
|
70
66
|
"clean:start": "echo clean up projects files ..",
|
@@ -73,43 +69,36 @@
|
|
73
69
|
"clean:etc-folder": "echo remove etc folder .. && shx rm -rf etc",
|
74
70
|
"clean:logfiles": "echo remove various log files .. && shx rm -f *.log",
|
75
71
|
"clean:locks": "echo remove lock files .. && shx rm -f *.lock && shx rm -f package-lock.json",
|
76
|
-
|
77
72
|
"delay-1s": "node ./node_modules/npm-delay 1000",
|
78
73
|
"delay-2s": "node ./node_modules/npm-delay 2000",
|
79
74
|
"delay-3s": "node ./node_modules/npm-delay 3000",
|
80
75
|
"delay-5s": "node ./node_modules/npm-delay 5000",
|
81
|
-
|
82
76
|
"j1-app": "run-p -s app:*",
|
83
|
-
|
84
77
|
"j1-site": "run-p -s j1-site:*",
|
85
78
|
"j1-site:jekyll": "echo startup the site .. && cross-var bundle exec jekyll serve --config $npm_package_config_jekyll_config_file --port $npm_package_config_jekyll_port --livereload-port $npm_package_config_jekyll_livereload_port $npm_package_config_jekyll_option_incremental $npm_package_config_jekyll_option_livereload $npm_package_config_jekyll_option_initial_build $npm_package_config_jekyll_option_watch --open 2>jekyll.log",
|
86
|
-
|
87
79
|
"rebuild": "run-s -s rebuild:* && run-s -s post-rebuild:*",
|
88
80
|
"rebuild:info": "echo rebuild site incremental ..",
|
89
81
|
"rebuild:clean": "echo clean up site files .. && bundle exec jekyll clean",
|
90
82
|
"rebuild:do": "bundle exec jekyll b --incremental",
|
91
|
-
|
92
83
|
"post-rebuild": "run-s -s postrebuild:*",
|
93
84
|
"post-rebuild:finished": "echo .. rebuild finished.",
|
94
85
|
"post-rebuild:hint": "echo to open the site, run: yarn site",
|
95
|
-
|
96
86
|
"reset": "run-s -s reset:*",
|
97
87
|
"reset:start": "echo reset project to factory state ..",
|
98
88
|
"reset:base-clean-files": "echo cleaning up .. && npm --silent run clean",
|
99
|
-
"reset:finished": "echo done.",
|
100
|
-
|
89
|
+
"reset:finished": "echo done. && shx echo",
|
101
90
|
"setup": "npm --silent run setup-start && npm --silent run setup-base && run-s -s setup:*",
|
102
91
|
"setup-start": "echo prepare project control && npm --silent install shx && echo done. && shx echo && echo setup development system for first use ..",
|
103
|
-
"setup-base": "echo installing base modules .. && echo installing base project modules .. > install.log && npm install shx npm-run-all cross-var cross-env >> install.log && echo done. >> install.log && shx echo >> install.log && echo done.",
|
92
|
+
"setup-base": "echo installing base modules .. && echo installing base project modules .. > install.log && npm install shx npm-run-all cross-var cross-env >> install.log && echo done. >> install.log && shx echo >> install.log && echo done. && shx echo",
|
104
93
|
"setup:env": "echo configure environment .. && run-s -s set-env:*",
|
105
|
-
"set-env:loglevel": "cross-var npm config set jekyll_one_com:loglevel
|
106
|
-
"set-env:mode": "cross-var npm config set jekyll_one_com:mode $npm_package_config_mode && echo done.",
|
94
|
+
"set-env:loglevel": "cross-var npm config set jekyll_one_com:loglevel $npm_package_config_loglevel && echo done.",
|
107
95
|
"setup:create-folders": "echo create project folders ..",
|
108
96
|
"setup:create-log-folder": "echo create log folder .. && shx mkdir ./log",
|
109
97
|
"setup:create-log-archived-folder": "echo create archived log folder .. && shx mkdir ./log/archived",
|
110
98
|
"setup:create-etc-folder": "echo create etc folder .. && shx mkdir ./etc && echo done.",
|
111
|
-
"setup:node-modules": "shx echo && echo installing main project modules .. && shx echo >> install.log && echo installing main project modules .. >> install.log && npm --silent install >> install.log && echo done. >> install.log && shx echo >> install.log && echo done.",
|
112
|
-
"setup:detect-os": "echo detect OS .. && cross-var if-env OS=Windows_NT && cross-var echo \"os detected: $OS\" || OS=$(echo $(getos)) && echo \"os detected: $OS\" && echo done.",
|
99
|
+
"setup:node-modules": "shx echo && echo installing main project modules .. && shx echo >> install.log && echo installing main project modules .. >> install.log && npm --silent install >> install.log && echo done. >> install.log && shx echo >> install.log && echo done. && shx echo",
|
100
|
+
"setup:detect-os": "echo detect OS .. && cross-var if-env OS=Windows_NT && cross-var echo \"os detected: $OS\" || OS=$(echo $(getos)) && echo \"os detected: $OS\" && echo done. && shx echo",
|
101
|
+
"setup:finished": "echo done. && shx echo",
|
113
102
|
"setup:site": "run-s -s build"
|
114
103
|
},
|
115
104
|
"dependencies": {
|
@@ -0,0 +1,218 @@
|
|
1
|
+
---
|
2
|
+
title: Amplitude YT Tester
|
3
|
+
title_extention: YT Video Integration
|
4
|
+
tagline: YT Video Integration
|
5
|
+
|
6
|
+
date: 2024-09-21
|
7
|
+
#last_modified: 2024-01-01
|
8
|
+
|
9
|
+
description: >
|
10
|
+
The J1 Template support playing video on web pages
|
11
|
+
by HTML5 Video, the new standard of HTML to show
|
12
|
+
videos on web pages.
|
13
|
+
keywords: >
|
14
|
+
open source, free, template, jekyll, jekyllone, web,
|
15
|
+
sites, static, jamstack, bootstrap,
|
16
|
+
html, html5, video, support, flash player,
|
17
|
+
quicktime, silverlight
|
18
|
+
|
19
|
+
categories: [ Roundtrip ]
|
20
|
+
tags: [ Module, Video ]
|
21
|
+
|
22
|
+
image:
|
23
|
+
path: /assets/image/modules/attics/markus-spiske-1920x1280.jpg
|
24
|
+
width: 1920
|
25
|
+
height: 1280
|
26
|
+
|
27
|
+
attic: false
|
28
|
+
regenerate: false
|
29
|
+
personalization: true
|
30
|
+
permalink: /pages/public/amplitude_yt_tester/
|
31
|
+
|
32
|
+
resources: [ amplitudejs ]
|
33
|
+
resource_options:
|
34
|
+
- attic:
|
35
|
+
slides:
|
36
|
+
- url: /assets/image/modules/attics/markus-spiske-1920x1280.jpg
|
37
|
+
alt: Video Tester
|
38
|
+
---
|
39
|
+
|
40
|
+
// Page Initializer
|
41
|
+
// =============================================================================
|
42
|
+
// Enable the Liquid Preprocessor
|
43
|
+
:page-liquid:
|
44
|
+
|
45
|
+
// Set (local) page attributes here
|
46
|
+
// -----------------------------------------------------------------------------
|
47
|
+
// :page--attr: <attr-value>
|
48
|
+
|
49
|
+
// Load Liquid procedures
|
50
|
+
// -----------------------------------------------------------------------------
|
51
|
+
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
52
|
+
|
53
|
+
// Load page attributes
|
54
|
+
// -----------------------------------------------------------------------------
|
55
|
+
{% include {{load_attributes}} scope="global" %}
|
56
|
+
|
57
|
+
|
58
|
+
// Page content
|
59
|
+
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
60
|
+
[role="dropcap"]
|
61
|
+
The J1 Template support playing video on web pages by HTML5 Video, the new
|
62
|
+
standard of HTML to show videos on webpages.
|
63
|
+
|
64
|
+
Modern browsers support the video tag `<video>` for the new HTML5 video
|
65
|
+
standard. The previous proprietary de facto standard software like
|
66
|
+
_Flash Player_, _Quicktime_, or _Silverlight_ is no longer needed as the
|
67
|
+
Jekyll theme J1 provides HTML5 Video support for local video content
|
68
|
+
and from online sources on the Internet.
|
69
|
+
|
70
|
+
// Include sub-documents (if any)
|
71
|
+
// -----------------------------------------------------------------------------
|
72
|
+
[role="mt-4"]
|
73
|
+
== YouTube Audio
|
74
|
+
|
75
|
+
// https://www.youtube.com/watch?v=7_WWz2DSnT8
|
76
|
+
//
|
77
|
+
// https://www.youtube.com/watch?v=WxcWO9O4DSM, 19:58, Tchaikovsky - Romeo and Juliet: Fantasy Overture
|
78
|
+
// https://www.youtube.com/watch?v=zAmDwCz2BOs
|
79
|
+
// https://www.youtube.com/watch?v=ryxAe4B_3Pg
|
80
|
+
// https://www.youtube.com/watch?v=wI1Rr29OCJM
|
81
|
+
|
82
|
+
You can embed any YouTube video in your web pages and visitors on your
|
83
|
+
site will be able to play and pause the video audio with a simple click.
|
84
|
+
With this technique, you can also use a YouTube video as background audio
|
85
|
+
that runs in a loop.
|
86
|
+
|
87
|
+
[TIP]
|
88
|
+
====
|
89
|
+
The audio player is created using the YouTube API. Read the full Tutorial at:
|
90
|
+
http://www.labnol.org/internet/youtube-audio-player/26740/[Embed YouTube as an Audio Player, {browser-window--new}]
|
91
|
+
====
|
92
|
+
|
93
|
+
[role="mt-4"]
|
94
|
+
=== How to Embed YouTube Audio
|
95
|
+
|
96
|
+
It takes just one step to embed a YouTube audio. Open any YouTube video
|
97
|
+
and make a note of the YouTube Video ID (a string of 11 characters).
|
98
|
+
|
99
|
+
Next copy-paste the code below anywhere on your website and replace
|
100
|
+
VIDEO_ID with actual ID of your YouTube video.
|
101
|
+
|
102
|
+
[source, html]
|
103
|
+
----
|
104
|
+
<div data-video="VIDEO_ID" data-autoplay="0" data-loop="1" id="youtube-audio"></div>
|
105
|
+
<script src="https://www.youtube.com/iframe_api"></script>
|
106
|
+
<script src="https://cdn.rawgit.com/labnol/files/master/yt.js"></script>
|
107
|
+
----
|
108
|
+
|
109
|
+
There are few other configuration parameters that you can change depending
|
110
|
+
on requirements. For instance, if you set data-autoplay to 1, the audio will
|
111
|
+
begin playing immediately on page load. Likewise, set data-loop to 1 and the
|
112
|
+
audio will play continuously in a never-ending loop until manually stopped.
|
113
|
+
|
114
|
+
This internally renders the YouTube video using the IFRAME player and would
|
115
|
+
thus work on both desktop and mobile browsers. The JavaScript files are hosted
|
116
|
+
on Github while the images are hosted on Imgur. It is recommended that you
|
117
|
+
copy the assets to your own server before deploying on a heavy-traffic website.
|
118
|
+
|
119
|
+
[role="mt-4"]
|
120
|
+
=== Technical Details
|
121
|
+
|
122
|
+
We are using the YouTube JavaScript API that renders a regular YouTube player
|
123
|
+
but with the width and height set to *0 pixels*. When the user clicks the
|
124
|
+
audio button, it toggles the existing YouTube player state and the video
|
125
|
+
begins to play or pauses.
|
126
|
+
|
127
|
+
Here’s the annotated version of the source code. It can be extended to embed
|
128
|
+
YouTube playlists, the default playback volume can be changed or you even
|
129
|
+
https://www.labnol.org/internet/embed-part-of-youtube-video/27948/[embeda part, {browser-window--new}]
|
130
|
+
of the video.
|
131
|
+
|
132
|
+
////
|
133
|
+
[role="mt-5"]
|
134
|
+
=== YT Player
|
135
|
+
++++
|
136
|
+
<!-- 1. The <iframe> (and video player) will replace this <div> tag. -->
|
137
|
+
<!-- =========================================================================== -->
|
138
|
+
<div style="display:flex;justify-content:center;align-items:center;">
|
139
|
+
<div id="youtube-audio1" data-video="WxcWO9O4DSM" data-autoplay="0" data-loop="1"></div>
|
140
|
+
<div id="youtube-audio2" data-video="zAmDwCz2BOs" data-autoplay="0" data-loop="1"></div>
|
141
|
+
<!-- div id="youtube-audio2"></div -->
|
142
|
+
<div id="youtube-audio3" data-video="ryxAe4B_3Pg" data-autoplay="0" data-loop="1"></div>
|
143
|
+
<div id="youtube-audio4" data-video="wI1Rr29OCJM" data-autoplay="0" data-loop="1"></div>
|
144
|
+
</div>
|
145
|
+
++++
|
146
|
+
|
147
|
+
++++
|
148
|
+
<script>
|
149
|
+
$(function() {
|
150
|
+
|
151
|
+
// Load the IFrame Player API code asynchronously.
|
152
|
+
var techScript;
|
153
|
+
|
154
|
+
var tech = document.createElement('script');
|
155
|
+
tech.src = "/assets/theme/j1/modules/amplitudejs/js/tech/youtube.js";
|
156
|
+
techScript = document.getElementsByTagName('script')[0];
|
157
|
+
|
158
|
+
techScript.parentNode.insertBefore(tech, techScript);
|
159
|
+
|
160
|
+
});
|
161
|
+
</script>
|
162
|
+
++++
|
163
|
+
////
|
164
|
+
|
165
|
+
[role="mt-5"]
|
166
|
+
== Amplitude Player
|
167
|
+
|
168
|
+
lorem:sentences[5]
|
169
|
+
|
170
|
+
.Mimi Rutherfurt · Maritim Verlag (YouTube)
|
171
|
+
amplitude::mimi_rutherfurt_yt_large[role="mt-4 mb-8"]
|
172
|
+
|
173
|
+
++++
|
174
|
+
<script>
|
175
|
+
$(function() {
|
176
|
+
|
177
|
+
// Load the IFrame Player API code asynchronously.
|
178
|
+
var techScript;
|
179
|
+
|
180
|
+
var tech = document.createElement('script');
|
181
|
+
tech.src = "/assets/theme/j1/modules/amplitudejs/js/tech/ytp.js";
|
182
|
+
techScript = document.getElementsByTagName('script')[0];
|
183
|
+
|
184
|
+
techScript.parentNode.insertBefore(tech, techScript);
|
185
|
+
|
186
|
+
});
|
187
|
+
</script>
|
188
|
+
++++
|
189
|
+
////
|
190
|
+
[[ms_video]]
|
191
|
+
== MS Slider using YouTube Video
|
192
|
+
|
193
|
+
lorem:sentences[5]
|
194
|
+
|
195
|
+
.Slider using Video
|
196
|
+
masterslider::ms_00010[role="mt-4 mb-5"]
|
197
|
+
|
198
|
+
|
199
|
+
[role="mt-5"]
|
200
|
+
== YouTube Video
|
201
|
+
|
202
|
+
YouTube is a popular online video-sharing platform that allows users to
|
203
|
+
upload, view, share, and comment on videos. The platform provides services
|
204
|
+
for people and organizations to publish various video content.
|
205
|
+
|
206
|
+
.Fortnight (feat. Post Malone, Official Music Video) · Taylor Swift
|
207
|
+
youtube::q3zqJs7JUCQ[poster="//img.youtube.com/vi/q3zqJs7JUCQ/maxresdefault.jpg" role="mt-4 mb-5"]
|
208
|
+
|
209
|
+
|
210
|
+
[role="mt-5"]
|
211
|
+
== Local Video
|
212
|
+
|
213
|
+
VideoJS provides a flexible and customizable platform for displaying and
|
214
|
+
controlling MPEG 4 video content on websites and web applications.
|
215
|
+
|
216
|
+
.Video over VideoJS
|
217
|
+
gallery::jg_video_html5_videojs[role="mt-4 mb-5"]
|
218
|
+
////
|
@@ -33,10 +33,9 @@ regenerate: false
|
|
33
33
|
permalink: /pages/public/features/template_features/
|
34
34
|
|
35
35
|
resources: [
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
videojs, vimeoplayer
|
36
|
+
amplitudejs, lightbox, carousel,
|
37
|
+
master-slider, lightgallery, gallery,
|
38
|
+
videojs, vimeo-player
|
40
39
|
]
|
41
40
|
resource_options:
|
42
41
|
- attic:
|
@@ -57,8 +56,8 @@ resource_options:
|
|
57
56
|
// Set (local) page attributes here
|
58
57
|
// -----------------------------------------------------------------------------
|
59
58
|
// :page--attr: <attr-value>
|
60
|
-
:url-fontawesome--home:
|
61
|
-
:url-roundtrip--mdi-icons: /pages/public/
|
59
|
+
:url-fontawesome--home: //fontawesome.com/
|
60
|
+
:url-roundtrip--mdi-icons: /pages/public/learn/roundtrip/mdi_icon_font/#material-design-icons
|
62
61
|
|
63
62
|
// Load Liquid procedures
|
64
63
|
// -----------------------------------------------------------------------------
|
@@ -77,7 +76,7 @@ use cases for websites. The bad story: most of them require programming and
|
|
77
76
|
low-level customization. Deep knowledge of Jekyll and valuable experience
|
78
77
|
using HTML, CSS, and Javascript is required.
|
79
78
|
|
80
|
-
J1 is different: easy to use, no programming is needed
|
79
|
+
*J1 is different: easy to use, no programming is needed.*
|
81
80
|
|
82
81
|
|
83
82
|
// Include sub-documents (if any)
|
@@ -93,6 +92,8 @@ development or web design from the beginning.
|
|
93
92
|
mdi:mouse-move-down[24px, md-blue ml-3 mr-2]
|
94
93
|
<<Infinite scroll>> +
|
95
94
|
mdi:speaker[24px, md-blue ml-3 mr-2]
|
95
|
+
<<AmplitudeJS Player>> +
|
96
|
+
mdi:speaker[24px, md-blue ml-3 mr-2]
|
96
97
|
<<Screen reader>> +
|
97
98
|
mdi:mouse-move-down[24px, md-blue ml-3 mr-2]
|
98
99
|
<<Animate on Scroll>> +
|
@@ -121,7 +122,7 @@ mdi:gesture-swipe[24px, md-blue ml-3 mr-2]
|
|
121
122
|
mdi:folder-multiple-image[24px, md-blue ml-3 mr-2]
|
122
123
|
<<Image and Video Galleries>>
|
123
124
|
|
124
|
-
[role="mt-
|
125
|
+
[role="mt-5"]
|
125
126
|
=== Infinite scroll
|
126
127
|
|
127
128
|
Infinite scrolling (IS), or known as endless scrolling, is a technique that
|
@@ -132,6 +133,15 @@ additional pages.
|
|
132
133
|
J1 Template supports infinite scrolling and is used, for example, for loading
|
133
134
|
previews of blog articles.
|
134
135
|
|
136
|
+
[role="mt-4"]
|
137
|
+
=== AmplitudeJS Player
|
138
|
+
|
139
|
+
J1 Template provides playing audio on web pages by HTML5 and supports custom
|
140
|
+
players created by AmplitudeJS to playback audio individually.
|
141
|
+
|
142
|
+
.Emancipator · From Dusk To Dawn
|
143
|
+
amplitude::free_emancipator_large[role="mt-3 mb-5"]
|
144
|
+
|
135
145
|
[role="mt-4"]
|
136
146
|
=== Screen reader
|
137
147
|
|