Skip to content

Commit

Permalink
Added a config variable to preserve autostart setting in model.setup(…
Browse files Browse the repository at this point in the history
…) when running in a mobile SDK
  • Loading branch information
paulmandal committed Nov 11, 2015
1 parent 8e97305 commit ac4215f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/js/controller/model.js
Expand Up @@ -53,7 +53,8 @@ define([
});

// Mobile doesn't support autostart
if (utils.isMobile()) {
// This check should be replaced with something that detects whether the current system requires a user interaction to start playback
if (utils.isMobile() && !config.mobileSdk) {
this.set('autostart', false);
}

Expand Down

0 comments on commit ac4215f

Please sign in to comment.