= player.getCurrentPosition();
			showMsg("正在播放");
		});

		player.on("waiting", function () {
			showMsg("正在等待数据");
		});

		player.onPlayState(1, function () {
			showMsg("尝试播放");
		});

		player.onPlayState(2, function () {
			showMsg("暂停播放");
		});

		player.onPlayState(3, function () {
			showMsg("播放已结束");
		});

		player.onError(function (err) {
			if (retry) {
				showMsg("播放出现错误，错误代码：" + err.errCode + "，错误信息：" + err.er