vendor/assets/javascripts/webshims/shims/mediaelement-native-fix.js in webshims-rails-1.14.3 vs vendor/assets/javascripts/webshims/shims/mediaelement-native-fix.js in webshims-rails-1.14.4

- old
+ new

@@ -1,10 +1,10 @@ webshims.register('mediaelement-native-fix', function($, webshims, window, document, undefined){ - + var support = webshims.support; var fixBuffered = (function(){ - if(Modernizr.videoBuffered){return $.noop;} + if(support.videoBuffered){return $.noop;} var getBufferedData = function(elem){ var data = webshims.data(elem, 'mediaelementBuffered'); if(!data){ data = { @@ -100,10 +100,10 @@ }); } })(); var fixProgressEvent = (function(){ - if(Modernizr.mediaDefaultMuted){return $.noop;} + if(support.mediaDefaultMuted){return $.noop;} return function(){ if($.data(this, 'fixedMediaProgress')){return;} var bufferTimer;