Alberto Iglesias Well-Known Member Licensed User Longtime User Feb 22, 2014 #1 Erel, Look this video, in the normal browser of android (4.0.4) is working very well, play normally but when I embedded in a webview (putting in design mode or creating webview programmatically) is showing only a gray screen. Why is this happening? Can you help me? My Code is: WebView1.Tag = "WebTV" rr.Target = WebView1 rr.Target = rr.RunMethod("getSettings") rr.RunMethod2("setPluginsEnabled", True, "java.lang.boolean") WebView1.JavaScriptEnabled = True WebView1.ZoomEnabled = True WebView1.LoadURL(pUrl) WebView1.Visible = True TV URL (pUrl) : http://www.redetv.com.br/aovivo/pla...rnapcdn.net/REDETV/live_1&rtmp.subscribe=true
Erel, Look this video, in the normal browser of android (4.0.4) is working very well, play normally but when I embedded in a webview (putting in design mode or creating webview programmatically) is showing only a gray screen. Why is this happening? Can you help me? My Code is: WebView1.Tag = "WebTV" rr.Target = WebView1 rr.Target = rr.RunMethod("getSettings") rr.RunMethod2("setPluginsEnabled", True, "java.lang.boolean") WebView1.JavaScriptEnabled = True WebView1.ZoomEnabled = True WebView1.LoadURL(pUrl) WebView1.Visible = True TV URL (pUrl) : http://www.redetv.com.br/aovivo/pla...rnapcdn.net/REDETV/live_1&rtmp.subscribe=true
giga Well-Known Member Licensed User Longtime User Feb 23, 2014 #2 Did you look at this: http://www.b4x.com/android/forum/threads/flash-player-in-webview.15134/ Upvote 0
Alberto Iglesias Well-Known Member Licensed User Longtime User Feb 23, 2014 #3 Hello Giga, I´m try put flash in webview in both options, in design mode and create programmaticly but not work... The ONLY way I got this work is putting this line in manifest SetActivityAttribute(main, android:hardwareAccelerated, "true") Now with this is working perfectly! Upvote 0
Hello Giga, I´m try put flash in webview in both options, in design mode and create programmaticly but not work... The ONLY way I got this work is putting this line in manifest SetActivityAttribute(main, android:hardwareAccelerated, "true") Now with this is working perfectly!
giga Well-Known Member Licensed User Longtime User Feb 23, 2014 #4 Excellent glad that worked. Upvote 0
Theera Well-Known Member Licensed User Longtime User Feb 24, 2014 #5 Hi Alberto or others, Do I must install the program as swf viewer in my device before? Thank you inadvance. Upvote 0
Hi Alberto or others, Do I must install the program as swf viewer in my device before? Thank you inadvance.
Alberto Iglesias Well-Known Member Licensed User Longtime User Feb 24, 2014 #6 Hello Theera, I managed to run the flash player after installing this official package of adobe. http://www.visualnet.inf.br/webnew/....0 (11.1.115.81) install_flash_player_ics.apk Upvote 0
Hello Theera, I managed to run the flash player after installing this official package of adobe. http://www.visualnet.inf.br/webnew/....0 (11.1.115.81) install_flash_player_ics.apk
Theera Well-Known Member Licensed User Longtime User Feb 24, 2014 #7 Hi Alberto or others, Please to check my source code, Which the part of the source code is wrong? It can run,but it cann't shown. Attachments TestWebViewWithFlash.zip 6 KB · Views: 541 Last edited: Feb 24, 2014 Upvote 0
Hi Alberto or others, Please to check my source code, Which the part of the source code is wrong? It can run,but it cann't shown.
Alberto Iglesias Well-Known Member Licensed User Longtime User Feb 24, 2014 #8 The URL you try is YOUTUBE, if you need play videos from Youtube, try with this library http://www.b4x.com/android/forum/threads/youtube-library.24818/ for play videos in flash, I needed to to that code. Your example if ok for flash, not for youtube. I try this link in your code, and work very well: http://www.redetv.com.br/aovivo/pla...rnapcdn.net/REDETV/live_1&rtmp.subscribe=true Upvote 0
The URL you try is YOUTUBE, if you need play videos from Youtube, try with this library http://www.b4x.com/android/forum/threads/youtube-library.24818/ for play videos in flash, I needed to to that code. Your example if ok for flash, not for youtube. I try this link in your code, and work very well: http://www.redetv.com.br/aovivo/pla...rnapcdn.net/REDETV/live_1&rtmp.subscribe=true
Alberto Iglesias Well-Known Member Licensed User Longtime User Feb 24, 2014 #9 Dim Browser AsPhoneIntents StartActivity (Browser.OpenBrowser (" h t t p://www.youtube.com/watch?v=XDsDW22dWP4")) Upvote 0
Dim Browser AsPhoneIntents StartActivity (Browser.OpenBrowser (" h t t p://www.youtube.com/watch?v=XDsDW22dWP4"))
Theera Well-Known Member Licensed User Longtime User Feb 25, 2014 #10 Alberto Iglesias said: I try this link in your code, and work very well Click to expand... It's not mine,but Margret's Upvote 0
Alberto Iglesias said: I try this link in your code, and work very well Click to expand... It's not mine,but Margret's