@cesdk/cesdk-js 1.8.0 → 1.9.0-preview.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/index.d.ts CHANGED
@@ -1907,6 +1907,12 @@ export declare class BlockAPI {
1907
1907
  * @returns A thumbnail encoded as PNG with a height of 128px.
1908
1908
  */
1909
1909
  getVideoFillThumbnail(id: DesignBlockId): Promise<Blob>;
1910
+ /**
1911
+ * Generate an 8x8 thumbnail atlas for the given video fill.
1912
+ * @param id - The video fill.
1913
+ * @returns A thumbnail atlas of the video as PNG.
1914
+ */
1915
+ getVideoFillThumbnailAtlas(id: DesignBlockId): Promise<Blob>;
1910
1916
  }
1911
1917
 
1912
1918
  /** @public */
@@ -2851,10 +2857,15 @@ export declare class SceneAPI {
2851
2857
  */
2852
2858
  saveToArchive(): Promise<Blob>;
2853
2859
  /**
2854
- * Create a new scene, along with its own camera.
2855
- * @returns The scenes handle.
2860
+ * Create a new design scene, along with its own camera.
2861
+ * @returns The scene's handle.
2856
2862
  */
2857
2863
  create(): DesignBlockId;
2864
+ /**
2865
+ * Create a new scene in video mode, along with its own camera and page stack.
2866
+ * @returns The scene's handle.
2867
+ */
2868
+ createVideo(): DesignBlockId;
2858
2869
  /**
2859
2870
  * Loads the given image and creates a scene with a single page showing the image.
2860
2871
  * Fetching the image may take an arbitrary amount of time, so the scene isn't immediately
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cesdk/cesdk-js",
3
- "version": "1.8.0",
3
+ "version": "1.9.0-preview.0",
4
4
  "main": "./cesdk.umd.js",
5
5
  "types": "./index.d.ts",
6
6
  "homepage": "https://www.img.ly",