I have saved a "test.mov" in ..\B4i\Files\Special folder
I want to pack this small mov file and bundle with the app and play this video on application start
vv.LoadVideoUrl works fine but I am not sure how can I play a local file..?
How can specify the path for per example below (vv.loadVideo) for special folder location?
Also, I want the video to play in the behind buttons and controls, currently the buttons are hiding behind the video, I want to bring buttons to the foreground.
Thanks,
I want to pack this small mov file and bundle with the app and play this video on application start
vv.LoadVideoUrl works fine but I am not sure how can I play a local file..?
How can specify the path for per example below (vv.loadVideo) for special folder location?
Also, I want the video to play in the behind buttons and controls, currently the buttons are hiding behind the video, I want to bring buttons to the foreground.
Thanks,
B4X:
Page1.Initialize("Page1")
Page1.RootPanel.LoadLayout("1")
vv.Initialize("vv")
Page1.RootPanel.AddView(vv.View, 0, 0, 50%x, 50%y)
vv.ShowControls = True
NavControl.ShowPage(Page1)
vv.Stop
vv.LoadVideo(?,"test.mov")
vv.Play
btnStart.CustomLabel.Font = Font.CreateNew2("ANF", 50)
btnStop.CustomLabel.Font = Font.CreateNew2("ANF", 50)