Flutter教程

Video Editor

Contents

Edit videos using native device APIs

https://github.com/jbavari/cordova-plugin-video-editor

联系我们?

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic's experts offer official maintenance, support, and integration help.

Contact Us Today!

Ionic 视频编辑 Video Editor插件的安装(Installation)

ionic cordova plugin add cordova-plugin-video-editor npm install @ionic-native/video-editor
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
ionic enterprise register --key=YOURPRODUCTKEY npm install @ionic-enterprise/video-editor

Ionic 视频编辑 Video Editor插件支持的平台(Supported Platforms)

  • Android
  • iOS
  • Windows
  • Windows Phone 8

Ionic 视频编辑 Video Editor插件的用法(Usage)

import { VideoEditor } from '@ionic-native/video-editor/ngx';

constructor(private videoEditor: VideoEditor) { }

...

this.videoEditor.transcodeVideo({
  fileUri: '/path/to/input.mov',
  outputFileName: 'output.mp4',
  outputFileType: VideoEditor.OutputFileType.MPEG4
})
.then((fileUri: string) => console.log('video transcode success', fileUri))
.catch((error: any) => console.log('video transcode error', error));