D devmobile Active Member Licensed User Sep 8, 2017 #1 I use below code B4X: player1.Initialize("player") player1.Prepare(player1.CreateUriSource(Configuration.Base_URL & "files/gallery/" & Gallery.Get("sFilename"))) videoview.Player = player1 It is downloading video from server Maybe it take a minute But i cannot detect when it finish (finish downloading)
I use below code B4X: player1.Initialize("player") player1.Prepare(player1.CreateUriSource(Configuration.Base_URL & "files/gallery/" & Gallery.Get("sFilename"))) videoview.Player = player1 It is downloading video from server Maybe it take a minute But i cannot detect when it finish (finish downloading)
monic Active Member Licensed User Longtime User Sep 8, 2017 #2 This work for me B4X: Sub Player_Ready Log("Ready") End Sub Upvote 0
D devmobile Active Member Licensed User Sep 9, 2017 #3 Jamie8763 said: This work for me B4X: Sub Player_Ready Log("Ready") End Sub Click to expand... After download or before? Upvote 0
Jamie8763 said: This work for me B4X: Sub Player_Ready Log("Ready") End Sub Click to expand... After download or before?
monic Active Member Licensed User Longtime User Sep 9, 2017 #4 I had a look at the source and it's when playback is ready. Upvote 0
D devmobile Active Member Licensed User Sep 9, 2017 #5 Jamie8763 said: I had a look at the source and it's when playback is ready. Click to expand... Thanks,so i can use Progressbar when it start to download and when Ready event raised i can hide it,is it? Upvote 0
Jamie8763 said: I had a look at the source and it's when playback is ready. Click to expand... Thanks,so i can use Progressbar when it start to download and when Ready event raised i can hide it,is it?
DonManfred Expert Licensed User Longtime User Sep 9, 2017 #6 why a progressbar? Did you have any progressvalue to update it? Upvote 0
D devmobile Active Member Licensed User Sep 9, 2017 #7 DonManfred said: why a progressbar? Did you have any progressvalue to update it? Click to expand... No When i try to download video,i show progress view and when video downloaded,i hide progress view But i cannot detect when download is complete Upvote 0
DonManfred said: why a progressbar? Did you have any progressvalue to update it? Click to expand... No When i try to download video,i show progress view and when video downloaded,i hide progress view But i cannot detect when download is complete