fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of github.com:fnp/wolnelektury
[wolnelektury.git]
/
wolnelektury
/
static
/
js
/
player.js
diff --git
a/wolnelektury/static/js/player.js
b/wolnelektury/static/js/player.js
index
fea8450
..
69dceed
100755
(executable)
--- a/
wolnelektury/static/js/player.js
+++ b/
wolnelektury/static/js/player.js
@@
-1,11
+1,12
@@
(function($) {
$(function() {
(function($) {
$(function() {
-
- $("#jplayer").jPlayer({
+ $("#jplayer").each(function() {
+ var $self = $(this);
+ $self.jPlayer({
swfPath: "/static/jplayer/",
solution: "html,flash",
swfPath: "/static/jplayer/",
solution: "html,flash",
- supplied: $
(this)
.attr('data-supplied'),
+ supplied: $
self
.attr('data-supplied'),
ready: function() {
var player = $(this);
ready: function() {
var player = $(this);
@@
-27,7
+28,7
@@
});
}
});
});
}
});
-
+ });
});
})(jQuery)
\ No newline at end of file
});
})(jQuery)
\ No newline at end of file