Open FariJan opened 4 years ago
Hello FariJan did you find a solution to this ? Have the same issue here (working with Nativescript-Vue + Typescript) and didn't manage to fix it with the stackoverflow solutions ^^
I used the fork Videorecorder X https://market.nativescript.org/plugins/nativescript-videorecorder-x No problem with this
Great I will try this, thank you @FariJan :)
Hi again @FariJan , may I ask if you are able (and how) using Nativescript Vue+ Typescript to call the method .startRecording() in the App script ?
@ElieSol yes
...
<AdvancedVideoView
ref="cameraView" ...
...
<script lang="ts">
//...//
import NativeViewElement from "@/interfaces/NativeViewElement";
import {AdvancedVideoView} from "nativescript-videorecorder-x/advanced";
//...//
@Component
export default class RecordVideo extends Vue {
videoRecorder:AdvancedVideoView;
onLoaded(){
this.videoRecorder = (<NativeViewElement>this.$refs['cameraView']).nativeView as AdvancedVideoView;
//...//
this.videoRecorder.startRecording();
@FariJan Thank you very much !! This helps a lot :)
On start my app crashes with following Error-Log:
Found this on Stackoverflow https://stackoverflow.com/a/59376041/10947127 but have no idea how to use this or if it could help.
Which platform(s) does my issue occur on?
Version numbers that my issue occurs with:
how to recreate the issue in as much detail as possible.
Is there any code involved?
main.ts
App.vue