Read video stored on android native storage in my Ionic app

By To Be

I am developing ionic 3 app that download videos from server to the device native storage . i used this URL to save file:

let externalDir = this.file.externalDataDirectory;

file download is fine it is downloaded and i can view it from the device.
for more details the file link in the storage is:

/storage/emulated/0/Android/data/xxxxxxxx/files/VideoTest1/0.mp4

but the problem is i want to play that downloaded video into my app using tag, i used the same link to view it but it doesn’t work. any help?

Source: Stack Overflow

    

Share it with your friends!

    Fatal error: Uncaught Exception: 12: REST API is deprecated for versions v2.1 and higher (12) thrown in /home/content/19/9652219/html/wp-content/plugins/seo-facebook-comments/facebook/base_facebook.php on line 1273