Advertisement
Guest User

Untitled

a guest
Aug 31st, 2015
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     options = {
  2.         swfPath: '../res/js',
  3.         supplied: 'm4v',
  4.         wmode: 'window',
  5.         ready: function(event){
  6.             var that = $(this);
  7.             marquee(that);
  8.             that.next().find('.jp-time').on('click', function(){
  9.                 that.next().find('.jp-current-time, .jp-duration').toggle();
  10.             });
  11.             that.on('click', function() {
  12.                 that.data().jPlayer.status.paused ? that.jPlayer('play') : that.jPlayer('pause');
  13.             });
  14.             that.on('dblclick', function() {
  15.                 that.parent().hasClass("jp-video-full") ? that.jPlayer('restoreScreen') : that.jPlayer('fullScreen');
  16.             });
  17.         $(this).jPlayer(‘play’);
  18.         },
  19.         play: function (event) {
  20.             $(this).jPlayer("pauseOthers");
  21.         },
  22.         cssSelector: {
  23.             title: '#current-song'
  24.         },
  25.         playlistOptions: {
  26.             displayTime: 'fast',
  27.             addTime: 'fast',
  28.             removeTime: 'fast',
  29.             shuffleTime: 0
  30.         },
  31.         size: {
  32.             width: "100%",
  33.             height: "100%"
  34.         }
  35.     };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement