Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49083

Don't work show file

$
0
0

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:///

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”,

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>