Joined March 2014
·

Amod shankar

Bengaluru Area, India
·

Hello,
This is the case where the index.html file times out. I have an issue where I am trying to embed a youtube url inside a popup in my app. When internet is not present or it is slow enough, it gives an alert saying : "Couldn't load url: http://www.youtube.com/embed/...." . When I click on the OK button, the app crashes.
I tried increasing the super.setIntegerProperty("loadUrlTimeoutValue",60000) value inside Phonegapactivity.java file, but it doesn't seem affecting the youtube url as it crashes before the timeout.

Any pointers on this would be greatly appreciated.Thanks.

Achievements
1 Karma
0 Total ProTip Views