@byomakase/omakase-player 0.3.4 → 0.8.0

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.
Files changed (70) hide show
  1. package/README.md +29 -10
  2. package/dist/audio/audio-controller.d.ts +0 -4
  3. package/dist/common/component.d.ts +0 -3
  4. package/dist/common/style-adapter.d.ts +0 -3
  5. package/dist/common/styles-provider.d.ts +0 -3
  6. package/dist/constants.d.ts +15 -0
  7. package/dist/dom/dom-controller.d.ts +0 -3
  8. package/dist/events.d.ts +15 -0
  9. package/dist/http.d.ts +15 -0
  10. package/dist/index.d.ts +15 -0
  11. package/dist/omakase-player.cjs.js +37 -37
  12. package/dist/omakase-player.cjs.js.map +1 -1
  13. package/dist/omakase-player.d.ts +15 -0
  14. package/dist/omakase-player.es.js +4128 -4138
  15. package/dist/omakase-player.es.js.map +1 -1
  16. package/dist/omakase-player.umd.js +36 -36
  17. package/dist/omakase-player.umd.js.map +1 -1
  18. package/dist/subtitles/subtitles-controller.d.ts +0 -3
  19. package/dist/timeline/audio-track/audio-track-lane-item.d.ts +15 -0
  20. package/dist/timeline/audio-track/audio-track-lane.d.ts +15 -0
  21. package/dist/timeline/audio-track/index.d.ts +15 -0
  22. package/dist/timeline/index.d.ts +15 -0
  23. package/dist/timeline/marker/index.d.ts +15 -0
  24. package/dist/timeline/marker/marker-handle.d.ts +15 -0
  25. package/dist/timeline/marker/marker-lane.d.ts +15 -0
  26. package/dist/timeline/marker/marker.d.ts +15 -0
  27. package/dist/timeline/marker/moment-marker.d.ts +16 -0
  28. package/dist/timeline/marker/period-marker.d.ts +15 -0
  29. package/dist/timeline/playhead-hover.d.ts +15 -0
  30. package/dist/timeline/playhead.d.ts +15 -0
  31. package/dist/timeline/scrollbar.d.ts +15 -0
  32. package/dist/timeline/scrubber-lane.d.ts +15 -0
  33. package/dist/timeline/subtitles/index.d.ts +15 -0
  34. package/dist/timeline/subtitles/subtitles-lane-item.d.ts +15 -0
  35. package/dist/timeline/subtitles/subtitles-lane.d.ts +15 -0
  36. package/dist/timeline/thumbnail/index.d.ts +15 -0
  37. package/dist/timeline/thumbnail/thumbnail-lane.d.ts +15 -0
  38. package/dist/timeline/thumbnail/thumbnail.d.ts +15 -0
  39. package/dist/timeline/timecode-display.d.ts +15 -0
  40. package/dist/timeline/timeline-lane.d.ts +15 -0
  41. package/dist/timeline/timeline.d.ts +15 -0
  42. package/dist/track/audio-vtt-file.d.ts +15 -0
  43. package/dist/track/subtitles-vtt-file.d.ts +15 -0
  44. package/dist/track/subtitles-vtt-track.d.ts +15 -0
  45. package/dist/track/thumbnail-vtt-file.d.ts +15 -0
  46. package/dist/track/track.d.ts +15 -0
  47. package/dist/track/vtt-file.d.ts +15 -0
  48. package/dist/types/common.d.ts +15 -0
  49. package/dist/types/events.d.ts +15 -0
  50. package/dist/types/index.d.ts +15 -0
  51. package/dist/types/model.d.ts +15 -0
  52. package/dist/types/track.d.ts +15 -0
  53. package/dist/types/types.d.ts +15 -0
  54. package/dist/types/vtt.d.ts +15 -0
  55. package/dist/util/animation-util.d.ts +15 -0
  56. package/dist/util/color-util.d.ts +15 -0
  57. package/dist/util/error-util.d.ts +15 -0
  58. package/dist/util/frame-util.d.ts +15 -0
  59. package/dist/util/image-util.d.ts +15 -0
  60. package/dist/util/object-util.d.ts +15 -0
  61. package/dist/util/observable-util.d.ts +15 -0
  62. package/dist/util/shape-util.d.ts +15 -0
  63. package/dist/util/time-util.d.ts +15 -0
  64. package/dist/util/window-util.d.ts +15 -0
  65. package/dist/validators.d.ts +15 -0
  66. package/dist/video/playback-state.d.ts +15 -0
  67. package/dist/video/video-controller.d.ts +15 -0
  68. package/dist/video/video-hls-controller.d.ts +15 -0
  69. package/dist/video/video.d.ts +19 -2
  70. package/package.json +1 -1
@@ -13,9 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  *
16
- * Includes rxjs <https://github.com/ReactiveX/rxjs>
17
- * Available under Apache License Version 2.0
18
- * <https://github.com/ReactiveX/rxjs/blob/master/LICENSE.txt>
19
16
  */
20
17
  import { SubtitlesVttTrack } from "../track/subtitles-vtt-track";
21
18
  import { Destroyable, OmakaseTextTrack, OmakaseTextTrackCue, SubtitlesCreateEvent, SubtitlesEvent, SubtitlesVttTrackConfig } from "../types";
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import { BaseComponent, ComponentConfig, ComponentConfigStyleComposed } from "../../common/component";
2
17
  import Konva from "konva";
3
18
  import { Dimension, HasRectMeasurement, Position, RectMeasurement } from "../../common/measurement";
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import { BaseTimelineLane, TimelaneLaneConfig, TimelineLaneStyle } from "../timeline-lane";
2
17
  import Konva from "konva";
3
18
  import { Subject } from "rxjs";
@@ -1 +1,16 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  export { AudioTrackLane } from './audio-track-lane';
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  export type { TimelaneLane } from './timeline-lane';
2
17
  export * from "./marker";
3
18
  export * from "./subtitles";
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  export type { Marker } from "./marker";
2
17
  export { MarkerLane } from "./marker-lane";
3
18
  export { MomentMarker } from "./moment-marker";
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import { BaseComponent, Component, ComponentConfig } from "../../common/component";
2
17
  import Konva from "konva";
3
18
  import { OnMeasurementsChange, Position, VerticalMeasurement } from "../../common/measurement";
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import { GenericMarker } from "./marker";
2
17
  import Konva from "konva";
3
18
  import { BaseTimelineLane, TimelaneLaneConfig, TimelineLaneStyle } from "../timeline-lane";
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import { OnMeasurementsChange } from "../../common/measurement";
2
17
  import { BaseComponent, Component, ComponentConfig } from "../../common/component";
3
18
  import Konva from "konva";
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import Konva from "konva";
2
17
  import { BaseMarker, MarkerConfig, MarkerStyle } from "./marker";
3
18
  import { MomentMarkerChangeEvent, MomentObservation } from "../../types";
@@ -18,6 +33,7 @@ export interface MomentMarkerStyle extends MarkerStyle {
18
33
  }
19
34
  export interface MomentMarkerConfig extends MarkerConfig<MomentObservation, MomentMarkerStyle> {
20
35
  }
36
+ /** @ignore */
21
37
  export declare class MomentMarker extends BaseMarker<MomentObservation, MomentMarkerConfig, MomentMarkerStyle, MomentMarkerChangeEvent> {
22
38
  private markerHandle;
23
39
  constructor(config: ComponentConfigStyleComposed<MomentMarkerConfig>);
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import Konva from "konva";
2
17
  import { BaseMarker, MarkerConfig, MarkerStyle } from "./marker";
3
18
  import { PeriodMarkerChangeEvent, PeriodObservation } from "../../types";
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import { BaseComponent, ComponentConfig, ComponentConfigStyleComposed } from "../common/component";
2
17
  import Konva from "konva";
3
18
  import { OnMeasurementsChange } from "../common/measurement";
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import { BaseComponent, ComponentConfig, ComponentConfigStyleComposed } from "../common/component";
2
17
  import Konva from "konva";
3
18
  import { OnMeasurementsChange } from "../common/measurement";
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import { BaseComponent, ComponentConfig, ComponentConfigStyleComposed } from "../common/component";
2
17
  import Konva from "konva";
3
18
  import { HasRectMeasurement, HorizontalMeasurement, OnMeasurementsChange, Position, RectMeasurement } from "../common/measurement";
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import Konva from "konva";
2
17
  import { BaseTimelineLane, TimelaneLaneConfig, TimelineLaneStyle } from "./timeline-lane";
3
18
  import { Subject } from "rxjs";
@@ -1 +1,16 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  export { SubtitlesLane } from './subtitles-lane';
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import { BaseComponent, ComponentConfig, ComponentConfigStyleComposed } from "../../common/component";
2
17
  import Konva from "konva";
3
18
  import { Dimension, HasRectMeasurement, HorizontalMeasurement, OnMeasurementsChange, Position, RectMeasurement } from "../../common/measurement";
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import { BaseTimelineLane, TimelaneLaneConfig, TimelineLaneStyle } from "../timeline-lane";
2
17
  import Konva from "konva";
3
18
  import { Subject } from "rxjs";
@@ -1 +1,16 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  export { ThumbnailLane } from './thumbnail-lane';
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import Konva from "konva";
2
17
  import { Thumbnail } from "./thumbnail";
3
18
  import { Subject } from "rxjs";
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import { BaseComponent, ComponentConfig, ComponentConfigStyleComposed } from "../../common/component";
2
17
  import Konva from "konva";
3
18
  import { Dimension, HasRectMeasurement, OnMeasurementsChange, Position, RectMeasurement } from "../../common/measurement";
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import { BaseComponent, ComponentConfig, ComponentConfigStyleComposed } from "../common/component";
2
17
  import Konva from "konva";
3
18
  import { HasRectMeasurement, OnMeasurementsChange, Position, RectMeasurement } from "../common/measurement";
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import { BaseComponent, Component, ComponentConfig } from "../common/component";
2
17
  import Konva from "konva";
3
18
  import { Dimension, OnMeasurementsChange, Position, RectMeasurement } from "../common/measurement";
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import { BaseComponent, ComponentConfig, ComponentConfigStyleComposed } from "../common/component";
2
17
  import Konva from "konva";
3
18
  import { ScrollableHorizontally, Scrollbar } from "./scrollbar";
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import { BaseOmakaseVttFile, VttCueParsed } from "./vtt-file";
2
17
  import { AudioVttCue } from "../types";
3
18
  import { Observable } from "rxjs";
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import { BaseOmakaseVttFile, VttCueParsed } from "./vtt-file";
2
17
  import { SubtitlesVttCue } from "../types";
3
18
  import { Observable } from "rxjs";
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import { BaseOmakaseTrack } from "./track";
2
17
  import { SubtitlesVttCue, SubtitlesVttTrackConfig } from "../types";
3
18
  export declare class SubtitlesVttTrack extends BaseOmakaseTrack<SubtitlesVttCue> {
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import { BaseOmakaseVttFile, VttCueParsed } from "./vtt-file";
2
17
  import { ThumbnailVttCue } from "../types";
3
18
  import { Observable } from "rxjs";
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import { OmakaseTextTrack, OmakaseTextTrackCue, OmakaseTrackConfig } from "../types";
2
17
  export declare abstract class BaseOmakaseTrack<T extends OmakaseTextTrackCue> implements OmakaseTextTrack<T> {
3
18
  id: string;
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import { Observable } from "rxjs";
2
17
  import { OmakaseVttCue, OmakaseVttFile } from "../types";
3
18
  import { AxiosRequestConfig } from "axios";
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  export interface Comparable<T> {
2
17
  compareTo(o: T): number;
3
18
  }
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import { Position } from "../common/measurement";
2
17
  import { MomentObservation, PeriodObservation } from "./model";
3
18
  import { Thumbnail } from "../timeline/thumbnail/thumbnail";
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023 ByOmakase, LLC (https://byomakase.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  export * from "./common";
2
17
  export * from "./events";
3
18
  export * from "./model";