UNPKG

@googleforcreators/media

Version:

Functionality for creating and working with media resources in the Web Stories editor.

10 lines 443 B
/** * Returns an image of the first frame of a given video. * * @see https://github.com/ampproject/amp-wp/blob/c5fba13dd17d4f713c9889d26898aec6091e421b/assets/src/stories-editor/helpers/uploadVideoFrame.js#L10-L39 * @param src Video src URL. * @return The extracted image. */ declare function getFirstFrameOfVideo(src: string): Promise<Blob | null>; export default getFirstFrameOfVideo; //# sourceMappingURL=getFirstFrameOfVideo.d.ts.map