android - Phonegap Video plugin? -


when creating video plugin following link phonegap video plugin working & executing fine. here particular video saving our internal storage & playing. want need play video directly without saving internal or external storage. tried, getting error in simulator sorry,this video cannot played. don't know doing mistake. can please me this.

waiting reply & in advance....

code:

//in button onclick="show()" method passing particular url....       function show()     {    window.plugins.videoplayer.play("file:///android_asset/www/bigbuckbunny.mp4");     } 

okay videoplayer can play videos 3 different types:

1) sd card

file:///sdcard/bigbuckbunny.mp4 

which play directly sd card. sd card on android open privileges application able access file.

2) assets

file:///android_asset/www/bigbuckbunny.mp4 

the app can access assets own. in order videoplayer app, start via intent, access video copy temporary location on sd card.

3) http

http://www.bigbuckbunny.com/bigbuckbunny.mp4 

the video player stream video.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -