I create a fortune wheel which is automatically spin after the interval of 30 second for now. But I am facing some problem in this and the problem is it should spin at same time at each machine. any body open this spin at any time it during its spinning time it should be spin and get the same result on each system
Here is the auto spin code
setInterval(function () {
var $r = $('.roulette').fortune(prices);
$r.spin().done(function(price) {
$('.price').text(price);
$('.result_number_circle').text(price);
});
// $('.roulette').animate({rotate: '+=10deg'}, 0);
},30000);