Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options = {
- swfPath: '../res/js',
- supplied: 'm4v',
- wmode: 'window',
- ready: function(event){
- var that = $(this);
- marquee(that);
- that.next().find('.jp-time').on('click', function(){
- that.next().find('.jp-current-time, .jp-duration').toggle();
- });
- that.on('click', function() {
- that.data().jPlayer.status.paused ? that.jPlayer('play') : that.jPlayer('pause');
- });
- that.on('dblclick', function() {
- that.parent().hasClass("jp-video-full") ? that.jPlayer('restoreScreen') : that.jPlayer('fullScreen');
- });
- $(this).jPlayer(‘play’);
- },
- play: function (event) {
- $(this).jPlayer("pauseOthers");
- },
- cssSelector: {
- title: '#current-song'
- },
- playlistOptions: {
- displayTime: 'fast',
- addTime: 'fast',
- removeTime: 'fast',
- shuffleTime: 0
- },
- size: {
- width: "100%",
- height: "100%"
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement