pick video using ionic 3 native camera plugin

前端 未结 1 1070
囚心锁ツ
囚心锁ツ 2021-01-14 21:43
this.camera.getPicture({
      quality: 50,
      destinationType: this.camera.DestinationType.DATA_URL,
      mediaType: this.camera.MediaType.VIDEO,
      sourceTy         


        
相关标签:
1条回答
  • 2021-01-14 22:33

    Working with Android you need to correct your URL.

    You should use the resolveNativePath when you choose a video from the library.

    More docs you can find here:

    https://ionicframework.com/docs/native/file-path/

    0 讨论(0)
提交回复
热议问题