Play videos in meteor cordova android app


#1

I am using video.js to play videos on web. But, the video player doesn’t work on android. Do you know anyone who has been able to play videos successfully on android app?
Thanks.


#2

@nikhildaga

Have you found any solution for the above query??


#3

if you can use <input type="file"> you can get blob URL and play it html5 video

var file = event.currentTarget.files[0];

var blobURL = (URL || webkitURL).createObjectURL(file);

$(‘video’).attr(‘src’, blobURL);