0

I am using Ionic3 with videogular2.

App that i developed is a e-learning app that provides video tutorials to the users. It has feature to download videos so that user can use the app offline. I used fileTransfer plugin to download files and file plugin to provide paths and checking files.

Files are getting downloaded correctly without any problems, the problem is after download i am unable to access the file through my app's player(videogular2) while in android it works fine without any problems.

tried different solutions but nothing worked. 1.trial1 2.trial2 3.trial3.Thanks in advance

NRaghavendra
  • 126
  • 1
  • 7

1 Answers1

-1

Try once this.file.externalRootDirectory instead of this.file.dataDirectory

For storage related details please visit here

https://github.com/apache/cordova-plugin-file#where-to-store-files

Karnan Muthukumar
  • 1,843
  • 1
  • 8
  • 15