I have a problem using ExoPlayer 1.52.
I try open mp4 video, it will be loaded but black video appear, sometimes it's started but i don't know how.
What's problem ?
Thanks.
Raffaele
I try open mp4 video, it will be loaded but black video appear, sometimes it's started but i don't know how.
What's problem ?
Thanks.
Raffaele
Main:
#Region Project Attributes
#ApplicationLabel: B4A Example
#VersionCode: 1
#VersionName:
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: unspecified
#CanInstallToExternalStorage: False
#MultiDex: True
#End Region
#Region Activity Attributes
#FullScreen: False
#IncludeTitle: false
#End Region
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Private xui As XUI
Private player1 As SimpleExoPlayer
End Sub
Sub Globals
'These global variables will be redeclared each time the activity is created.
Private exp1 As SimpleExoPlayerView
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("panelpagamentonew")
player1.Initialize("player1")
player1.Prepare(player1.CreateLoopSource(player1.CreateFileSource(File.DirAssets,"video1.mp4"),-1))
exp1.Player = player1
player1.Play
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub Player_Ready
Log("Ready")
End Sub
Sub Player_Error (Message As String)
Log("Error: " & Message)
End Sub
Sub Player_Complete
End Sub