# Don't work show file

**URL:** <https://forum.ionicframework.com/t/dont-work-show-file/198074>\
**Category:** Ionic Framework\
**Created:** [October 17, 2020, 8:00pm UTC](https://forum.ionicframework.com/t/dont-work-show-file/198074 "2020-10-17T20:00:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mottax97](https://avatars.discourse-cdn.com/v4/letter/m/48db29/32.png) [@Mottax97](https://forum.ionicframework.com/u/Mottax97)\
**Post date:** [October 17, 2020, 8:00pm UTC](https://forum.ionicframework.com/t/dont-work-show-file/198074/1 "2020-10-17T20:00:21Z")

</div>

When i get file with plugins camera,chooser etc and transform data.uri to filepath with filePath.resolveNativePath and put in openfiler or streaming not show  
\_path is (file:///

```auto
startvideo()
let options: StreamingVideoOptions = {
successCallback: () => { console.log("Success") },
errorCallback: (error) => {
console.log("Video Start Fail")
console.log(error)
},
orientation: 'portrait',
shouldAutoClose: true,
controls: true
}
this.streamingMedia.playVideo(_path, options);

```

result MediaPlayer Error: Unknown (0) 1  
on pdf  
result sucess  
but not show  
image  
loading ifinite  
When I teste with file external is success.  
not work on device Redmi 8 Pro  
versions  
android-cordova:9  
cordova 10  
ionic -v 6.12.0  
“@ionic-native/camera”: “^5.28.0”,  
“@ionic-native/chooser”: “^5.28.0”,  
“@ionic-native/core”: “^5.28.0”,

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [October 17, 2020, 8:57pm UTC](https://forum.ionicframework.com/t/dont-work-show-file/198074/2 "2020-10-17T20:57:51Z")

</div>

Is there a specific reason you’re not just using an ordinary `<video>` element?

---

<div class="post-metadata">

**Author:** ![Mottax97](https://avatars.discourse-cdn.com/v4/letter/m/48db29/32.png) [@Mottax97](https://forum.ionicframework.com/u/Mottax97)\
**Post date:** [October 18, 2020, 2:33pm UTC](https://forum.ionicframework.com/t/dont-work-show-file/198074/3 "2020-10-18T14:33:55Z")

</div>

no, I find my problem, that’s plugin not work on android \>= 9

---

<div class="post-metadata">

**Author:** ![Mottax97](https://avatars.discourse-cdn.com/v4/letter/m/48db29/32.png) [@Mottax97](https://forum.ionicframework.com/u/Mottax97)\
**Post date:** [October 19, 2020, 7:55pm UTC](https://forum.ionicframework.com/t/dont-work-show-file/198074/4 "2020-10-19T19:55:01Z")

</div>

When i use video, show me on console promise): object: {“error”:“requestpermission”,“message”:“unknown error.”}
