04-29-2013 09:53 AM
i have a problem here,
I am loading 2 htmls as part of my application.
1. index.html with a video which plays first .
2. after index.html i load on video play end home.html.
problem here is, before index.html loads i can use rim:splash in bb10
after index.html, before loading home.html i get a black screen , as it takes time in loading home.html as home.html as lot of sections and js files to load.
how to avoid this black screen before loading my home.html.
please help me out.
Solved! Go to Solution.
04-30-2013 10:00 AM
The black screen you are seeing is caused by not having any content to display to your user before it is available. You can either first show an activity indicator to let your users know something is happening (example: https://github.com/blackberry/bbUI.js/wiki/Activit
Time to focus on performance best practices. Check out this awesome resource for tips: http://browserdiet.com/
You mention you have a lot of JS files to load - make sure they are not blocking your UI, and that they are being loaded after page content is first displayed (otherwise your users are stuck waiting).
04-30-2013 11:07 AM
by moving video tag as a section under home.html you can resolve this issue :-)