Choose a source:
Feedback from early adopters enabled us to improve the API in Lesson 4. This lesson is similar to Lesson 4, but instead of loading text into our own JavaScript, the SpritzerController does it. We simply tell the SpritzerController about the new URL via the SpritzerController.setUrl() method. The content loads and starts on demand when the user clicks the Play button or the redicle.
login_success.html (this is a required file to download and host on your website).
For your login success file to work, point your redirectUri parameter to the location of your login_success.html file, and include the full protocol and path to this file. For example your redirectUri setting should look something like:
redirectUri: "http://mysite.com/login_success.html"
Be sure your callback uri matches the originating domain. If your website user visits www.mysite.com/somepage.html, be sure your redirect uri includes www. If your website user is coming from mysite.com/somepage.html, be sure the redirect uri does not include www.