We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2453ccc commit 2a312eaCopy full SHA for 2a312ea
controller/js/app.js
@@ -208,6 +208,18 @@ var APP = {
208
// Re-connect controls
209
controls.connect();
210
}, 1000 );
211
+ } ).catch( function() {
212
+ // Clean-up on error
213
+ sendMessage(
214
+ window.parent, {
215
+ 'action': 'playbackEnded'
216
+ }
217
+ );
218
+
219
+ _this.setManualOrientation( _a0, _b0, _g0 );
220
221
+ // Re-connect controls
222
+ controls.connect();
223
} );
224
225
};
@@ -285,7 +297,7 @@ var APP = {
285
297
var throwError = window.setTimeout( function() {
286
298
tweenInProgress = false;
287
299
reject();
288
- }, waitTime + 2000 );
300
+ }, waitTime + 5000 );
289
301
290
302
var o = {
291
303
t: 0
0 commit comments