Issue
I am trying to play one SWF (flash) file in my application deployed on Android 4.2.2. When I save the file on file system, and open it with browser, it works well. But when I try to open the same in webview in my application, it does not play the swf. It just shows a broken file type small image. I have searched stack for the proper answer but any answer I found here is very old and not working for me, this must be because of the non-support of swf on new android version. I have also tried after installing the old flash player, but it shows just the first frame of swf.
Solution
webview.getSettings().setPluginsEnabled(true);
Credits to joren: Load an SWF into a WebView
Answered By - shkschneider
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.