@shotstack/shotstack-studio 1.2.1 → 1.3.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.
- package/dist/core/entities/{player.d.ts → base/player.d.ts} +3 -3
- package/dist/core/entities/index.d.ts +14 -0
- package/dist/core/entities/{audio-player.d.ts → players/audio-player.d.ts} +4 -4
- package/dist/core/entities/{html-player.d.ts → players/html-player.d.ts} +4 -4
- package/dist/core/entities/{image-player.d.ts → players/image-player.d.ts} +4 -4
- package/dist/core/entities/{luma-player.d.ts → players/luma-player.d.ts} +4 -4
- package/dist/core/entities/{shape-player.d.ts → players/shape-player.d.ts} +4 -4
- package/dist/core/entities/players/text-player.d.ts +19 -0
- package/dist/core/entities/{video-player.d.ts → players/video-player.d.ts} +4 -4
- package/dist/core/entities/{edit.d.ts → system/edit.d.ts} +7 -7
- package/dist/core/entities/{inspector.d.ts → system/inspector.d.ts} +1 -1
- package/dist/core/entities/text/text-cursor.d.ts +47 -0
- package/dist/core/entities/text/text-editor.d.ts +43 -0
- package/dist/core/entities/text/text-input-handler.d.ts +54 -0
- package/dist/core/export/video-exporter.d.ts +1 -1
- package/dist/core/inputs/controls.d.ts +1 -1
- package/dist/core/loaders/asset-loader.d.ts +2 -1
- package/dist/core/shotstack-canvas.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/shotstack-studio.es.js +2412 -2000
- package/dist/shotstack-studio.umd.js +8 -6
- package/package.json +1 -1
- package/readme.md +7 -6
- package/dist/core/entities/text-player.d.ts +0 -18
- /package/dist/core/entities/{entity.d.ts → base/entity.d.ts} +0 -0
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -16,6 +16,13 @@ Try Shotstack Studio in your preferred framework:
|
|
|
16
16
|
[](https://stackblitz.com/edit/shotstack-studio-angular?file=src%2Fmain.ts)
|
|
17
17
|
[](https://stackblitz.com/edit/shotstack-studio-nextjs?file=app%2Fpage.tsx)
|
|
18
18
|
|
|
19
|
+
## Features
|
|
20
|
+
|
|
21
|
+
- Create video compositions with multiple tracks and clips
|
|
22
|
+
- WYSIWYG text editing
|
|
23
|
+
- Use in conjunction with the [Shotstack Edit API](https://shotstack.io/docs/guide/getting-started/hello-world-using-curl/) to render video
|
|
24
|
+
- Export to video using browser-based FFmpeg
|
|
25
|
+
|
|
19
26
|
## Installation
|
|
20
27
|
|
|
21
28
|
```bash
|
|
@@ -68,12 +75,6 @@ Your HTML should include a container with the `data-shotstack-studio` attribute:
|
|
|
68
75
|
<div data-shotstack-studio></div>
|
|
69
76
|
```
|
|
70
77
|
|
|
71
|
-
## Features
|
|
72
|
-
|
|
73
|
-
- Create video compositions with multiple tracks and clips
|
|
74
|
-
- Use in conjunction with the [Shotstack Edit API](https://shotstack.io/docs/guide/getting-started/hello-world-using-curl/) to render video
|
|
75
|
-
- Export to video using browser-based FFmpeg
|
|
76
|
-
|
|
77
78
|
## Main Components
|
|
78
79
|
|
|
79
80
|
### Edit
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { type Size } from "../layouts/geometry";
|
|
2
|
-
import { type Clip } from "../schemas/clip";
|
|
3
|
-
import type { Edit } from "./edit";
|
|
4
|
-
import { Player } from "./player";
|
|
5
|
-
/**
|
|
6
|
-
* TODO: Add constants for text defaults
|
|
7
|
-
*/
|
|
8
|
-
export declare class TextPlayer extends Player {
|
|
9
|
-
private background;
|
|
10
|
-
private text;
|
|
11
|
-
constructor(timeline: Edit, clipConfiguration: Clip);
|
|
12
|
-
load(): Promise<void>;
|
|
13
|
-
update(deltaTime: number, elapsed: number): void;
|
|
14
|
-
draw(): void;
|
|
15
|
-
dispose(): void;
|
|
16
|
-
getSize(): Size;
|
|
17
|
-
protected getFitScale(): number;
|
|
18
|
-
}
|
|
File without changes
|