I have the path of a video file with me, how do I read that file so that i can play that video file inside my app
Windows.Storage.StorageFile.getFileFromPathAsync(filePath).done(function (complete) {
console.log('complete ' + complete);
var video = $('<video>');
video[0].src = URL.createObjectURL(complete);
}, function (error) {
console.log('error ' + error);
}, function (progress) {
console.log('progress ' + progress);
});
It always poduces error WINRTErroe file access denied
mayanklohani