文档模板:v0.4.2

react-native-create-thumbnail

本项目基于 react-native-create-thumbnail 开发。

该第三方库的仓库已迁移至 GitCode,且支持直接从 npm 下载,新的包名为:@react-native-ohos/react-native-create-thumbnail,版本所属关系如下:

三方库名称 三方库版本(npm地址) 发布信息 支持RN版本 Autolink 编译API版本 社区基线版本 源码地址
@react-native-ohos/react-native-create-thumbnail ~2.3.0(开发中) GitCode Releases 0.84.* 是 API12+ 2.2.0 master
@react-native-ohos/react-native-create-thumbnail ~2.2.0 GitCode Releases 0.82.* 是 API12+ 2.0.1 br_rnoh0.82
@react-native-ohos/react-native-create-thumbnail 2.1.0 GitCode Releases 0.77.* 否 API12+ 2.0.1 br_rnoh0.77
@react-native-ohos/react-native-create-thumbnail ~2.0.1 GitCode Releases 0.72.* 是 API12+ 2.0.0 br_rnoh0.72
@react-native-oh-tpl/react-native-create-thumbnail <= 2.0.0-0.0.4@deprecated GitHub Releases(deprecated) 0.72.* 否 API12+ 2.0.0 sig

简介

React Native 视频缩略图生成库。
基于 HarmonyOS 媒体能力实现视频缩略图生成,支持本地和远程视频文件,带存储/缓存管理。

下载安装

进入到工程目录并输入以下命令:

npm

npm install react-native-create-thumbnail@2.0.1
npm install @react-native-ohos/react-native-create-thumbnail

yarn

yarn add react-native-create-thumbnail@2.0.1
yarn add @react-native-ohos/react-native-create-thumbnail