@remotion/player
Advanced tools
Comparing version 4.0.244 to 4.0.245
@@ -18,3 +18,3 @@ import React from 'react'; | ||
componentDidCatch(error: Error): void; | ||
render(): string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined; | ||
render(): string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined; | ||
} |
@@ -61,9 +61,2 @@ import type { ComponentType } from 'react'; | ||
export declare const componentOrNullIfLazy: <Props>(props: CompProps<Props>) => ComponentType<Props> | null; | ||
/** | ||
* @description Creates and renders a customizable video player with various interactive controls for a React application. | ||
* @see [Documentation](https://remotion.dev/docs/player/player) | ||
* @param {PlayerProps<Schema, Props>} props The properties for configuring the player, including video specifics and UI controls. | ||
* @param {MutableRefObject<PlayerRef>} ref Reference to the player for controlling playback, volume, and other aspects. | ||
* @returns {JSX.Element} The rendered video player component. | ||
*/ | ||
export declare const Player: <Schema extends AnyZodObject, Props extends Record<string, unknown>>(props: PlayerProps<Schema, Props> & React.RefAttributes<PlayerRef>) => React.ReactElement | null; |
@@ -151,9 +151,6 @@ "use strict"; | ||
const forward = react_1.forwardRef; | ||
/** | ||
* @description Creates and renders a customizable video player with various interactive controls for a React application. | ||
* @see [Documentation](https://remotion.dev/docs/player/player) | ||
* @param {PlayerProps<Schema, Props>} props The properties for configuring the player, including video specifics and UI controls. | ||
* @param {MutableRefObject<PlayerRef>} ref Reference to the player for controlling playback, volume, and other aspects. | ||
* @returns {JSX.Element} The rendered video player component. | ||
/* | ||
* @description A component which can be rendered in a regular React App to display a Remotion video. | ||
* @see [Documentation](https://www.remotion.dev/docs/player/player) | ||
*/ | ||
exports.Player = forward(PlayerFn); |
@@ -21,6 +21,2 @@ import type { CSSProperties } from 'react'; | ||
export type ThumbnailPropsWithoutZod<Props extends Record<string, unknown>> = ThumbnailProps<AnyZodObject, Props>; | ||
/** | ||
* @description A component which can be rendered in a regular React App (for example: Next.js, Vite) to display a single frame of a video. | ||
* @see [Documentation](https://www.remotion.dev/docs/player/thumbnail) | ||
*/ | ||
export declare const Thumbnail: <Schema extends AnyZodObject, Props extends Record<string, unknown>>(props: ThumbnailProps<Schema, Props> & import("react").RefAttributes<ThumbnailMethods>) => React.ReactElement | null; |
@@ -50,6 +50,6 @@ "use strict"; | ||
const forward = react_1.forwardRef; | ||
/** | ||
* @description A component which can be rendered in a regular React App (for example: Next.js, Vite) to display a single frame of a video. | ||
/* | ||
* @description A component which can be rendered in a regular React App (for example: for example: Next.JS, Vite.js, Create React App) to display a single frame of a video. | ||
* @see [Documentation](https://www.remotion.dev/docs/player/thumbnail) | ||
*/ | ||
exports.Thumbnail = forward(ThumbnailFn); |
@@ -6,3 +6,3 @@ { | ||
"name": "@remotion/player", | ||
"version": "4.0.244", | ||
"version": "4.0.245", | ||
"description": "React component for embedding a Remotion preview into your app", | ||
@@ -32,3 +32,3 @@ "main": "dist/cjs/index.js", | ||
"dependencies": { | ||
"remotion": "4.0.244" | ||
"remotion": "4.0.245" | ||
}, | ||
@@ -48,3 +48,3 @@ "peerDependencies": { | ||
"eslint": "9.14.0", | ||
"@remotion/eslint-config-internal": "4.0.244" | ||
"@remotion/eslint-config-internal": "4.0.245" | ||
}, | ||
@@ -51,0 +51,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
503806
11075
+ Addedremotion@4.0.245(transitive)
- Removedremotion@4.0.244(transitive)
Updatedremotion@4.0.245