Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VideoRecorder plugin is not implemented on android #52

Open
Michel-HaiRUn opened this issue May 10, 2023 · 4 comments
Open

VideoRecorder plugin is not implemented on android #52

Michel-HaiRUn opened this issue May 10, 2023 · 4 comments

Comments

@Michel-HaiRUn
Copy link

node version: v14.21.1
plugin version: ^5.0.0

i used it on vue project with capacitor

in main.js i imported as

import '@teamhive/capacitor-video-recorder';

(tried it to in my component that use the plugin but the same issue occur)

so i in my component

import { VideoRecorderCamera } from '@teamhive/capacitor-video-recorder';

const { VideoRecorder } = Plugins;

const config = {
    id: 'video-record',
    stackPosition: 'front', // 'front' overlays your app', 'back' places behind your app.
    width: 'fill',
    height: 'fill',
    x: 0,
    y: 0,
    borderRadius: 0
};
await VideoRecorder.initialize({
    camera: VideoRecorderCamera.FRONT, // Can use BACK
    previewFrames: [config]
});

and in my alert error i got Error: "VideoRecorder" plugin is not implemented on android

@Michel-HaiRUn Michel-HaiRUn changed the title VideoRecorder plugin is not implemented on andoid VideoRecorder plugin is not implemented on android May 10, 2023
@opunbuds
Copy link

+1

1 similar comment
@bazuka5801
Copy link

+1

@bazuka5801
Copy link

bazuka5801 commented Aug 29, 2023

@Michel-HaiRUn @opunbuds I published this repo as npm package with Android support!!! 💯
You can use it in package.json
I think this repo is a fork, it is 100% compatible and I don't have any differences.

{
    "@teamhive/capacitor-video-recorder": "npm:@bazuka5801/[email protected]",
}

@mfon-ukobo
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants