@@ -130,7 +130,7 @@ export class Preview {
130
130
iframe . setAttribute ( 'height' , '100%' ) ;
131
131
iframe . setAttribute ( 'scrolling' , 'no' ) ;
132
132
iframe . setAttribute ( 'allow' , 'autoplay' ) ;
133
- iframe . setAttribute ( 'src' , `https://creatomate.com/embed?version=1.3 .0&token=${ publicToken } ` ) ;
133
+ iframe . setAttribute ( 'src' , `https://creatomate.com/embed?version=1.4 .0&token=${ publicToken } ` ) ;
134
134
iframe . style . border = 'none' ;
135
135
iframe . style . display = 'none' ;
136
136
@@ -431,7 +431,6 @@ export class Preview {
431
431
432
432
/**
433
433
* Sets the zoom state in interactive mode.
434
- * NOTE: This is an experimental setting and is likely to change in the near future.
435
434
*
436
435
* Zoom mode can be any of these values:
437
436
* - 'free': Allows the user to freely pan and zoom the canvas. The default option.
@@ -468,7 +467,9 @@ export class Preview {
468
467
* Sets a list of RegExp rules used to determine whether a video asset should be fully cached on the client's device.
469
468
* This is especially useful for large video files that take a long time to download.
470
469
* These rules do not apply to files hosted by the Creatomate CDN, because those are always cached.
471
- * NOTE: This is an experimental setting and is likely to change in the near future.
470
+ *
471
+ * The cache is disabled by default for video assets not hosted by Creatomate's CDN since @creatomate/preview version 1.4.
472
+ * You can still cache the assets with a custom RegExp list passed to this function.
472
473
*
473
474
* @param rules A list of regular expressions matched against every video URL.
474
475
* @example
0 commit comments