\n"+
@@ -443,11 +443,11 @@
};
__IriSP.Media = function (id,url,duration,title,description){
- this.id = id;
- this.url = url;
- this.title = title;
+ this.id = id;
+ this.url = url;
+ this.title = title;
this.description = description;
- this.duration = duration;
+ this.duration = duration;
this.lignes = new Array();
__IriSP.trace("__IriSP.Media","Media ID : "+id);
@@ -994,7 +994,8 @@
if(obj.newstate == 'PAUSED')
{
__IriSP.trace("__IriSP.stateMonitor","PAUSE");
- __IriSP.MyApiPlayer.changePageUrlOffset(__IriSP.currentPosition);
+ __IriSP.MyApiPlayer.changePageUrlOffset(__IriSP.currentPosition);
+ //PaperSlider.attr({x:-100,y:-100});
__IriSP.jQuery(".ui-icon-play").css("background-position","0px -160px");
} else if (obj.newstate == 'PLAYING'){
@@ -1013,10 +1014,12 @@
__IriSP.positionListener = function(obj) {
//__IriSP.trace("__IriSP.positionListener",obj.position);
__IriSP.currentPosition = obj.position;
- var tmp = document.getElementById("posit");
- if (tmp) { tmp.innerHTML = "position: " + __IriSP.currentPosition; }
+ //var tmp = document.getElementById("posit");
+ //if (tmp) { tmp.innerHTML = "position: " + __IriSP.currentPosition; }
__IriSP.jQuery("#slider-range-min").slider("value", obj.position);
- __IriSP.jQuery("#amount").val(obj.position+" s");
+ PaperSlider.attr({x:obj.position/500*750/10,y:20});
+ //PaperSlider.toFront();
+ //__IriSP.jQuery("#amount").val(obj.position+" s");
// afficher annotation
__IriSP.MyLdt.checkTime(__IriSP.currentPosition);
@@ -1197,9 +1200,9 @@
__IriSP.jQuery("
"+__IriSP.jQueryAnnotationTemplate+"
").appendTo("#Ldt-Annotations");
// TOOLTIP BUG !
- //__IriSP.jQuery("#"+this.id).tooltip({ effect: 'slide'});
+ __IriSP.jQuery("#"+this.id).tooltip({ effect: 'slide'});
//var thisNode = __IriSP.jQuery();
- addTip("#"+this.id, __IriSP.stripHtml(titleForDiv),"#000");
+ //addTip("#"+this.id, __IriSP.stripHtml(titleForDiv),"#000");
__IriSP.jQuery("#"+this.id).fadeTo(0,0.3);
__IriSP.jQuery("#"+this.id).mouseover(function() {