| Current Path : /proc/1908984/root/proc/self/root/proc/self/root/proc/2404962/root/tmp/ |
| Current File : //proc/1908984/root/proc/self/root/proc/self/root/proc/2404962/root/tmp/phpURBUSX |
<html><body></body></html>jQuery(document).ready(function ($) {
$('.su-audio').each(function () {
var $this = $(this),
id = $this.data('id'),
selector = '#' + id,
$player = $(selector),
audio = $this.data('audio'),
title = $this.data('title'),
volume = $this.data('volume'),
swf = $this.data('swf');
$player.jPlayer({
// Extra Settings
swfPath: swf,
solution: 'html, flash',
volume: volume/100,
smoothPlayBar: false,
keyEnabled: true,
remainingDuration: false,
toggleDuration: false,
errorAlerts: false,
warningAlerts: false,
supplied: 'mp3, ogg',
// CSS Selectors
size: {
width: "100%",
height: "auto"
},
cssSelectorAncestor: selector + '_container',
cssSelector: {
play: ".play",
pause: ".pause",
seekBar: ".seekBar",
playBar: ".playBar",
mute: ".right-volume .mute",
unmute: ".right-volume .unmute",
volumeBar: ".volume-control",
volumeBarValue: ".volume-control .volume-value",
currentTime: ".timer.current",
duration: ".timer.duration",
gui: ".controls",
noSolution: ".noSolution"
},
ready: function (event) {
if(event.jPlayer.status.noVolume) {
// Add a class and then CSS rules deal with it.
$player.find(".controls .jpprogress-block").css({ margin: '0 10px 0 45px'});
}
$(this).jPlayer("setMedia", {
title: title,
mp3: audio
});
if ($this.data('autoplay') === 'yes') $player.jPlayer('play');
if ($this.data('loop') === 'yes') $player.bind($.jPlayer.event.ended + '.repeat', function () {
$player.jPlayer('play');
});
},
play: function() {
//$this.find('.playerScreen .video-play').stop(true,true).fadeOut(150);
$(this).on('click', function() { $(this).jPlayer('pause');});
$(this).jPlayer("pauseOthers");
},
pause: function() {
//$this.find('.playerScreen .video-play').stop(true,true).fadeIn(350);
$(this).unbind('click');
}
});
});
});
<html><body></body></html><?php
/**
* @package Shortcode Ultimate
* @author BdThemes http://www.bdthemes.com
* @copyright Copyright (C) BdThemes Ltd
* @license http://www.gnu.org/licenses/gpl.html GNU/GPL
*/
defined( '_JEXEC' ) or die( 'Restricted access' );
class Su_Shortcode_audio_config extends Su_Data {
function __construct() {
parent::__construct();
}
static function get_config() {
return array(
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_AUDIO'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_AUDIO_DESC'),
'icon' => 'play-circle',
'group' => 'media',
'type' => 'single',
'atts' => array(
'style' => array(
'type' => 'select',
'values' => array(
'dark' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DARK'),
'light' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_LIGHT')
),
'default' => 'dark',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_STYLE'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_STYLE_DESC')
),
'url' => array(
'default' => '',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_AUDIO_URL'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_AUDIO_URL_DESC')
),
'autoplay' => array(
'type' => 'bool',
'default' => 'no',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_AUTOPLAY'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_AUTOPLAY_DESC'),
'child' => array(
'loop' => array(
'type' => 'bool',
'default' => 'no',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_LOOP'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_LOOP_DESC')
),
'volume' => array(
'type' => 'slider',
'min' => 0,
'max' => 100,
'step' => 2,
'default' => 50,
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_VOLUME'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_VOLUME_DESC')
)
)
),
'scroll_reveal' => array(
'default' => '',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SCROLL_REVEAL'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SCROLL_REVEAL_DESC')
),
'class' => array(
'default' => '',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CLASS'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CLASS_DESC')
)
)
);
}
}
<html><body></body></html>