B4A Library EasyVideoPlayer

This is a wrap for this github project.

EasyVideoPlayer
Author:
DonManfred (wrapper)
Version: 1.51
  • EasyVideoPlayer
    Events:
    • onBuffering (percent As Int)
    • onCompletion ( As )
    • onError (error As String)
    • onPrepared ( As )
    • onPreparing ( As )
    • onRetry (source As Uri)
    • onSubmit (source As Uri)
    • onVideoProgressUpdate (position As Int, duration As Int)
    Fields:
    • LEFT_ACTION_NONE As Int
    • LEFT_ACTION_RESTART As Int
    • LEFT_ACTION_RETRY As Int
    • RIGHT_ACTION_CUSTOM_LABEL As Int
    • RIGHT_ACTION_NONE As Int
    • RIGHT_ACTION_SUBMIT As Int
    • ba As BA
    Methods:
    • BringToFront
    • DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map)
    • Initialize (EventName As String)
    • Invalidate
    • Invalidate2 (arg0 As Rect)
    • Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
    • IsInitialized As Boolean
    • RemoveView
    • RequestFocus As Boolean
    • SendToBack
    • SetBackgroundImage (arg0 As Bitmap)
    • SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
    • SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
    • SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
    • SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
    • disableControls
    • enableControls (andShow As Boolean)
    • hideControls
    • isControlsShown As Boolean
    • isPlaying As Boolean
    • isPrepared As Boolean
    • pause
    • release
    • reset
    • seekTo (pos As Int)
    • showControls
    • start
    • stop
    • toggleControls
    Permissions:
    • android.permission.ACCESS_NETWORK_STATE
    • android.permission.INTERNET
    Properties:
    • AutoPlay As Boolean [write only]
    • Background As Drawable
    • BottomLabelText As CharSequence [write only]
    • Color As Int [write only]
    • CurrentPosition As Int [read only]
    • CustomLabelText As CharSequence [write only]
    • Duration As Int [read only]
    • Enabled As Boolean
    • Height As Int
    • HideControlsOnPlay As Boolean [write only]
    • InitialPosition As Int [write only]
    • Left As Int
    • LeftAction As Int [write only]
    • Parent As Object [read only]
    • PauseDrawable As Drawable [write only]
    • PauseDrawableRes As String [write only]
    • PlayDrawable As Drawable [write only]
    • PlayDrawableRes As String [write only]
    • RestartDrawable As Drawable [write only]
    • RestartDrawableRes As String [write only]
    • RetryText As CharSequence [write only]
    • RightAction As Int [write only]
    • Source As String [write only]
    • SubmitText As CharSequence [write only]
    • Tag As Object
    • ThemeColor As Int [write only]
    • Top As Int
    • Visible As Boolean
    • Width As Int
 

Attachments

  • evpex.zip
    18.3 KB · Views: 789
  • EasyVideoPlayerLIB.zip
    26.7 KB · Views: 730
  • JAVAsrc.zip
    12.7 KB · Views: 606

DonManfred

Expert
Licensed User
Longtime User
yes, could be
 
Top