@latest-thinking/lt-player 1.1.0 → 1.2.0-a
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.
- package/ README.md +126 -0
- package/dist/css/lt-player-main.css +1 -1
- package/dist/css/lt-player-main.css.map +1 -1
- package/dist/js/lt-player-main.js +1 -1
- package/dist/js/lt-player-main.js.map +1 -1
- package/examples/basic.html +35 -0
- package/examples/lt-page-with-player.html +3529 -0
- package/examples/lt-page-with-player_files/Weiskopf_Coverphoto.jpg +0 -0
- package/examples/lt-page-with-player_files/ajax-progress.module.css +49 -0
- package/examples/lt-page-with-player_files/align.module.css +32 -0
- package/examples/lt-page-with-player_files/announce.js +49 -0
- package/examples/lt-page-with-player_files/autocomplete-loading.module.css +22 -0
- package/examples/lt-page-with-player_files/autocomplete.css +16 -0
- package/examples/lt-page-with-player_files/bootstrap.css +22691 -0
- package/examples/lt-page-with-player_files/clearfix.module.css +15 -0
- package/examples/lt-page-with-player_files/container-inline.module.css +16 -0
- package/examples/lt-page-with-player_files/cookiesjsr.min.css +10 -0
- package/examples/lt-page-with-player_files/core.css +97 -0
- package/examples/lt-page-with-player_files/details.module.css +10 -0
- package/examples/lt-page-with-player_files/fieldgroup.module.css +9 -0
- package/examples/lt-page-with-player_files/hidden.module.css +53 -0
- package/examples/lt-page-with-player_files/himme-alexander-beyond_0.jpg +0 -0
- package/examples/lt-page-with-player_files/item-list.module.css +19 -0
- package/examples/lt-page-with-player_files/js.module.css +22 -0
- package/examples/lt-page-with-player_files/latest_thinking.style.css +6496 -0
- package/examples/lt-page-with-player_files/logo-small.png +0 -0
- package/examples/lt-page-with-player_files/menu.css +64 -0
- package/examples/lt-page-with-player_files/nowrap.module.css +8 -0
- package/examples/lt-page-with-player_files/paragraphs.unpublished.css +3 -0
- package/examples/lt-page-with-player_files/position-container.module.css +8 -0
- package/examples/lt-page-with-player_files/progress.module.css +51 -0
- package/examples/lt-page-with-player_files/radix.style.css +1 -0
- package/examples/lt-page-with-player_files/reset-appearance.module.css +15 -0
- package/examples/lt-page-with-player_files/resize.module.css +21 -0
- package/examples/lt-page-with-player_files/search_api_autocomplete.css +41 -0
- package/examples/lt-page-with-player_files/sticky-header.module.css +13 -0
- package/examples/lt-page-with-player_files/system-status-counter.css +30 -0
- package/examples/lt-page-with-player_files/system-status-report-counters.css +27 -0
- package/examples/lt-page-with-player_files/system-status-report-general-info.css +14 -0
- package/examples/lt-page-with-player_files/tabledrag.module.css +98 -0
- package/examples/lt-page-with-player_files/tablesort.module.css +19 -0
- package/examples/lt-page-with-player_files/theme.css +446 -0
- package/examples/lt-page-with-player_files/thumbnail_MPI_CBS_Eingangsbereich.jpg +0 -0
- package/examples/lt-page-with-player_files/tree-child.module.css +18 -0
- package/examples/lt-page-with-player_files/widget-min.js +10 -0
- package/examples/lt-website.html +76 -0
- package/examples/portrait-with-subtitles.html +81 -0
- package/examples/samples/vtt/Pahl-Kerstin-Maria-MAIN-20230320.vtt +765 -0
- package/examples/samples/vtt/Sobolev-Anton-Subtitles-20230518_0.vtt +352 -0
- package/examples/samples/vtt/demo.vtt +7 -0
- package/package.json +1 -1
- package/src/assets/sass/abstracts/_mixins.scss +1 -1
- package/src/assets/sass/abstracts/_variables.scss +1 -1
- package/src/assets/sass/app.scss +19 -0
- package/src/assets/sass/components/_all.scss +1 -1
- package/src/assets/sass/components/_loader.scss +187 -0
- package/src/assets/sass/components/_modal.scss +6 -0
- package/src/assets/sass/core/_player.scss +23 -5
- package/src/assets/sass/sections/_additional-info.scss +1 -1
- package/src/assets/sass/sections/_control.scss +0 -1
- package/src/assets/sass/sections/_poster.scss +1 -0
- package/src/assets/sass/sections/_settings.scss +36 -53
- package/src/assets/sass/sections/_subtitles.scss +78 -23
- package/src/assets/sass/sections/controllers/_botom.scss +59 -36
- package/src/assets/sass/sections/controllers/_notification-rewind-forward.scss +29 -14
- package/src/assets/sass/sections/controllers/_top.scss +1 -1
- package/src/components/LTPlayerDevMethode.ts +106 -84
- package/src/components/LTPlayerManager.ts +16 -0
- package/src/components/LTPlayerSettingsManager.ts +117 -0
- package/src/components/LTPlayerSetup.ts +3 -10
- package/src/components/LTPlayerStatusFeedback.ts +76 -0
- package/src/components/LTPlayerStorage.ts +58 -0
- package/src/components/LTPlayerType.ts +10 -2
- package/src/components/LTPlayerUpdate.ts +61 -0
- package/src/components/captions/LTPlayerCaptions.ts +80 -0
- package/src/components/config/LTPlayerConfig.ts +43 -0
- package/src/components/config/LTPlayerConfigProcessor.ts +110 -56
- package/src/components/controls/LTPlayerChapters.ts +8 -4
- package/src/components/controls/LTPlayerControls.ts +2 -0
- package/src/components/controls/LTPlayerControlsEvents.ts +200 -49
- package/src/components/controls/settings/LTPlayerCommonSettingsControllers.ts +9 -1
- package/src/components/controls/settings/LTPlayerDesktopSettingsControllers.ts +17 -14
- package/src/components/controls/settings/LTPlayerMobileSettingsControllers.ts +50 -44
- package/src/components/events/LTPlayer.ts +24 -21
- package/src/components/events/LTPlayerCommon.ts +94 -20
- package/src/components/events/LTPlayerDesktop.ts +21 -7
- package/src/components/events/LTPlayerMobile.ts +22 -10
- package/src/global/controllers/LTPlayerController.ts +7 -0
- package/src/services/Helper.ts +6 -1
- package/src/services/ResizeService.ts +35 -30
- package/src/services/TemplateService.ts +7 -0
- package/src/views/additionalInfo.handlebars +18 -18
- package/src/views/controls.handlebars +14 -3
- package/src/views/poster.handlebars +2 -2
- package/src/views/settings.handlebars +1 -1
- package/src/views/settings.mobile.handlebars +22 -0
- package/src/views/template.handlebars +4 -1
- package/src/assets/sass/components/_spinner.scss +0 -46
|
Binary file
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file
|
|
3
|
+
* Throbber.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
.ajax-progress {
|
|
7
|
+
display: inline-block;
|
|
8
|
+
padding: 1px 5px 2px 5px;
|
|
9
|
+
}
|
|
10
|
+
[dir="rtl"] .ajax-progress {
|
|
11
|
+
float: right;
|
|
12
|
+
}
|
|
13
|
+
.ajax-progress-throbber .throbber {
|
|
14
|
+
display: inline;
|
|
15
|
+
padding: 1px 6px 2px;
|
|
16
|
+
background: transparent url(../../../../misc/throbber-active.gif) no-repeat 0 center;
|
|
17
|
+
}
|
|
18
|
+
.ajax-progress-throbber .message {
|
|
19
|
+
display: inline;
|
|
20
|
+
padding: 1px 5px 2px;
|
|
21
|
+
}
|
|
22
|
+
tr .ajax-progress-throbber .throbber {
|
|
23
|
+
margin: 0 2px;
|
|
24
|
+
}
|
|
25
|
+
.ajax-progress-bar {
|
|
26
|
+
width: 16em;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Full screen throbber */
|
|
30
|
+
.ajax-progress-fullscreen {
|
|
31
|
+
position: fixed;
|
|
32
|
+
z-index: 1000;
|
|
33
|
+
top: 48.5%;
|
|
34
|
+
/* Can't do center:50% middle: 50%, so approximate it for a typical window size. */
|
|
35
|
+
left: 49%; /* LTR */
|
|
36
|
+
width: 24px;
|
|
37
|
+
height: 24px;
|
|
38
|
+
padding: 4px;
|
|
39
|
+
opacity: 0.9;
|
|
40
|
+
border-radius: 7px;
|
|
41
|
+
background-color: #232323;
|
|
42
|
+
background-image: url(../../../../misc/loading-small.gif);
|
|
43
|
+
background-repeat: no-repeat;
|
|
44
|
+
background-position: center center;
|
|
45
|
+
}
|
|
46
|
+
[dir="rtl"] .ajax-progress-fullscreen {
|
|
47
|
+
right: 49%;
|
|
48
|
+
left: auto;
|
|
49
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file
|
|
3
|
+
* Alignment classes for text and block level elements.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
.text-align-left {
|
|
7
|
+
text-align: left;
|
|
8
|
+
}
|
|
9
|
+
.text-align-right {
|
|
10
|
+
text-align: right;
|
|
11
|
+
}
|
|
12
|
+
.text-align-center {
|
|
13
|
+
text-align: center;
|
|
14
|
+
}
|
|
15
|
+
.text-align-justify {
|
|
16
|
+
text-align: justify;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Alignment classes for block level elements (images, videos, blockquotes, etc.)
|
|
21
|
+
*/
|
|
22
|
+
.align-left {
|
|
23
|
+
float: left;
|
|
24
|
+
}
|
|
25
|
+
.align-right {
|
|
26
|
+
float: right;
|
|
27
|
+
}
|
|
28
|
+
.align-center {
|
|
29
|
+
display: block;
|
|
30
|
+
margin-right: auto;
|
|
31
|
+
margin-left: auto;
|
|
32
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DO NOT EDIT THIS FILE.
|
|
3
|
+
* See the following change record for more information,
|
|
4
|
+
* https://www.drupal.org/node/2815083
|
|
5
|
+
* @preserve
|
|
6
|
+
**/
|
|
7
|
+
(function (Drupal, debounce) {
|
|
8
|
+
var liveElement;
|
|
9
|
+
var announcements = [];
|
|
10
|
+
Drupal.behaviors.drupalAnnounce = {
|
|
11
|
+
attach: function attach(context) {
|
|
12
|
+
if (!liveElement) {
|
|
13
|
+
liveElement = document.createElement('div');
|
|
14
|
+
liveElement.id = 'drupal-live-announce';
|
|
15
|
+
liveElement.className = 'visually-hidden';
|
|
16
|
+
liveElement.setAttribute('aria-live', 'polite');
|
|
17
|
+
liveElement.setAttribute('aria-busy', 'false');
|
|
18
|
+
document.body.appendChild(liveElement);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
function announce() {
|
|
23
|
+
var text = [];
|
|
24
|
+
var priority = 'polite';
|
|
25
|
+
var announcement;
|
|
26
|
+
var il = announcements.length;
|
|
27
|
+
for (var i = 0; i < il; i++) {
|
|
28
|
+
announcement = announcements.pop();
|
|
29
|
+
text.unshift(announcement.text);
|
|
30
|
+
if (announcement.priority === 'assertive') {
|
|
31
|
+
priority = 'assertive';
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
if (text.length) {
|
|
35
|
+
liveElement.innerHTML = '';
|
|
36
|
+
liveElement.setAttribute('aria-busy', 'true');
|
|
37
|
+
liveElement.setAttribute('aria-live', priority);
|
|
38
|
+
liveElement.innerHTML = text.join('\n');
|
|
39
|
+
liveElement.setAttribute('aria-busy', 'false');
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
Drupal.announce = function (text, priority) {
|
|
43
|
+
announcements.push({
|
|
44
|
+
text: text,
|
|
45
|
+
priority: priority
|
|
46
|
+
});
|
|
47
|
+
return debounce(announce, 200)();
|
|
48
|
+
};
|
|
49
|
+
})(Drupal, Drupal.debounce);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file
|
|
3
|
+
* Visual styles for animated throbber.
|
|
4
|
+
*
|
|
5
|
+
* @see autocomplete.js
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
.js input.form-autocomplete {
|
|
9
|
+
background-image: url(../../../../misc/throbber-inactive.png);
|
|
10
|
+
background-repeat: no-repeat;
|
|
11
|
+
background-position: 100% center; /* LTR */
|
|
12
|
+
}
|
|
13
|
+
.js[dir="rtl"] input.form-autocomplete {
|
|
14
|
+
background-position: 0% center;
|
|
15
|
+
}
|
|
16
|
+
.js input.form-autocomplete.ui-autocomplete-loading {
|
|
17
|
+
background-image: url(../../../../misc/throbber-active.gif);
|
|
18
|
+
background-position: 100% center; /* LTR */
|
|
19
|
+
}
|
|
20
|
+
.js[dir="rtl"] input.form-autocomplete.ui-autocomplete-loading {
|
|
21
|
+
background-position: 0% center;
|
|
22
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* jQuery UI Autocomplete 1.13.2
|
|
3
|
+
* http://jqueryui.com
|
|
4
|
+
*
|
|
5
|
+
* Copyright jQuery Foundation and other contributors
|
|
6
|
+
* Released under the MIT license.
|
|
7
|
+
* http://jquery.org/license
|
|
8
|
+
*
|
|
9
|
+
* http://api.jqueryui.com/autocomplete/#theming
|
|
10
|
+
*/
|
|
11
|
+
.ui-autocomplete {
|
|
12
|
+
position: absolute;
|
|
13
|
+
top: 0;
|
|
14
|
+
left: 0;
|
|
15
|
+
cursor: default;
|
|
16
|
+
}
|