Hi,
When I click a button the MainButtonClick evenHandler is being invoked. If the path is:
a) local path => spinnerPanel is dispayed immediately and after that PlayFullScreenMovie
b) url => spinnerPanel is displayed after 15 secunds and after that immediately PlayFullScreenMovie
c) When I remove PlayFullScreenMovie, the spinnerPanel is displayed immediately.
d) When I remove spinnerPanel, the PlayFullScreenMovie with url is is displayed after 15 secunds
I need to get rid of those 15 secund, because in the meantime user can click the button twice and those cause other issue in the application. Could You please explain this behaviour and how to fix it?
private void MainButtonClick() {
var spinnerPanel = SpinnerPanel.Instance(); //this is my custom image with loading icon
spinnerPanel.Show();
var path = localPath != null? localPath: url;
Handheld.PlayFullScreenMovie(
path,
Color.black,
FullScreenMovieControlMode.Minimal,
FullScreenMovieScalingMode.AspectFit);
}