Permalink
Browse files

added getPlayItem method to js API

  • Loading branch information...
1 parent b1aeee6 commit 3130fcebf2cd7b4628e06a8c47d4db350bc1b1f1 ojii committed Jun 23, 2010
Showing with 8 additions and 3 deletions.
  1. +1 −1 jplayer/__init__.py
  2. +6 −1 jplayer/media/jplayer/js/cmsplayer.js
  3. +1 −1 jplayer/templates/jplayer/player.html
View
@@ -1 +1 @@
-__version__ = '0.1.8'
+__version__ = '0.1.9'
@@ -125,7 +125,12 @@
function replacePlaylist(new_playlist){
element.data('cmsplayer.playlist', new_playlist);
}
- element.data('cmsplayer.replacePlaylist');
+ element.data('cmsplayer.replacePlaylist', replacePlaylist);
+
+ function getPlayItem(){
+ return playItem;
+ }
+ element.data('cmsplayer.getPlayItem', getPlayItem);
init();
}
@@ -1 +1 @@
-{% extends "jplayer/player_base.html %}
+{% extends "jplayer/player_base.html" %}

0 comments on commit 3130fce

Please sign in to comment.