Skip to content
Snippets Groups Projects
Commit 6dec63ac authored by ale's avatar ale
Browse files

do not call setMedia({}) on init

parent 81108c6a
No related branches found
No related tags found
No related merge requests found
...@@ -92,7 +92,9 @@ CirclePlayer.prototype = { ...@@ -92,7 +92,9 @@ CirclePlayer.prototype = {
if(event.jPlayer.html.used && event.jPlayer.html.audio.available) { if(event.jPlayer.html.used && event.jPlayer.html.audio.available) {
self.audio = $(this).data("jPlayer").htmlElement.audio; self.audio = $(this).data("jPlayer").htmlElement.audio;
} }
if (self.media.mp3) {
$(this).jPlayer("setMedia", self.media); $(this).jPlayer("setMedia", self.media);
}
self._initCircleControl(); self._initCircleControl();
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment