When I start a record with my normal cam, the B4A-videoview displays it correct.
But when I record with the B4A-VideoRecordApp my screen stay black, when I want to display???:sign0148:
But the video is recorded and the mediaplayer displays it correct.
best regards
Björn
But when I record with the B4A-VideoRecordApp my screen stay black, when I want to display???:sign0148:
But the video is recorded and the mediaplayer displays it correct.
Sub Globals
Dim rr As VideoRecordApp
Dim vv As VideoView
Dim bb As Button
End Sub
Sub Activity_Create(FirstTime As Boolean)
rr.Initialize("rr")
File.Delete(File.DirRootExternal,"t.mp4")
rr.Record(File.DirRootExternal,"t.mp4")
vv.Initialize("vv")
Activity.AddView(vv,10,10,222,333)
bb.Initialize("bb")
bb.Text="play"
Activity.AddView(bb,10,350,222,333)
End Sub
Sub bb_click
vv.LoadVideo(File.DirRootExternal,"t.mp4")
vv.Play
vv.MediaControllerEnabled=False
End Sub
best regards
Björn