android


why webview not perform any action onclick of video in it?


I have read RSS and get html string like at http://pastebin.com/eWQ6gUe2 which i display in webview so all images and decription will show but for video link either it show only black part or first frame of video with showing play button on it and onclick of that nothing happen so how to play video from that and why for some video link it show black part.
i have used this code for
webview mWebView = (WebView) findViewById(R.id.webView);
mWebView.getSettings().setJavaScriptEnabled(true);
mWebView.getSettings().setJavaScriptCanOpenWindowsAutomatically(false);
mWebView.getSettings().setSupportZoom(false);
mWebView.setHorizontalScrollBarEnabled(false);
mWebView.getSettings().setPluginState(PluginState.ON_DEMAND);
mWebView.getSettings().setLayoutAlgorithm(LayoutAlgorithm.SINGLE_COLUMN);
mWebView.loadData(detail_des, "text/css","utf-8");
where detail_des contain html string
Thanx in advance.
Hope for your regards.
If you're Android version is >= 3.0, have you declare
android:hardwareAccelerated="true"

Related Links

Camera access error on some android devices
How to access or translate text in Vector Drawables
How to make ksoap2 android library get and send the session cookie
Retrofit2: #Path parameter in OkHttp Interceptor
“Process system isn't responding.Do u want to close it? ” on Android TV
npm libraries gives Error when Installing
E/wifidirectdemo(20281): bind failed: EADDRINUSE (Address already in use)
Set Theme to Fragment
Why google play showing support for just 40 to 45 percent devices
Android Retrofit 2.0 Refresh Tokens
Android studio - Can't find newly added internal assets
android ndk:fatal error: corkscrew/backtrace.h: No such file or directory
How to cancel Google Play store listing update?
Adding same images to linearlayout inside relativelayout programmatically
How to open an image in the gallery in Unity3D
Firebase Auth Didn't find class “com.google.android.gms.dynamite.descriptors.com.google.firebase.auth.ModuleDescriptor”

Categories

HOME
kentico
jpa
merge
alexa-skills-kit
static
jelastic
package
devise
xbee
big-o
onclick
echo
octave
vimdiff
heap
java.util.logging
spring-social
docx
package-managers
lilypond
simpleitk
exploit
google-api-client
game-theory
exchangewebservices
user-defined-functions
tizen-tv
event-flow
kudu
memory-address
jett
android-maps-extensions
html-encode
imx6
roblox
engine.io
android-augmented-reality
naming
apache-spark-dataset
uiimage
procfile
jboss-4.2.x
automapper-5
vugen
arq
headless
skin
boo
arules
reshape
objectscript
filenet
renaming
javafx-css
rocks
seek
myspace
resourcemanager
rspec2
observablecollection
embedding
freepbx
kango-framework
mediametadataretriever
php-socket
kiosk
ikiwiki
thread-sleep
piracy-prevention
mirror
user-permissions
fits
rrule
public-html
paw
encryption-asymmetric
dot42
spring-remoting
android-audiorecord
windows-phone-8-sdk
jeromq
dolby-audio-api
stacky
patricia-trie
inkcanvas
predicatebuilder
w3c-geolocation
opml
sifr
django-piston
filesystemobject
httpcookie
change-management
mathematical-typesetting

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App