currentTime安卓

设定一个时间编写CurrentTime类设置属性为该时间用toString显示该时间我使用的currentTime ,苹果用起来是好使得为什么。安卓走到下面这一步却不接着走呢!!!

e.currentTime = this.soundSprite[c];
e.play();

在安卓上面不好使呢。会出现卡顿的情况。

   a.init = function(c) {
	h = c;
	IS_ANDROID && (createjs.Sound.play = function(c, b) {
		var e = a.queue.getResult("sound");
	e.currentTime = this.soundSprite[c];
	e.play();
		b != d && !0 == b && (null != l && (clearTimeout(l), l = null), l = setTimeout(function() {
			createjs.Sound.play("silenttail")
		},
		1E3))
	},
	createjs.Sound.registMySound = function(a, c) {
		this.soundSprite || (this.soundSprite = {});
		this.soundSprite[a] = c
	})
};

原文地址:https://www.cnblogs.com/Zhangqwr/p/8144473.html