Commit ac36ac41 authored by Simon Daron's avatar Simon Daron
Browse files

Audioplayer stop => pause beforePlay

parent 5359203e
......@@ -290,10 +290,10 @@ img.right, img.left{max-width:50%;}
-o-animation: loading 1s infinite linear;
animation: loading 1s infinite linear;
}
@-webkit-keyframes loading {0%{opacity:1;}50%{opacity:0;}100%{opacity:1;}}
@-moz-keyframes loading {0%{opacity:1;}50%{opacity:0;}100%{opacity:1;}}
@-o-keyframes loading {0%{opacity:1;}50%{opacity:0;}100%{opacity:1;}}
@keyframes loading {0%{opacity:1;}50%{opacity:0;}100%{opacity:1;}}
@-webkit-keyframes loading {0%{opacity:1 !important;}50%{opacity:0 !important;}100%{opacity:1 !important;}}
@-moz-keyframes loading {0%{opacity:1 !important;}50%{opacity:0 !important;}100%{opacity:1 !important;}}
@-o-keyframes loading {0%{opacity:1 !important;}50%{opacity:0 !important;}100%{opacity:1 !important;}}
@keyframes loading {0%{opacity:1 !important;}50%{opacity:0 !important;}100%{opacity:1 !important;}}
@-webkit-keyframes rotation {
from {-webkit-transform: rotate(0deg);}
......
......@@ -111,7 +111,7 @@
}).on('beforePause',function(){
return this;
}).on('beforePlay',function(){
thePlaylist.stopSounds();
thePlaylist.pauseSounds();
return this;
});
var controls = $('<span>',{class:'soundControls controls'});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment