tariqyounis Active Member Licensed User Longtime User Aug 29, 2021 #1 Hell all; I am taking a video from by using CamEx2 and I am saving it to File.DirRootExternal . I would like to play the video by using the following code: Code: Copy Private Sub btnShow_LongClick vv.Initialize("vv") Rootp.AddView(vv, 10dip, 10dip, 250dip, 250dip) vv.LoadVideo(Main.VideoFileDir, "pic1.mp4") vv.Play End Sub but I am getting can't play this video Click to expand... any idea what to do?
Hell all; I am taking a video from by using CamEx2 and I am saving it to File.DirRootExternal . I would like to play the video by using the following code: Code: Copy Private Sub btnShow_LongClick vv.Initialize("vv") Rootp.AddView(vv, 10dip, 10dip, 250dip, 250dip) vv.LoadVideo(Main.VideoFileDir, "pic1.mp4") vv.Play End Sub but I am getting can't play this video Click to expand... any idea what to do?
Erel B4X founder Staff member Licensed User Longtime User Aug 30, 2021 #2 Don't use File.DirRootExternal. Use File.DirInternal or XUI.DefaultFolder. I also don't recommend using VideoView. ExoPlayer is 100 times more powerful. Upvote 0
Don't use File.DirRootExternal. Use File.DirInternal or XUI.DefaultFolder. I also don't recommend using VideoView. ExoPlayer is 100 times more powerful.