PhoneGap Android - Play Local Videos

Can I play Android videos stored in the www folder in PhoneGap using the HTML5 tag?

+6
source share
3 answers

Phone screen saver HTML5 Video Made easy , yes, it is possible to play videos using an Android phone android, html5

Videoplayer

0
source

if you want to play localVideo files (added to the project resources folder), you can use the FILE OPENER PLUGIN I get so that there may be problems playing the files using or or Video Player Plugin , but I successfully played all the videos. Try using this plugin.

FILE OPENER PLUGIN

0
source

This is not the best answer. But for those who still could not do this, you can use a separate Android activity for this. You can call the methods of the DroidGap class from JavaScript. But this method will violate the rules of the cross platform. Since I cannot explain every step here, refer to this link .

0
source

Source: https://habr.com/ru/post/958490/


All Articles