Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.fn.extend({
- UplayList: function (options) {
- this.each(function () {
- if ($(this).data('uplaylistId')) {
- var instance = $.playList.instances[$(this).data('uplaylistId')];
- instance[options].apply( instance, Array.prototype.slice.call( arguments, 1 ));
- } else {
- var instance = new $.playList(this, options);
- var id = instance.elements.player.attr('id');
- $(this).data('uplaylistId',id);
- }
- });
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement