# Ionic version 7 Pwa apps - record video how to becuase media plugin its now not show in native plugin

**URL:** <https://forum.ionicframework.com/t/ionic-version-7-pwa-apps-record-video-how-to-becuase-media-plugin-its-now-not-show-in-native-plugin/239421>\
**Category:** Ionic Angular\
**Created:** [January 31, 2024, 12:51pm UTC](https://forum.ionicframework.com/t/ionic-version-7-pwa-apps-record-video-how-to-becuase-media-plugin-its-now-not-show-in-native-plugin/239421 "2024-01-31T12:51:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chintak1812](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/chintak1812/32/146650_2.png) [@chintak1812](https://forum.ionicframework.com/u/chintak1812)\
**Post date:** [January 31, 2024, 12:51pm UTC](https://forum.ionicframework.com/t/ionic-version-7-pwa-apps-record-video-how-to-becuase-media-plugin-its-now-not-show-in-native-plugin/239421/1 "2024-01-31T12:51:18Z")

</div>

i am working on pwa ionic 7 and angular 17. but i need some record video , with pwa but its plugin not working any idea about thier alternative plugin. community plugin only work on mobile app and not longer supported.

 ![Screenshot 2024-01-31 181656](https://global.discourse-cdn.com/ionicframework/original/3X/e/a/ead6263751bf7d3cec5c17edf347b54ddd59f759.png)  
 ![Showing Error](https://global.discourse-cdn.com/ionicframework/original/3X/4/3/4387350b7263a18bfbe978515adb32e3708c0ade.png)

---

<div class="post-metadata">

**Author:** ![julio-ionic](https://avatars.discourse-cdn.com/v4/letter/j/58956e/32.png) [@julio-ionic](https://forum.ionicframework.com/u/julio-ionic)\
**Post date:** [January 31, 2024, 1:59pm UTC](https://forum.ionicframework.com/t/ionic-version-7-pwa-apps-record-video-how-to-becuase-media-plugin-its-now-not-show-in-native-plugin/239421/2 "2024-01-31T13:59:18Z")

</div>

your problem is not that “it’s not working” but that it’s not installing.

you have dependency conflicts because you are using `@ionic-native` packages, which are deprecated, they were “renamed” to `@awesome-cordova-plugins` and that’s what you should be using

> **[A New Chapter for @ionic-native - Ionic Blog](https://ionic.io/blog/a-new-chapter-for-ionic-native)**
>
> The open source ionic-native project will be taken over by community member Daniel Sogl and it will be renamed awesome-cordova-plugins.

---

<div class="post-metadata">

**Author:** ![chintak1812](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/chintak1812/32/146650_2.png) [@chintak1812](https://forum.ionicframework.com/u/chintak1812)\
**Post date:** [February 2, 2024, 7:52am UTC](https://forum.ionicframework.com/t/ionic-version-7-pwa-apps-record-video-how-to-becuase-media-plugin-its-now-not-show-in-native-plugin/239421/3 "2024-02-02T07:52:12Z")

</div>

hi i install , awesome-cordova-plugin @media-capture , but video not record showing this error

**Error :**  
src/app/home/home.page.ts:59:9 - error TS2345: Argument of type ‘(data: MediaFile) =\> void’ is not assignable to parameter of type ‘(value: MediaFile | CaptureError) =\> void | PromiseLike’.  
Types of parameters ‘data’ and ‘value’ are incompatible.  
Type ‘MediaFile | CaptureError’ is not assignable to type ‘MediaFile’.  
Type ‘CaptureError’ is missing the following properties from type ‘MediaFile’: length, pop, push, concat, and 26 more.

59 (data: MediaFile) =\> { }  
}

**Code** : async takeVideo() {  
const options: CaptureVideoOptions = {  
limit: 1,  
duration: 30, // Set the maximum duration for the recording (in seconds)  
};  
this.mediaCapture.captureVideo(options)  
.then(  
(data: MediaFile) =\> {  
console.log(data);  
},  
(err: CaptureError) =\> console.error(err)  
);

}

---

<div class="post-metadata">

**Author:** ![twestrick](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/twestrick/32/136131_2.png) [@twestrick](https://forum.ionicframework.com/u/twestrick)\
**Post date:** [February 2, 2024, 1:31pm UTC](https://forum.ionicframework.com/t/ionic-version-7-pwa-apps-record-video-how-to-becuase-media-plugin-its-now-not-show-in-native-plugin/239421/4 "2024-02-02T13:31:54Z")

</div>

Please use proper code blocks - [Extended Syntax | Markdown Guide](https://www.markdownguide.org/extended-syntax/#fenced-code-blocks)

I don’t know anything about video recording in Capacitor but this post might be of help - [Alternative to @teamhive/capacitor-video-recorder - #2 by Bauss](https://forum.ionicframework.com/t/alternative-to-teamhive-capacitor-video-recorder/239431/2)
