2 * Copyright (c) 2013, Intel Corporation.
4 * This program is licensed under the terms and conditions of the
5 * Apache License, version 2.0. The full text of the Apache License is at
6 * http://www.apache.org/licenses/LICENSE-2.0
10 var slideshowInterval;
12 ImageControls = function()
17 ImageControls.prototype.play = function()
20 slideshowInterval = setInterval(function(){
25 ImageControls.prototype.pause = function()
28 clearInterval(slideshowInterval);