j1-template 2023.9.1 → 2023.10.0
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_collection.html +1 -1
- data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +1 -1
- data/_includes/themes/j1/layouts/content_generator_page.html +1 -1
- data/_includes/themes/j1/layouts/content_generator_post.html +1 -1
- data/_includes/themes/j1/layouts/content_generator_raw.html +1 -1
- data/_includes/themes/j1/layouts/layout_metadata_generator.html +1 -1
- data/_includes/themes/j1/layouts/layout_module_generator.html +1 -1
- data/_includes/themes/j1/layouts/layout_resource_generator.html +1 -1
- data/_includes/themes/j1/modules/attics/generator.html +1 -1
- data/_includes/themes/j1/modules/navigator/generator.html +1 -1
- data/_includes/themes/j1/modules/searcher/generator.html +1 -1
- data/_includes/themes/j1/modules/searcher/procedures/topsearch.proc +1 -1
- data/_includes/themes/j1/procedures/blocks/footer/boxes/about_box.proc +1 -1
- data/_includes/themes/j1/procedures/blocks/footer/boxes/contacts_box.proc +1 -1
- data/_includes/themes/j1/procedures/blocks/footer/boxes/issue.proc +1 -1
- data/_includes/themes/j1/procedures/blocks/footer/boxes/legal_statements.proc +1 -1
- data/_includes/themes/j1/procedures/blocks/footer/boxes/links_box.proc +1 -1
- data/_includes/themes/j1/procedures/blocks/footer/boxes/news_box.proc +1 -1
- data/_includes/themes/j1/procedures/blocks/footer/boxes/social_media_icons.proc +1 -1
- data/_includes/themes/j1/procedures/blocks/get_wave.proc +1 -1
- data/_includes/themes/j1/procedures/collections/create_collection_article_preview.proc +1 -1
- data/_includes/themes/j1/procedures/collections/pager.proc +1 -1
- data/_includes/themes/j1/procedures/global/attributes_loader.proc +1 -1
- data/_includes/themes/j1/procedures/global/collect_frontmatter_options.proc +1 -1
- data/_includes/themes/j1/procedures/global/collect_page_options.proc +1 -1
- data/_includes/themes/j1/procedures/global/create_bs_button.proc +1 -1
- data/_includes/themes/j1/procedures/global/create_word_cloud.proc +1 -1
- data/_includes/themes/j1/procedures/global/date-german.proc +1 -1
- data/_includes/themes/j1/procedures/global/get_category.proc +1 -1
- data/_includes/themes/j1/procedures/global/get_category_item.proc +1 -1
- data/_includes/themes/j1/procedures/global/get_documents_dir.proc +1 -1
- data/_includes/themes/j1/procedures/global/get_page_path.proc +1 -1
- data/_includes/themes/j1/procedures/global/get_page_url.proc +1 -1
- data/_includes/themes/j1/procedures/global/select_color.proc +1 -1
- data/_includes/themes/j1/procedures/global/select_font_size.proc +1 -1
- data/_includes/themes/j1/procedures/global/select_icon_size.proc +1 -1
- data/_includes/themes/j1/procedures/global/select_location.proc +1 -1
- data/_includes/themes/j1/procedures/global/set_base_vars_folders.proc +1 -1
- data/_includes/themes/j1/procedures/global/set_env_entry_document.proc +1 -1
- data/_includes/themes/j1/procedures/global/set_image_block.proc +1 -1
- data/_includes/themes/j1/procedures/global/setup.proc +1 -1
- data/_includes/themes/j1/procedures/layouts/content_writer.proc +1 -1
- data/_includes/themes/j1/procedures/layouts/default_writer.proc +1 -1
- data/_includes/themes/j1/procedures/layouts/module_writer.proc +1 -1
- data/_includes/themes/j1/procedures/layouts/resource_writer.proc +1 -1
- data/_includes/themes/j1/procedures/posts/collate_calendar.proc +1 -1
- data/_includes/themes/j1/procedures/posts/collate_list.proc +1 -1
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +1 -1
- data/_includes/themes/j1/procedures/posts/create_ad_block.proc +1 -1
- data/_includes/themes/j1/procedures/posts/create_series_header.proc +1 -1
- data/_includes/themes/j1/procedures/posts/pager.proc +1 -1
- data/_layouts/_home.html +1 -1
- data/_layouts/autopage_category.html +1 -1
- data/_layouts/autopage_collection.html +1 -1
- data/_layouts/autopage_collections_tags.html +1 -1
- data/_layouts/autopage_tags.html +1 -1
- data/_layouts/collection.html +1 -1
- data/_layouts/compress.html +1 -1
- data/_layouts/default.html +1 -1
- data/_layouts/home.html +1 -1
- data/_layouts/news_panel_posts.html +1 -1
- data/_layouts/page.html +1 -1
- data/_layouts/post.html +1 -1
- data/_layouts/raw.html +1 -1
- data/apps/public/cc/cc.yml +1 -1
- data/assets/data/authclient.html +2 -2
- data/assets/data/banner.html +5 -5
- data/assets/data/carousel.json +1 -1
- data/assets/data/cookieconsent.html +2 -2
- data/assets/data/fab.html +2 -2
- data/assets/data/footer.html +2 -2
- data/assets/data/galeries.html +240 -0
- data/assets/data/gallery_customizer.html +2 -2
- data/assets/data/iso-639-language-codes-flags.json +1 -1
- data/assets/data/iso-639-language-codes.json +1 -1
- data/assets/data/j1_config.json +1 -1
- data/assets/data/masonry.html +99 -86
- data/assets/data/masterslider.html +2 -2
- data/assets/data/mdi_icons.json +1 -1
- data/assets/data/mdil_icons.json +1 -1
- data/assets/data/menu.html +2 -2
- data/assets/data/mmenu.html +2 -2
- data/assets/data/mmenu_sidebar.html +2 -2
- data/assets/data/mmenu_toc.html +2 -2
- data/assets/data/panel.html +2 -2
- data/assets/data/particles.yml +1 -1
- data/assets/data/private.json +1 -1
- data/assets/data/quicklinks.html +2 -2
- data/assets/data/rtext_resizer.html +2 -2
- data/assets/data/slick.html +2 -2
- data/assets/data/speak2me.html +11 -9
- data/assets/data/themes.bootswatch.json +1 -1
- data/assets/data/themes.json +1 -1
- data/assets/data/translator.html +2 -2
- data/assets/error_pages/HTTP204.html +1 -1
- data/assets/error_pages/HTTP400.html +1 -1
- data/assets/error_pages/HTTP401.html +1 -1
- data/assets/error_pages/HTTP403.html +1 -1
- data/assets/error_pages/HTTP404.html +1 -1
- data/assets/error_pages/HTTP444.html +1 -1
- data/assets/error_pages/HTTP445.html +1 -1
- data/assets/error_pages/HTTP446.html +1 -1
- data/assets/error_pages/HTTP447.html +1 -1
- data/assets/error_pages/HTTP448.html +1 -1
- data/assets/error_pages/HTTP500.html +1 -1
- data/assets/error_pages/HTTP501.html +1 -1
- data/assets/error_pages/HTTP502.html +1 -1
- data/assets/error_pages/HTTP503.html +1 -1
- data/assets/themes/j1/adapter/js/advertising.js +2 -2
- data/assets/themes/j1/adapter/js/algolia.js +2 -2
- data/assets/themes/j1/adapter/js/analytics.js +2 -2
- data/assets/themes/j1/adapter/js/asciidoctor.js +2 -2
- data/assets/themes/j1/adapter/js/attic.js +2 -2
- data/assets/themes/j1/adapter/js/bmd.js +2 -2
- data/assets/themes/j1/adapter/js/carousel.js +2 -2
- data/assets/themes/j1/adapter/js/clipboard.js +2 -2
- data/assets/themes/j1/adapter/js/comments.js +2 -2
- data/assets/themes/j1/adapter/js/cookieConsent.js +1 -1
- data/assets/themes/j1/adapter/js/customFunctions.js +2 -2
- data/assets/themes/j1/adapter/js/customModule.js +2 -2
- data/assets/themes/j1/adapter/js/dropdowns.js +2 -2
- data/assets/themes/j1/adapter/js/fab.js +2 -2
- data/assets/themes/j1/adapter/js/framer.js +2 -2
- data/assets/themes/j1/adapter/js/gallery.js +325 -0
- data/assets/themes/j1/adapter/js/iconPicker.js +2 -2
- data/assets/themes/j1/adapter/js/j1.js +2 -2
- data/assets/themes/j1/adapter/js/lazyLoader.js +2 -2
- data/assets/themes/j1/adapter/js/{justifiedGallery.js → lightGallery.js} +54 -48
- data/assets/themes/j1/adapter/js/lightbox.js +2 -2
- data/assets/themes/j1/adapter/js/logger.js +2 -2
- data/assets/themes/j1/adapter/js/lunr.js +2 -2
- data/assets/themes/j1/adapter/js/masonry.js +80 -13
- data/assets/themes/j1/adapter/js/masterslider.js +2 -2
- data/assets/themes/j1/adapter/js/mmenu.js +2 -2
- data/assets/themes/j1/adapter/js/navigator.js +7 -4
- data/assets/themes/j1/adapter/js/particles.js +2 -2
- data/assets/themes/j1/adapter/js/rangeSlider.js +2 -2
- data/assets/themes/j1/adapter/js/rouge.js +2 -2
- data/assets/themes/j1/adapter/js/rtable.js +2 -2
- data/assets/themes/j1/adapter/js/rtextResizer.js +2 -2
- data/assets/themes/j1/adapter/js/scroller.js +2 -2
- data/assets/themes/j1/adapter/js/slick.js +1 -1
- data/assets/themes/j1/adapter/js/speak2me.js +183 -48
- data/assets/themes/j1/adapter/js/themeToggler.js +2 -2
- data/assets/themes/j1/adapter/js/themer.js +2 -2
- data/assets/themes/j1/adapter/js/toccer.js +2 -2
- data/assets/themes/j1/adapter/js/translator.js +1 -1
- data/assets/themes/j1/adapter/js/waves.js +2 -2
- data/assets/themes/j1/core/country-flags/css/theme/uno.css +1 -1
- data/assets/themes/j1/core/country-flags/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/core/css/animate.css +2 -2
- data/assets/themes/j1/core/css/icon-fonts/fontawesome.css +2 -2
- data/assets/themes/j1/core/css/icon-fonts/iconify.css +5 -5
- data/assets/themes/j1/core/css/icon-fonts/mdi.css +9 -9
- data/assets/themes/j1/core/css/icon-fonts/mdib.css +7 -7
- data/assets/themes/j1/core/css/icon-fonts/mdil.css +10 -10
- data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.css +1 -1
- data/assets/themes/j1/core/css/themes/unodark/bootstrap.css +30 -30
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +107 -100
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/css/vendor.css +10 -10
- data/assets/themes/j1/core/js/template.js +240 -83
- data/assets/themes/j1/core/js/template.min.js +6 -6
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/backstretch/js/backstretch.js +1 -1
- data/assets/themes/j1/modules/backstretch/js/backstretch.min.js +1 -1
- data/assets/themes/j1/modules/bmd/js/bmd.js +1 -1
- data/assets/themes/j1/modules/bmd/js/bmd.min.js +1 -1
- data/assets/themes/j1/modules/bootstrap/js/bootstrap.js +2118 -2696
- data/assets/themes/j1/modules/bootstrap/js/bootstrap.js.map +1 -0
- data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js +3 -3
- data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js.map +1 -1
- data/assets/themes/j1/modules/carousel/css/carousel.css +1 -1
- data/assets/themes/j1/modules/carousel/css/carousel.min.css +1 -1
- data/assets/themes/j1/modules/carousel/css/carousel_transitions.css +1 -1
- data/assets/themes/j1/modules/carousel/css/carousel_transitions.min.css +1 -1
- data/assets/themes/j1/modules/carousel/css/theme/uno.css +1 -1
- data/assets/themes/j1/modules/carousel/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/clipboard/css/theme/uno.css +1 -1
- data/assets/themes/j1/modules/clipboard/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/dropdowns/css/theme/uno/dropdowns.css +1 -1
- data/assets/themes/j1/modules/dropdowns/css/theme/uno/dropdowns.min.css +1 -1
- data/assets/themes/j1/modules/dropdowns/js/cash.js +1 -1
- data/assets/themes/j1/modules/dropdowns/js/cash.min.js +1 -1
- data/assets/themes/j1/modules/dropdowns/js/dropdowns.js +1 -1
- data/assets/themes/j1/modules/dropdowns/js/dropdowns.min.js +1 -1
- data/assets/themes/j1/modules/fab/js/cash.js +1 -1
- data/assets/themes/j1/modules/fab/js/cash.min.js +1 -1
- data/assets/themes/j1/modules/fab/js/fab.js +1 -1
- data/assets/themes/j1/modules/fab/js/fab.min.js +1 -1
- data/assets/themes/j1/modules/iconPicker/css/universal-icon-picker.css +1 -1
- data/assets/themes/j1/modules/iconPicker/css/universal-icon-picker.min.css +1 -1
- data/assets/themes/j1/modules/iconPicker/js/universal-icon-picker.js +1 -1
- data/assets/themes/j1/modules/iconPicker/js/universal-icon-picker.min.js +1 -1
- data/assets/themes/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.min.js +0 -1
- data/assets/themes/j1/modules/iframeResizer/js/resizer.min.js +0 -1
- data/assets/themes/j1/modules/jquery/js/extensions/hasClass.js +1 -1
- data/assets/themes/j1/modules/jquery/js/extensions/hasClass.min.js +1 -1
- data/assets/themes/j1/modules/jquery/js/extensions/removeClass.js +1 -1
- data/assets/themes/j1/modules/jquery/js/extensions/removeClass.min.js +1 -1
- data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.css +1 -1
- data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/lightGallery/css/lg-transitions.css +984 -0
- data/assets/themes/j1/modules/lightGallery/css/lg-transitions.min.css +26 -0
- data/assets/themes/j1/modules/lightGallery/css/lightgallery-bundle.css +1627 -0
- data/assets/themes/j1/modules/lightGallery/css/lightgallery-bundle.min.css +25 -0
- data/assets/themes/j1/modules/lightGallery/css/plugins/lg-autoplay.css +67 -0
- data/assets/themes/j1/modules/lightGallery/css/plugins/lg-comments.css +157 -0
- data/assets/themes/j1/modules/lightGallery/css/plugins/lg-fullscreen.css +32 -0
- data/assets/themes/j1/modules/lightGallery/css/plugins/lg-medium-zoom.css +40 -0
- data/assets/themes/j1/modules/lightGallery/css/plugins/lg-pager.css +115 -0
- data/assets/themes/j1/modules/lightGallery/css/plugins/lg-rotate.css +74 -0
- data/assets/themes/j1/modules/lightGallery/css/plugins/lg-share.css +168 -0
- data/assets/themes/j1/modules/lightGallery/css/plugins/lg-thumbnail.css +133 -0
- data/assets/themes/j1/modules/lightGallery/css/plugins/lg-video.css +169 -0
- data/assets/themes/j1/modules/lightGallery/css/plugins/lg-zoom.css +141 -0
- data/assets/themes/j1/modules/lightGallery/css/themes/uno/uno.css +109 -0
- data/assets/themes/j1/modules/lightGallery/css/themes/uno/uno.min.css +19 -0
- data/assets/themes/j1/modules/lightGallery/{css/fonts → fonts}/lg.svg +35 -28
- data/assets/themes/j1/modules/lightGallery/fonts/lg.ttf +0 -0
- data/assets/themes/j1/modules/lightGallery/fonts/lg.woff +0 -0
- data/assets/themes/j1/modules/lightGallery/fonts/lg.woff2 +0 -0
- data/assets/themes/j1/modules/lightGallery/img/loading.gif +0 -0
- data/assets/themes/j1/modules/lightGallery/js/lightgallery.js +2759 -0
- data/assets/themes/j1/modules/lightGallery/js/lightgallery.min.js +25 -0
- data/assets/themes/j1/modules/lightGallery/js/plugins/lg-autoplay.js +275 -0
- data/assets/themes/j1/modules/lightGallery/js/plugins/lg-autoplay.min.js +26 -0
- data/assets/themes/j1/modules/lightGallery/js/plugins/lg-comment.js +230 -0
- data/assets/themes/j1/modules/lightGallery/js/plugins/lg-comment.min.js +26 -0
- data/assets/themes/j1/modules/lightGallery/js/plugins/lg-fullscreen.js +160 -0
- data/assets/themes/j1/modules/lightGallery/js/plugins/lg-fullscreen.min.js +26 -0
- data/assets/themes/j1/modules/lightGallery/js/plugins/lg-hash.js +223 -0
- data/assets/themes/j1/modules/lightGallery/js/plugins/lg-hash.min.js +27 -0
- data/assets/themes/j1/modules/lightGallery/js/plugins/lg-medium-zoom.js +157 -0
- data/assets/themes/j1/modules/lightGallery/js/plugins/lg-medium-zoom.min.js +26 -0
- data/assets/themes/j1/modules/lightGallery/js/plugins/lg-pager.js +164 -0
- data/assets/themes/j1/modules/lightGallery/js/plugins/lg-pager.min.js +26 -0
- data/assets/themes/j1/modules/lightGallery/js/plugins/lg-rotate.js +299 -0
- data/assets/themes/j1/modules/lightGallery/js/plugins/lg-rotate.min.js +26 -0
- data/assets/themes/j1/modules/lightGallery/js/plugins/lg-share.js +244 -0
- data/assets/themes/j1/modules/lightGallery/js/plugins/lg-share.min.js +27 -0
- data/assets/themes/j1/modules/lightGallery/js/plugins/lg-thumbnail.js +509 -0
- data/assets/themes/j1/modules/lightGallery/js/plugins/lg-thumbnail.min.js +26 -0
- data/assets/themes/j1/modules/lightGallery/js/plugins/lg-video.js +585 -0
- data/assets/themes/j1/modules/lightGallery/js/plugins/lg-video.min.js +27 -0
- data/assets/themes/j1/modules/lightGallery/js/plugins/lg-vimeo-thumbnail.js +207 -0
- data/assets/themes/j1/modules/lightGallery/js/plugins/lg-vimeo-thumbnail.min.js +26 -0
- data/assets/themes/j1/modules/lightGallery/js/plugins/lg-zoom.js +999 -0
- data/assets/themes/j1/modules/lightGallery/js/plugins/lg-zoom.min.js +26 -0
- data/assets/themes/j1/modules/lightbox/css/lightbox.css +1 -1
- data/assets/themes/j1/modules/lightbox/css/lightbox.min.css +1 -1
- data/assets/themes/j1/modules/lightbox/css/theme/uno.css +1 -1
- data/assets/themes/j1/modules/lightbox/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/lightbox/js/lightbox.js +1 -1
- data/assets/themes/j1/modules/lightbox/js/lightbox.min.js +1 -1
- data/assets/themes/j1/modules/lunr/js/j1.js +1 -1
- data/assets/themes/j1/modules/lunr/js/j1.min.js +1 -1
- data/assets/themes/j1/modules/masonry/js/utils/images_loaded.js +439 -0
- data/assets/themes/j1/modules/masonry/js/utils/images_loaded.min.js +12 -0
- data/assets/themes/j1/modules/masterslider/css/theme/uno.css +1 -1
- data/assets/themes/j1/modules/masterslider/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.css +1 -1
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.min.css +1 -1
- data/assets/themes/j1/modules/mmenuLight/js/mmenu.js +1 -1
- data/assets/themes/j1/modules/mmenuLight/js/mmenu.min.js +1 -1
- data/assets/themes/j1/modules/mmenuLight/js/mmenu.polyfills.js +118 -0
- data/assets/themes/j1/modules/particles/skies/cavern1.png +0 -0
- data/assets/themes/j1/modules/particles/skies/cavern2.png +0 -0
- data/assets/themes/j1/modules/particles/skies/chrome.png +0 -0
- data/assets/themes/j1/modules/particles/skies/deep-space.jpg +0 -0
- data/assets/themes/j1/modules/particles/skies/deepblue.png +0 -0
- data/assets/themes/j1/modules/particles/skies/fire.png +0 -0
- data/assets/themes/j1/modules/particles/skies/fog.png +0 -0
- data/assets/themes/j1/modules/particles/skies/sky1.png +0 -0
- data/assets/themes/j1/modules/particles/skies/sky2.png +0 -0
- data/assets/themes/j1/modules/particles/skies/sky3.png +0 -0
- data/assets/themes/j1/modules/particles/skies/sky4.png +0 -0
- data/assets/themes/j1/modules/particles/skies/sky5.png +0 -0
- data/assets/themes/j1/modules/particles/skies/space1.png +0 -0
- data/assets/themes/j1/modules/particles/skies/space2.png +0 -0
- data/assets/themes/j1/modules/particles/skies/space3.png +0 -0
- data/assets/themes/j1/modules/particles/skies/starfield.png +0 -0
- data/assets/themes/j1/modules/particles/skies/sunorbit.png +0 -0
- data/assets/themes/j1/modules/particles/skies/sunset.png +0 -0
- data/assets/themes/j1/modules/particles/skies/toxic.png +0 -0
- data/assets/themes/j1/modules/particles/skies/underwater1.png +0 -0
- data/assets/themes/j1/modules/particles/skies/underwater2.png +0 -0
- data/assets/themes/j1/modules/particles/skies/underwater3.png +0 -0
- data/assets/themes/j1/modules/particles/skies/wtf.png +0 -0
- data/assets/themes/j1/modules/particles/sprites/slime.png +0 -0
- data/assets/themes/j1/modules/particles/sprites/slimeeyes.png +0 -0
- data/assets/themes/j1/modules/particles/sprites/snake.png +0 -0
- data/assets/themes/j1/modules/particles/sprites/snowflakes.png +0 -0
- data/assets/themes/j1/modules/particles/sprites/snowflakes_large.png +0 -0
- data/assets/themes/j1/modules/popper/js/popper.min.js +0 -1
- data/assets/themes/j1/modules/rangeSlider/css/theme/uno/nouislider.css +1 -1
- data/assets/themes/j1/modules/rangeSlider/css/theme/uno/nouislider.min.css +1 -1
- data/assets/themes/j1/modules/rouge/css/base16/theme.css +1 -1
- data/assets/themes/j1/modules/rouge/css/base16/theme.min.css +1 -1
- data/assets/themes/j1/modules/rouge/css/base16.dark/theme.css +1 -1
- data/assets/themes/j1/modules/rouge/css/base16.dark/theme.min.css +1 -1
- data/assets/themes/j1/modules/rouge/css/base16.light/theme.css +1 -1
- data/assets/themes/j1/modules/rouge/css/base16.light/theme.min.css +1 -1
- data/assets/themes/j1/modules/rouge/css/base16.monokai/theme.css +1 -1
- data/assets/themes/j1/modules/rouge/css/base16.monokai/theme.min.css +1 -1
- data/assets/themes/j1/modules/rouge/css/base16.monokai.dark/theme.css +1 -1
- data/assets/themes/j1/modules/rouge/css/base16.monokai.dark/theme.min.css +1 -1
- data/assets/themes/j1/modules/rouge/css/base16.monokai.light/theme.css +1 -1
- data/assets/themes/j1/modules/rouge/css/base16.monokai.light/theme.min.css +1 -1
- data/assets/themes/j1/modules/rouge/css/base16.solarized/theme.css +1 -1
- data/assets/themes/j1/modules/rouge/css/base16.solarized/theme.min.css +1 -1
- data/assets/themes/j1/modules/rouge/css/base16.solarized.dark/theme.css +1 -1
- data/assets/themes/j1/modules/rouge/css/base16.solarized.dark/theme.min.css +1 -1
- data/assets/themes/j1/modules/rouge/css/base16.solarized.light/theme.css +1 -1
- data/assets/themes/j1/modules/rouge/css/base16.solarized.light/theme.min.css +1 -1
- data/assets/themes/j1/modules/rouge/css/colorful/theme.css +1 -1
- data/assets/themes/j1/modules/rouge/css/colorful/theme.min.css +1 -1
- data/assets/themes/j1/modules/rouge/css/github/theme.css +1 -1
- data/assets/themes/j1/modules/rouge/css/github/theme.min.css +1 -1
- data/assets/themes/j1/modules/rouge/css/gruvbox/theme.css +1 -1
- data/assets/themes/j1/modules/rouge/css/gruvbox/theme.min.css +1 -1
- data/assets/themes/j1/modules/rouge/css/gruvbox.dark/theme.css +1 -1
- data/assets/themes/j1/modules/rouge/css/gruvbox.dark/theme.min.css +1 -1
- data/assets/themes/j1/modules/rouge/css/gruvbox.light/theme.css +1 -1
- data/assets/themes/j1/modules/rouge/css/gruvbox.light/theme.min.css +1 -1
- data/assets/themes/j1/modules/rouge/css/igorpro/theme.css +1 -1
- data/assets/themes/j1/modules/rouge/css/igorpro/theme.min.css +1 -1
- data/assets/themes/j1/modules/rouge/css/molokai/theme.css +1 -1
- data/assets/themes/j1/modules/rouge/css/molokai/theme.min.css +1 -1
- data/assets/themes/j1/modules/rouge/css/monokai/theme.css +1 -1
- data/assets/themes/j1/modules/rouge/css/monokai/theme.min.css +1 -1
- data/assets/themes/j1/modules/rouge/css/monokai.sublime/theme.css +1 -1
- data/assets/themes/j1/modules/rouge/css/monokai.sublime/theme.min.css +1 -1
- data/assets/themes/j1/modules/rouge/css/pastie/theme.css +1 -1
- data/assets/themes/j1/modules/rouge/css/pastie/theme.min.css +1 -1
- data/assets/themes/j1/modules/rouge/css/thankful_eyes/theme.css +1 -1
- data/assets/themes/j1/modules/rouge/css/thankful_eyes/theme.min.css +1 -1
- data/assets/themes/j1/modules/rouge/css/themes.txt +1 -1
- data/assets/themes/j1/modules/rouge/css/tulip/theme.css +1 -1
- data/assets/themes/j1/modules/rouge/css/tulip/theme.min.css +1 -1
- data/assets/themes/j1/modules/rouge/css/uno.dark/theme.css +1 -1
- data/assets/themes/j1/modules/rouge/css/uno.dark/theme.min.css +1 -1
- data/assets/themes/j1/modules/rouge/css/uno.light/theme.css +1 -1
- data/assets/themes/j1/modules/rouge/css/uno.light/theme.min.css +1 -1
- data/assets/themes/j1/modules/rouge/js/select.js +1 -1
- data/assets/themes/j1/modules/rtable/css/theme/uno/rtable.css +1 -1
- data/assets/themes/j1/modules/rtable/css/theme/uno/rtable.min.css +1 -1
- data/assets/themes/j1/modules/rtable/js/rtable.js +1 -1
- data/assets/themes/j1/modules/rtable/js/rtable.min.js +1 -1
- data/assets/themes/j1/modules/scroller/css/theme/uno.css +1 -1
- data/assets/themes/j1/modules/scroller/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/scroller/js/scroller.min.js +1 -1
- data/assets/themes/j1/modules/slick/lightbox/css/theme/uno.css +1 -1
- data/assets/themes/j1/modules/slick/lightbox/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/slick/lightbox/js/slick-lightbox.min.js +0 -1
- data/assets/themes/j1/modules/slick/slider/css/theme/uno.css +1 -1
- data/assets/themes/j1/modules/slick/slider/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/spinner/css/spin.css +1 -1
- data/assets/themes/j1/modules/spinner/css/spin.min.css +1 -1
- data/assets/themes/j1/modules/spinner/js/spin.js +1 -1
- data/assets/themes/j1/modules/spinner/js/spin.min.js +1 -1
- data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +1 -1
- data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +1 -1
- data/assets/themes/j1/modules/translator/css/translator.css +1 -1
- data/assets/themes/j1/modules/translator/css/translator.min.css +1 -1
- data/assets/themes/j1/modules/videojs/css/themes/city.css +74 -74
- data/assets/themes/j1/modules/videojs/css/themes/city.min.css +3 -4
- data/assets/themes/j1/modules/videojs/css/themes/fantasy.css +3 -3
- data/assets/themes/j1/modules/videojs/css/themes/fantasy.min.css +3 -4
- data/assets/themes/j1/modules/videojs/css/themes/forest.css +4 -3
- data/assets/themes/j1/modules/videojs/css/themes/forest.min.css +3 -4
- data/assets/themes/j1/modules/videojs/css/themes/sea.css +2 -2
- data/assets/themes/j1/modules/videojs/css/themes/sea.min.css +3 -4
- data/assets/themes/j1/modules/videojs/css/themes/uno.css +151 -0
- data/assets/themes/j1/modules/videojs/css/themes/uno.min.css +17 -0
- data/assets/themes/j1/modules/videojs/css/video-js.css +12 -0
- data/assets/themes/j1/modules/videojs/css/video-js.min.css +12 -0
- data/assets/themes/j1/modules/videojs/js/plugins/dm/LICENSE +19 -0
- data/assets/themes/j1/modules/videojs/js/plugins/dm/README.md +94 -0
- data/assets/themes/j1/modules/videojs/js/plugins/dm/api/README.md +7 -0
- data/assets/themes/j1/modules/videojs/js/plugins/dm/api/dailymotion.min.js +29 -0
- data/assets/themes/j1/modules/videojs/js/plugins/dm/api/dailymotion.player.min.js +80 -0
- data/assets/themes/j1/modules/videojs/js/plugins/dm/dailymotion.js +603 -0
- data/assets/themes/j1/modules/videojs/js/plugins/dm/dailymotion.min.js +16 -0
- data/assets/themes/j1/modules/videojs/js/plugins/dm/examples/dailymotion-controls.html +18 -0
- data/assets/themes/j1/modules/videojs/js/plugins/dm/examples/dailymotion-javascript.html +27 -0
- data/assets/themes/j1/modules/videojs/js/plugins/dm/examples/dailymotion-playlist.html +19 -0
- data/assets/themes/j1/modules/videojs/js/plugins/dm/examples/global-parameters.html +28 -0
- data/assets/themes/j1/modules/videojs/js/plugins/dm/examples/simple.html +20 -0
- data/assets/themes/j1/modules/videojs/js/plugins/dm/examples/switch.html +37 -0
- data/assets/themes/j1/modules/videojs/js/plugins/vm/LICENSE +21 -0
- data/assets/themes/j1/modules/videojs/js/plugins/vm/README.md +15 -0
- data/assets/themes/j1/modules/videojs/js/plugins/vm/api/README.md +1818 -0
- data/assets/themes/j1/modules/videojs/js/plugins/vm/api/player.min.js +23 -0
- data/assets/themes/j1/modules/videojs/js/plugins/vm/api/vimeo.js +3562 -0
- data/assets/themes/j1/modules/videojs/js/plugins/vm/api/vimeo.min.js +35 -0
- data/assets/themes/j1/modules/videojs/js/plugins/vm/examples/index.html +33 -0
- data/assets/themes/j1/modules/videojs/js/plugins/vm/examples/player/index.html +37 -0
- data/assets/themes/j1/modules/videojs/js/plugins/vm/vimeo.js +521 -0
- data/assets/themes/j1/modules/videojs/js/plugins/vm/vimeo.min.js +15 -0
- data/assets/themes/j1/modules/videojs/js/plugins/wt/api/Readme.txt +20 -0
- data/assets/themes/j1/modules/videojs/js/plugins/wt/api/WistiaPlayer.ts +1617 -0
- data/assets/themes/j1/modules/videojs/js/plugins/wt/api/wistia.min.js +2 -0
- data/assets/themes/j1/modules/videojs/js/plugins/wt/wistia.js +383 -0
- data/assets/themes/j1/modules/videojs/js/plugins/wt/wistia.min.js +18 -0
- data/assets/themes/j1/modules/videojs/js/plugins/yt/README.md +115 -0
- data/assets/themes/j1/modules/videojs/js/plugins/yt/api/youtube.min.js +20 -0
- data/assets/themes/j1/modules/videojs/js/plugins/yt/examples/global-parameters.html +32 -0
- data/assets/themes/j1/modules/videojs/js/plugins/yt/examples/simple.html +20 -0
- data/assets/themes/j1/modules/videojs/js/plugins/yt/examples/switch.html +37 -0
- data/assets/themes/j1/modules/videojs/js/plugins/yt/examples/youtube-controls.html +18 -0
- data/assets/themes/j1/modules/videojs/js/plugins/yt/examples/youtube-javascript.html +27 -0
- data/assets/themes/j1/modules/videojs/js/plugins/yt/examples/youtube-list.html +19 -0
- data/assets/themes/j1/modules/videojs/js/plugins/yt/examples/youtube-playlist.html +19 -0
- data/assets/themes/j1/modules/videojs/js/plugins/yt/youtube.js +832 -0
- data/assets/themes/j1/modules/videojs/js/plugins/yt/youtube.min.js +16 -0
- data/assets/themes/j1/modules/videojs/js/video.js +40610 -32915
- data/assets/themes/j1/modules/videojs/js/video.min.js +33 -20
- data/lib/j1/version.rb +1 -1
- data/lib/j1_app/j1_auth_manager/auth_manager.rb +1 -1
- data/lib/j1_app/j1_auth_manager/warden_omniauth.rb +1 -1
- data/lib/j1_app/omniauth/strategies/github.rb +1 -1
- data/lib/starter_web/Gemfile +3 -3
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +2 -2
- data/lib/starter_web/_data/_defaults/categories.yml +1 -1
- data/lib/starter_web/_data/_defaults/colors.yml +1 -1
- data/lib/starter_web/_data/_defaults/font_sizes.yml +1 -1
- data/lib/starter_web/_data/_defaults/j1_config.yml +1 -1
- data/lib/starter_web/_data/_defaults/private.yml +1 -1
- data/lib/starter_web/_data/_defaults/resources.yml +1 -1
- data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +1 -1
- data/lib/starter_web/_data/apps/justifiedGalleryCustomizer.yml +1 -1
- data/lib/starter_web/_data/asciidoc2pdf/themes/j1-theme.yml +1 -1
- data/lib/starter_web/_data/blocks/banner.yml +1 -1
- data/lib/starter_web/_data/blocks/defaults/banner.yml +1 -1
- data/lib/starter_web/_data/blocks/defaults/footer.yml +1 -1
- data/lib/starter_web/_data/blocks/defaults/panel.yml +1 -1
- data/lib/starter_web/_data/blocks/footer.yml +2 -2
- data/lib/starter_web/_data/blocks/panel.yml +1 -1
- data/lib/starter_web/_data/categories.yml +1 -1
- data/lib/starter_web/_data/colors.yml +1 -1
- data/lib/starter_web/_data/font_sizes.yml +1 -1
- data/lib/starter_web/_data/j1_config.yml +1 -1
- data/lib/starter_web/_data/layouts/collection.yml +1 -1
- data/lib/starter_web/_data/layouts/default.yml +1 -1
- data/lib/starter_web/_data/layouts/home.yml +1 -1
- data/lib/starter_web/_data/layouts/news_panel_posts.yml +1 -1
- data/lib/starter_web/_data/layouts/page.yml +1 -1
- data/lib/starter_web/_data/layouts/post.yml +1 -1
- data/lib/starter_web/_data/layouts/raw.yml +1 -1
- data/lib/starter_web/_data/modules/advertising.yml +2 -2
- data/lib/starter_web/_data/modules/analytics.yml +1 -1
- data/lib/starter_web/_data/modules/attics.yml +1 -1
- data/lib/starter_web/_data/modules/authentication.yml +1 -1
- data/lib/starter_web/_data/modules/blog_navigator.yml +1 -1
- data/lib/starter_web/_data/modules/carousel.yml +1 -1
- data/lib/starter_web/_data/modules/comments.yml +1 -1
- data/lib/starter_web/_data/modules/cookieconsent.yml +1 -1
- data/lib/starter_web/_data/modules/cookies.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/advertising.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/analytics.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/attics.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/authentication.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/blog_navigator.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/carousel.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/comments.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/cookies.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/dropdowns.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/fab.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/framer.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/{justifiedGallery.yml → gallery.yml} +18 -28
- data/lib/starter_web/_data/modules/defaults/iconPicker.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/lazyLoader.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/lightGallery.yml +8 -6
- data/lib/starter_web/_data/modules/defaults/lightbox.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/log4javascript.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/log4r.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/lunr.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/masonry.yml +53 -13
- data/lib/starter_web/_data/modules/defaults/masterslider.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/navigator.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/particles.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/rangeSlider.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/rtable.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/scroller.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/slick.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/speak2me.yml +8 -5
- data/lib/starter_web/_data/modules/defaults/theme_toggler.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/themer.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/translator.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/waves.yml +1 -1
- data/lib/starter_web/_data/modules/dropdowns.yml +1 -1
- data/lib/starter_web/_data/modules/fab.yml +1 -1
- data/lib/starter_web/_data/modules/framer.yml +1 -1
- data/lib/starter_web/_data/modules/gallery.yml +874 -0
- data/lib/starter_web/_data/modules/iconPicker.yml +1 -1
- data/lib/starter_web/_data/modules/lazyLoader.yml +1 -1
- data/lib/starter_web/_data/modules/lightGallery.yml +8 -5
- data/lib/starter_web/_data/modules/lightbox.yml +1 -1
- data/lib/starter_web/_data/modules/log4javascript.yml +1 -1
- data/lib/starter_web/_data/modules/log4r.yml +1 -1
- data/lib/starter_web/_data/modules/lunr.yml +1 -1
- data/lib/starter_web/_data/modules/masonry.yml +401 -87
- data/lib/starter_web/_data/modules/masterslider.yml +1 -1
- data/lib/starter_web/_data/modules/navigator.yml +1 -1
- data/lib/starter_web/_data/modules/navigator_menu.yml +18 -4
- data/lib/starter_web/_data/modules/nbinteract.yml +1 -1
- data/lib/starter_web/_data/modules/particles.yml +1 -1
- data/lib/starter_web/_data/modules/rangeSlider.yml +1 -1
- data/lib/starter_web/_data/modules/rtable.yml +1 -1
- data/lib/starter_web/_data/modules/scroller.yml +1 -1
- data/lib/starter_web/_data/modules/slick.yml +1 -1
- data/lib/starter_web/_data/modules/speak2me.yml +1 -1
- data/lib/starter_web/_data/modules/theme_toggler.yml +1 -1
- data/lib/starter_web/_data/modules/themer.yml +1 -1
- data/lib/starter_web/_data/modules/toccer.yml +1 -1
- data/lib/starter_web/_data/modules/translator.yml +1 -1
- data/lib/starter_web/_data/modules/waves.yml +1 -1
- data/lib/starter_web/_data/plugins/defaults/feed.yml +1 -1
- data/lib/starter_web/_data/plugins/defaults/paginator.yml +1 -1
- data/lib/starter_web/_data/plugins/defaults/seo-tags.yml +1 -1
- data/lib/starter_web/_data/plugins/defaults/sitemap.yml +1 -1
- data/lib/starter_web/_data/plugins/feed.yml +1 -1
- data/lib/starter_web/_data/plugins/paginator.yml +1 -1
- data/lib/starter_web/_data/plugins/seo-tags.yml +1 -1
- data/lib/starter_web/_data/plugins/sitemap.yml +1 -1
- data/lib/starter_web/_data/private.yml +1 -1
- data/lib/starter_web/_data/resources.yml +190 -118
- data/lib/starter_web/_data/templates/feed.xml +2 -2
- data/lib/starter_web/_data/templates/robots.txt +1 -1
- data/lib/starter_web/_data/templates/seo-tags.html +1 -1
- data/lib/starter_web/_data/templates/sitemap.xml +1 -1
- data/lib/starter_web/_data/utilities/defaults/util_srv.yml +1 -1
- data/lib/starter_web/_data/utilities/util_srv.yml +1 -1
- data/lib/starter_web/_includes/custom/static/bs5_accordion.html +1 -1
- data/lib/starter_web/_includes/custom/templates/bs5_accordion.html +1 -1
- data/lib/starter_web/_includes/custom/templates/collection_panel.html +1 -1
- data/lib/starter_web/_includes/custom/templates/custom_header.html +1 -1
- data/lib/starter_web/_includes/custom/templates/people_panel.html +1 -1
- data/lib/starter_web/_includes/google/static/google_ad__your-slot-id.html +1 -1
- data/lib/starter_web/_includes/google/templates/google_ads.html +1 -1
- data/lib/starter_web/_plugins/asciidoctor/admonition-block-answer.rb +3 -2
- data/lib/starter_web/_plugins/asciidoctor/admonition-block-question.rb +7 -6
- data/lib/starter_web/_plugins/asciidoctor/banner.rb +8 -5
- data/lib/starter_web/_plugins/asciidoctor/callout.rb +10 -8
- data/lib/starter_web/_plugins/asciidoctor/carousel-block.rb +14 -8
- data/lib/starter_web/_plugins/asciidoctor/conum.rb +3 -1
- data/lib/starter_web/_plugins/asciidoctor/dailymotion-block.rb +83 -0
- data/lib/starter_web/_plugins/asciidoctor/fab-icon-inline.rb +8 -5
- data/lib/starter_web/_plugins/asciidoctor/fas-icon-inline.rb +8 -5
- data/lib/starter_web/_plugins/asciidoctor/flag-icon-inline.rb +8 -5
- data/lib/starter_web/_plugins/asciidoctor/gallery-block.rb +50 -44
- data/lib/starter_web/_plugins/asciidoctor/gist-block.rb +56 -52
- data/lib/starter_web/_plugins/asciidoctor/google-ad-block.rb +52 -47
- data/lib/starter_web/_plugins/asciidoctor/iconify-icon-inline.rb +8 -5
- data/lib/starter_web/_plugins/asciidoctor/lightbox-block.rb +88 -82
- data/lib/starter_web/_plugins/asciidoctor/lorem_inline.rb +5 -4
- data/lib/starter_web/_plugins/asciidoctor/masonry-block.rb +13 -7
- data/lib/starter_web/_plugins/asciidoctor/masterslider-block.rb +54 -48
- data/lib/starter_web/_plugins/asciidoctor/mdi-icon-inline.rb +2 -1
- data/lib/starter_web/_plugins/asciidoctor/mdib-icon-inline.rb +2 -1
- data/lib/starter_web/_plugins/asciidoctor/mdil-icon-inline.rb +2 -1
- data/lib/starter_web/_plugins/asciidoctor/panel.rb +9 -5
- data/lib/starter_web/_plugins/asciidoctor/placeholder-inline.rb +4 -3
- data/lib/starter_web/_plugins/asciidoctor/range-slider-block.rb +49 -44
- data/lib/starter_web/_plugins/asciidoctor/shout-block.rb +6 -7
- data/lib/starter_web/_plugins/asciidoctor/slick-block.rb +12 -6
- data/lib/starter_web/_plugins/asciidoctor/textbook-block.rb +9 -5
- data/lib/starter_web/_plugins/asciidoctor/twitter-emoji-inline.rb +4 -1
- data/lib/starter_web/_plugins/asciidoctor/video-block.rb +65 -0
- data/lib/starter_web/_plugins/asciidoctor/videojs-block.rb +82 -0
- data/lib/starter_web/_plugins/asciidoctor/vimeo-block.rb +82 -0
- data/lib/starter_web/_plugins/asciidoctor/wistia-block.rb +87 -0
- data/lib/starter_web/_plugins/asciidoctor/youtube-block.rb +95 -0
- data/lib/starter_web/_plugins/filter/debug.rb +1 -1
- data/lib/starter_web/_plugins/filter/encodeBase64.rb +1 -1
- data/lib/starter_web/_plugins/filter/encryptAES.rb +1 -1
- data/lib/starter_web/_plugins/filter/filters.rb +1 -1
- data/lib/starter_web/_plugins/filter/liquify.rb +1 -1
- data/lib/starter_web/_plugins/filter/minifyJS.rb +1 -1
- data/lib/starter_web/_plugins/filter/minifyJSON.rb +1 -1
- data/lib/starter_web/_plugins/filter/prettify.rb +1 -1
- data/lib/starter_web/_plugins/filter/xml_prettify.rb +1 -1
- data/lib/starter_web/_plugins/helper/symlink_watcher.rb +1 -1
- data/lib/starter_web/_plugins/i18n/date.rb +1 -1
- data/lib/starter_web/_plugins/index/lunr.rb +2 -2
- data/lib/starter_web/_plugins/seo/j1-feed.rb +1 -1
- data/lib/starter_web/_plugins/seo/j1-seo-tags.rb +1 -1
- data/lib/starter_web/_plugins/seo/j1-sitemap.rb +1 -1
- data/lib/starter_web/assets/images/icons/videojs/videojs-logo.png +0 -0
- data/lib/starter_web/assets/images/icons/videojs/videojs-poster.png +0 -0
- data/lib/starter_web/assets/videos/gallery/_video_james_carpool_caraoke_poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/html5/video1-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/html5/video1.subtitles.vtt +39 -0
- data/lib/starter_web/assets/videos/gallery/html5/video2-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/html5/303/237video2-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/video1-poster.1920..jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/video_adele_last_carpool_caraoke_poster.1920.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/video_adele_last_carpool_caraoke_poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/video_gaga-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/video_james_carpool_caraoke_poster.jpg +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +1 -1
- data/lib/starter_web/config.ru +1 -1
- data/lib/starter_web/dot.gitattributes +1 -1
- data/lib/starter_web/dot.nojekyll +1 -1
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/111_about_the_converter.asciidoc +5 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/112_getting_started.asciidoc +3 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/113_themes.asciidoc +1 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +11 -7
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/100_chapter.asciidoc +27 -11
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/200_chapter.asciidoc +3 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +12 -7
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +14 -7
- data/lib/starter_web/pages/public/features/general.adoc +12 -1
- data/lib/starter_web/pages/public/features/template.adoc +37 -38
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_all_books.adoc +4 -3
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_biography.adoc +2 -3
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_fantasy.adoc +2 -2
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_romance.adoc +2 -2
- data/lib/starter_web/pages/public/learn/bookshelf/jekyll_collections.adoc +6 -5
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +1 -0
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/themes_rouge.asciidoc +4 -0
- data/lib/starter_web/pages/public/learn/roundtrip/asciidoc_extensions.adoc +6 -5
- data/lib/starter_web/pages/public/learn/roundtrip/bootstrap_themes.adoc +2 -0
- data/lib/starter_web/pages/public/learn/roundtrip/highlghter_rouge.adoc +7 -2
- data/lib/starter_web/pages/public/learn/roundtrip/icon_fonts.adoc +7 -2
- data/lib/starter_web/pages/public/learn/roundtrip/lunr_search.adoc +12 -3
- data/lib/starter_web/pages/public/learn/roundtrip/modal_extentions.adoc +4 -2
- data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +84 -93
- data/lib/starter_web/pages/public/learn/roundtrip/present_videos.adoc +264 -64
- data/lib/starter_web/pages/public/learn/roundtrip/responsive_tables.adoc +5 -2
- data/lib/starter_web/pages/public/learn/roundtrip/typography.adoc +1 -0
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +2 -1
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +3 -1
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +3 -1
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +2 -39
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +2 -2
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +3 -2
- data/lib/starter_web/pages/public/plans/plans.adoc +14 -5
- data/lib/starter_web/pages/public/tools/previewer/_includes/attributes.asciidoc +69 -0
- data/lib/starter_web/pages/public/tools/previewer/_includes/documents/readme +0 -0
- data/lib/starter_web/pages/public/tools/previewer/preview_bootstrap_theme.adoc +3093 -3104
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- data/lib/starter_web/utilsrv/server.js +1 -1
- metadata +170 -94
- data/assets/data/galleries.json +0 -156
- data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +0 -360
- data/assets/themes/j1/modules/backstretch/js/v2.1.16/backstretch.js +0 -1694
- data/assets/themes/j1/modules/backstretch/js/v2.1.16/backstretch.min.js +0 -19
- data/assets/themes/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.map +0 -1
- data/assets/themes/j1/modules/iframeResizer/js/resizer.map +0 -1
- data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/css/justifiedGallery.css +0 -110
- data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/css/justifiedGallery.min.css +0 -110
- data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/css/theme/uno.css +0 -23
- data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/js/justifiedGallery.3.7.0.js +0 -1229
- data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/js/justifiedGallery.js +0 -1229
- data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/js/justifiedGallery.min.js +0 -8
- data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/less/.csslintrc +0 -20
- data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/less/justifiedGallery.less +0 -113
- data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/css/justifiedGallery.css +0 -110
- data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/css/justifiedGallery.min.css +0 -110
- data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/js/justifiedGallery.js +0 -1245
- data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/js/justifiedGallery.min.js +0 -7
- data/assets/themes/j1/modules/justifiedGallery/css/_archived/justifiedGallery.css +0 -110
- data/assets/themes/j1/modules/justifiedGallery/css/_archived/justifiedGallery.min.css +0 -110
- data/assets/themes/j1/modules/lightGallery/css/core/lg-fb-comment-box.css +0 -58
- data/assets/themes/j1/modules/lightGallery/css/core/lg-fb-comment-box.min.css +0 -5
- data/assets/themes/j1/modules/lightGallery/css/core/lg-transitions.css +0 -778
- data/assets/themes/j1/modules/lightGallery/css/core/lg-transitions.min.css +0 -5
- data/assets/themes/j1/modules/lightGallery/css/core/lightgallery.css +0 -981
- data/assets/themes/j1/modules/lightGallery/css/core/lightgallery.min.css +0 -5
- data/assets/themes/j1/modules/lightGallery/css/fonts/lg.eot +0 -0
- data/assets/themes/j1/modules/lightGallery/css/fonts/lg.ttf +0 -0
- data/assets/themes/j1/modules/lightGallery/css/fonts/lg.woff +0 -0
- data/assets/themes/j1/modules/lightGallery/css/themes/uno.css +0 -262
- data/assets/themes/j1/modules/lightGallery/css/themes/uno.min.css +0 -15
- data/assets/themes/j1/modules/lightGallery/js/core/j1/lightgallery.js +0 -1375
- data/assets/themes/j1/modules/lightGallery/js/core/j1/lightgallery.min.js +0 -5
- data/assets/themes/j1/modules/lightGallery/js/core/lightgallery.js +0 -1362
- data/assets/themes/j1/modules/lightGallery/js/core/lightgallery.min.js +0 -4
- data/assets/themes/j1/modules/lightGallery/js/modules/lg-autoplay.js +0 -206
- data/assets/themes/j1/modules/lightGallery/js/modules/lg-autoplay.min.js +0 -5
- data/assets/themes/j1/modules/lightGallery/js/modules/lg-fullscreen.js +0 -126
- data/assets/themes/j1/modules/lightGallery/js/modules/lg-fullscreen.min.js +0 -5
- data/assets/themes/j1/modules/lightGallery/js/modules/lg-hash.js +0 -101
- data/assets/themes/j1/modules/lightGallery/js/modules/lg-hash.min.js +0 -5
- data/assets/themes/j1/modules/lightGallery/js/modules/lg-pager.js +0 -105
- data/assets/themes/j1/modules/lightGallery/js/modules/lg-pager.min.js +0 -5
- data/assets/themes/j1/modules/lightGallery/js/modules/lg-share.js +0 -107
- data/assets/themes/j1/modules/lightGallery/js/modules/lg-share.min.js +0 -5
- data/assets/themes/j1/modules/lightGallery/js/modules/lg-thumbnail.js +0 -486
- data/assets/themes/j1/modules/lightGallery/js/modules/lg-thumbnail.min.js +0 -7
- data/assets/themes/j1/modules/lightGallery/js/modules/lg-zoom.js +0 -527
- data/assets/themes/j1/modules/lightGallery/js/modules/lg-zoom.min.js +0 -5
- data/assets/themes/j1/modules/msDropdown/js/msDropdown.min.js.map +0 -1
- data/assets/themes/j1/modules/popper/js/popper.min.js.map +0 -1
- data/assets/themes/j1/modules/rangeSlider/js/15.5.1/nouislider.js +0 -2337
- data/assets/themes/j1/modules/rangeSlider/js/15.5.1/nouislider.min.js +0 -1
- data/assets/themes/j1/modules/rangeSlider/js/9.1.0/nouislider.js +0 -2534
- data/assets/themes/j1/modules/slick/lightbox/js/slick-lightbox.min.js.map +0 -1
- data/assets/themes/j1/modules/themeSwitcher/js/_unsued/switcher.1.js +0 -454
- data/assets/themes/j1/modules/vimeo/froogaloop/js/froogaloop2.js +0 -4
- data/assets/themes/j1/modules/vimeo/froogaloop/js/froogaloop2.min.js +0 -4
- data/assets/themes/j1/modules/vimeo/player/js/player.js +0 -2138
- data/assets/themes/j1/modules/vimeo/player/js/player.js.map +0 -1
- data/assets/themes/j1/modules/vimeo/player/js/player.min.js +0 -2
- data/assets/themes/j1/modules/vimeo/player/js/player.min.js.map +0 -1
- data/lib/starter_web/_data/modules/justifiedGallery.yml +0 -556
- data/lib/starter_web/assets/videos/gallery/vk/hai.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/vk/otter.jpg +0 -0
- /data/assets/themes/j1/modules/backstretch/{LICENSE-MIT → LICENSE} +0 -0
- /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/animation-w.png +0 -0
- /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/customize-w.png +0 -0
- /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/dynamic-w.png +0 -0
- /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/facebook-icon.svg +0 -0
- /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/googleplus-icon.svg +0 -0
- /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/html5-w.png +0 -0
- /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/linked-in.png +0 -0
- /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/module-w.png +0 -0
- /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/play-button.png +0 -0
- /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/responsive-w.png +0 -0
- /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/thumb-w.png +0 -0
- /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/touch-w.png +0 -0
- /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/twitter-icon.svg +0 -0
- /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/twitter.png +0 -0
- /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/video1-w.png +0 -0
- /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/zoom-w.png +0 -0
- /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/zoom.png +0 -0
- /data/assets/themes/j1/modules/lightGallery/{css/img → images}/loading.gif +0 -0
- /data/assets/themes/j1/modules/lightGallery/{css/img → img}/video-play.png +0 -0
- /data/assets/themes/j1/modules/lightGallery/{css/img → img}/vimeo-play.png +0 -0
- /data/assets/themes/j1/modules/lightGallery/{css/img → img}/youtube-play.png +0 -0
- /data/assets/themes/j1/modules/lightGallery/js/{modules → plugins}/j1/j1-video.js +0 -0
- /data/assets/themes/j1/modules/lightGallery/js/{modules → plugins}/j1/j1-video.min.js +0 -0
@@ -0,0 +1,603 @@
|
|
1
|
+
/*
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/assets/themes/j1/modules/videojs/js/dailymotion/dailymotion.js
|
4
|
+
# Provides Dailymotion Playback Technology for Video.js V8 and newer
|
5
|
+
#
|
6
|
+
# Product/Info:
|
7
|
+
# http://jekyll.one
|
8
|
+
#
|
9
|
+
# Copyright (C) John Law
|
10
|
+
# Copyright (C) 2023 Juergen Adams
|
11
|
+
#
|
12
|
+
# J1 Theme is licensed under MIT License.
|
13
|
+
# See: https://github.com/jekyll-one/J1 Theme/blob/master/LICENSE
|
14
|
+
# -----------------------------------------------------------------------------
|
15
|
+
*/
|
16
|
+
|
17
|
+
/*
|
18
|
+
Copyright (c) John Law <chihonlaw@gmail.com>
|
19
|
+
|
20
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
21
|
+
of this software and associated documentation files (the "Software"), to deal
|
22
|
+
in the Software without restriction, including without limitation the rights
|
23
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
24
|
+
copies of the Software, and to permit persons to whom the Software is
|
25
|
+
furnished to do so, subject to the following conditions:
|
26
|
+
|
27
|
+
The above copyright notice and this permission notice shall be included in all
|
28
|
+
copies or substantial portions of the Software.
|
29
|
+
|
30
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
31
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
32
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
33
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
34
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
35
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
36
|
+
SOFTWARE.
|
37
|
+
*/
|
38
|
+
|
39
|
+
/*global define, DM*/
|
40
|
+
(function (root, factory) {
|
41
|
+
if (typeof exports==='object' && typeof module!=='undefined') {
|
42
|
+
var videojs = require('video.js');
|
43
|
+
module.exports = factory(videojs.default || videojs);
|
44
|
+
} else if (typeof define === 'function' && define.amd) {
|
45
|
+
define(['videojs'], function(videojs){
|
46
|
+
return (root.Dailymotion = factory(videojs));
|
47
|
+
});
|
48
|
+
} else {
|
49
|
+
root.Dailymotion = factory(root.videojs);
|
50
|
+
}
|
51
|
+
}(this, function(videojs) {
|
52
|
+
'use strict';
|
53
|
+
var _isOnMobile = videojs.browser.IS_IOS || videojs.browser.IS_ANDROID;
|
54
|
+
var Tech = videojs.getTech('Tech');
|
55
|
+
|
56
|
+
class Dailymotion extends Tech {
|
57
|
+
|
58
|
+
constructor(options, ready) {
|
59
|
+
super(options, ready);
|
60
|
+
|
61
|
+
this.setPoster(options.poster);
|
62
|
+
this.setSrc(this.options_.source, true);
|
63
|
+
|
64
|
+
// Set the vjs-dailymotion class to the player
|
65
|
+
// Parent is not set yet so we have to wait a tick
|
66
|
+
var vm = this;
|
67
|
+
setTimeout(function() {
|
68
|
+
if (this.el_) {
|
69
|
+
this.el_.parentNode.className += ' vjs-dailymotion';
|
70
|
+
|
71
|
+
if (_isOnMobile) {
|
72
|
+
this.el_.parentNode.className += ' vjs-dailymotion-mobile';
|
73
|
+
}
|
74
|
+
|
75
|
+
if (Dailymotion.isSdkReady) {
|
76
|
+
vm.initDMPlayer();
|
77
|
+
} else {
|
78
|
+
Dailymotion.sdkReadyQueue.push(vm);
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}.bind(this));
|
82
|
+
}
|
83
|
+
|
84
|
+
getPlayerParams() {
|
85
|
+
var playerParams = {
|
86
|
+
autoplay: false,
|
87
|
+
mute: false,
|
88
|
+
controls: false,
|
89
|
+
'queue-autoplay-next': false,
|
90
|
+
'queue-enable': false
|
91
|
+
};
|
92
|
+
|
93
|
+
// Let the user set any Dailymotion parameter
|
94
|
+
// https://developer.dailymotion.com/player/#player-parameters
|
95
|
+
// To use Dailymotion controls, you must use dmControls instead
|
96
|
+
|
97
|
+
var params = ['api', 'autoplay', 'autoplay-mute', 'id', 'mute', 'origin', 'quality', 'queue-autoplay-next',
|
98
|
+
'queue-enable', 'sharing-enable', 'start', 'subtitles-default', 'syndication', 'ui-highlight', 'ui-logo',
|
99
|
+
'ui-start-screen-info', 'ui-theme', 'apimode', 'playlist'];
|
100
|
+
|
101
|
+
var options = this.options_;
|
102
|
+
params.forEach(function(param) {
|
103
|
+
if (typeof options[param] === 'undefined') {
|
104
|
+
return;
|
105
|
+
}
|
106
|
+
playerParams[param] = options[param];
|
107
|
+
});
|
108
|
+
|
109
|
+
if (typeof this.options_.dmControls !== 'undefined') {
|
110
|
+
playerParams.controls = this.options_.dmControls;
|
111
|
+
}
|
112
|
+
|
113
|
+
// Overwriting playlist if it is included in url
|
114
|
+
if (this.url && typeof this.url.playlist !== 'undefined') {
|
115
|
+
playerParams.playlist = this.url.playlist;
|
116
|
+
}
|
117
|
+
|
118
|
+
// Allow undocumented options to be passed along via customVars
|
119
|
+
if (typeof this.options_.customVars !== 'undefined') {
|
120
|
+
var customVars = this.options_.customVars;
|
121
|
+
Object.keys(customVars).forEach(function(key) {
|
122
|
+
playerParams[key] = customVars[key];
|
123
|
+
});
|
124
|
+
}
|
125
|
+
|
126
|
+
return playerParams;
|
127
|
+
}
|
128
|
+
|
129
|
+
getPlayerConfig() {
|
130
|
+
var playerConfig = {
|
131
|
+
width: '100%',
|
132
|
+
height: '100%',
|
133
|
+
params: this.getPlayerParams()
|
134
|
+
};
|
135
|
+
|
136
|
+
if (this.url && typeof this.url.video !== 'undefined') {
|
137
|
+
playerConfig.video = this.url.video;
|
138
|
+
} else if (typeof this.options_.video !== 'undefined') {
|
139
|
+
playerConfig.video = this.options_.video;
|
140
|
+
}
|
141
|
+
|
142
|
+
return playerConfig;
|
143
|
+
}
|
144
|
+
|
145
|
+
initDMPlayer() {
|
146
|
+
if (this.dmPlayer) {
|
147
|
+
return;
|
148
|
+
}
|
149
|
+
this.dmPlayer = new DM.player(
|
150
|
+
document.getElementById(this.options_.techId),
|
151
|
+
this.getPlayerConfig()
|
152
|
+
);
|
153
|
+
var vm = this;
|
154
|
+
this.isApiReady = false;
|
155
|
+
this.dmPlayer.addEventListener('apiready', function() {
|
156
|
+
vm.triggerReady();
|
157
|
+
vm.isApiReady = true;
|
158
|
+
});
|
159
|
+
this.dmPlayer.addEventListener('durationchange', function() {
|
160
|
+
vm.trigger('durationchange');
|
161
|
+
});
|
162
|
+
this.dmPlayer.addEventListener('end', function() {
|
163
|
+
vm.trigger('ended');
|
164
|
+
});
|
165
|
+
this.dmPlayer.addEventListener('error', function() {
|
166
|
+
vm.trigger('error');
|
167
|
+
});
|
168
|
+
this.dmPlayer.addEventListener('loadedmetadata', function() {
|
169
|
+
vm.trigger('loadeddata');
|
170
|
+
vm.trigger('loadedmetadata');
|
171
|
+
});
|
172
|
+
this.dmPlayer.addEventListener('pause', function() {
|
173
|
+
vm.trigger('pause');
|
174
|
+
});
|
175
|
+
this.dmPlayer.addEventListener('play', function() {
|
176
|
+
vm.trigger('loadStart');
|
177
|
+
vm.trigger('play');
|
178
|
+
vm.trigger('playing');
|
179
|
+
vm.trigger('waiting');
|
180
|
+
});
|
181
|
+
this.dmPlayer.addEventListener('playback_ready', function() {
|
182
|
+
vm.trigger('loadeddata');
|
183
|
+
});
|
184
|
+
this.dmPlayer.addEventListener('timeupdate', function() {
|
185
|
+
vm.trigger('timeupdate');
|
186
|
+
});
|
187
|
+
this.dmPlayer.addEventListener('volumechange', function() {
|
188
|
+
vm.trigger('volumechange');
|
189
|
+
});
|
190
|
+
}
|
191
|
+
|
192
|
+
autoplay(autoplay) {
|
193
|
+
if (typeof autoplay !== 'undefined') {
|
194
|
+
return this.setAutoplay(autoplay);
|
195
|
+
}
|
196
|
+
|
197
|
+
return this.options_.autoplay;
|
198
|
+
}
|
199
|
+
|
200
|
+
setAutoplay(val) {
|
201
|
+
return this.options_.autoplay = val;
|
202
|
+
}
|
203
|
+
|
204
|
+
buffered() {
|
205
|
+
if(!this.dmPlayer || !this.dmPlayer.bufferedTime) {
|
206
|
+
return videojs.time.createTimeRanges();
|
207
|
+
}
|
208
|
+
|
209
|
+
return videojs.time.createTimeRanges(0, this.dmPlayer.bufferedTime);
|
210
|
+
}
|
211
|
+
|
212
|
+
createEl() {
|
213
|
+
var div = document.createElement('div');
|
214
|
+
div.setAttribute('id', this.options_.techId);
|
215
|
+
div.setAttribute('style', 'width:100%;height:100%;top:0;left:0;position:absolute');
|
216
|
+
div.setAttribute('class', 'vjs-tech');
|
217
|
+
|
218
|
+
var divWrapper = document.createElement('div');
|
219
|
+
divWrapper.appendChild(div);
|
220
|
+
|
221
|
+
if (!_isOnMobile && !this.options_.dmControls) {
|
222
|
+
|
223
|
+
// var divBlocker = document.createElement('div');
|
224
|
+
// divBlocker.setAttribute('class', 'vjs-iframe-blocker');
|
225
|
+
// divBlocker.setAttribute('style', 'position:absolute;top:0;left:0;width:100%;height:100%');
|
226
|
+
//
|
227
|
+
// // In case the blocker is still there and we want to pause
|
228
|
+
// divBlocker.onclick = function() {
|
229
|
+
// this.pause();
|
230
|
+
// }.bind(this);
|
231
|
+
//
|
232
|
+
// divWrapper.appendChild(divBlocker);
|
233
|
+
}
|
234
|
+
|
235
|
+
return divWrapper;
|
236
|
+
}
|
237
|
+
|
238
|
+
currentSrc() {
|
239
|
+
return this.source && this.source.src;
|
240
|
+
}
|
241
|
+
|
242
|
+
currentTime(seconds) {
|
243
|
+
if (typeof seconds !== 'undefined') {
|
244
|
+
return this.setCurrentTime(seconds);
|
245
|
+
}
|
246
|
+
return this.dmPlayer && this.dmPlayer.currentTime;
|
247
|
+
}
|
248
|
+
|
249
|
+
setCurrentTime(seconds) {
|
250
|
+
if (!this.dmPlayer || !this.dmPlayer.seek) {
|
251
|
+
return;
|
252
|
+
}
|
253
|
+
|
254
|
+
return this.dmPlayer.seek(seconds);
|
255
|
+
}
|
256
|
+
|
257
|
+
dispose() {
|
258
|
+
if (DM && DM.destroy) {
|
259
|
+
//Destroy the Dailymotion Player
|
260
|
+
DM.destroy(this.options_.techId);
|
261
|
+
} else {
|
262
|
+
//Dailymotion API hasn't finished loading or the player is already disposed
|
263
|
+
var index = Dailymotion.sdkReadyQueue.indexOf(this);
|
264
|
+
if (index !== -1) {
|
265
|
+
Dailymotion.sdkReadyQueue.splice(index, 1);
|
266
|
+
}
|
267
|
+
}
|
268
|
+
this.dmPlayer = undefined;
|
269
|
+
|
270
|
+
this.el_.parentNode.className = this.el_.parentNode.className
|
271
|
+
.replace(' vjs-dailymotion', '')
|
272
|
+
.replace(' vjs-dailymotion-mobile', '');
|
273
|
+
this.el_.parentNode.removeChild(this.el_);
|
274
|
+
|
275
|
+
// Needs to be called after the Dailymotion player is destroyed,
|
276
|
+
// otherwise there will be a undefined reference exception
|
277
|
+
Tech.prototype.dispose.call(this);
|
278
|
+
}
|
279
|
+
|
280
|
+
duration(seconds) {
|
281
|
+
if (typeof seconds !== 'undefined') {
|
282
|
+
return this.setDuration(seconds);
|
283
|
+
}
|
284
|
+
return this.dmPlayer ? this.dmPlayer.duration : 0;
|
285
|
+
}
|
286
|
+
|
287
|
+
setDuration(seconds) {
|
288
|
+
if (!this.dmPlayer || !this.dmPlayer.seek) {
|
289
|
+
return;
|
290
|
+
}
|
291
|
+
return this.dmPlayer.seek(seconds);
|
292
|
+
}
|
293
|
+
|
294
|
+
ended() {
|
295
|
+
return this.dmPlayer && this.dmPlayer.ended;
|
296
|
+
}
|
297
|
+
|
298
|
+
enterFullWindow() {
|
299
|
+
if (!this.dmPlayer || !this.dmPlayer.setFullscreen) {
|
300
|
+
return;
|
301
|
+
}
|
302
|
+
return this.dmPlayer.setFullscreen(true);
|
303
|
+
}
|
304
|
+
|
305
|
+
error() {
|
306
|
+
return this.dmPlayer && this.dmPlayer.error;
|
307
|
+
}
|
308
|
+
|
309
|
+
exitFullscreen() {
|
310
|
+
if (!this.dmPlayer || !this.dmPlayer.setFullscreen) {
|
311
|
+
return;
|
312
|
+
}
|
313
|
+
return this.dmPlayer.setFullscreen(false);
|
314
|
+
}
|
315
|
+
|
316
|
+
isFullscreen() {
|
317
|
+
return this.dmPlayer && this.dmPlayer.fullscreen;
|
318
|
+
}
|
319
|
+
|
320
|
+
// Not supported by Dailymotion
|
321
|
+
language() {
|
322
|
+
return undefined;
|
323
|
+
}
|
324
|
+
|
325
|
+
// Not supported by Dailymotion
|
326
|
+
languages() {
|
327
|
+
return undefined;
|
328
|
+
}
|
329
|
+
|
330
|
+
load() {
|
331
|
+
if (!this.dmPlayer || !this.dmPlayer.load) {
|
332
|
+
return;
|
333
|
+
}
|
334
|
+
return this.dmPlayer.load(this.getPlayerConfig());
|
335
|
+
}
|
336
|
+
|
337
|
+
// Not supported by Dailymotion
|
338
|
+
loop() {
|
339
|
+
return undefined;
|
340
|
+
}
|
341
|
+
|
342
|
+
muted(muted) {
|
343
|
+
if (typeof muted !== undefined) {
|
344
|
+
return this.setMuted(muted);
|
345
|
+
}
|
346
|
+
return this.dmPlayer && this.dmPlayer.mute;
|
347
|
+
}
|
348
|
+
|
349
|
+
setMuted(mute) {
|
350
|
+
if (typeof mute === 'undefined' || !this.dmPlayer || !this.dmPlayer.setMuted) {
|
351
|
+
return;
|
352
|
+
}
|
353
|
+
|
354
|
+
if (mute) {
|
355
|
+
this.volumeBeforeMute = this.volume();
|
356
|
+
this.setVolume(0);
|
357
|
+
} else {
|
358
|
+
this.setVolume(this.volumeBeforeMute);
|
359
|
+
}
|
360
|
+
this.dmPlayer.setMuted(mute);
|
361
|
+
// var vm = this;
|
362
|
+
// setTimeout( function(){
|
363
|
+
// vm.trigger('volumechange');
|
364
|
+
// }, 50);
|
365
|
+
}
|
366
|
+
|
367
|
+
networkState() {
|
368
|
+
if (!this.dmPlayer || this.dmPlayer.error) {
|
369
|
+
return 0; //NETWORK_EMPTY
|
370
|
+
}
|
371
|
+
|
372
|
+
if (this.dmPlayer.seeking) {
|
373
|
+
return 2; //NETWORK_LOADING
|
374
|
+
}
|
375
|
+
}
|
376
|
+
|
377
|
+
pause() {
|
378
|
+
if (!this.dmPlayer || !this.dmPlayer.pause) {
|
379
|
+
return;
|
380
|
+
}
|
381
|
+
|
382
|
+
return this.dmPlayer.pause();
|
383
|
+
}
|
384
|
+
|
385
|
+
paused() {
|
386
|
+
return this.dmPlayer && this.dmPlayer.paused;
|
387
|
+
}
|
388
|
+
|
389
|
+
play() {
|
390
|
+
if (!this.isApiReady || !this.dmPlayer || !this.dmPlayer.play) {
|
391
|
+
return;
|
392
|
+
}
|
393
|
+
|
394
|
+
this.trigger('loadStart');
|
395
|
+
this.trigger('waiting');
|
396
|
+
return this.dmPlayer.play();
|
397
|
+
}
|
398
|
+
|
399
|
+
// Playback rate is not support by Dailymotion
|
400
|
+
playbackRate() {
|
401
|
+
return 1;
|
402
|
+
}
|
403
|
+
|
404
|
+
// Not supported by Dailymotion
|
405
|
+
poster() {
|
406
|
+
return undefined;
|
407
|
+
}
|
408
|
+
|
409
|
+
// Not supported by Dailymotion
|
410
|
+
preload() {
|
411
|
+
return undefined;
|
412
|
+
}
|
413
|
+
|
414
|
+
// TODO: Confirm if it can be more detail
|
415
|
+
readyState() {
|
416
|
+
if (!this.dmPlayer || this.dmPlayer.error) {
|
417
|
+
return 0; //NETWORK_EMPTY
|
418
|
+
}
|
419
|
+
|
420
|
+
if (this.dmPlayer.seeking) {
|
421
|
+
return 1; //HAVE_METADATA
|
422
|
+
}
|
423
|
+
return 4; //HAVE_ENOUGH_DATA
|
424
|
+
}
|
425
|
+
|
426
|
+
remainingTime() {
|
427
|
+
return this.dmPlayer && (this.dmPlayer.duration - this.dmPlayer.currentTime);
|
428
|
+
}
|
429
|
+
|
430
|
+
requestFullscreen() {
|
431
|
+
return this.enterFullWindow();
|
432
|
+
}
|
433
|
+
|
434
|
+
enterFullScreen() {
|
435
|
+
return this.enterFullWindow();
|
436
|
+
}
|
437
|
+
|
438
|
+
reset() {
|
439
|
+
this.load();
|
440
|
+
}
|
441
|
+
|
442
|
+
// jadams, 2023-10-01: videojs.createTimeRange() deprecated in VideoJS 9
|
443
|
+
//
|
444
|
+
seekable() {
|
445
|
+
if(!this.ytPlayer) {
|
446
|
+
// return videojs.createTimeRange();
|
447
|
+
return videojs.time.createTimeRanges();
|
448
|
+
}
|
449
|
+
// return videojs.createTimeRange(0, this.ytPlayer.getDuration());
|
450
|
+
return videojs.time.createTimeRanges(0, this.ytPlayer.getDuration());
|
451
|
+
}
|
452
|
+
|
453
|
+
seeking() {
|
454
|
+
return this.dmPlayer && this.dmPlayer.seeking;
|
455
|
+
}
|
456
|
+
|
457
|
+
src(source) {
|
458
|
+
if (typeof source !== 'undefined') {
|
459
|
+
return this.setSrc(source);
|
460
|
+
}
|
461
|
+
|
462
|
+
return this.source;
|
463
|
+
}
|
464
|
+
|
465
|
+
setSrc(source) {
|
466
|
+
if (typeof source === 'undefined') {
|
467
|
+
return;
|
468
|
+
}
|
469
|
+
|
470
|
+
this.source = source;
|
471
|
+
this.url = Dailymotion.parseUrl(source.src || source);
|
472
|
+
|
473
|
+
// Load the video if sdk is ready
|
474
|
+
if (Dailymotion.isSdkReady) {
|
475
|
+
this.load();
|
476
|
+
}
|
477
|
+
return this.source;
|
478
|
+
}
|
479
|
+
|
480
|
+
supportsFullScreen() {
|
481
|
+
return true;
|
482
|
+
}
|
483
|
+
|
484
|
+
volume() {
|
485
|
+
return this.dmPlayer ? this.dmPlayer.volume : 1;
|
486
|
+
}
|
487
|
+
|
488
|
+
setVolume(percentAsDecimal) {
|
489
|
+
if (!this.dmPlayer || !this.dmPlayer.setMuted || !this.dmPlayer.setVolume) {
|
490
|
+
return;
|
491
|
+
}
|
492
|
+
|
493
|
+
this.dmPlayer.setMuted(false);
|
494
|
+
this.dmPlayer.setVolume(percentAsDecimal);
|
495
|
+
}
|
496
|
+
|
497
|
+
}
|
498
|
+
|
499
|
+
Dailymotion.isSupported = function() {
|
500
|
+
return true;
|
501
|
+
};
|
502
|
+
|
503
|
+
Dailymotion.canPlaySource = function(e) {
|
504
|
+
return Dailymotion.canPlayType(e.type);
|
505
|
+
};
|
506
|
+
|
507
|
+
Dailymotion.canPlayType = function(e) {
|
508
|
+
return (e === 'video/dailymotion');
|
509
|
+
};
|
510
|
+
|
511
|
+
Dailymotion.parseUrl = function(url) {
|
512
|
+
var result = {};
|
513
|
+
|
514
|
+
var regex = /video\/[^?|^\/]*/;
|
515
|
+
var match = url.match(regex);
|
516
|
+
|
517
|
+
if (match && match[0]) {
|
518
|
+
result.video = match[0].replace('video/', '');
|
519
|
+
}
|
520
|
+
|
521
|
+
var regPlaylist = /playlist(=|\/)[^&]*/;
|
522
|
+
match = url.match(regPlaylist);
|
523
|
+
|
524
|
+
if(match && match[0]) {
|
525
|
+
result.playlist = match[0].replace(/playlist(=|\/)/, '');
|
526
|
+
}
|
527
|
+
|
528
|
+
return result;
|
529
|
+
};
|
530
|
+
|
531
|
+
function apiLoaded() {
|
532
|
+
Dailymotion.isSdkReady = true;
|
533
|
+
|
534
|
+
for (var i = 0; i < Dailymotion.sdkReadyQueue.length; ++i) {
|
535
|
+
Dailymotion.sdkReadyQueue[i].initDMPlayer();
|
536
|
+
}
|
537
|
+
}
|
538
|
+
|
539
|
+
function loadScript(src, callback) {
|
540
|
+
var loaded = false;
|
541
|
+
var tag = document.createElement('script');
|
542
|
+
var firstScriptTag = document.getElementsByTagName('script')[0];
|
543
|
+
if (!firstScriptTag) {
|
544
|
+
// when loaded in jest without jsdom setup it doesn't get any element.
|
545
|
+
// In jest it doesn't really make sense to do anything, because no one is watching dailymotion in jest
|
546
|
+
return;
|
547
|
+
}
|
548
|
+
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
|
549
|
+
tag.onload = function () {
|
550
|
+
if (!loaded) {
|
551
|
+
loaded = true;
|
552
|
+
callback();
|
553
|
+
}
|
554
|
+
};
|
555
|
+
tag.onreadystatechange = function () {
|
556
|
+
if (!loaded && (this.readyState === 'complete' || this.readyState === 'loaded')) {
|
557
|
+
loaded = true;
|
558
|
+
callback();
|
559
|
+
}
|
560
|
+
};
|
561
|
+
tag.src = src;
|
562
|
+
}
|
563
|
+
|
564
|
+
function injectCss() {
|
565
|
+
var css = // iframe blocker to catch mouse events
|
566
|
+
'.vjs-dailymotion .vjs-iframe-blocker { display: none; }' +
|
567
|
+
'.vjs-dailymotion.vjs-user-inactive .vjs-iframe-blocker { display: block; }' +
|
568
|
+
'.vjs-dailymotion .vjs-poster { background-size: cover; }' +
|
569
|
+
'.vjs-dailymotion-mobile .vjs-big-play-button { display: none; }';
|
570
|
+
|
571
|
+
var head = document.head || document.getElementsByTagName('head')[0];
|
572
|
+
|
573
|
+
var style = document.createElement('style');
|
574
|
+
style.setAttribute('type', 'text/css');
|
575
|
+
|
576
|
+
if (style.styleSheet){
|
577
|
+
style.styleSheet.cssText = css;
|
578
|
+
} else {
|
579
|
+
style.appendChild(document.createTextNode(css));
|
580
|
+
}
|
581
|
+
|
582
|
+
head.appendChild(style);
|
583
|
+
}
|
584
|
+
|
585
|
+
// Include the version number
|
586
|
+
Dailymotion.VERSION = '1.0.0';
|
587
|
+
|
588
|
+
Dailymotion.sdkReadyQueue = [];
|
589
|
+
|
590
|
+
if (typeof document !== 'undefined'){
|
591
|
+
// loadScript('/assets/themes/j1/modules/videojs/js/plugins/dm/api/dailymotion.min.js', apiLoaded);
|
592
|
+
loadScript('https://api.dmcdn.net/all.js', apiLoaded);
|
593
|
+
injectCss();
|
594
|
+
}
|
595
|
+
|
596
|
+
// Older versions of VJS5 doesn't have the registerTech function
|
597
|
+
if (typeof videojs.registerTech !== 'undefined') {
|
598
|
+
videojs.registerTech('Dailymotion', Dailymotion);
|
599
|
+
} else {
|
600
|
+
videojs.registerComponent('Dailymotion', Dailymotion);
|
601
|
+
}
|
602
|
+
|
603
|
+
}));
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/*
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/assets/themes/j1/modules/videojs/js/dailymotion/dailymotion.js
|
4
|
+
# Provides Dailymotion Playback Technology for Video.js V8 and newer
|
5
|
+
#
|
6
|
+
# Product/Info:
|
7
|
+
# http://jekyll.one
|
8
|
+
#
|
9
|
+
# Copyright (C) John Law
|
10
|
+
# Copyright (C) 2023 Juergen Adams
|
11
|
+
#
|
12
|
+
# J1 Theme is licensed under MIT License.
|
13
|
+
# See: https://github.com/jekyll-one/J1 Theme/blob/master/LICENSE
|
14
|
+
# -----------------------------------------------------------------------------
|
15
|
+
*/
|
16
|
+
!function(e,t){if("object"==typeof exports&&"undefined"!=typeof module){var i=require("video.js");module.exports=t(i.default||i)}else"function"==typeof define&&define.amd?define(["videojs"],function(i){return e.Dailymotion=t(i)}):e.Dailymotion=t(e.videojs)}(this,function(e){"use strict";var t,i,r,s,a,d,n,l,o=e.browser.IS_IOS||e.browser.IS_ANDROID,u=e.getTech("Tech");class h extends u{constructor(e,t){super(e,t),this.setPoster(e.poster),this.setSrc(this.options_.source,!0);var i=this;setTimeout(function(){this.el_&&(this.el_.parentNode.className+=" vjs-dailymotion",o&&(this.el_.parentNode.className+=" vjs-dailymotion-mobile"),h.isSdkReady?i.initDMPlayer():h.sdkReadyQueue.push(i))}.bind(this))}getPlayerParams(){var e={autoplay:!1,mute:!1,controls:!1,"queue-autoplay-next":!1,"queue-enable":!1},t=this.options_;if(["api","autoplay","autoplay-mute","id","mute","origin","quality","queue-autoplay-next","queue-enable","sharing-enable","start","subtitles-default","syndication","ui-highlight","ui-logo","ui-start-screen-info","ui-theme","apimode","playlist"].forEach(function(i){void 0!==t[i]&&(e[i]=t[i])}),void 0!==this.options_.dmControls&&(e.controls=this.options_.dmControls),this.url&&void 0!==this.url.playlist&&(e.playlist=this.url.playlist),void 0!==this.options_.customVars){var i=this.options_.customVars;Object.keys(i).forEach(function(t){e[t]=i[t]})}return e}getPlayerConfig(){var e={width:"100%",height:"100%",params:this.getPlayerParams()};return this.url&&void 0!==this.url.video?e.video=this.url.video:void 0!==this.options_.video&&(e.video=this.options_.video),e}initDMPlayer(){if(!this.dmPlayer){this.dmPlayer=new DM.player(document.getElementById(this.options_.techId),this.getPlayerConfig());var e=this;this.isApiReady=!1,this.dmPlayer.addEventListener("apiready",function(){e.triggerReady(),e.isApiReady=!0}),this.dmPlayer.addEventListener("durationchange",function(){e.trigger("durationchange")}),this.dmPlayer.addEventListener("end",function(){e.trigger("ended")}),this.dmPlayer.addEventListener("error",function(){e.trigger("error")}),this.dmPlayer.addEventListener("loadedmetadata",function(){e.trigger("loadeddata"),e.trigger("loadedmetadata")}),this.dmPlayer.addEventListener("pause",function(){e.trigger("pause")}),this.dmPlayer.addEventListener("play",function(){e.trigger("loadStart"),e.trigger("play"),e.trigger("playing"),e.trigger("waiting")}),this.dmPlayer.addEventListener("playback_ready",function(){e.trigger("loadeddata")}),this.dmPlayer.addEventListener("timeupdate",function(){e.trigger("timeupdate")}),this.dmPlayer.addEventListener("volumechange",function(){e.trigger("volumechange")})}}autoplay(e){return void 0!==e?this.setAutoplay(e):this.options_.autoplay}setAutoplay(e){return this.options_.autoplay=e}buffered(){return this.dmPlayer&&this.dmPlayer.bufferedTime?e.time.createTimeRanges(0,this.dmPlayer.bufferedTime):e.time.createTimeRanges()}createEl(){var e=document.createElement("div");e.setAttribute("id",this.options_.techId),e.setAttribute("style","width:100%;height:100%;top:0;left:0;position:absolute"),e.setAttribute("class","vjs-tech");var t=document.createElement("div");return t.appendChild(e),!o&&this.options_.dmControls,t}currentSrc(){return this.source&&this.source.src}currentTime(e){return void 0!==e?this.setCurrentTime(e):this.dmPlayer&&this.dmPlayer.currentTime}setCurrentTime(e){if(this.dmPlayer&&this.dmPlayer.seek)return this.dmPlayer.seek(e)}dispose(){if(DM&&DM.destroy)DM.destroy(this.options_.techId);else{var e=h.sdkReadyQueue.indexOf(this);-1!==e&&h.sdkReadyQueue.splice(e,1)}this.dmPlayer=void 0,this.el_.parentNode.className=this.el_.parentNode.className.replace(" vjs-dailymotion","").replace(" vjs-dailymotion-mobile",""),this.el_.parentNode.removeChild(this.el_),u.prototype.dispose.call(this)}duration(e){return void 0!==e?this.setDuration(e):this.dmPlayer?this.dmPlayer.duration:0}setDuration(e){if(this.dmPlayer&&this.dmPlayer.seek)return this.dmPlayer.seek(e)}ended(){return this.dmPlayer&&this.dmPlayer.ended}enterFullWindow(){if(this.dmPlayer&&this.dmPlayer.setFullscreen)return this.dmPlayer.setFullscreen(!0)}error(){return this.dmPlayer&&this.dmPlayer.error}exitFullscreen(){if(this.dmPlayer&&this.dmPlayer.setFullscreen)return this.dmPlayer.setFullscreen(!1)}isFullscreen(){return this.dmPlayer&&this.dmPlayer.fullscreen}language(){}languages(){}load(){if(this.dmPlayer&&this.dmPlayer.load)return this.dmPlayer.load(this.getPlayerConfig())}loop(){}muted(e){return void 0!==typeof e?this.setMuted(e):this.dmPlayer&&this.dmPlayer.mute}setMuted(e){void 0!==e&&this.dmPlayer&&this.dmPlayer.setMuted&&(e?(this.volumeBeforeMute=this.volume(),this.setVolume(0)):this.setVolume(this.volumeBeforeMute),this.dmPlayer.setMuted(e))}networkState(){return!this.dmPlayer||this.dmPlayer.error?0:this.dmPlayer.seeking?2:void 0}pause(){if(this.dmPlayer&&this.dmPlayer.pause)return this.dmPlayer.pause()}paused(){return this.dmPlayer&&this.dmPlayer.paused}play(){if(this.isApiReady&&this.dmPlayer&&this.dmPlayer.play)return this.trigger("loadStart"),this.trigger("waiting"),this.dmPlayer.play()}playbackRate(){return 1}poster(){}preload(){}readyState(){return!this.dmPlayer||this.dmPlayer.error?0:this.dmPlayer.seeking?1:4}remainingTime(){return this.dmPlayer&&this.dmPlayer.duration-this.dmPlayer.currentTime}requestFullscreen(){return this.enterFullWindow()}enterFullScreen(){return this.enterFullWindow()}reset(){this.load()}seekable(){return this.ytPlayer?e.time.createTimeRanges(0,this.ytPlayer.getDuration()):e.time.createTimeRanges()}seeking(){return this.dmPlayer&&this.dmPlayer.seeking}src(e){return void 0!==e?this.setSrc(e):this.source}setSrc(e){if(void 0!==e)return this.source=e,this.url=h.parseUrl(e.src||e),h.isSdkReady&&this.load(),this.source}supportsFullScreen(){return!0}volume(){return this.dmPlayer?this.dmPlayer.volume:1}setVolume(e){this.dmPlayer&&this.dmPlayer.setMuted&&this.dmPlayer.setVolume&&(this.dmPlayer.setMuted(!1),this.dmPlayer.setVolume(e))}}h.isSupported=function(){return!0},h.canPlaySource=function(e){return h.canPlayType(e.type)},h.canPlayType=function(e){return"video/dailymotion"===e},h.parseUrl=function(e){var t={},i=e.match(/video\/[^?|^\/]*/);i&&i[0]&&(t.video=i[0].replace("video/",""));return(i=e.match(/playlist(=|\/)[^&]*/))&&i[0]&&(t.playlist=i[0].replace(/playlist(=|\/)/,"")),t},h.VERSION="1.0.0",h.sdkReadyQueue=[],"undefined"!=typeof document&&(s="https://api.dmcdn.net/all.js",a=function(){h.isSdkReady=!0;for(var e=0;e<h.sdkReadyQueue.length;++e)h.sdkReadyQueue[e].initDMPlayer()},d=!1,n=document.createElement("script"),(l=document.getElementsByTagName("script")[0])&&(l.parentNode.insertBefore(n,l),n.onload=function(){d||(d=!0,a())},n.onreadystatechange=function(){d||"complete"!==this.readyState&&"loaded"!==this.readyState||(d=!0,a())},n.src=s),t=".vjs-dailymotion .vjs-iframe-blocker { display: none; }.vjs-dailymotion.vjs-user-inactive .vjs-iframe-blocker { display: block; }.vjs-dailymotion .vjs-poster { background-size: cover; }.vjs-dailymotion-mobile .vjs-big-play-button { display: none; }",i=document.head||document.getElementsByTagName("head")[0],(r=document.createElement("style")).setAttribute("type","text/css"),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t)),i.appendChild(r)),void 0!==e.registerTech?e.registerTech("Dailymotion",h):e.registerComponent("Dailymotion",h)});
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<link type="text/css" rel="stylesheet" href="../node_modules/video.js/dist/video-js.min.css" />
|
5
|
+
</head>
|
6
|
+
<body>
|
7
|
+
<video
|
8
|
+
id="vid1"
|
9
|
+
class="video-js vjs-default-skin"
|
10
|
+
width="640" height="264"
|
11
|
+
data-setup='{ "techOrder": ["dailymotion"], "sources": [{ "type": "video/dailymotion", "src": "https://www.dailymotion.com/watch?v=xjS6SftYQaQ"}], "dailymotion": { "dmControls": true } }'
|
12
|
+
>
|
13
|
+
</video>
|
14
|
+
|
15
|
+
<script src="../node_modules/video.js/dist/video.js"></script>
|
16
|
+
<script src="../dist/Dailymotion.js"></script>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<link type="text/css" rel="stylesheet" href="../node_modules/video.js/dist/video-js.min.css" />
|
5
|
+
</head>
|
6
|
+
<body>
|
7
|
+
<video
|
8
|
+
id="vid1"
|
9
|
+
class="video-js vjs-default-skin"
|
10
|
+
controls
|
11
|
+
width="640" height="264"
|
12
|
+
data-setup='{ "techOrder": ["dailymotion"], "sources": [{ "type": "video/dailymotion", "src": "https://www.dailymotion.com/video/x7t3la2"}] }'
|
13
|
+
>
|
14
|
+
</video>
|
15
|
+
|
16
|
+
<script src="../node_modules/video.js/dist/video.js"></script>
|
17
|
+
<script src="../dist/Dailymotion.js"></script>
|
18
|
+
<script>
|
19
|
+
// An example of playing with the Video.js javascript API
|
20
|
+
// You can look at the doc there: http://docs.videojs.com/docs/guides/api.html
|
21
|
+
videojs('vid1').ready(function() {
|
22
|
+
var myPlayer = this;
|
23
|
+
myPlayer.src({ type: 'video/dailymotion', src: 'https://www.dailymotion.com/video/x7ya2i9' });
|
24
|
+
});
|
25
|
+
</script>
|
26
|
+
</body>
|
27
|
+
</html>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<link type="text/css" rel="stylesheet" href="../node_modules/video.js/dist/video-js.min.css" />
|
5
|
+
</head>
|
6
|
+
<body>
|
7
|
+
<video
|
8
|
+
id="vid1"
|
9
|
+
class="video-js vjs-default-skin"
|
10
|
+
width="640" height="264"
|
11
|
+
controls
|
12
|
+
data-setup='{ "techOrder": ["dailymotion"], "sources": [{ "type": "video/dailymotion", "src": "https://www.dailymotion.com/video/x7t3la2?playlist=x6lgtp"}] }'
|
13
|
+
>
|
14
|
+
</video>
|
15
|
+
|
16
|
+
<script src="../node_modules/video.js/dist/video.js"></script>
|
17
|
+
<script src="../dist/Dailymotion.js"></script>
|
18
|
+
</body>
|
19
|
+
</html>
|