B4A Library videoviewExt Lib write by IceFairy

Hi,
this is my lib,It's different from the organizational one,It can zoom in video file!you can test by yourself!:sign0060:
B4X:
'Activity module
Sub Process_Globals
   'These global variables will be declared once when the application starts.
   'These variables can be accessed from all modules.

End Sub

Sub Globals
   'These global variables will be redeclared each time the activity is created.
   'These variables can only be accessed from this module.
Dim vvv As VideoViewExt
Dim pp As Phone
End Sub

Sub Activity_Create(FirstTime As Boolean)
'icemod.phone1.SetScreenOrientation(0)
vvv.Initialize("vv1")
'vve.Initialize("vve")
Log(icemod.playerfn)
vvv.LoadVideo(icemod.mypath,icemod.playerfn)
Activity.AddView(vvv,0,0,Activity.Width,Activity.Height)
vvv.Play
End Sub
Sub vv1_Complete
   Log("complete")
End Sub
Sub Activity_Resume
pp.SetScreenOrientation(0)
End Sub

Sub Activity_Pause (UserClosed As Boolean)
pp.SetScreenOrientation(1)
End Sub
 

Attachments

  • vvelib&IceFairy.zip
    11.9 KB · Views: 1,176

khwarizmi

Active Member
Licensed User
Longtime User
Does it have a buffering bar ?
 
Top