I can’t find any references.
I only use it in the mp4 extension, and my video uses the h264 codec to encode the video and AAC encoding The decoder is used for the audio codec.
In Android, I used a Phonegap plugin from github called web Intent (https://github.com/phonegap/phonegap-plugins/tree/ master/Android/WebIntent), its usage example is as follows:
window.plugins.webintent.startActivity({
action: WebIntent.ACTION_VIEW,
url :'http"//yourVideo.mp4'},
function() {console.log('Is wirking :D!');},
function() {console.log('Failed to open the URL :( !!');}
);
Resources:
http://diveintohtml5.info/(html5 / ipad / iphone) p>
http://www.808.dk/?code-html-5-video(html5 / ipad / iphone)
h ttp://smus.com/android-phonegap-plugins(Android)
How to display video in the PhoneGap application of iPad?
I can’t find any reference.
In the case of Ipad, you should use the html 5 video tag, which The usage example is as follows:
I only use it in mp4 extension, my video uses h264 codec to encode video and AAC codec is used for audio codec.
In Android, I used a Phonegap plugin from github called web Intent (https://github.com/phonegap/phonegap-plugins/tree/master/Android/WebIntent), and its usage example is as follows:
window.plugins.webintent.startActivity({
action: WebIntent.ACTION_VIEW,
url:'http"//yourVideo.mp4'},
function() {console.log('Is wirking :D!');},
function() {console.log('Failed to open the URL :( !!');}< br /> );
Resources:
http://diveintohtml5.info/(html5 / ipad / iphone)
http://www.808 .dk/?code-html-5-video(html5 / ipad / iphone)
http://smus.com/android-phonegap-plugins(Android)
< p>