eligius 1.0.1 → 1.0.3
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 +281 -4
- package/dist/action/endable-action.d.ts +1 -1
- package/dist/configuration/types.d.ts +2 -2
- package/dist/controllers/metadata/{EventListenerController.d.ts → event-listener-controller.d.ts} +1 -1
- package/dist/controllers/metadata/index.d.ts +7 -0
- package/dist/controllers/metadata/{LabelController.d.ts → label-controller.d.ts} +1 -1
- package/dist/controllers/metadata/{LottieController.d.ts → lottie-controller.d.ts} +1 -1
- package/dist/controllers/metadata/{NavigationController.d.ts → navigation-controller.d.ts} +1 -1
- package/dist/controllers/metadata/{ProgressbarController.d.ts → progressbar-controller.d.ts} +1 -1
- package/dist/controllers/metadata/{RoutingController.d.ts → routing-controller.d.ts} +1 -1
- package/dist/controllers/metadata/{SubtitlesController.d.ts → subtitles-controller.d.ts} +1 -1
- package/dist/eligius-engine.d.ts +27 -31
- package/dist/eligius.cjs.development.js +2935 -2700
- package/dist/eligius.cjs.development.js.map +1 -1
- package/dist/eligius.cjs.production.min.js +1 -1
- package/dist/eligius.cjs.production.min.js.map +1 -1
- package/dist/eligius.esm.js +3541 -3310
- package/dist/eligius.esm.js.map +1 -1
- package/dist/eventbus/types.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/operation/add-class.d.ts +6 -0
- package/dist/operation/add-controller-to-element.d.ts +6 -1
- package/dist/operation/add-globals-to-operation.d.ts +7 -0
- package/dist/operation/animate-with-class.d.ts +8 -0
- package/dist/operation/animate.d.ts +7 -0
- package/dist/operation/broadcast-event.d.ts +7 -0
- package/dist/operation/clear-element.d.ts +3 -0
- package/dist/operation/clear-operation-data.d.ts +4 -0
- package/dist/operation/create-element.d.ts +8 -0
- package/dist/operation/custom-function.d.ts +7 -0
- package/dist/operation/end-action.d.ts +6 -0
- package/dist/operation/end-loop.d.ts +8 -1
- package/dist/operation/extend-controller.d.ts +3 -0
- package/dist/operation/get-controller-from-element.d.ts +6 -0
- package/dist/operation/get-controller-instance.d.ts +10 -0
- package/dist/operation/get-element-dimensions.d.ts +19 -1
- package/dist/operation/get-import.d.ts +8 -1
- package/dist/operation/helper/get-element-data.d.ts +1 -0
- package/dist/operation/helper/merge-operation-data.d.ts +1 -1
- package/dist/operation/helper/modify-dimensions.d.ts +19 -1
- package/dist/operation/load-json.d.ts +10 -0
- package/dist/operation/log.d.ts +6 -0
- package/dist/operation/metadata/add-globals-to-operation.d.ts +2 -2
- package/dist/operation/metadata/types.d.ts +11 -3
- package/dist/operation/remove-class.d.ts +6 -0
- package/dist/operation/remove-controller-from-element.d.ts +6 -0
- package/dist/operation/remove-element.d.ts +6 -0
- package/dist/operation/remove-properties-from-operation-data.d.ts +6 -0
- package/dist/operation/reparent-element.d.ts +7 -0
- package/dist/operation/request-action.d.ts +7 -0
- package/dist/operation/resize-action.d.ts +6 -0
- package/dist/operation/select-element.d.ts +12 -0
- package/dist/operation/set-element-attributes.d.ts +7 -1
- package/dist/operation/set-element-content.d.ts +13 -1
- package/dist/operation/set-operation-data.d.ts +7 -0
- package/dist/operation/set-style.d.ts +9 -2
- package/dist/operation/start-action.d.ts +10 -0
- package/dist/operation/start-loop.d.ts +10 -0
- package/dist/operation/toggle-class.d.ts +6 -0
- package/dist/operation/toggle-element.d.ts +6 -0
- package/dist/operation/types.d.ts +1 -1
- package/dist/operation/wait.d.ts +9 -0
- package/dist/timelineproviders/index.d.ts +0 -1
- package/dist/{test/unit/operation → util}/apply-operation.d.ts +1 -1
- package/package.json +89 -96
- package/CHANGELOG.md +0 -11
package/README.md
CHANGED
|
@@ -1,10 +1,287 @@
|
|
|
1
1
|
# Eligius
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A Javascript engine that allows arbitrary functionality to be triggered according to a given timeline provider. A timeline provider can be a video, an audio file, a request animation frame loop, etc.
|
|
4
4
|
|
|
5
5
|
The engine can be the basis for video annotations, presentation software or interactive infographics, for example.
|
|
6
6
|
|
|
7
|
+
## description
|
|
8
|
+
|
|
9
|
+
The main concepts in Eligius are timelines, actions and operations. A timeline can be played, paused, stopped and scrubbed through.
|
|
10
|
+
|
|
11
|
+
Actions can be called on specified points on such a timeline. An action consists of a list of start and end operations.
|
|
12
|
+
|
|
13
|
+
An operation is an atomic function. A context, for sharing data, is passed between each successive operation. Examples of operations are `select-element`, `create-element` or `add-class`. [Here is a complete list of all available operations.](https://github.com/rolandzwaga/eligius/tree/dev/src/operation)
|
|
14
|
+
By composing these atomic operations complex functionality can be achieved.
|
|
15
|
+
|
|
16
|
+
An example of an action is adding an removing an image from the stage at specific times. This action would consist of these start operations: `select-element`(to select the image parent), `create-element`(to create the img element with the required src attribute) and `set-element-contents`(to add the img element to the previously selected parent).
|
|
17
|
+
The end operations would be: `select-element`(to select the parent again) and `clear-element`(to remove the img element).
|
|
18
|
+
|
|
19
|
+
A more comprehensive example could be, for example, a rich subtitling system for a videoplayer where the videoplayer acts as the timeline provider and Eligius is used to render the subtitles on top of it.
|
|
20
|
+
|
|
21
|
+
## configuration
|
|
22
|
+
|
|
23
|
+
The Eligius engine is populated by a JSON configuration. Think of this JSON as its file format. This configuration contains all of the timelines, actions, operations and other data for the engine to run. A JSON schema for this configuration can be found [here](https://github.com/rolandzwaga/eligius/blob/dev/jsonschema/eligius-configuration.json).
|
|
24
|
+
|
|
25
|
+
This section describes the different parts of this configuration.
|
|
26
|
+
|
|
27
|
+
### systemName property
|
|
28
|
+
|
|
29
|
+
In the rest of this section the property name `systemName` will be shown often. The value of this property describes a named import.
|
|
30
|
+
Currently one resource importer is supported: [`WebpackResourceImporter`](https://github.com/rolandzwaga/eligius/blob/dev/src/importer/webpack-resource-importer.ts)
|
|
31
|
+
|
|
32
|
+
### engine
|
|
33
|
+
|
|
34
|
+
The engine setting defines the engine for which this configuration is written. Currently there is only one option here, but this might change in the future. The engine block could, for example, also contain a version number.
|
|
35
|
+
|
|
36
|
+
```json
|
|
37
|
+
{
|
|
38
|
+
...
|
|
39
|
+
"engine": {
|
|
40
|
+
"systemName": "EligiusEngine"
|
|
41
|
+
}
|
|
42
|
+
...
|
|
43
|
+
}
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### timeline provider settings
|
|
47
|
+
|
|
48
|
+
```json
|
|
49
|
+
{
|
|
50
|
+
...
|
|
51
|
+
"timelineProviderSettings": {
|
|
52
|
+
"animation": {
|
|
53
|
+
"vendor": "eligius",
|
|
54
|
+
"systemName": "RequestAnimationFrameTimelineProvider"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
...
|
|
58
|
+
}
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
These settings describe the providers that are availab;e for the different kinds of timelines.
|
|
62
|
+
There are three kinds: `audio`, `video` and `animation`.
|
|
63
|
+
For `audio` and `video` either the `JwPlayerTimelineProvider` or `MediaElementTimelineProvider` can be used, for `animation` there is `RequestAnimationFrameTimelineProvider`.
|
|
64
|
+
|
|
65
|
+
### container selector
|
|
66
|
+
|
|
67
|
+
This is a jQuery selector that points to the root element where the engine will render its output.
|
|
68
|
+
|
|
69
|
+
```json
|
|
70
|
+
{
|
|
71
|
+
...
|
|
72
|
+
"containerSelector": "#some-element-id"
|
|
73
|
+
...
|
|
74
|
+
}
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### available languages
|
|
78
|
+
|
|
79
|
+
Eligius aims to be fully multi lingual. This setting describes the different languages that are used within the current presentation.
|
|
80
|
+
|
|
81
|
+
```json
|
|
82
|
+
{
|
|
83
|
+
...
|
|
84
|
+
"availableLanguages": [
|
|
85
|
+
{
|
|
86
|
+
"code": "en-US",
|
|
87
|
+
"label": "English"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"code": "nl-NL",
|
|
91
|
+
"label": "Nederlands"
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
...
|
|
95
|
+
}
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### language
|
|
99
|
+
|
|
100
|
+
This defines the default language, the value needs to equal one of the `code` values in the `availableLanguages` properties.
|
|
101
|
+
|
|
102
|
+
```json
|
|
103
|
+
{
|
|
104
|
+
...
|
|
105
|
+
"language": "en-US"
|
|
106
|
+
...
|
|
107
|
+
}
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
### layout template
|
|
111
|
+
|
|
112
|
+
This can contain a string representing a block of HTML that will be rendered into the element defined by container selector. This HTML should contain the main (or initial) layout for the presentation.
|
|
113
|
+
|
|
114
|
+
```json
|
|
115
|
+
{
|
|
116
|
+
...
|
|
117
|
+
"layoutTemplate": "<div class=\"some-class\"><section><header>My header</header></section><div class=\"main\"></div></div>"
|
|
118
|
+
...
|
|
119
|
+
}
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
### init actions
|
|
123
|
+
|
|
124
|
+
The actions defined in this array will be executed during initialisation and tear down of the engine. During initialisation the start operations are executed and during tear down the end operations.
|
|
125
|
+
Use these, for example, to load data, render global UI, etc.
|
|
126
|
+
|
|
127
|
+
```json
|
|
128
|
+
{
|
|
129
|
+
...
|
|
130
|
+
"initActions": [
|
|
131
|
+
...
|
|
132
|
+
{
|
|
133
|
+
"name": "some name",
|
|
134
|
+
"startOperations": [
|
|
135
|
+
...
|
|
136
|
+
{
|
|
137
|
+
"systemName": "selectElement",
|
|
138
|
+
"operationData": {
|
|
139
|
+
"selector": "#main-title"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
...
|
|
143
|
+
],
|
|
144
|
+
"endOperations": [...]
|
|
145
|
+
}
|
|
146
|
+
...
|
|
147
|
+
]
|
|
148
|
+
...
|
|
149
|
+
}
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### actions
|
|
153
|
+
|
|
154
|
+
This is a list of actions that are not directly associated with initialisation, tear down or time line positions. These can be executed from within another action.
|
|
155
|
+
|
|
156
|
+
```json
|
|
157
|
+
{
|
|
158
|
+
...
|
|
159
|
+
"actions": [
|
|
160
|
+
...
|
|
161
|
+
{
|
|
162
|
+
"name": "some name",
|
|
163
|
+
"startOperations": [
|
|
164
|
+
...
|
|
165
|
+
{
|
|
166
|
+
"systemName": "selectElement",
|
|
167
|
+
"operationData": {
|
|
168
|
+
"selector": "#main-title"
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
...
|
|
172
|
+
],
|
|
173
|
+
}
|
|
174
|
+
...
|
|
175
|
+
]
|
|
176
|
+
...
|
|
177
|
+
}
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
### timelines
|
|
181
|
+
|
|
182
|
+
This block defines a list of timelines with its associated actions. This part of the configuration contains the brunt of a presentation since this defines all of the actions that are triggered along each timeline position.
|
|
183
|
+
|
|
184
|
+
```json
|
|
185
|
+
{
|
|
186
|
+
...
|
|
187
|
+
"timelines": [
|
|
188
|
+
"type": "animation",
|
|
189
|
+
"uri": "animation-01",
|
|
190
|
+
"duration": 45,
|
|
191
|
+
"loop": true,
|
|
192
|
+
"selector": ".timeline-div",
|
|
193
|
+
"timelineActions": [
|
|
194
|
+
...
|
|
195
|
+
{
|
|
196
|
+
"name": "ShowSomething",
|
|
197
|
+
"duration": {
|
|
198
|
+
"start": 7,
|
|
199
|
+
"end": 32
|
|
200
|
+
},
|
|
201
|
+
"startOperations": [...],
|
|
202
|
+
"endOperations": [...],
|
|
203
|
+
}
|
|
204
|
+
...
|
|
205
|
+
]
|
|
206
|
+
]
|
|
207
|
+
...
|
|
208
|
+
}
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
### event actions
|
|
212
|
+
|
|
213
|
+
This a list of actions that can be triggered by an event broadcast. Since an event doesn't have a tear down phase, these actions can only have a list of start operations.
|
|
214
|
+
|
|
215
|
+
```json
|
|
216
|
+
{
|
|
217
|
+
...
|
|
218
|
+
"eventActions": [
|
|
219
|
+
...
|
|
220
|
+
{
|
|
221
|
+
"name": "some name",
|
|
222
|
+
"startOperations": [...],
|
|
223
|
+
}
|
|
224
|
+
...
|
|
225
|
+
]
|
|
226
|
+
...
|
|
227
|
+
}
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
### labels
|
|
231
|
+
|
|
232
|
+
A list of label information that describes all of the textual content for the presentation.
|
|
233
|
+
Labels can be rendered by the [`LabelController`](https://github.com/rolandzwaga/eligius/blob/dev/src/controllers/label-controller.ts). This controller listens for the appropriate language change events as well, and will change the contents of the element it controls accordingly.
|
|
234
|
+
|
|
235
|
+
```json
|
|
236
|
+
{
|
|
237
|
+
"labels": [
|
|
238
|
+
{
|
|
239
|
+
"id": "mainTitle",
|
|
240
|
+
"labels": [
|
|
241
|
+
{
|
|
242
|
+
"code": "en-US",
|
|
243
|
+
"label": "This is the main title"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"code": "nl-NL",
|
|
247
|
+
"label": "Dit is de hoofdtitel"
|
|
248
|
+
}
|
|
249
|
+
]
|
|
250
|
+
}
|
|
251
|
+
]
|
|
252
|
+
}
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
## Running the engine
|
|
256
|
+
|
|
257
|
+
Running the engine is a matter of loading the configuration and feeding it to an engine instance.
|
|
258
|
+
|
|
259
|
+
```javascript
|
|
260
|
+
import { IEngineConfiguration, EngineFactory, WebpackResourceImporter } from 'eligius';
|
|
261
|
+
import * as engineConfig from './my-eligius-config.json';
|
|
262
|
+
|
|
263
|
+
const factory = new EngineFactory(new WebpackResourceImporter(), window);
|
|
264
|
+
|
|
265
|
+
const engine = factory.createEngine((engineConfig as unknown) as IEngineConfiguration);
|
|
266
|
+
|
|
267
|
+
engine.init().then(()=> {console.log('Eligius engine ready for business');});
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
## installation
|
|
271
|
+
|
|
272
|
+
```sh
|
|
273
|
+
npm install eligius
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
or
|
|
277
|
+
|
|
278
|
+
```sh
|
|
279
|
+
yarn add eligius
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
## development
|
|
283
|
+
|
|
7
284
|
- To install first get Yarn: https://yarnpkg.com
|
|
8
|
-
- Then open up a command prompt in the project root and run
|
|
9
|
-
- Use
|
|
10
|
-
- Use
|
|
285
|
+
- Then open up a command prompt in the project root and run `yarn`
|
|
286
|
+
- Use `yarn test` to run the unit tests (tests use UVU)
|
|
287
|
+
- Use `yarn build` to create a production library bundle
|
|
@@ -5,5 +5,5 @@ import { Action } from './action';
|
|
|
5
5
|
export declare class EndableAction extends Action {
|
|
6
6
|
endOperations: IResolvedOperation[];
|
|
7
7
|
constructor(name: string, startOperations: IResolvedOperation[], endOperations: IResolvedOperation[], eventBus: IEventbus);
|
|
8
|
-
end(initOperationData?: TOperationData): Promise<TOperationData>;
|
|
8
|
+
end(initOperationData?: TOperationData): Promise<TOperationData | undefined>;
|
|
9
9
|
}
|
|
@@ -65,7 +65,7 @@ export interface ITimelineConfiguration {
|
|
|
65
65
|
export interface IOperationConfiguration {
|
|
66
66
|
id: string;
|
|
67
67
|
systemName: string;
|
|
68
|
-
operationData
|
|
68
|
+
operationData?: TOperationData;
|
|
69
69
|
}
|
|
70
70
|
export interface IEventActionConfiguration extends IActionConfiguration {
|
|
71
71
|
eventName: string;
|
|
@@ -90,5 +90,5 @@ export interface IResolvedOperation {
|
|
|
90
90
|
id: string;
|
|
91
91
|
systemName: string;
|
|
92
92
|
operationData: TOperationData;
|
|
93
|
-
instance: TOperation
|
|
93
|
+
instance: TOperation<any>;
|
|
94
94
|
}
|
package/dist/controllers/metadata/{EventListenerController.d.ts → event-listener-controller.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IEventListenerControllerOperationData } from '
|
|
1
|
+
import { IEventListenerControllerOperationData } from '../event-listener-controller';
|
|
2
2
|
import { IControllerMetadata } from './types';
|
|
3
3
|
declare function EventListenerController(): IControllerMetadata<IEventListenerControllerOperationData>;
|
|
4
4
|
export default EventListenerController;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './event-listener-controller';
|
|
2
|
+
export * from './label-controller';
|
|
3
|
+
export * from './lottie-controller';
|
|
4
|
+
export * from './navigation-controller';
|
|
5
|
+
export * from './progressbar-controller';
|
|
6
|
+
export * from './routing-controller';
|
|
7
|
+
export * from './subtitles-controller';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ILabelControllerMetadata } from '
|
|
1
|
+
import { ILabelControllerMetadata } from '../label-controller';
|
|
2
2
|
import { IControllerMetadata } from './types';
|
|
3
3
|
declare function LabelController(): IControllerMetadata<ILabelControllerMetadata>;
|
|
4
4
|
export default LabelController;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ILottieControllerMetadata } from '
|
|
1
|
+
import { ILottieControllerMetadata } from '../lottie-controller';
|
|
2
2
|
import { IControllerMetadata } from './types';
|
|
3
3
|
declare function LottieController(): IControllerMetadata<ILottieControllerMetadata>;
|
|
4
4
|
export default LottieController;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { INavigationControllerOperationData } from '
|
|
1
|
+
import { INavigationControllerOperationData } from '../navigation-controller';
|
|
2
2
|
import { IControllerMetadata } from './types';
|
|
3
3
|
declare function NavigationController(): IControllerMetadata<INavigationControllerOperationData>;
|
|
4
4
|
export default NavigationController;
|
package/dist/controllers/metadata/{ProgressbarController.d.ts → progressbar-controller.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IProgressbarControllerOperationData } from '
|
|
1
|
+
import { IProgressbarControllerOperationData } from '../progressbar-controller';
|
|
2
2
|
import { IControllerMetadata } from './types';
|
|
3
3
|
declare function ProgressbarController(): IControllerMetadata<IProgressbarControllerOperationData>;
|
|
4
4
|
export default ProgressbarController;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IRoutingControllerOperationData } from '
|
|
1
|
+
import { IRoutingControllerOperationData } from '../routing-controller';
|
|
2
2
|
import { IControllerMetadata } from './types';
|
|
3
3
|
declare function RoutingController(): IControllerMetadata<IRoutingControllerOperationData>;
|
|
4
4
|
export default RoutingController;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ISubtitlesControllerOperationData } from '
|
|
1
|
+
import { ISubtitlesControllerOperationData } from '../subtitles-controller';
|
|
2
2
|
import { IControllerMetadata } from './types';
|
|
3
3
|
declare function SubtitlesController(): IControllerMetadata<ISubtitlesControllerOperationData>;
|
|
4
4
|
export default SubtitlesController;
|
package/dist/eligius-engine.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { IEndableAction, ITimelineAction } from './action/types';
|
|
2
1
|
import { IResolvedEngineConfiguration } from './configuration/types';
|
|
3
2
|
import { IEventbus } from './eventbus/types';
|
|
4
3
|
import { LanguageManager } from './language-manager';
|
|
5
|
-
import { TOperation } from './operation/types';
|
|
6
4
|
import { ITimelineProvider } from './timelineproviders/types';
|
|
7
|
-
import { IEligiusEngine, ITimelineProviderInfo, TimelineTypes
|
|
5
|
+
import { IEligiusEngine, ITimelineProviderInfo, TimelineTypes } from './types';
|
|
8
6
|
/**
|
|
9
7
|
* EligiusEngine, this is where the magic happens. The engine is responsible for starting and stopping
|
|
10
8
|
* the given timeline provider and triggering the actions associated with it.
|
|
@@ -22,34 +20,32 @@ export declare class EligiusEngine implements IEligiusEngine {
|
|
|
22
20
|
private _lastPosition;
|
|
23
21
|
constructor(configuration: IResolvedEngineConfiguration, eventbus: IEventbus, timelineProviders: Record<TimelineTypes, ITimelineProviderInfo>, _languageManager: LanguageManager);
|
|
24
22
|
init(): Promise<ITimelineProvider>;
|
|
25
|
-
_createLayoutTemplate
|
|
26
|
-
_initializeTimelineProvider
|
|
27
|
-
_cleanUp
|
|
23
|
+
private _createLayoutTemplate;
|
|
24
|
+
private _initializeTimelineProvider;
|
|
25
|
+
private _cleanUp;
|
|
28
26
|
destroy(): Promise<void>;
|
|
29
|
-
_addInitialisationListeners
|
|
30
|
-
_createTimelineLookup
|
|
31
|
-
_addTimelineAction
|
|
32
|
-
_initializeUriLookup
|
|
33
|
-
_initializeTimelinePosition
|
|
34
|
-
_executeActions
|
|
35
|
-
_handleRequestEngineRoot
|
|
27
|
+
private _addInitialisationListeners;
|
|
28
|
+
private _createTimelineLookup;
|
|
29
|
+
private _addTimelineAction;
|
|
30
|
+
private _initializeUriLookup;
|
|
31
|
+
private _initializeTimelinePosition;
|
|
32
|
+
private _executeActions;
|
|
33
|
+
private _handleRequestEngineRoot;
|
|
36
34
|
_handleRequestTimelineUri(uri: string, position?: number, previousVideoPosition?: number): Promise<void>;
|
|
37
|
-
_cleanUpTimeline
|
|
38
|
-
_executeStartActions
|
|
39
|
-
_getActionsForPosition
|
|
40
|
-
_getActiveActions
|
|
41
|
-
_executeRelevantActions
|
|
42
|
-
_handleRequestTimelinePosition
|
|
43
|
-
_handleTimelineComplete
|
|
44
|
-
_handleExecuteTimelineAction
|
|
45
|
-
_resizeTimelineAction
|
|
46
|
-
_getRelevantTimelineActions
|
|
47
|
-
_requestCurrentTimeline
|
|
48
|
-
_getTimelineActionsForUri
|
|
49
|
-
_onTimeHandler
|
|
50
|
-
_onSeekHandler
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
_executeActionsForPosition(position: number): void;
|
|
54
|
-
_executeSeekActions(pos: number): Promise<void>;
|
|
35
|
+
private _cleanUpTimeline;
|
|
36
|
+
private _executeStartActions;
|
|
37
|
+
private _getActionsForPosition;
|
|
38
|
+
private _getActiveActions;
|
|
39
|
+
private _executeRelevantActions;
|
|
40
|
+
private _handleRequestTimelinePosition;
|
|
41
|
+
private _handleTimelineComplete;
|
|
42
|
+
private _handleExecuteTimelineAction;
|
|
43
|
+
private _resizeTimelineAction;
|
|
44
|
+
private _getRelevantTimelineActions;
|
|
45
|
+
private _requestCurrentTimeline;
|
|
46
|
+
private _getTimelineActionsForUri;
|
|
47
|
+
private _onTimeHandler;
|
|
48
|
+
private _onSeekHandler;
|
|
49
|
+
private _executeActionsForPosition;
|
|
50
|
+
private _executeSeekActions;
|
|
55
51
|
}
|