Hi, I have to play videos in streaming mode and VideoView gives this opportunity. The problem is that there is no OnPrepared event to start properly the play action: sometimes it plays the video and sometimes not.
Looking at the Thread "VideoView Buffer Loading Percentage And VideoView Controls Skin" there are some interesting answers: first calling the Java Onprepared directly, but it works well in debug mode and not in release mode. In that thread it's exposed another library (VideoViewPlus) that implements the events for this job, but trying it with the given sample it triggers me always the error event 1 (-8000000) that means "unspecified error".
I'm using B4A 6.30 and I've tried to run the sample both with API 19 and API 21...but it never works.
Any suggestion?
thank you
Roberto
Looking at the Thread "VideoView Buffer Loading Percentage And VideoView Controls Skin" there are some interesting answers: first calling the Java Onprepared directly, but it works well in debug mode and not in release mode. In that thread it's exposed another library (VideoViewPlus) that implements the events for this job, but trying it with the given sample it triggers me always the error event 1 (-8000000) that means "unspecified error".
I'm using B4A 6.30 and I've tried to run the sample both with API 19 and API 21...but it never works.
Any suggestion?
thank you
Roberto