liuminyu2989 commented on issue #312:
URL:
https://github.com/apache/cordova-plugin-media-capture/issues/312#issuecomment-3076540034
The pictures taken with the camera can be previewed, but the videos cannot.
```
this.mediaCapture.captureVideo({
limit:ops.maxFileCount || 1,
duration:ops.maxTime
}).then((element: any[]) => {
console.log(element);
this.fileOpener.open(element[0].fullPath, element[0].type).then(() => {
resolve();
}).catch(err => {
//Run to this point
console.log(err);
reject(err);
})
}).catch(err => {
reject(err);
});
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]