Changeset 87232 in spip-zone


Ignore:
Timestamp:
Jan 29, 2015, 11:57:05 AM (5 years ago)
Author:
cedric@…
Message:

on retablit l'init immediate, le bug ne vient pas de la

Location:
_plugins_/player/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/player/trunk/javascript/mejs-init.js

    r87231 r87232  
    8080                mejsloader.gs = jQuery.getScript(mejspath,function(){
    8181                        mejsloader.gs = true;
     82                        mejsloader.init(); // init immediate des premiers players dans la page
    8283                        jQuery(mejsloader.init); // init exhaustive de tous les players
    8384                        onAjaxLoad(mejsloader.init); // init lors d'un load ajax
  • _plugins_/player/trunk/javascript/mejs-init.min.js

    r87231 r87232  
    1 var mejsloader; (function(){"undefined"==typeof mejsloader&&(mejsloader={gs:null,plug:{},css:{},init:null,c:0});mejsloader.init||(mejsloader.init=function(){!0===mejsloader.gs&&function(l){jQuery("audio.mejs,video.mejs").not(".done").each(function(){function h(){var b=!0,e;for(e in a.css)if("undefined"==typeof mejsloader.css[a.css[e]]){mejsloader.css[a.css[e]]=!0;var f=document.createElement("link");f.href=a.css[e];f.rel="stylesheet";f.type="text/css";document.getElementsByTagName("head")[0].appendChild(f)}for(var c in a.plugins)"undefined"==typeof mejsloader.plug[c]? (b=!1,mejsloader.plug[c]=!1,jQuery.getScript(a.plugins[c],function(){mejsloader.plug[c]=!0;h()})):0==mejsloader.plug[c]&&(b=!1);b&&new MediaElementPlayer("#"+g,jQuery.extend(a.options,{success:function(a){function b(){jQuery(a).closest(".mejs-inner").removeClass(a.paused?"playing":"paused").addClass(a.paused?"paused":"playing")}b();a.addEventListener("play",b,!1);a.addEventListener("playing",b,!1);a.addEventListener("pause",b,!1);a.addEventListener("paused",b,!1);d.attr("autoplay")&&a.play()}}))} var d=jQuery(this).addClass("done"),g;(g=d.attr("id"))||(g="mejs-"+d.attr("data-id")+"-"+mejsloader.c++,d.attr("id",g));var a={options:{},plugins:{},css:[]},b,k;for(b in a)if(k=d.attr("data-mejs"+b))a[b]=jQuery.parseJSON(k);h()})}(jQuery)});mejsloader.gs||(mejsloader.gs=jQuery.getScript(mejspath,function(){mejsloader.gs=!0;jQuery(mejsloader.init);onAjaxLoad(mejsloader.init)}))})();
     1var mejsloader; (function(){"undefined"==typeof mejsloader&&(mejsloader={gs:null,plug:{},css:{},init:null,c:0});mejsloader.init||(mejsloader.init=function(){!0===mejsloader.gs&&function(l){jQuery("audio.mejs,video.mejs").not(".done").each(function(){function h(){var b=!0,e;for(e in a.css)if("undefined"==typeof mejsloader.css[a.css[e]]){mejsloader.css[a.css[e]]=!0;var f=document.createElement("link");f.href=a.css[e];f.rel="stylesheet";f.type="text/css";document.getElementsByTagName("head")[0].appendChild(f)}for(var c in a.plugins)"undefined"==typeof mejsloader.plug[c]? (b=!1,mejsloader.plug[c]=!1,jQuery.getScript(a.plugins[c],function(){mejsloader.plug[c]=!0;h()})):0==mejsloader.plug[c]&&(b=!1);b&&new MediaElementPlayer("#"+g,jQuery.extend(a.options,{success:function(a){function b(){jQuery(a).closest(".mejs-inner").removeClass(a.paused?"playing":"paused").addClass(a.paused?"paused":"playing")}b();a.addEventListener("play",b,!1);a.addEventListener("playing",b,!1);a.addEventListener("pause",b,!1);a.addEventListener("paused",b,!1);d.attr("autoplay")&&a.play()}}))} var d=jQuery(this).addClass("done"),g;(g=d.attr("id"))||(g="mejs-"+d.attr("data-id")+"-"+mejsloader.c++,d.attr("id",g));var a={options:{},plugins:{},css:[]},b,k;for(b in a)if(k=d.attr("data-mejs"+b))a[b]=jQuery.parseJSON(k);h()})}(jQuery)});mejsloader.gs||(mejsloader.gs=jQuery.getScript(mejspath,function(){mejsloader.gs=!0;mejsloader.init();jQuery(mejsloader.init);onAjaxLoad(mejsloader.init)}))})();
  • _plugins_/player/trunk/paquet.xml

    r87231 r87232  
    22        prefix="player"
    33        categorie="multimedia"
    4         version="2.7.2"
     4        version="2.7.3"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.1.*]"
Note: See TracChangeset for help on using the changeset viewer.