Skip to content Skip to sidebar Skip to footer

How To Pass The Value To Html5 Video Tag Src Attribute In Android Phonegap Using Javascript/jquery?

I created videoplayer in android phonegap using video tag in html5. I containted 10 link.when I click that any one of the linkvalue of that link is passed into src attribute of vid

Solution 1:

The video tag is broken in the WebView class on Android. In order to work around this issie I created a VideoPlayer plugin for PhoneGap Android.

http://simonmacdonald.blogspot.com/2011/11/video-player-plugin-for-phonegap.html

Solution 2:

cant u do a

$('#id').attr('src', linkvalue)

? this would pass the src to the video tag which would render the video

Post a Comment for "How To Pass The Value To Html5 Video Tag Src Attribute In Android Phonegap Using Javascript/jquery?"