j1-template 2024.3.23 → 2024.3.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/assets/data/gallery_app.html +102 -14
- data/assets/theme/j1/adapter/js/gallery.js +13 -2
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.css +29 -0
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
- data/assets/theme/j1/core/css/vendor.css +1 -1
- data/assets/theme/j1/core/css/vendor.min.css +1 -1
- data/assets/theme/j1/modules/lightGallery/js/lightgallery.js +36 -17
- data/assets/theme/j1/modules/lightGallery/js/lightgallery.min.js +1 -8
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.js +423 -297
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.min.js +1 -8
- data/assets/theme/j1/modules/rtable/css/theme/uno/rtable.css +11 -1
- data/assets/theme/j1/modules/videojs/css/themes/uno.css +41 -29
- data/assets/theme/j1/modules/videojs/css/themes/uno.min.css +1 -1
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/!examples/index.html +4 -9
- data/assets/theme/j1/modules/videojs/plugins/controls/hotkeys/!examples/example.html +1 -1
- data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/!examples/index.html +3 -7
- data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/!examples/index.html +3 -8
- data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/dailymotion-controls.html +4 -4
- data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/dailymotion-javascript.html +3 -3
- data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/dailymotion-playlist.html +3 -3
- data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/global-parameters.html +3 -3
- data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/simple.html +15 -4
- data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/switch.html +3 -3
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!examples/index.html +3 -3
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!examples/player/index.html +3 -3
- data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/global-parameters.html +5 -5
- data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/simple.html +5 -5
- data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/switch.html +5 -5
- data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/youtube-controls.html +5 -5
- data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/youtube-javascript.html +5 -5
- data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/youtube-list.html +5 -5
- data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/youtube-playlist.html +5 -5
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/blocks/banner.yml +2 -2
- data/lib/starter_web/_data/modules/attics.yml +11 -0
- data/lib/starter_web/_data/modules/carousel.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/masonry.yml +115 -22
- data/lib/starter_web/_data/modules/gallery.yml +163 -215
- data/lib/starter_web/_data/modules/masonry.yml +6 -0
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_includes/attributes.asciidoc +7 -0
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/image/module/attic/1920x1280/alexander-redl.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/alexander-shatov.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/alexey-ruban.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/andrea-badino.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/bootstrap-modal.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/bp-miller.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/brad-neathery.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/brigitta-schneiter.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/build-with-gemini.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/clem-onojeghuo.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/crawford-jolly.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/eleni-afiontzi.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/fly-d.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/guillaume-bolduc.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/ideas-start-here-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/isaac-davis.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/j1-content-mockup-2.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/j1-content-mockup-3.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/j1-starter-mockup-1.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/john-schnobrich-2.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/josep-martins.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/josh-liu.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/kelly-sikkemal.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/kira-auf-der-heide.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/kristopher-roller.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/markus-spiske.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/martin-sanchez.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/material_symbols.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/matthaeus.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/melanie-deziel.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/milad-fakurian.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/mohammad-rahmani.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/nasa.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/quino-al-2.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/stories-ink-tattoo-care.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/towfiqu-barbhuiya.jpg +0 -0
- data/lib/starter_web/assets/image/page/tour/bootswatch-themes.jpg +0 -0
- data/lib/starter_web/index.html +3 -2
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/panels/intro_panel/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/pages/public/tools/previewer/preview_bootstrap_theme.adoc +5 -5
- data/lib/starter_web/pages/public/tools/tester/app_tester_amplitudejs_yt.adoc +7 -3
- data/lib/starter_web/pages/public/tools/tester/app_tester_swiperjs.adoc +7 -3
- data/lib/starter_web/pages/public/tools/tester/videojs_macro_tester.adoc +18 -3
- data/lib/starter_web/pages/public/tour/_includes/attributes.asciidoc +1 -2
- data/lib/starter_web/pages/public/tour/_includes/documents/themes_bootstrap.asciidoc +1 -1
- data/lib/starter_web/pages/public/tour/asciidoc_extensions.adoc +7 -3
- data/lib/starter_web/pages/public/tour/bootstrap_themes.adoc +62 -7
- data/lib/starter_web/pages/public/tour/icon_fonts.adoc +4 -8
- data/lib/starter_web/pages/public/tour/modal_extentions.adoc +2 -2
- data/lib/starter_web/pages/public/tour/responsive_tables.adoc +21 -15
- data/lib/starter_web/pages/public/tour/typography.adoc +5 -5
- data/lib/starter_web/pages/public/tour/video_data.adoc +24 -5
- metadata +11 -102
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lg-transitions.css +0 -984
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lg-transitions.min.css +0 -26
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lightgallery-bundle.css +0 -1627
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lightgallery-bundle.min.css +0 -25
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/animation-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/customize-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/dynamic-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/facebook-icon.svg +0 -10
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/googleplus-icon.svg +0 -30
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/html5-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/linked-in.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/module-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/play-button-hover.svg +0 -94
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/play-button.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/play-button.svg +0 -93
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/responsive-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/thumb-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/touch-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/twitter-icon.svg +0 -15
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/twitter.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/video1-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/zoom-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/zoom.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/uno.css +0 -140
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/uno.min.css +0 -19
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/fonts/lg.svg +0 -54
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/fonts/lg.ttf +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/fonts/lg.woff +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/fonts/lg.woff2 +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/images/loading.gif +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/img/loading.gif +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/img/video-play.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/img/vimeo-play.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/img/youtube-play.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/lightgallery.js +0 -2782
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/lightgallery.min.js +0 -26
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/LICENSE.md +0 -44
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/README.md +0 -37
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/parser.js +0 -890
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/parser.min.js +0 -8
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/j1/j1-video.js +0 -402
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/j1/j1-video.min.js +0 -7
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/j1/lg-video.1.js +0 -585
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-autoplay.js +0 -275
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-autoplay.min.js +0 -26
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-comment.js +0 -230
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-comment.min.js +0 -26
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-fullscreen.js +0 -160
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-fullscreen.min.js +0 -26
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-hash.js +0 -223
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-hash.min.js +0 -27
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-medium-zoom.js +0 -157
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-medium-zoom.min.js +0 -26
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-pager.js +0 -164
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-pager.min.js +0 -26
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-rotate.js +0 -299
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-rotate.min.js +0 -26
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-share.js +0 -244
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-share.min.js +0 -27
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-thumbnail.js +0 -509
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-thumbnail.min.js +0 -26
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-video.js +0 -909
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-video.min.js +0 -26
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-vimeo-thumbnail.js +0 -207
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-vimeo-thumbnail.min.js +0 -26
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-zoom.js +0 -999
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-zoom.min.js +0 -26
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-thumbnail.0.js +0 -495
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-thumbnail.1.js +0 -513
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-video.0.js +0 -553
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-video.1.js +0 -585
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-video.2.js +0 -914
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/font/README.md +0 -151
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/font/VideoJS.svg +0 -150
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/font/video-js-cdn.css +0 -2012
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/city.css +0 -147
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/city.min.css +0 -5
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/fantasy.css +0 -113
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/fantasy.min.css +0 -5
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/forest.css +0 -166
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/forest.min.css +0 -5
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/sea.css +0 -72
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/sea.min.css +0 -5
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/uno.css +0 -311
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/uno.min.css +0 -19
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/videojs.css +0 -1686
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/videojs.min.css +0 -13
- data/assets/theme/j1/modules/videojs/!v8.12.0/js/video.js +0 -65226
- data/assets/theme/j1/modules/videojs/!v8.12.0/js/video.min.js +0 -55
- data/lib/starter_web/_data/modules/gallery_app.yml +0 -1002
- data/lib/starter_web/_data/modules/gallery_playlists.yml +0 -534
- data/lib/starter_web/assets/image/module/attic/1920x1280/alina-grubnyak.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/bruno-figueiredo.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/harpal-singh.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/hayden-mills-2.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/j1-content-mockup-1.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/recha-oktaviani.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/tiny_desk.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/ideas-start-here-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/ideas-start-here-1920x1280.jpg +0 -0
@@ -16,11 +16,4 @@
|
|
16
16
|
# -----------------------------------------------------------------------------
|
17
17
|
*/
|
18
18
|
|
19
|
-
/*!
|
20
|
-
* lightgallery | 2.8.3 | March 1st 2025
|
21
|
-
* http://www.lightgalleryjs.com/
|
22
|
-
* Copyright (c) 2020 Sachin Neravath;
|
23
|
-
* @license GPLv3
|
24
|
-
*/
|
25
|
-
|
26
|
-
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):(e="undefined"!=typeof globalThis?globalThis:e||self).lgVideo=o()}(this,(function(){"use strict";var e=function(){return e=Object.assign||function(e){for(var o,i=1,t=arguments.length;i<t;i++)for(var s in o=arguments[i])Object.prototype.hasOwnProperty.call(o,s)&&(e[s]=o[s]);return e},e.apply(this,arguments)},o={autoplayFirstVideo:!0,youTubePlayerParams:!1,vimeoPlayerParams:!1,wistiaPlayerParams:!1,gotoNextSlideOnVideoEnd:!0,autoplayVideoOnSlide:!1,videojs:!1,videojsTheme:"",videojsOptions:{}},i="lgHasVideo",t="lgSlideItemLoad",s="lgBeforeSlide",n="lgAfterSlide",l="lgPosterClick",r=function(e){return Object.keys(e).map((function(o){return encodeURIComponent(o)+"="+encodeURIComponent(e[o])})).join("&")},d=function(o,i){if(!o.youtube)return"";var t=o.youtube[2]?o.youtube[2].slice(1).split("&").map((function(e){return e.split("=")})).reduce((function(e,o){var i=o.map(decodeURIComponent),t=i[0],s=i[1];return e[t]=s,e}),{}):"",s=i||{},n=e(e(e({},{wmode:"opaque",autoplay:0,mute:1,enablejsapi:1}),s),t);return"?"+r(n)};return function(){function a(i){return this.core=i,this.settings=e(e({},o),this.core.settings),this}return a.prototype.init=function(){var e=this;this.core.LGel.on(i+".video",this.onHasVideo.bind(this)),this.core.LGel.on(l+".video",(function(){var o=e.core.getSlideItem(e.core.index);e.loadVideoOnPosterClick(o)})),this.core.LGel.on(t+".video",this.onSlideItemLoad.bind(this)),this.core.LGel.on(s+".video",this.onBeforeSlide.bind(this)),this.core.LGel.on(n+".video",this.onAfterSlide.bind(this))},a.prototype.onSlideItemLoad=function(e){var o=this,i=e.detail,t=i.isFirstSlide,s=i.index;this.settings.autoplayFirstVideo&&t&&s===this.core.index&&setTimeout((function(){o.loadAndPlayVideo(s)}),200),!t&&this.settings.autoplayVideoOnSlide&&s===this.core.index&&this.loadAndPlayVideo(s)},a.prototype.onHasVideo=function(e){var o=e.detail,i=o.index,t=o.src,s=o.html5Video;o.hasPoster||(this.appendVideos(this.core.getSlideItem(i),{src:t,addClass:"lg-object",index:i,html5Video:s}),this.gotoNextSlideOnVideoEnd(t,i))},a.prototype.onBeforeSlide=function(e){if(this.core.lGalleryOn){var o=e.detail.prevIndex;this.pauseVideo(o)}},a.prototype.onAfterSlide=function(e){var o=this,i=e.detail,t=i.index,s=i.prevIndex,n=this.core.getSlideItem(t);this.settings.autoplayVideoOnSlide&&t!==s&&n.hasClass("lg-complete")&&setTimeout((function(){o.loadAndPlayVideo(t)}),100)},a.prototype.loadAndPlayVideo=function(e){var o=this.core.getSlideItem(e);this.core.galleryItems[e].poster?this.loadVideoOnPosterClick(o,!0):this.playVideo(e)},a.prototype.playVideo=function(e){this.controlVideo(e,"play")},a.prototype.pauseVideo=function(e){this.controlVideo(e,"pause")},a.prototype.getVideoHtml=function(e,o,i,t){var s="",n=this.core.galleryItems[i].__slideVideoInfo||{},l=this.core.galleryItems[i],a=l.title||l.alt;a=a?'title="'+a+'"':"";var c='allowtransparency="true"\n frameborder="0"\n scrolling="no"\n allowfullscreen\n mozallowfullscreen\n webkitallowfullscreen\n oallowfullscreen\n msallowfullscreen';if(n.youtube){var u="lg-youtube"+i,f=d(n,this.settings.youTubePlayerParams);s='<iframe allow="autoplay" id='+u+' class="lg-video-object lg-youtube '+o+'" '+a+' src="'+(e.includes("youtube-nocookie.com")?"//www.youtube-nocookie.com/":"//www.youtube.com/")+"embed/"+(n.youtube[1]+f)+'" '+c+"></iframe>"}else if(n.vimeo){u="lg-vimeo"+i;var h=function(e,o){if(!o||!o.vimeo)return"";var i=o.vimeo[2]||"",t=Object.assign({},{autoplay:0,muted:1},e),s=t&&0!==Object.keys(t).length?r(t):"",n=((o.vimeo[0].split("/").pop()||"").split("?")[0]||"").split("#")[0],l=o.vimeo[1]!==n;l&&(i=i.replace("/"+n,""));var d=l?"h="+n:"";return"?"+d+(s=d?"&"+s:s)+("?"==i[0]?"&"+i.slice(1):i||"")}(this.settings.vimeoPlayerParams,n);s='<iframe allow="autoplay" id='+u+' class="lg-video-object lg-vimeo '+o+'" '+a+' src="//player.vimeo.com/video/'+(n.vimeo[1]+h)+'" '+c+"></iframe>"}else if(n.wistia){var g="lg-wistia"+i;h=(h=r(this.settings.wistiaPlayerParams))?"?"+h:"",s='<iframe allow="autoplay" id="'+g+'" src="//fast.wistia.net/embed/iframe/'+(n.wistia[4]+h)+'" '+a+' class="wistia_embed lg-video-object lg-wistia '+o+'" name="wistia_embed" '+c+"></iframe>"}else if(n.html5){for(var p="",y=0;y<t.source.length;y++){var v=t.source[y].type,m=v?'type="'+v+'"':"";p+='<source src="'+t.source[y].src+'" '+m+">"}if(t.tracks){var w=function(e){var o="",i=t.tracks[e];Object.keys(i||{}).forEach((function(e){o+=e+'="'+i[e]+'" '})),p+="<track "+o+">"};for(y=0;y<t.tracks.length;y++)w(y)}var V="",b=t.attributes||{};Object.keys(b||{}).forEach((function(e){V+=e+'="'+b[e]+'" '})),s='<video class="lg-video-object lg-html5 '+(this.settings.videojs&&this.settings.videojsTheme?this.settings.videojsTheme+" ":"")+" "+(this.settings.videojs?" video-js":"")+'" '+V+">\n "+p+"\n Your browser does not support HTML5 video.\n </video>"}return s},a.prototype.appendVideos=function(e,o){var i,t=this.getVideoHtml(o.src,o.addClass,o.index,o.html5Video);e.find(".lg-video-cont").append(t);var s=e.find(".lg-video-object").first();if(o.html5Video&&s.on("mousedown.lg.video",(function(e){e.stopPropagation()})),this.settings.videojs&&(null===(i=this.core.galleryItems[o.index].__slideVideoInfo)||void 0===i?void 0:i.html5))try{return videojs(s.get(),this.settings.videojsOptions)}catch(e){console.error("lightGallery:- Make sure you have included videojs")}},a.prototype.gotoNextSlideOnVideoEnd=function(e,o){var i=this,t=this.core.getSlideItem(o).find(".lg-video-object").first(),s=this.core.galleryItems[o].__slideVideoInfo||{};if(this.settings.gotoNextSlideOnVideoEnd)if(s.html5)t.on("ended",(function(){i.core.goToNextSlide()}));else if(s.vimeo)try{new Vimeo.Player(t.get()).on("ended",(function(){i.core.goToNextSlide()}))}catch(e){console.error("lightGallery:- Make sure you have included //github.com/vimeo/player.js")}else if(s.wistia)try{window._wq=window._wq||[],window._wq.push({id:t.attr("id"),onReady:function(e){e.bind("end",(function(){i.core.goToNextSlide()}))}})}catch(e){console.error("lightGallery:- Make sure you have included //fast.wistia.com/assets/external/E-v1.js")}},a.prototype.controlVideo=function(e,o){var i=this.core.getSlideItem(e).find(".lg-video-object").first(),t=this.core.galleryItems[e].__slideVideoInfo||{};if(i.get())if(t.youtube)try{i.get().contentWindow.postMessage('{"event":"command","func":"'+o+'Video","args":""}',"*")}catch(e){console.error("lightGallery:- "+e)}else if(t.vimeo)try{new Vimeo.Player(i.get())[o]()}catch(e){console.error("lightGallery:- Make sure you have included //github.com/vimeo/player.js")}else if(t.html5)if(this.settings.videojs)try{videojs(i.get())[o]()}catch(e){console.error("lightGallery:- Make sure you have included videojs")}else i.get()[o]();else if(t.wistia)try{window._wq=window._wq||[],window._wq.push({id:i.attr("id"),onReady:function(e){e[o]()}})}catch(e){console.error("lightGallery:- Make sure you have included //fast.wistia.com/assets/external/E-v1.js")}},a.prototype.loadVideoOnPosterClick=function(e,o){var i=this;if(e.hasClass("lg-video-loaded"))o&&this.playVideo(this.core.index);else if(e.hasClass("lg-has-video"))this.playVideo(this.core.index);else{e.addClass("lg-has-video");var t=void 0,s=this.core.galleryItems[this.core.index].src,n=this.core.galleryItems[this.core.index].video;n&&(t="string"==typeof n?JSON.parse(n):n);var l=this.appendVideos(e,{src:s,addClass:"",index:this.core.index,html5Video:t});this.gotoNextSlideOnVideoEnd(s,this.core.index);var r=e.find(".lg-object").first().get();e.find(".lg-video-cont").first().append(r),e.addClass("lg-video-loading"),l&&l.ready((function(){l.on("loadedmetadata",(function(){i.onVideoLoadAfterPosterClick(e,i.core.index)}))})),e.find(".lg-video-object").first().on("load.lg error.lg loadedmetadata.lg",(function(){setTimeout((function(){i.onVideoLoadAfterPosterClick(e,i.core.index)}),50)}))}},a.prototype.onVideoLoadAfterPosterClick=function(e,o){e.addClass("lg-video-loaded"),this.playVideo(o)},a.prototype.destroy=function(){this.core.LGel.off(".lg.video"),this.core.LGel.off(".video")},a}()}));
|
19
|
+
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):(e="undefined"!=typeof globalThis?globalThis:e||self).lgVideo=o()}(this,(function(){"use strict";var e=function(){return e=Object.assign||function(e){for(var o,t=1,i=arguments.length;t<i;t++)for(var s in o=arguments[t])Object.prototype.hasOwnProperty.call(o,s)&&(e[s]=o[s]);return e},e.apply(this,arguments)},o={autoplayFirstVideo:!0,htmlPlayerParams:!1,youTubePlayerParams:!1,vimeoPlayerParams:!1,dailymotionPlayerParams:!1,wistiaPlayerParams:!1,tiktokPlayerParams:!1,gotoNextSlideOnVideoEnd:!0,autoplayVideoOnSlide:!1,videojs:!1,videojsTheme:"",videojsOptions:{}},t="lgHasVideo",i="lgSlideItemLoad",s="lgBeforeSlide",n="lgAfterSlide",l="lgPosterClick",a=function(e){return Object.keys(e).map((function(o){return encodeURIComponent(o)+"="+encodeURIComponent(e[o])})).join("&")},r=function(o,t){if(!o.youtube)return"";var i=o.youtube[2]?o.youtube[2].slice(1).split("&").map((function(e){return e.split("=")})).reduce((function(e,o){var t=o.map(decodeURIComponent),i=t[0],s=t[1];return e[i]=s,e}),{}):"",s=t||{},n=e(e(e({},{wmode:"opaque",autoplay:0,mute:1,enablejsapi:1}),s),i);return"?"+a(n)},d=function(o,t,i){const s=j1.modules.videojs.options;var n,l,a,r,d,c={tracks:!1},u=s.playbackRates.values,p=!1,v={volumeStep:s.plugins.hotKeys.volumeStep,seekStep:s.plugins.hotKeys.seekStep,enableMute:s.plugins.hotKeys.enableMute,enableVolumeScroll:s.plugins.hotKeys.enableVolumeScroll,enableHoverScroll:s.plugins.hotKeys.enableHoverScroll,enableFullscreen:s.plugins.hotKeys.enableFullscreen,enableNumbers:s.plugins.hotKeys.enableNumbers,enableJogStyle:s.plugins.hotKeys.enableJogStyle,alwaysCaptureHotkeys:s.plugins.hotKeys.alwaysCaptureHotkeys,captureDocumentHotkeys:s.plugins.hotKeys.captureDocumentHotkeys,enableModifiersForNumbers:s.plugins.hotKeys.enableModifiersForNumbers,enableInactiveFocus:s.plugins.hotKeys.enableInactiveFocus,skipInitialFocus:s.plugins.hotKeys.skipInitialFocus},m={backward:s.plugins.skipButtons.backward,forward:s.plugins.skipButtons.forward,backwardIndex:0,forwardIndex:1},y={moveX:s.plugins.zoomButtons.moveX,moveY:s.plugins.zoomButtons.moveY,rotate:s.plugins.zoomButtons.rotate,zoom:s.plugins.zoomButtons.zoom},h=t.controlBar;const g=h.addChild("Component",{el:videojs.dom.createEl("div",{className:"vjs-theme-uno custom-progressbar-container"})}),f=h.progressControl;f&&g.el().appendChild(f.el());const b=h.currentTimeDisplay;b&&g.el().insertBefore(b.el(),f.el());const w=h.durationDisplay;if(w&&g.el().appendChild(w.el()),a=void 0!==o.settings.videojsOptions.hotKeysPlugin?o.settings.videojsOptions.hotKeysPlugin:v,r=void 0!==o.settings.videojsOptions.controlBar.skipButtonsPlugin?o.settings.videojsOptions.controlBar.skipButtonsPlugin:m,d=void 0!==o.settings.videojsOptions.controlBar.zoomPlugin&&o.settings.videojsOptions.controlBar.zoomPlugin,l=void 0!==o.settings.videojsOptions.controlBar.playbackRates?o.settings.videojsOptions.controlBar.playbackRates:u,void 0!==o.settings.videojsOptions.videoStart&&(n=o.settings.videojsOptions.videoStart[index],t.on("play",(function(){var e=new Date("1970-01-01T"+n+"Z").getTime()/1e3;t.currentTime(e)}))),void 0!==t.playbackRates&&t.playbackRates(l),void 0!==a&&a.enabled&&void 0!==t.hotKeys){a.options=e(e({},v),a.options);var k=!1;void 0!==t.activePlugins_&&void 0!==t.activePlugins_.hotKeys&&(k=t.activePlugins_.hotKeys),k||t.hotKeys({volumeStep:a.options.volumeStep,seekStep:a.options.seekStep,enableMute:a.options.enableMute,enableFullscreen:a.options.enableFullscreen,enableNumbers:a.options.enableNumbers,enableVolumeScroll:a.options.enableVolumeScroll,enableHoverScroll:a.options.enableHoverScroll,alwaysCaptureHotkeys:a.options.alwaysCaptureHotkeys,captureDocumentHotkeys:a.options.captureDocumentHotkeys,documentHotkeysFocusElementFilter:a.options.documentHotkeysFocusElementFilter,seekStep:function(e){return e.ctrlKey&&e.altKey?300:e.ctrlKey?60:e.altKey?10:15}})}if(void 0!==r&&r.enabled&&void 0!==t.skipButtons){r.options=e(e({},m),r.options);var j=!1;void 0!==t.activePlugins_&&void 0!==t.activePlugins_.skipButtons&&(j=t.activePlugins_.skipButtons),j||t.skipButtons({backward:r.options.backward,forward:r.options.forward,backwardIndex:r.options.backwardIndex,forwardIndex:r.options.forwardIndex})}if(i.youtube&&(d.enabled=!1),void 0!==d&&d.enabled&&void 0!==t.zoomButtons){d.options=e(e({},y),d.options);var V=!1;void 0!==t.activePlugins_&&void 0!==t.activePlugins_.zoomButtons&&(V=t.activePlugins_.zoomButtons),V||t.zoomButtons({moveX:d.options.moveX,moveY:d.options.moveY,rotate:d.options.rotate,zoom:d.options.zoom})}if(void 0!==o.core.galleryItems[o.core.index].video&&(c=JSON.parse(o.core.galleryItems[o.core.index].video)),c.tracks&&c.tracks.length>0)for(var P=0;P<c.tracks.length;P++)"chapters"==c.tracks[P].kind&&(trackSrc=c.tracks[P].src,p=!0);if(p){var S=new WebVTTParser,x=[];function _(e){for(var o,t=S.parse(e,"metadata"),i=0;i<t.cues.length;i++)o={time:t.cues[i].startTime,label:t.cues[i].text},x.push(o)}I=trackSrc,O=_,new WebVTTParser,$.ajax({url:I,type:"GET",success:O,error:function(e){JSON.stringify(e,void 0,2)}}),t.on("play",(function(){t.currentTime(n);var e=t.duration(),o=$(t.controlBar.progressControl.children_[0].el_);setTimeout((function(){var i=setInterval((function(){if(x.length){for(var s=0;s<x.length;s++){var n=x[s].time/e*100+"%",l=x[s].time,a=$('<div class="vjs-chapter-marker" style="left: '+n+'" data-time="'+l+'"> <span>'+x[s].label+"</span></div>");a.click((function(){t.currentTime($(this).data("time"))})),o.append(a)}clearInterval(i)}}),10)}),1e3)}))}var I,O};return function(){function c(t){return this.core=t,this.settings=e(e({},o),this.core.settings),this}return c.prototype.init=function(){var e=this;this.core.LGel.on(t+".video",this.onHasVideo.bind(this)),this.core.LGel.on(l+".video",(function(){var o=e.core.getSlideItem(e.core.index);e.loadVideoOnPosterClick(o)})),this.core.LGel.on(i+".video",this.onSlideItemLoad.bind(this)),this.core.LGel.on(s+".video",this.onBeforeSlide.bind(this)),this.core.LGel.on(n+".video",this.onAfterSlide.bind(this))},c.prototype.onSlideItemLoad=function(e){var o=this,t=e.detail,i=t.isFirstSlide,s=t.index;this.settings.autoplayFirstVideo&&i&&s===this.core.index&&setTimeout((function(){o.loadAndPlayVideo(s)}),200),!i&&this.settings.autoplayVideoOnSlide&&s===this.core.index&&this.loadAndPlayVideo(s)},c.prototype.onHasVideo=function(e){var o=e.detail,t=o.index,i=o.src,s=o.html5Video;o.hasPoster||(this.appendVideo(this.core.getSlideItem(t),{src:i,addClass:"lg-object",index:t,html5Video:s}),this.gotoNextSlideOnVideoEnd(i,t))},c.prototype.onBeforeSlide=function(e){if(this.core.lGalleryOn){var o=e.detail.prevIndex;this.pauseVideo(o)}},c.prototype.onAfterSlide=function(e){var o=this,t=e.detail,i=t.index,s=t.prevIndex,n=this.core.getSlideItem(i);this.settings.autoplayVideoOnSlide&&i!==s&&n.hasClass("lg-complete")&&setTimeout((function(){o.loadAndPlayVideo(i)}),100)},c.prototype.loadAndPlayVideo=function(e){var o=this.core.getSlideItem(e);this.core.galleryItems[e].poster?this.loadVideoOnPosterClick(o,!0):this.playVideo(e)},c.prototype.playVideo=function(e){this.controlVideo(e,"play")},c.prototype.pauseVideo=function(e){this.controlVideo(e,"pause")},c.prototype.getVideoHtml=function(e,o,t,i){var s,n,l,d,c;if(n=this.core.galleryItems[t].__slideVideoInfo||{},(s=this.core.galleryItems[t]).subHtml.includes("<h2>")?l=s.subHtml.split("</h2>")[0].replace("<h2>",""):s.subHtml.includes("<h5>")&&(l=s.subHtml.split("</h5>")[0].replace("<h5>","")),l=l?'title="'+l+'"':"",c='allowtransparency="true"\n frameborder="0"\n scrolling="no"\n allowfullscreen\n mozallowfullscreen\n webkitallowfullscreen\n oallowfullscreen\n msallowfullscreen',n.youtube){var u="lg-youtube"+t,p=(r(n,this.settings.youTubePlayerParams),e.includes("youtube-nocookie.com"),n.youtube[1]);"youtube",d=`\n <video\n id="${u}"\n class="video-js lg-video-object lg-youtube vjs-theme-uno">\n <source\n type="video/youtube",\n src="//youtube.com/watch?v=${p}"\n >\n\n Your browser does not support HTML5 video.\n </video>\n `}else if(n.vimeo){u="lg-vimeo"+t;var v=function(e,o){if(!o||!o.vimeo)return"";var t=o.vimeo[2]||"",i=Object.assign({},{autoplay:0,muted:1},e),s=i&&0!==Object.keys(i).length?a(i):"",n=((o.vimeo[0].split("/").pop()||"").split("?")[0]||"").split("#")[0],l=o.vimeo[1]!==n;l&&(t=t.replace("/"+n,""));var r=l?"h="+n:"";return"?"+r+(s=r?"&"+s:s)+("?"==t[0]?"&"+t.slice(1):t||"")}(this.settings.vimeoPlayerParams,n);d='<iframe allow="autoplay" id='+u+' class="lg-video-object lg-vimeo '+o+'" '+l+' src="//player.vimeo.com/video/'+(n.vimeo[1]+v)+'" '+c+"></iframe>"}else if(n.wistia){var m="lg-wistia"+t;v=(v=a(this.settings.wistiaPlayerParams))?"?"+v:"",d='<iframe allow="autoplay" id="'+m+'" src="//fast.wistia.net/embed/iframe/'+(n.wistia[4]+v)+'" '+l+' class="wistia_embed lg-video-object lg-wistia '+o+'" name="wistia_embed" '+c+"></iframe>"}else if(n.dailymotion){var y="lg-dailymotion"+t;v=(v=a(this.settings.dailymotionPlayerParams))?"?"+v:"",d=`\n <iframe\n id="${y}"\n src="//dailymotion.com/embed/video/${n.dailymotion[1]}?api=1 ${v}"\n ${l}\n class="dailymotion_embed lg-video-object lg-dailymotiion ${o}"\n name="dailymotion_embed"\n ${c}>\n </iframe>\n `}else if(n.html5){for(var h="",g=0;g<i.source.length;g++){var f=i.source[g].type,b=f?'type="'+f+'"':"";h+='<source src="'+i.source[g].src+'" '+b+">"}if(i.tracks){var w=function(e){var o="",t=i.tracks[e];Object.keys(t||{}).forEach((function(e){o+=e+'="'+t[e]+'" '})),h+="<track "+o+">"};for(g=0;g<i.tracks.length;g++)w(g)}var k="",j=i.attributes||{};Object.keys(j||{}).forEach((function(e){k+=e+'="'+j[e]+'" '})),d='<video class="lg-video-object lg-html5 '+(this.settings.videojs&&this.settings.videojsTheme?this.settings.videojsTheme+" ":"")+" "+(this.settings.videojs?" video-js":"")+'" '+k+">\n "+h+"\n Your browser does not support HTML5 video.\n </video>"}return d},c.prototype.appendVideo=function(e,o){var t,i,s={},n=this.getVideoHtml(o.src,o.addClass,o.index,o.html5Video);e.find(".lg-video-cont").append(n);var l=e.find(".lg-video-object").first();if(l.get()){if(o.html5Video&&l.on("mousedown.lg.video",(function(e){e.stopPropagation()})),(s=this.core.galleryItems[o.index].__slideVideoInfo).videojs={enabled:!1},i=n.includes("iframe"),s.videojs.enabled=!i,this.settings.videojs&&(null==s?void 0:s.html5))try{if(s.videojs.enabled)return t=videojs(l.get(),this.settings.videojsOptions),this.settings.vjsPlayer=t,s.videojs.player=t,t}catch(e){console.warn("lightGallery: Make sure you have included //github.com/vimeo/player.js")}if(this.settings.videojs&&(null==s?void 0:s.youtube))try{if(s.videojs.enabled)return t=videojs(l.get(),this.settings.videojsOptions),this.settings.vjsPlayer=t,s.videojs.player=t,t}catch(e){console.warn("lightGallery: Make sure you have included //github.com/vimeo/player.js")}}},c.prototype.gotoNextSlideOnVideoEnd=function(e,o){var t=this,i=this.core.getSlideItem(o).find(".lg-video-object").first();if(i.get()){var s=this.core.galleryItems[o].__slideVideoInfo||{};if(this.settings.gotoNextSlideOnVideoEnd)if(s.html5)i.on("ended",(function(){t.core.goToNextSlide()}));else if(s.vimeo)try{new Vimeo.Player(i.get()).on("ended",(function(){t.core.goToNextSlide()}))}catch(e){console.error("lightGallery:- Make sure you have included //github.com/vimeo/player.js")}else if(s.wistia)try{window._wq=window._wq||[],window._wq.push({id:i.attr("id"),onReady:function(e){e.bind("end",(function(){t.core.goToNextSlide()}))}})}catch(e){console.error("lightGallery:- Make sure you have included //fast.wistia.com/assets/external/E-v1.js")}}},c.prototype.controlVideo=function(e,o){var t,i,s="not_set";if((t=this.core.getSlideItem(e).find(".lg-video-object").first()).get())if(((i=this.core.galleryItems[e].__slideVideoInfo||{}).html5||i.youtube)&&(void 0!==t.selector.player&&(s=t.selector.player),"not_set"!==s&&d(this,s,i)),i.html5)if(this.settings.videojs)try{videojs(t.get())[o]()}catch(e){console.warn("lightGallery: Make sure you have included videojs")}else t.get()[o]();else if(i.youtube)if(this.settings.videojs)try{videojs(t.get())[o]()}catch(e){console.warn("lightGallery: Make sure you have included videojs")}else try{t.get().contentWindow.postMessage('{"event":"command","func":"'+o+'Video","args":""}',"*")}catch(e){console.error("lightGallery:- "+e)}else if(i.vimeo)try{new Vimeo.Player(t.get())[o]()}catch(e){console.warn("lightGallery: Make sure you have included //github.com/vimeo/player.js")}else if(i.wistia)try{window._wq=window._wq||[],window._wq.push({id:t.attr("id"),onReady:function(e){e[o]()}})}catch(e){console.warn("lightGallery: Make sure you have included //fast.wistia.com/assets/external/E-v1.js")}},c.prototype.loadVideoOnPosterClick=function(e,o){var t=this;if(e.hasClass("lg-video-loaded"))o&&this.playVideo(this.core.index);else if(e.hasClass("lg-has-video"))this.playVideo(this.core.index);else{e.addClass("lg-has-video");var i=void 0,s=this.core.galleryItems[this.core.index].src,n=this.core.galleryItems[this.core.index].video;n&&(i="string"==typeof n?JSON.parse(n):n);var l=this.appendVideo(e,{src:s,addClass:"",index:this.core.index,html5Video:i});this.gotoNextSlideOnVideoEnd(s,this.core.index);var a=e.find(".lg-object").first().get();e.find(".lg-video-cont").first().append(a),e.addClass("lg-video-loading"),l&&l.ready((function(){l.on("loadedmetadata",(function(){t.onVideoLoadAfterPosterClick(e,t.core.index)}))})),e.find(".lg-video-object").first().on("load.lg error.lg loadedmetadata.lg",(function(){setTimeout((function(){t.onVideoLoadAfterPosterClick(e,t.core.index)}),50)}))}},c.prototype.onVideoLoadAfterPosterClick=function(e,o){e.addClass("lg-video-loaded"),this.playVideo(o)},c.prototype.destroy=function(){this.core.LGel.off(".lg.video"),this.core.LGel.off(".video")},c}()}));
|
@@ -18,7 +18,7 @@
|
|
18
18
|
*/
|
19
19
|
|
20
20
|
/*
|
21
|
-
//
|
21
|
+
// BS media breakpoints
|
22
22
|
// -----------------------------------------------------------------------------
|
23
23
|
$breakpoint-xl: 1200px;
|
24
24
|
$breakpoint-lg: 992px;
|
@@ -27,6 +27,16 @@ $breakpoint-sm: 576px;
|
|
27
27
|
$breakpoint-xs: 575px;
|
28
28
|
*/
|
29
29
|
|
30
|
+
/* BS styles
|
31
|
+
// ----------------------------------------------------------------------------- */
|
32
|
+
table tr.even, table tr.alt, table tr:nth-of-type(even) {
|
33
|
+
background: rgba(0, 0, 0, 0.1);
|
34
|
+
}
|
35
|
+
|
36
|
+
|
37
|
+
/* rtable (tableSaw) styles
|
38
|
+
// ----------------------------------------------------------------------------- */
|
39
|
+
|
30
40
|
.tablesaw {
|
31
41
|
width: 100%;
|
32
42
|
max-width: 100%;
|
@@ -44,18 +44,16 @@
|
|
44
44
|
|
45
45
|
/* images
|
46
46
|
------------------------------------------------------------------------------- */
|
47
|
-
picture > img {
|
48
|
-
max-width: 100%;
|
49
47
|
/* jadams, 2024-11-11: ToDo (fix) */
|
50
48
|
/* workaround, height: make image -1 pixel smaller */
|
51
49
|
/* height: calc(100% + 1px); */
|
50
|
+
|
51
|
+
picture > img {
|
52
|
+
max-width: 100%;
|
52
53
|
}
|
53
54
|
|
54
55
|
.vjs-poster {
|
55
56
|
height: 100%;
|
56
|
-
/* jadams, 2024-11-11: ToDo (fix) */
|
57
|
-
/* workaround, height: make poster -5 pixel smaller */
|
58
|
-
/* height: calc(100% + 1px); */
|
59
57
|
}
|
60
58
|
|
61
59
|
/* controlbar|controls
|
@@ -70,11 +68,13 @@ picture > img {
|
|
70
68
|
}
|
71
69
|
|
72
70
|
/* auto HIDE VJS controlbar when video is PAUSED */
|
71
|
+
/*
|
73
72
|
.vjs-has-started.vjs-user-inactive.vjs-paused .vjs-control-bar {
|
74
73
|
visibility: visible;
|
75
74
|
opacity: 0;
|
76
75
|
transition: visibility 1s, opacity 1s;
|
77
76
|
}
|
77
|
+
*/
|
78
78
|
|
79
79
|
/* manage time (display) divider, remaining-time */
|
80
80
|
.vjs-theme-uno .vjs-time-divider,
|
@@ -113,11 +113,14 @@ picture > img {
|
|
113
113
|
background-color: transparent;
|
114
114
|
}
|
115
115
|
|
116
|
-
.vjs-theme-uno .vjs-button
|
116
|
+
.vjs-theme-uno .vjs-button > .vjs-icon-placeholder:before,
|
117
117
|
.vjs-theme-uno .vjs-time-control {
|
118
|
-
line-height: 54px
|
118
|
+
line-height: 54px;
|
119
119
|
}
|
120
120
|
|
121
|
+
.video-js .vjs-time-control {
|
122
|
+
font-size: 1.6em;
|
123
|
+
}
|
121
124
|
|
122
125
|
.vjs-theme-uno .vjs-play-control {
|
123
126
|
position: relative;
|
@@ -132,11 +135,11 @@ picture > img {
|
|
132
135
|
|
133
136
|
/* set (hard) position manually */
|
134
137
|
.vjs-theme-uno .vjs-volume-panel {
|
135
|
-
order: 4
|
138
|
+
order: 4;
|
136
139
|
}
|
137
140
|
|
138
141
|
.vjs-theme-uno .vjs-volume-bar {
|
139
|
-
margin-top: 2.5em
|
142
|
+
margin-top: 2.5em;
|
140
143
|
}
|
141
144
|
|
142
145
|
.vjs-volume-bar.vjs-slider-vertical {
|
@@ -146,7 +149,7 @@ picture > img {
|
|
146
149
|
}
|
147
150
|
|
148
151
|
.vjs-theme-uno .vjs-volume-panel:hover .vjs-volume-control.vjs-volume-horizontal {
|
149
|
-
height: 100
|
152
|
+
height: 100%;
|
150
153
|
}
|
151
154
|
|
152
155
|
/* adjust control position for playback rate (centered) */
|
@@ -157,7 +160,6 @@ picture > img {
|
|
157
160
|
/* move tbe plaback-rate menu to top: 20px */
|
158
161
|
.vjs-playback-rate .vjs-menu {
|
159
162
|
top: -17px;
|
160
|
-
/* bottom: 6em; */
|
161
163
|
}
|
162
164
|
|
163
165
|
/* move tbe volume slider up: +2em */
|
@@ -195,7 +197,7 @@ picture > img {
|
|
195
197
|
}
|
196
198
|
|
197
199
|
.vjs-theme-uno .video-js .vjs-progress-control .vjs-progress-holder {
|
198
|
-
font-size: 1em
|
200
|
+
font-size: 1em;
|
199
201
|
}
|
200
202
|
|
201
203
|
.vjs-theme-uno .video-js .vjs-progress-control:hover .vjs-progress-holder {
|
@@ -237,6 +239,7 @@ picture > img {
|
|
237
239
|
order: -1;
|
238
240
|
}
|
239
241
|
|
242
|
+
/* Adjust the sizes for time-display elements */
|
240
243
|
.video-js .vjs-remaining-time-display,
|
241
244
|
.video-js .vjs-duration-display {
|
242
245
|
color: #fff;
|
@@ -245,7 +248,7 @@ picture > img {
|
|
245
248
|
white-space: nowrap;
|
246
249
|
}
|
247
250
|
|
248
|
-
/* Adjusting the height and position
|
251
|
+
/* Adjusting the height and position UPWARDS for the custom progressBar container */
|
249
252
|
.video-js .vjs-progress-control {
|
250
253
|
position: absolute;
|
251
254
|
top: -18px;
|
@@ -257,25 +260,36 @@ picture > img {
|
|
257
260
|
background-color: transparent;
|
258
261
|
}
|
259
262
|
|
260
|
-
/* height of the
|
263
|
+
/* height of the vjsSliderProgess itself */
|
261
264
|
.video-js .vjs-slider {
|
262
265
|
height: 1em;
|
263
266
|
margin-top: 0;
|
264
267
|
}
|
265
268
|
|
266
|
-
/* remove the thumbElement (
|
269
|
+
/* remove the thumbElement (vjsSliderProgess|Handle) */
|
267
270
|
.video-js .vjs-progress-control .vjs-play-progress:before {
|
268
271
|
appearance: none;
|
269
272
|
visibility: hidden;
|
270
273
|
}
|
271
274
|
|
275
|
+
/* adjust time-tooltip sizes (vjsSliderProgess) */
|
276
|
+
.video-js .vjs-progress-control:hover
|
277
|
+
.vjs-play-progress .vjs-time-tooltip {
|
278
|
+
/*
|
279
|
+
display: none !important; */
|
280
|
+
font-size: .9em;
|
281
|
+
padding: 0.35em 0.35em;
|
282
|
+
border-radius: 3px;
|
283
|
+
}
|
284
|
+
|
285
|
+
/* adjust time-tooltip size (vjsSliderProgess|Handle) */
|
272
286
|
.video-js .vjs-mouse-display {
|
273
|
-
|
274
|
-
|
275
|
-
font-size: 0.9em;
|
276
|
-
padding: 0.2em 0.5em;
|
287
|
+
font-size: 1.5em;
|
288
|
+
padding: 0.25em 0.25em;
|
277
289
|
border-radius: 3px;
|
278
290
|
transform: translateX(-50%);
|
291
|
+
color: white;
|
292
|
+
background-color: rgba(0, 0, 0, 0.7);
|
279
293
|
}
|
280
294
|
|
281
295
|
.vjs-theme-uno .vjs-play-control .vjs-icon-placeholder:before {
|
@@ -286,16 +300,16 @@ picture > img {
|
|
286
300
|
border: 3px solid var(--vjs-theme-uno--secondary);
|
287
301
|
top: 2px;
|
288
302
|
left: 9px;
|
289
|
-
line-height: 1.1
|
303
|
+
line-height: 1.1;
|
290
304
|
}
|
291
305
|
|
292
306
|
.vjs-theme-uno .vjs-play-control:hover .vjs-icon-placeholder:before {
|
293
|
-
border: 3px solid var(--vjs-theme-uno--secondary)
|
307
|
+
border: 3px solid var(--vjs-theme-uno--secondary);
|
294
308
|
}
|
295
309
|
|
296
310
|
.vjs-theme-uno .vjs-play-progress,
|
297
311
|
.vjs-theme-uno .vjs-play-progress:before {
|
298
|
-
background-color: var(--vjs-theme-uno--primary)
|
312
|
+
background-color: var(--vjs-theme-uno--primary);
|
299
313
|
}
|
300
314
|
|
301
315
|
.vjs-theme-uno .vjs-play-progress:before {
|
@@ -304,19 +318,19 @@ picture > img {
|
|
304
318
|
content: "";
|
305
319
|
border: 4px solid var(--vjs-theme-uno--secondary);
|
306
320
|
border-radius: .8em;
|
307
|
-
top:
|
321
|
+
top: -0.25em;
|
308
322
|
}
|
309
323
|
|
310
324
|
.vjs-theme-uno .vjs-progress-control {
|
311
|
-
font-size: 14px
|
325
|
+
font-size: 14px;
|
312
326
|
}
|
313
327
|
|
314
328
|
.vjs-theme-uno .vjs-fullscreen-control {
|
315
|
-
order: 6
|
329
|
+
order: 6;
|
316
330
|
}
|
317
331
|
|
318
332
|
.vjs-theme-uno.nyan .vjs-play-progress {
|
319
|
-
background: linear-gradient(180deg, #fe0000 0, #fe9a01 16.666666667%, #fe9a01 0, #ff0 33.332666667%, #ff0 0, #32ff00 49.999326667%, #32ff00 0, #0099fe 66.6659926%, #0099fe 0, #63f 83.33266%, #63f 0)
|
333
|
+
background: linear-gradient(180deg, #fe0000 0, #fe9a01 16.666666667%, #fe9a01 0, #ff0 33.332666667%, #ff0 0, #32ff00 49.999326667%, #32ff00 0, #0099fe 66.6659926%, #0099fe 0, #63f 83.33266%, #63f 0);
|
320
334
|
}
|
321
335
|
|
322
336
|
.vjs-theme-uno.nyan .vjs-play-progress:before {
|
@@ -324,7 +338,7 @@ picture > img {
|
|
324
338
|
width: 1.3em;
|
325
339
|
background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 125' fill='%23fff'%3E%3Cpath d='M62.153 37.323h2.813v3.246h-2.813zM64.858 40.569h2.813v3.246h-2.813zM67.672 43.814h11.9v3.246h-11.9zM79.572 24.449h2.813v19.365h-2.813zM82.386 37.323h3.244v3.246h-3.244zM85.63 34.132h5.627v3.246H85.63zM91.257 37.323h2.92v12.95h-2.92zM94.177 50.274h2.922V66.21h-2.922zM91.29 66.372h2.887v3.245H91.29zM88.401 69.617h2.889v3.246h-2.889zM27.312 72.863h61.003v3.245H27.312zM73.622 76.108h2.889v3.246h-2.889zM82.563 76.108h2.888v3.246h-2.888zM76.511 79.354h6.053v3.245h-6.053zM61.941 79.354h8.895v3.245h-8.895zM67.947 76.108h2.889v3.246h-2.889zM59.321 76.108h2.888v3.246h-2.888zM27.312 17.917h49.387v3.246H27.312zM76.699 21.162h2.873v3.287h-2.873zM56.372 34.132h5.781v3.191h-5.781zM53.448 37.323h2.924v12.951h-2.924zM50.488 50.274h2.96v16.049h-2.96zM53.448 66.323h2.924v3.257h-2.924zM56.372 69.58h2.949v3.283h-2.949zM65.069 63.213h2.878v6.367h-2.878zM67.947 66.397h17.504v3.22H67.947z'/%3E%3Cpath d='M82.563 63.213h2.888v3.185h-2.888zM73.801 63.213h2.898v3.185h-2.898zM76.699 56.774h2.873v3.145h-2.873zM82.563 56.774h2.888v3.145h-2.888zM85.451 53.444h2.864v3.33h-2.864z'/%3E%3Cpath d='M85.451 56.774h2.864v3.145h-2.864zM65.069 53.444h2.878v3.33h-2.878zM65.069 56.774h2.878v3.145h-2.878zM62.209 56.774h2.86v3.145h-2.86zM21.509 24.327h2.813v45.169h-2.813zM24.323 21.162h2.99v3.165h-2.99zM18.562 69.496h8.75v3.367h-8.75zM15.656 72.863h2.906v9.591h-2.906zM18.562 79.301h8.75v3.153h-8.75zM24.323 76.108h5.743V79.3h-5.743zM33.136 76.108h2.824v6.346h-2.824zM35.96 79.281h5.813v3.173H35.96zM41.774 76.108h2.864v3.173h-2.864zM3.948 40.569h11.708v3.229H3.948zM3.948 43.814h2.921v6.459H3.948zM6.869 47.06h2.934v6.384H6.869zM9.803 50.274h2.909v6.5H9.803z'/%3E%3Cpath d='M12.711 53.444h2.945v6.475h-2.945zM15.656 56.774h5.853v3.145h-5.853z'/%3E%3Cpath d='M18.583 59.919h2.926v3.294h-2.926zM18.583 47.044h2.926v6.4h-2.926zM12.711 43.814h5.872v3.229h-5.872zM15.647 47.044h2.936v3.2h-2.936z'/%3E%3Cpath fill='none' d='M47.439 50.274h3.049v3.17h-3.049z'/%3E%3Cpath d='M73.801 30.94v-3.138h-2.965v-3.354l-37.7-.122v3.151h-3.07v3.462l-2.753-.108-.118 32.381h2.871v3.185h3.07v-3.185h2.824v3.185h-2.824v3.099l20.312.084v-3.257h-2.96V50.274h2.96V37.323h2.924v-3.191h5.781v3.191h2.813l-.108 3.246h2.813v3.246h9.027V30.94h-2.897zM33.136 56.682h-3.07v-3.158h3.07v3.158zm2.824-22.55h-2.824v-3.084h2.824v3.084zm2.907 12.928h2.907v3.184h-2.907V47.06zm5.771 16.153h-2.864v-3.294h2.864v3.294zm2.801-19.399h-2.801v-3.246h2.801v3.246zm6.009-12.766h-2.96v-3.354h2.96v3.354zm8.705 0h-2.832v-3.354h2.832v3.354zm8.683 6.275h-2.889v-3.191h2.889v3.191z'/%3E%3C/svg%3E") no-repeat;
|
326
340
|
border: none;
|
327
|
-
top:
|
341
|
+
top: -0.35em;
|
328
342
|
}
|
329
343
|
|
330
344
|
|
@@ -334,7 +348,6 @@ picture > img {
|
|
334
348
|
/* Small only
|
335
349
|
# --------------------------------------------------------- */
|
336
350
|
@media screen and (max-width: 39.9375em) {
|
337
|
-
|
338
351
|
.vjs-theme-uno .vjs-big-play-button {
|
339
352
|
top: 35%;
|
340
353
|
left: 45%;
|
@@ -354,5 +367,4 @@ picture > img {
|
|
354
367
|
z-index: 1;
|
355
368
|
background: url(/assets/theme/j1/modules/videojs/assets/icons/small/big-play-button-hover.svg) no-repeat;
|
356
369
|
}
|
357
|
-
|
358
370
|
}
|
@@ -16,4 +16,4 @@
|
|
16
16
|
# -----------------------------------------------------------------------------
|
17
17
|
*/
|
18
18
|
|
19
|
-
.vjs-theme-uno{--vjs-theme-uno--blue-300:#64b5f6;--vjs-theme-uno--blue-600:#1e88e5;--vjs-theme-uno--blue-800:#1565c0;--vjs-theme-uno--gray-200:var(--vjs-theme-uno--gray-200);--vjs-theme-uno--gray-900:#212121;--vjs-theme-uno--primary:#2196f3;--vjs-theme-uno--secondary:#fff}.video-js .vjs-text-track-display div{font-size:1.75rem}.video-js .vjs-text-track-display>div>div>div{background:transparent !important;display:inline-block !important;line-height:33px !important;padding:5px !important;text-shadow:1px 1px 2px #000}picture>img{max-width:100%}.vjs-poster{height:100%}.vjs-theme-uno .vjs-control-bar{height:55px;top:calc(100% - 54px);background-color:var(--vjs-theme-uno--gray-900);z-index:100}.vjs-has-started.vjs-user-inactive.vjs-paused .vjs-control-bar{visibility:visible;opacity:0;transition:visibility 1s,opacity 1s}.vjs-theme-uno .vjs-time-divider,.vjs-theme-uno .vjs-remaining-time{display:none !important}.vjs-icon-play:before{content:"\f101"}.vjs-theme-uno .vjs-big-play-button{top:25%;left:35%;width:240px;height:240px;font-size:0;z-index:1;background:url(/assets/theme/j1/modules/videojs/assets/icons/big-play-button.svg) no-repeat}.vjs-theme-uno .vjs-big-play-button:hover{top:25%;left:35%;width:240px;height:240px;font-size:0;z-index:1;background:url(/assets/theme/j1/modules/videojs/assets/icons/big-play-button-hover.svg) no-repeat}.vjs-theme-uno.vjs-big-play-button:focus,.vjs-theme-uno:hover .vjs-big-play-button{background-color:transparent}.vjs-theme-uno .vjs-button>.vjs-icon-placeholder:before,.vjs-theme-uno .vjs-time-control{line-height:54px}.vjs-theme-uno .vjs-play-control{position:relative;margin-top:3px;width:48px;font-size:1.4em}.vjs-theme-uno .vjs-volume-panel{order:4}.vjs-theme-uno .vjs-volume-bar{margin-top:2.5em}.vjs-volume-bar.vjs-slider-vertical{width:.3em;height:5em !important;margin:1.35em auto}.vjs-theme-uno .vjs-volume-panel:hover .vjs-volume-control.vjs-volume-horizontal{height:100%}.vjs-playback-rate{margin-top:12px !important}.vjs-playback-rate .vjs-menu{top:-17px}.video-js .vjs-volume-vertical{bottom:10em;background-color:rgba(43,51,63,0.7)}.video-js .custom-progressbar-container{position:absolute;top:-26px;bottom:100%;left:0;right:0;width:100%;height:30px;display:flex;
|
19
|
+
.vjs-theme-uno{--vjs-theme-uno--blue-300:#64b5f6;--vjs-theme-uno--blue-600:#1e88e5;--vjs-theme-uno--blue-800:#1565c0;--vjs-theme-uno--gray-200:var(--vjs-theme-uno--gray-200);--vjs-theme-uno--gray-900:#212121;--vjs-theme-uno--primary:#2196f3;--vjs-theme-uno--secondary:#fff}.video-js .vjs-text-track-display div{font-size:1.75rem}.video-js .vjs-text-track-display>div>div>div{background:transparent !important;display:inline-block !important;line-height:33px !important;padding:5px !important;text-shadow:1px 1px 2px #000}picture>img{max-width:100%}.vjs-poster{height:100%}.vjs-theme-uno .vjs-control-bar{height:55px;top:calc(100% - 54px);background-color:var(--vjs-theme-uno--gray-900);z-index:100}.vjs-has-started.vjs-user-inactive.vjs-paused .vjs-control-bar{visibility:visible;opacity:0;transition:visibility 1s,opacity 1s}.vjs-theme-uno .vjs-time-divider,.vjs-theme-uno .vjs-remaining-time{display:none !important}.vjs-icon-play:before{content:"\f101"}.vjs-theme-uno .vjs-big-play-button{top:25%;left:35%;width:240px;height:240px;font-size:0;z-index:1;background:url(/assets/theme/j1/modules/videojs/assets/icons/big-play-button.svg) no-repeat}.vjs-theme-uno .vjs-big-play-button:hover{top:25%;left:35%;width:240px;height:240px;font-size:0;z-index:1;background:url(/assets/theme/j1/modules/videojs/assets/icons/big-play-button-hover.svg) no-repeat}.vjs-theme-uno.vjs-big-play-button:focus,.vjs-theme-uno:hover .vjs-big-play-button{background-color:transparent}.vjs-theme-uno .vjs-button>.vjs-icon-placeholder:before,.vjs-theme-uno .vjs-time-control{line-height:54px}.video-js .vjs-time-control{font-size:1.6em}.vjs-theme-uno .vjs-play-control{position:relative;margin-top:3px;width:48px;font-size:1.4em}.vjs-theme-uno .vjs-volume-panel{order:4}.vjs-theme-uno .vjs-volume-bar{margin-top:2.5em}.vjs-volume-bar.vjs-slider-vertical{width:.3em;height:5em !important;margin:1.35em auto}.vjs-theme-uno .vjs-volume-panel:hover .vjs-volume-control.vjs-volume-horizontal{height:100%}.vjs-playback-rate{margin-top:12px !important}.vjs-playback-rate .vjs-menu{top:-17px}.video-js .vjs-volume-vertical{bottom:10em;background-color:rgba(43,51,63,0.7)}.video-js .custom-progressbar-container{position:absolute;align-items:center;top:-26px;bottom:100%;left:0;right:0;width:100%;height:30px;display:flex;background-color:transparent;box-sizing:border-box}.video-js .custom-progressbar-container .vjs-progress-control{flex-grow:1;position:static;height:100%;display:flex;align-items:center}.vjs-theme-uno .video-js .vjs-progress-control .vjs-progress-holder{font-size:1em}.vjs-theme-uno .video-js .vjs-progress-control:hover .vjs-progress-holder{font-size:1.5em}.vjs-theme-uno .vjs-time-control,.video-js .vjs-current-time,.video-js .vjs-duration{display:block;top:-12px}.vjs-theme-uno .vjs-current-time .vjs-duration{display:block;line-height:3em !important}.video-js .custom-progressbar-container .vjs-progress-control .vjs-play-progress,.video-js .custom-progressbar-container .vjs-progress-control .vjs-load-progress,.video-js .custom-progressbar-container .vjs-progress-control .vjs-mouse-display{height:100%;border-radius:0}.video-js .vjs-load-progress{background-color:rgba(255,255,255,0.3)}.video-js .custom-time-display{color:#fff;font-size:.9em;min-width:50px;text-align:center}.video-js .custom-progressbar-container .vjs-current-time-display{order:-1}.video-js .vjs-remaining-time-display,.video-js .vjs-duration-display{color:#fff;font-size:.9em;padding:0 5px;white-space:nowrap}.video-js .vjs-progress-control{position:absolute;top:-18px;left:0;right:0;width:100%;height:1em;margin-top:0;background-color:transparent}.video-js .vjs-slider{height:1em;margin-top:0}.video-js .vjs-progress-control .vjs-play-progress:before{appearance:none;visibility:hidden}.video-js .vjs-progress-control:hover .vjs-play-progress .vjs-time-tooltip{font-size:.9em;padding:.35em .35em;border-radius:3px}.video-js .vjs-mouse-display{font-size:1.5em;padding:.25em .25em;border-radius:3px;transform:translateX(-50%);color:white;background-color:rgba(0,0,0,0.7)}.vjs-theme-uno .vjs-play-control .vjs-icon-placeholder:before{height:1.3em;width:1.3em;margin-top:.2em;border-radius:1em;border:3px solid var(--vjs-theme-uno--secondary);top:2px;left:9px;line-height:1.1}.vjs-theme-uno .vjs-play-control:hover .vjs-icon-placeholder:before{border:3px solid var(--vjs-theme-uno--secondary)}.vjs-theme-uno .vjs-play-progress,.vjs-theme-uno .vjs-play-progress:before{background-color:var(--vjs-theme-uno--primary)}.vjs-theme-uno .vjs-play-progress:before{height:.8em;width:.8em;content:"";border:4px solid var(--vjs-theme-uno--secondary);border-radius:.8em;top:-0.25em}.vjs-theme-uno .vjs-progress-control{font-size:14px}.vjs-theme-uno .vjs-fullscreen-control{order:6}.vjs-theme-uno.nyan .vjs-play-progress{background:linear-gradient(180deg,#fe0000 0,#fe9a01 16.666666667%,#fe9a01 0,#ff0 33.332666667%,#ff0 0,#32ff00 49.999326667%,#32ff00 0,#0099fe 66.6659926%,#0099fe 0,#63f 83.33266%,#63f 0)}.vjs-theme-uno.nyan .vjs-play-progress:before{height:1.3em;width:1.3em;background:url("data:image/svg+xml;charset=utf-8,%3Csvgxmlns='http://www.w3.org/2000/svg'viewBox='00100125'fill='%23fff'%3E%3Cpathd='M62.15337.323h2.813v3.246h-2.813zM64.85840.569h2.813v3.246h-2.813zM67.67243.814h11.9v3.246h-11.9zM79.57224.449h2.813v19.365h-2.813zM82.38637.323h3.244v3.246h-3.244zM85.6334.132h5.627v3.246H85.63zM91.25737.323h2.92v12.95h-2.92zM94.17750.274h2.922V66.21h-2.922zM91.2966.372h2.887v3.245H91.29zM88.40169.617h2.889v3.246h-2.889zM27.31272.863h61.003v3.245H27.312zM73.62276.108h2.889v3.246h-2.889zM82.56376.108h2.888v3.246h-2.888zM76.51179.354h6.053v3.245h-6.053zM61.94179.354h8.895v3.245h-8.895zM67.94776.108h2.889v3.246h-2.889zM59.32176.108h2.888v3.246h-2.888zM27.31217.917h49.387v3.246H27.312zM76.69921.162h2.873v3.287h-2.873zM56.37234.132h5.781v3.191h-5.781zM53.44837.323h2.924v12.951h-2.924zM50.48850.274h2.96v16.049h-2.96zM53.44866.323h2.924v3.257h-2.924zM56.37269.58h2.949v3.283h-2.949zM65.06963.213h2.878v6.367h-2.878zM67.94766.397h17.504v3.22H67.947z'/%3E%3Cpathd='M82.56363.213h2.888v3.185h-2.888zM73.80163.213h2.898v3.185h-2.898zM76.69956.774h2.873v3.145h-2.873zM82.56356.774h2.888v3.145h-2.888zM85.45153.444h2.864v3.33h-2.864z'/%3E%3Cpathd='M85.45156.774h2.864v3.145h-2.864zM65.06953.444h2.878v3.33h-2.878zM65.06956.774h2.878v3.145h-2.878zM62.20956.774h2.86v3.145h-2.86zM21.50924.327h2.813v45.169h-2.813zM24.32321.162h2.99v3.165h-2.99zM18.56269.496h8.75v3.367h-8.75zM15.65672.863h2.906v9.591h-2.906zM18.56279.301h8.75v3.153h-8.75zM24.32376.108h5.743V79.3h-5.743zM33.13676.108h2.824v6.346h-2.824zM35.9679.281h5.813v3.173H35.96zM41.77476.108h2.864v3.173h-2.864zM3.94840.569h11.708v3.229H3.948zM3.94843.814h2.921v6.459H3.948zM6.86947.06h2.934v6.384H6.869zM9.80350.274h2.909v6.5H9.803z'/%3E%3Cpathd='M12.71153.444h2.945v6.475h-2.945zM15.65656.774h5.853v3.145h-5.853z'/%3E%3Cpathd='M18.58359.919h2.926v3.294h-2.926zM18.58347.044h2.926v6.4h-2.926zM12.71143.814h5.872v3.229h-5.872zM15.64747.044h2.936v3.2h-2.936z'/%3E%3Cpathfill='none'd='M47.43950.274h3.049v3.17h-3.049z'/%3E%3Cpathd='M73.80130.94v-3.138h-2.965v-3.354l-37.7-.122v3.151h-3.07v3.462l-2.753-.108-.11832.381h2.871v3.185h3.07v-3.185h2.824v3.185h-2.824v3.099l20.312.084v-3.257h-2.96V50.274h2.96V37.323h2.924v-3.191h5.781v3.191h2.813l-.1083.246h2.813v3.246h9.027V30.94h-2.897zM33.13656.682h-3.07v-3.158h3.07v3.158zm2.824-22.55h-2.824v-3.084h2.824v3.084zm2.90712.928h2.907v3.184h-2.907V47.06zm5.77116.153h-2.864v-3.294h2.864v3.294zm2.801-19.399h-2.801v-3.246h2.801v3.246zm6.009-12.766h-2.96v-3.354h2.96v3.354zm8.7050h-2.832v-3.354h2.832v3.354zm8.6836.275h-2.889v-3.191h2.889v3.191z'/%3E%3C/svg%3E") no-repeat;border:0;top:-0.35em}@media screen and (max-width:39.9375em){.vjs-theme-uno .vjs-big-play-button{top:35%;left:45%;width:120px;height:120px;z-index:1;background:url(/assets/theme/j1/modules/videojs/assets/icons/small/big-play-button.svg) no-repeat}.vjs-theme-uno .vjs-big-play-button:hover{top:35%;left:45%;width:120px;height:120px;z-index:1;background:url(/assets/theme/j1/modules/videojs/assets/icons/small/big-play-button-hover.svg) no-repeat}}
|
data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/!examples/index.html
CHANGED
@@ -4,8 +4,8 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="utf-8">
|
6
6
|
<title>videojs-aspect-ratio-panel Demo</title>
|
7
|
-
<link href="
|
8
|
-
<link href="
|
7
|
+
<link href="../../../../css/videojs.css" rel="stylesheet">
|
8
|
+
<link href="../css/aspect-ratio-panel.css" rel="stylesheet">
|
9
9
|
</head>
|
10
10
|
|
11
11
|
<body>
|
@@ -13,13 +13,8 @@
|
|
13
13
|
<source src="//vjs.zencdn.net/v/oceans.mp4" type='video/mp4'>
|
14
14
|
<source src="//vjs.zencdn.net/v/oceans.webm" type='video/webm'>
|
15
15
|
</video>
|
16
|
-
<
|
17
|
-
|
18
|
-
<li><a href="docs/api/">Read generated docs.</a></li>
|
19
|
-
</ul>
|
20
|
-
<script src="node_modules/video.js/dist/video.js"></script>
|
21
|
-
<script src="dist/lang/en.js"></script>
|
22
|
-
<script src="dist/videojs-aspect-ratio-panel.js"></script>
|
16
|
+
<script src="../../../../js/video.js"></script>
|
17
|
+
<script src="../js/aspect-ratio-panel.js"></script>
|
23
18
|
<script>
|
24
19
|
(function (window, videojs) {
|
25
20
|
var examplePlayer = window.examplePlayer = videojs('videojs-aspect-ratio-panel-player');
|
@@ -30,7 +30,7 @@
|
|
30
30
|
<a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a></p>
|
31
31
|
</video>
|
32
32
|
|
33
|
-
<script src="../hotkeys.js"></script>
|
33
|
+
<script src="../js/hotkeys.js"></script>
|
34
34
|
<script>
|
35
35
|
// initialize the plugin
|
36
36
|
videojs('video1').ready(function() {
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<head>
|
4
4
|
<meta charset="utf-8">
|
5
5
|
<title>videojs-persist Demo</title>
|
6
|
-
<link href="
|
6
|
+
<link href="../../../../css/videojs.css" rel="stylesheet">
|
7
7
|
|
8
8
|
</head>
|
9
9
|
<body>
|
@@ -11,12 +11,8 @@
|
|
11
11
|
<source src="//vjs.zencdn.net/v/oceans.mp4" type='video/mp4'>
|
12
12
|
<source src="//vjs.zencdn.net/v/oceans.webm" type='video/webm'>
|
13
13
|
</video>
|
14
|
-
<
|
15
|
-
|
16
|
-
<li><a href="docs/api/">Read generated docs.</a></li>
|
17
|
-
</ul>
|
18
|
-
<script src="node_modules/video.js/dist/video.js"></script>
|
19
|
-
<script src="dist/videojs-persist.js"></script>
|
14
|
+
<script src="../../../../js/video.js"></script>
|
15
|
+
<script src="../js/videojs-persist.js"></script>
|
20
16
|
<script>
|
21
17
|
(function(window, videojs) {
|
22
18
|
var examplePlayer = window.examplePlayer = videojs('videojs-persist-player', {
|
data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/!examples/index.html
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
<head>
|
4
4
|
<meta charset="utf-8">
|
5
5
|
<title>videojs-playbackrate-adjuster Demo</title>
|
6
|
-
<link href="
|
6
|
+
<link href="../../../../css/videojs.css" rel="stylesheet">
|
7
7
|
<style>
|
8
8
|
.video-js {
|
9
9
|
width: 720px;
|
@@ -17,13 +17,8 @@
|
|
17
17
|
<source src="//vjs.zencdn.net/v/oceans.mp4" type="video/mp4">
|
18
18
|
<source src="//vjs.zencdn.net/v/oceans.webm" type="video/webm">
|
19
19
|
</video>
|
20
|
-
<
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
</ul>
|
25
|
-
<script src="node_modules/video.js/dist/video.js"></script>
|
26
|
-
<script src="dist/browser/videojs-playbackrate-adjuster.js"></script>
|
20
|
+
<script src="../../../../js/video.js"></script>
|
21
|
+
<script src="../js/playbackrate-adjuster.js"></script>
|
27
22
|
<script src="https://unpkg.com/videojs-contrib-hls/dist/videojs-contrib-hls.js"></script>
|
28
23
|
<script>
|
29
24
|
(function(window, videojs) {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html>
|
3
3
|
<head>
|
4
|
-
<link type="text/css" rel="stylesheet" href="
|
4
|
+
<link type="text/css" rel="stylesheet" href="../../../../css/videojs.min.css" />
|
5
5
|
</head>
|
6
6
|
<body>
|
7
7
|
<video
|
@@ -12,7 +12,7 @@
|
|
12
12
|
>
|
13
13
|
</video>
|
14
14
|
|
15
|
-
<script src="
|
16
|
-
<script src="../dailymotion.js"></script>
|
15
|
+
<script src="../../../../js/video.js"></script>
|
16
|
+
<script src="../js/dailymotion.js"></script>
|
17
17
|
</body>
|
18
|
-
</html>
|
18
|
+
</html>
|
data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/dailymotion-javascript.html
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html>
|
3
3
|
<head>
|
4
|
-
<link type="text/css" rel="stylesheet" href="
|
4
|
+
<link type="text/css" rel="stylesheet" href="../../../../css/videojs.min.css" />
|
5
5
|
</head>
|
6
6
|
<body>
|
7
7
|
<video
|
@@ -13,8 +13,8 @@
|
|
13
13
|
>
|
14
14
|
</video>
|
15
15
|
|
16
|
-
<script src="
|
17
|
-
<script src="../dailymotion.js"></script>
|
16
|
+
<script src="../../../../js/video.js"></script>
|
17
|
+
<script src="../js/dailymotion.js"></script>
|
18
18
|
|
19
19
|
<script>
|
20
20
|
// An example of playing with the Video.js javascript API
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html>
|
3
3
|
<head>
|
4
|
-
<link type="text/css" rel="stylesheet" href="
|
4
|
+
<link type="text/css" rel="stylesheet" href="../../../../css/videojs.min.css" />
|
5
5
|
</head>
|
6
6
|
<body>
|
7
7
|
<video
|
@@ -13,7 +13,7 @@
|
|
13
13
|
>
|
14
14
|
</video>
|
15
15
|
|
16
|
-
<script src="
|
17
|
-
<script src="../dailymotion.js"></script>
|
16
|
+
<script src="../../../../js/video.js"></script>
|
17
|
+
<script src="../js/dailymotion.js"></script>
|
18
18
|
</body>
|
19
19
|
</html>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html>
|
3
3
|
<head>
|
4
|
-
<link type="text/css" rel="stylesheet" href="
|
4
|
+
<link type="text/css" rel="stylesheet" href="../../../../css/videojs.min.css" />
|
5
5
|
</head>
|
6
6
|
<body>
|
7
7
|
<video
|
@@ -12,8 +12,8 @@
|
|
12
12
|
>
|
13
13
|
</video>
|
14
14
|
|
15
|
-
<script src="
|
16
|
-
<script src="../dailymotion.js"></script>
|
15
|
+
<script src="../../../../js/video.js"></script>
|
16
|
+
<script src="../js/dailymotion.js"></script>
|
17
17
|
|
18
18
|
<script>
|
19
19
|
// You can use any Dailymotion player parameters
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html>
|
3
3
|
<head>
|
4
|
-
<link type="text/css" rel="stylesheet" href="
|
4
|
+
<link type="text/css" rel="stylesheet" href="../../../../css/videojs.min.css" />
|
5
5
|
</head>
|
6
6
|
<body>
|
7
7
|
<video
|
@@ -10,11 +10,22 @@
|
|
10
10
|
controls
|
11
11
|
autoplay
|
12
12
|
width="640" height="264"
|
13
|
-
data-setup='{
|
13
|
+
data-setup='{
|
14
|
+
"techOrder": [
|
15
|
+
"dailymotion",
|
16
|
+
"html5"
|
17
|
+
],
|
18
|
+
"sources": [
|
19
|
+
{
|
20
|
+
"type": "video/dailymotion",
|
21
|
+
"src": "https://www.dailymotion.com/video/x7t3la2"
|
22
|
+
}
|
23
|
+
]
|
24
|
+
}'
|
14
25
|
>
|
15
26
|
</video>
|
16
27
|
|
17
|
-
<script src="
|
18
|
-
<script src="../dailymotion.js"></script>
|
28
|
+
<script src="../../../../js/video.js"></script>
|
29
|
+
<script src="../js/dailymotion.js"></script>
|
19
30
|
</body>
|
20
31
|
</html>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html>
|
3
3
|
<head>
|
4
|
-
<link type="text/css" rel="stylesheet" href="
|
4
|
+
<link type="text/css" rel="stylesheet" href="../../../../css/videojs.min.css" />
|
5
5
|
</head>
|
6
6
|
<body>
|
7
7
|
<video
|
@@ -18,8 +18,8 @@
|
|
18
18
|
<button class="oceans">Oceans</button>
|
19
19
|
<button class="dailymotion">Dailymotion</button>
|
20
20
|
|
21
|
-
<script src="
|
22
|
-
<script src="../dailymotion.js"></script>
|
21
|
+
<script src="../../../../js/video.js"></script>
|
22
|
+
<script src="../js/dailymotion.js"></script>
|
23
23
|
|
24
24
|
<script>
|
25
25
|
var oceans = document.querySelector('.oceans');
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="utf-8">
|
6
6
|
<title>videojs-vimeo Demo</title>
|
7
|
-
<link rel="stylesheet" href="
|
7
|
+
<link rel="stylesheet" href="../../../../css/videojs.min.css">
|
8
8
|
</head>
|
9
9
|
<body>
|
10
10
|
<video
|
@@ -26,8 +26,8 @@
|
|
26
26
|
>
|
27
27
|
</video>
|
28
28
|
|
29
|
-
<script src="
|
30
|
-
<script src="
|
29
|
+
<script src="../../../../js/video.js"></script>
|
30
|
+
<script src="../js/vimeo.js"></script>
|
31
31
|
|
32
32
|
</body>
|
33
33
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="utf-8">
|
6
6
|
<title>Vimeo Player Demo</title>
|
7
|
-
<link rel="stylesheet" href="
|
7
|
+
<link rel="stylesheet" href="../../../../../css/videojs.min.css">
|
8
8
|
</head>
|
9
9
|
|
10
10
|
<body>
|
@@ -21,7 +21,7 @@
|
|
21
21
|
|
22
22
|
<!-- script src="../../../../../js/video.js"></script -->
|
23
23
|
<!-- script src="../vimeo.js"></script -->
|
24
|
-
<script src="
|
24
|
+
<script src="../../../../../../jquery/js/jquery.js"></script>
|
25
25
|
<!-- script src="../../../../../../log4javascript/js/log4javascript.js"></script -->
|
26
26
|
|
27
27
|
<script>
|
@@ -40,4 +40,4 @@
|
|
40
40
|
</script>
|
41
41
|
</body>
|
42
42
|
|
43
|
-
</html>
|
43
|
+
</html>
|