Video Editor
Edit videos using native device APIs
联系我们?

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.
Ionic 视频编辑 Video Editor插件的安装(Installation)
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
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));