"+this.cur_movie_url+""+String(this.duration)+""+l_metaData+")"); this.gg.ggPM(15, this.cur_movie_url, type, ""+this.cur_movie+" "+this.cur_movie_url+""+String(this.duration)+""+l_metaData); } else { if(this.debug) this.logger("this.gg.ggPM(3,"+this.cur_movie_url+", "+type+", "+this.cur_movie+" "+this.cur_movie_url+""+String(this.duration)+""+l_metaData+")"); this.gg.ggPM(3, this.cur_movie_url, type, ""+this.cur_movie+" "+this.cur_movie_url+""+String(this.duration)+""+l_metaData); } */ this.sendMetadata(); } } ggCom.prototype.onMediaEnded = function(sender, args) { var media = sender.findName(this.mediaName); if(!this.movieStatus.stopped) { var cur_pos = parseFloat(media.Position.Seconds.toFixed(1)); var send_pos = 0; if(parseFloat(cur_pos) >= parseFloat(this.cur_position) && parseFloat(cur_pos) <= parseFloat(this.duration)) { send_pos = cur_pos; } else if(parseFloat(cur_pos) > parseFloat(this.duration) && parseFloat(this.duration) > 0) { send_pos = this.duration; } else { send_pos = this.cur_position; } this.movieStatus.stopped = true; if(this.debug) this.logger("this.gg.ggPM(7,"+String(send_pos)+")"); this.gg.ggPM(7,send_pos); } this.gg.ggPM('end', this.player.getPosition()); } ggCom.prototype.onMediaUnload = function() { var media = this.media; var cur_pos = parseFloat(media.Position.Seconds.toFixed(1)); var send_pos; if(parseFloat(cur_pos) >= parseFloat(this.cur_position) && parseFloat(cur_pos) <= parseFloat(this.duration)) { send_pos = cur_pos; } else if(parseFloat(cur_pos) > parseFloat(this.duration) && parseFloat(this.duration) > 0) { send_pos = this.duration; } else { send_pos = this.cur_position; } if(!this.movieStatus.stopped) { if(this.debug) this.logger("this.gg.ggPMunload(7,"+send_pos+")"); this.gg.ggPM(7,send_pos); this.movieStatus.stopped = true; } if(this.movieStatus.loaded && this.movieStatus.played) { if(this.debug) this.logger("this.gg.ggPM(4,"+send_pos+", "+this.content+")"); this.gg.ggPM(4, send_pos, this.content); this.movieStatus.loaded = false; } this.gg.ggPM('end', this.player.getPosition()); } ggCom.prototype.updatePos = function(caller) { if(this.movieStatus.stopped) return; if(Math.abs(this.cur_position - Math.round(caller.position)) > 2) this.onPositionChange(this.cur_position, Math.round(caller.position)); this.cur_position = caller.position.toFixed(1); if(Math.abs((this.timer - this.cur_position)) > this.queryInterval) { this.timer = this.cur_position; if(this.debug) this.logger("this.gg.ggPM(49,"+this.cur_position+")"); this.gg.ggPM(49, this.cur_position); } this.gg.ggPM('setPlayheadPosition', this.player.getPosition()); } ggCom.prototype.onFullscreen = function(args) { this.fullscreen = args.fullscreen; if(this.debug) this.logger("this.gg.ggPM(10,"+this.fullscreen+")"); this.gg.ggPM(10, String(this.fullscreen)); } ggCom.prototype.onMute = function(args) { this.mute = args.mute; if(this.debug) this.logger("this.gg.ggPM(9,"+this.mute+")"); this.gg.ggPM(9, String(this.mute)); } ggCom.prototype.onVolume = function(args) { this.volume = args.volume; if(this.debug) this.logger("this.gg.ggPM(11,"+this.volume+")"); this.gg.ggPM(11, String(this.volume)); } ggCom.prototype.onPositionChange = function(oldPos, newPos) { if(this.debug) this.logger("this.gg.ggPM(8,"+oldPos+", "+newPos+")"); this.gg.ggPM(8, String(oldPos), String(newPos)); //this.cur_position = args.newPos; this.gg.ggPM('setPlayheadPosition', this.player.getPosition()); } ggCom.prototype.logger = function(logStr) { try { console.log(logStr); } catch (e) { // no logging } }
购买新的电子组合组合
金沙国际唯一母亲是唯一的教育方法,而这是为了建立自己的原则。这病例不会提供医学信息,你的诊断和治疗,你的建议是我们的职责所在,确保 私人政治顾问。我们的广告指南里有可能 这里。