If executed well, this might also fix #2.
The plan is to define data structure in "onupdateneeded", get data from YouTube and insert it in "onsuccess", and fetch the data from the database and display it in "oncomplete". If I've understood correctly the data will then finish inserting before oncomplete gets triggered.
If executed well, this might also fix #2. The plan is to define data structure in "onupdateneeded", get data from YouTube and insert it in "onsuccess", and fetch the data from the database and display it in "oncomplete". If I've understood correctly the data will then finish inserting before oncomplete gets triggered.