Android Question Player.swf and WebView

MarcoRome

Expert
Licensed User
Longtime User
Hi all.

I'm trying to watch a movie that uses player.swf. After following the link:

http://www.b4x.com/android/forum/threads/problems-with-webview-and-flash-player.38118/#post-225732

I have some doubts:

1) When i have to pause the movie have same problems. Example it does not stop.

2) If the movie work in portrait, after i turn in ladscape the first movie ( portrait ) will not stop. In this way, i hear a double sound ( echo ) ...

This is the code used:

B4X:
Sub Globals
    Dim pURL As String
    Private WebView1 As WebView
    Dim partenza As Int
End Sub
 
Sub Activity_Create(FirstTime As Boolean)
    Activity.LoadLayout("dom2") ' Here i have only WebView
 
        pURL = "http://rutube.ru/player.swf?hash=5859719&referer"
        WebView1.ZoomEnabled = False
        WebView1.LoadURL(pURL)
 End Sub
 
Sub Activity_Resume
 End Sub
 
Sub Activity_Pause (UserClosed As Boolean)
End Sub


Tips ??
There are other ways to do the same ?

Thank's
 
Top