Version Description
- Improved plugin integration with core Wordpress media handling operations, such as those accessed with the 'Add Media' button, featured images for audio, embeded audio, attached audio, and pasted urls.
- Added support for all common file formats, the plugin now supports mp3, m4a, mp4, oga, ogg, wav, webm, webma files. Caution - Please see Audio Format Advice for help with choosing good formats for the web.
- Added new folder feed options, format controls, sorting by upload date, and auto-counterparting.
- Added a player design page with many new options for controlling font faces, sizes, alignments, and image size and alignment and more within the players.
- Added optional auto-counterparting feature that will work for FEEDs as well as individually playlisted local files.
- Added new skins that are more mobile friendly.
- Fixed autoplay behavior so that it doesn't try to activate on handheld devices (currently most mobile devices disallow autoplay).
- Added integration options allowing for selective replacement of core WP features and players.
- Added feedback messages for catching broken urls easily, and when a device cannot play the supplied file(s).
- Many more improvements and enhancements both admin-side and frontend.
Download this release
Release Info
Developer | simon.ward |
Plugin | MP3-jPlayer |
Version | 2.0 |
Comparing to | |
See all releases |
Code changes from version 1.8.12 to 2.0
- admin-colours.php +742 -0
- admin-settings.php +789 -0
- css/admin-1.8.css +0 -152
- css/admin/admin-colours.css +444 -0
- css/admin/admin-settings.css +301 -0
- css/admin/images/admin-colours-bg.png +0 -0
- css/admin/images/drop3.png +0 -0
- css/admin/images/icons-admin-M.png +0 -0
- css/admin/images/icons-admin-S.png +0 -0
- css/admin/images/minus2.png +0 -0
- css/admin/images/patchbg.png +0 -0
- css/admin/images/resizable-handle.png +0 -0
- css/admin/images/test-image.jpg +0 -0
- css/admin/images/tick2.png +0 -0
- css/admin/spectrum.css +529 -0
- css/dark.css +571 -0
- css/images/Hue.gif +0 -0
- css/images/SatVal.png +0 -0
- css/images/Thumbs.db +0 -0
- css/images/arrow.gif +0 -0
- css/images/buttonset-darkplayer-grads8.png +0 -0
- css/images/buttonset-lightplayer-grads8.png +0 -0
- css/images/finding-bar9.gif +0 -0
- css/images/inlineHandle1.png +0 -0
- css/images/inlineHandle2.png +0 -0
- css/images/loader.gif +0 -0
- css/images/music-default.png +0 -0
- css/images/pause.png +0 -0
- css/images/pause2.png +0 -0
- css/images/pause3.png +0 -0
- css/images/pl-grad-b-long.png +0 -0
- css/images/pl-grad-b.png +0 -0
- css/images/pl-grad-w-long.png +0 -0
- css/images/pl-grad-w.png +0 -0
- css/images/play.png +0 -0
- css/images/play2.png +0 -0
- css/images/play3.png +0 -0
- css/images/posbar-darken.png +0 -0
- css/images/posbar-lighten.png +0 -0
- css/images/posbar-pipe.png +0 -0
- css/images/{finding-bar1f.gif → pulse.gif} +0 -0
- css/images/shadow-l.png +0 -0
- css/images/shadow-r.png +0 -0
- css/images/shadow-x.png +0 -0
- css/images/slide.gif +0 -0
- css/images/spinner.gif +0 -0
- css/images/t30b.png +0 -0
- css/images/t50l.png +0 -0
- css/images/t70l.png +0 -0
- css/images/{vol-grad60b2.png → volgrad-dark.png} +0 -0
- css/images/{vol-grad60w2.png → volgrad-light.png} +0 -0
- css/light.css +568 -0
- css/mp3j-help.css +0 -26
- css/player-silverALT.css +0 -643
- css/players-1-8-dark.css +0 -555
- css/players-1-8-silver.css +0 -595
- css/players-1-8-text.css +0 -519
- css/text.css +549 -0
- css/{images → v1-skins/images}/buttons-popout.png +0 -0
- css/{images → v1-skins/images}/buttons-popoutE.png +0 -0
- css/{images → v1-skins/images}/buttons-popoutF.png +0 -0
- css/{images → v1-skins/images}/case-grad-x.png +0 -0
- css/{images → v1-skins/images}/case2t-l.png +0 -0
- css/{images → v1-skins/images}/case2t-r.png +0 -0
- css/{images → v1-skins/images}/case2t-x.png +0 -0
- css/v1-skins/images/caseD-l.png +0 -0
- css/v1-skins/images/caseD-r.png +0 -0
- css/v1-skins/images/caseD-x.png +0 -0
- css/{images → v1-skins/images}/fdloadB-x.png +0 -0
- css/{images → v1-skins/images}/fdloadW-x.png +0 -0
- css/v1-skins/images/finding-bar1f.gif +0 -0
- css/v1-skins/images/loader-w.gif +0 -0
- css/{images → v1-skins/images}/loader-w2.gif +0 -0
- css/v1-skins/images/loader.gif +0 -0
- css/{images → v1-skins/images}/mp3t-poshandle.png +0 -0
- css/v1-skins/images/pl-darken1.png +0 -0
- css/v1-skins/images/pl-gradlong10g.png +0 -0
- css/v1-skins/images/pl-lighten1.png +0 -0
- css/v1-skins/images/pl-lighten2.png +0 -0
- css/{images → v1-skins/images}/play-dark2-b.png +0 -0
- css/{images → v1-skins/images}/play-dark2-w.png +0 -0
- css/{images → v1-skins/images}/play-dark2.png +0 -0
- css/{images → v1-skins/images}/pos-handleALT.png +0 -0
- css/{images → v1-skins/images}/posbar-darken2-2.png +0 -0
- css/{images → v1-skins/images}/posbar-soften-2.png +0 -0
- css/{images → v1-skins/images}/posbar-soften-tipped-2.png +0 -0
- css/v1-skins/images/pulse.gif +0 -0
- css/{images → v1-skins/images}/stop-dark2-b.png +0 -0
- css/{images → v1-skins/images}/stop-dark2-w.png +0 -0
- css/{images → v1-skins/images}/stop-dark2.png +0 -0
- css/v1-skins/images/t10b.png +0 -0
- css/{images → v1-skins/images}/t10g.png +0 -0
- css/{images → v1-skins/images}/t15b.png +0 -0
- css/v1-skins/images/t20b.png +0 -0
- css/{images → v1-skins/images}/t25w.png +0 -0
- css/{images → v1-skins/images}/t30w.png +0 -0
- css/v1-skins/images/t40b.png +0 -0
- css/v1-skins/images/t40w.png +0 -0
- css/v1-skins/images/t50b.png +0 -0
- css/v1-skins/images/t50g.png +0 -0
- css/v1-skins/images/t50l.png +0 -0
- css/{images → v1-skins/images}/t5b.png +0 -0
- css/v1-skins/images/t60w.png +0 -0
- css/v1-skins/images/t75e.png +0 -0
- css/{images → v1-skins/images}/transport-dark.png +0 -0
- css/{images → v1-skins/images}/transport-darkbg-trans2.png +0 -0
- css/{images → v1-skins/images}/transport-hard-+trans.png +0 -0
- css/{images → v1-skins/images}/transport-hard.png +0 -0
- css/{images → v1-skins/images}/transport-hardK.png +0 -0
- css/{images → v1-skins/images}/transport-hardW-shiny.png +0 -0
- css/{images → v1-skins/images}/transport-hardZ.png +0 -0
- css/{images → v1-skins/images}/transport-outline.png +0 -0
- css/{images → v1-skins/images}/transport-shard-B.png +0 -0
- css/{images → v1-skins/images}/transport-shard.png +0 -0
- css/v1-skins/images/vol-grad60b2.png +0 -0
- css/v1-skins/images/vol-grad60w2.png +0 -0
- css/v1-skins/images/vol-handle.png +0 -0
- css/{images → v1-skins/images}/volhandle-dark2-b.png +0 -0
- css/{images → v1-skins/images}/volhandle-dark2-w.png +0 -0
- css/{images → v1-skins/images}/volhandle-dark2.png +0 -0
- css/v1-skins/v1-dark.css +854 -0
- css/v1-skins/v1-silver.css +857 -0
- download.php +144 -105
- frontend.php +1040 -0
- help.php +0 -190
- js/admin-1.8.js +0 -235
- js/admin/admin-colours.js +526 -0
- js/admin/admin-settings.js +125 -0
- js/jquery.jplayer.2.7.1.js +0 -3198
- js/jquery.jplayer.min.2.7.1.js +1 -1
- js/jquery.js +0 -167
- js/mp3-jplayer-1.8.10.js +0 -807
- js/mp3-jplayer-1.8.9.js +0 -807
- js/mp3-jplayer-2.0.js +1087 -0
- js/popout/core.min.js +11 -0
- js/popout/jquery.js +4 -0
admin-colours.php
ADDED
@@ -0,0 +1,742 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
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
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
|
3 |
+
function mp3j_print_colours_page()
|
4 |
+
{
|
5 |
+
global $mp3_fox;
|
6 |
+
$O = $mp3_fox->getAdminOptions();
|
7 |
+
$openTab = '0';
|
8 |
+
|
9 |
+
if ( isset( $_POST['save_MP3jP'] ) )
|
10 |
+
{
|
11 |
+
//colours array
|
12 |
+
foreach ( $O['colour_settings'] as $key => $val ) {
|
13 |
+
if ( isset($_POST[ $key ]) ) {
|
14 |
+
$O['colour_settings'][ $key ] = $_POST[ $key ];
|
15 |
+
}
|
16 |
+
}
|
17 |
+
|
18 |
+
//TODO: move these out of colours array?
|
19 |
+
$O['colour_settings']['titleBold'] = ( isset($_POST['titleBold']) ) ? "true" : "false";
|
20 |
+
$O['colour_settings']['titleHide'] = ( isset($_POST['titleHide']) ) ? "true" : "false";
|
21 |
+
$O['colour_settings']['titleItalic'] = ( isset($_POST['titleItalic']) ) ? "true" : "false";
|
22 |
+
$O['colour_settings']['captionBold'] = ( isset($_POST['captionBold']) ) ? "true" : "false";
|
23 |
+
$O['colour_settings']['captionItalic'] = ( isset($_POST['captionItalic']) ) ? "true" : "false";
|
24 |
+
$O['colour_settings']['listBold'] = ( isset($_POST['listBold']) ) ? "true" : "false";
|
25 |
+
$O['colour_settings']['listItalic'] = ( isset($_POST['listItalic']) ) ? "true" : "false";
|
26 |
+
$O['colour_settings']['adminCheckerIMG'] = ( isset($_POST['adminCheckerIMG']) ) ? "true" : "false";
|
27 |
+
$O['colour_settings']['imgOverflow'] = ( isset($_POST['imgOverflow']) ) ? "visible" : "hidden";
|
28 |
+
|
29 |
+
|
30 |
+
$O['playerHeight'] = $mp3_fox->prep_value( $_POST['playerHeight'] );
|
31 |
+
$O['custom_stylesheet'] = $mp3_fox->prep_path( $_POST['custom_stylesheet'] );
|
32 |
+
$O['player_theme'] = $mp3_fox->prep_value( $_POST['player_theme'] );
|
33 |
+
$O['imageSize'] = $mp3_fox->prep_value( $_POST['imageSize'] );
|
34 |
+
|
35 |
+
|
36 |
+
//update
|
37 |
+
update_option($mp3_fox->adminOptionsName, $O);
|
38 |
+
$mp3_fox->theSettings = $O;
|
39 |
+
?>
|
40 |
+
<!-- save message -->
|
41 |
+
<div class="updated"><p><strong><?php _e("Settings Updated.", $mp3_fox->textdomain );?></strong></p></div>
|
42 |
+
<?php
|
43 |
+
}
|
44 |
+
|
45 |
+
$C = $O['colour_settings'];
|
46 |
+
|
47 |
+
|
48 |
+
//Write js vars..
|
49 |
+
//$css_urls = $mp3_fox->getSkinData();
|
50 |
+
$css_urls = $mp3_fox->SKINS;
|
51 |
+
|
52 |
+
//..current stylesheet url to js
|
53 |
+
$player_theme = $O['player_theme'];
|
54 |
+
$js_current_css = "\nvar MP3J_THEME_PATH = '" . $css_urls[ $player_theme ]['url'] . "';";
|
55 |
+
|
56 |
+
//..other stylesheet urls to js
|
57 |
+
//$js_stylesheets = '';
|
58 |
+
$c = count( $css_urls );
|
59 |
+
$i = 1;
|
60 |
+
$js_stylesheets = "\nvar SKINDATA = {";
|
61 |
+
foreach ( $css_urls as $data )
|
62 |
+
{
|
63 |
+
//$js_stylesheets .= "\nvar " . $data['opValue'] . " = '" . $data['url'] . "';";
|
64 |
+
$js_stylesheets .= "\n\t" .$data['opValue']. ": '" .$data['url']. "'" . ( $i === $c ? '' : ',' );
|
65 |
+
$i++;
|
66 |
+
}
|
67 |
+
$js_stylesheets .= "\n};";
|
68 |
+
|
69 |
+
|
70 |
+
//..write the vars
|
71 |
+
echo '<script type="text/javascript">';
|
72 |
+
echo $js_current_css;
|
73 |
+
echo $js_stylesheets;
|
74 |
+
//echo $js_colours;
|
75 |
+
|
76 |
+
$imgSizesWP = array ( 'thumbnail', 'medium', 'large' );
|
77 |
+
|
78 |
+
echo "\nvar imgDimsWP = {\n";
|
79 |
+
foreach ( $imgSizesWP as $i => $size ) {
|
80 |
+
$s = $mp3_fox->getImageSizeWP( $size );
|
81 |
+
echo "\t" . $size . "_w: " . $s['width'] . ",\n";
|
82 |
+
echo "\t" . $size . "_h: " . $s['height'];
|
83 |
+
echo ( $i < 2 ? ",\n" : "\n" );
|
84 |
+
}
|
85 |
+
echo "};\n";
|
86 |
+
echo '</script>';
|
87 |
+
|
88 |
+
//write css settings
|
89 |
+
echo $mp3_fox->writeColoursCSS();
|
90 |
+
?>
|
91 |
+
|
92 |
+
<div class="wrap">
|
93 |
+
<h2> </h2>
|
94 |
+
<h1>Player Design</h1>
|
95 |
+
<p> </p>
|
96 |
+
<form method="post" action="<?php echo $_SERVER["REQUEST_URI"]; ?>">
|
97 |
+
|
98 |
+
|
99 |
+
|
100 |
+
<!-- THEME / URL -->
|
101 |
+
<?php $rowCSS = ( $O['player_theme'] != "styleI" ) ? "display:none;" : ""; ?>
|
102 |
+
<table>
|
103 |
+
<tr>
|
104 |
+
<td><strong>Skin</strong>: </td>
|
105 |
+
<td><select name="player_theme" id="player-select" style="width:350px; font-weight:700;">
|
106 |
+
<?php
|
107 |
+
foreach ( $css_urls as $data ) {
|
108 |
+
$selected = ( $data['opValue'] === $O['player_theme'] ) ? ' selected="selected"' : '';
|
109 |
+
echo '<option value="' .$data['opValue']. '"' .$selected. '>' .$data['opName']. '</option>';
|
110 |
+
}
|
111 |
+
?>
|
112 |
+
</select>
|
113 |
+
</td>
|
114 |
+
<td></td>
|
115 |
+
</tr>
|
116 |
+
<tr id="customCSSrow" style="<?php echo $rowCSS; ?>">
|
117 |
+
<td><span id="player-csssheet"> url: </span></td>
|
118 |
+
<td><input type="text" id="mp3fcss" name="custom_stylesheet" style="width:100%;" value="<?php echo $O['custom_stylesheet']; ?>" /></td>
|
119 |
+
<td><span class="button-secondary" id="reload_stylesheet_button" style="font-size:90%; font-weight:700;"> Reload </span></td>
|
120 |
+
</tr>
|
121 |
+
</table>
|
122 |
+
<br>
|
123 |
+
|
124 |
+
|
125 |
+
|
126 |
+
<!-- PLAYER PREVIEW -->
|
127 |
+
<div id="sizer" style="overflow:hidden; background-color:<?php echo $C['adminBG']; ?>; width:<?php echo $C['adminSizer_w']; ?>; height:<?php echo $C['adminSizer_h']; ?>;">
|
128 |
+
<div id="display_player_liner">
|
129 |
+
|
130 |
+
<?php
|
131 |
+
$heightProp = ( !empty($O['playerHeight']) ) ? " height:" . $O['playerHeight'] . ";" : "";
|
132 |
+
$imgCSS = ''; //inline css added to image wrapper
|
133 |
+
$tweakerClass = ''; //class affecting image
|
134 |
+
if ( 'autoW' === $O['imageSize'] ) { //fit images to player width.
|
135 |
+
$imgCSS .= ' width:100%; height:' .$O['playerHeight']. ';';
|
136 |
+
}
|
137 |
+
elseif ( 'autoH' === $O['imageSize'] ) { //fit images to player height.
|
138 |
+
$imgCSS .= ' width:auto; height:' .$O['playerHeight']. ';';
|
139 |
+
$tweakerClass = ' Himg';
|
140 |
+
}
|
141 |
+
elseif ( 'full' === $O['imageSize'] ) { //leave images alone.
|
142 |
+
$imgCSS .= ' width:auto; height:' .$O['playerHeight']. ';';
|
143 |
+
$tweakerClass = ' Fimg';
|
144 |
+
}
|
145 |
+
else { //use specific WP media sizes, ad auto set the player height.
|
146 |
+
$dims = $mp3_fox->getImageSizeWP( $O['imageSize'] );
|
147 |
+
$imgCSS .= ' width:' .$dims['width']. 'px; height:' .$dims['height']. 'px;';
|
148 |
+
$heightProp = ' height:' .$dims['height']. 'px;';
|
149 |
+
}
|
150 |
+
|
151 |
+
$CSSext = "-mjp";
|
152 |
+
$titleAlign = ' ' . $C['titleAlign'] . $CSSext;
|
153 |
+
$listAlign = ' ' . $C['listAlign'] . $CSSext;
|
154 |
+
$imageAlign = ' ' . $C['imageAlign'] . $CSSext;
|
155 |
+
$ulClass = ( $C['playlist_tint'] === 'none' ) ? '' : ' ' . $C['playlist_tint'] . $CSSext;
|
156 |
+
$font1Class = ( $C['font_family_1'] === 'theme' ) ? '' : ' ' . $C['font_family_1'] . $CSSext;
|
157 |
+
$font2Class = ( $C['font_family_2'] === 'theme' ) ? '' : ' ' . $C['font_family_2'] . $CSSext;
|
158 |
+
$posbarClass = ( $C['posbar_tint'] === 'none' ) ? '' : ' ' . $C['posbar_tint'] . $CSSext;
|
159 |
+
$liClass = ( $C['list_divider'] === 'none' ) ? '' : ' ' . $C['list_divider'] . $CSSext;
|
160 |
+
$titleBold = ( $C['titleBold'] === 'true' ) ? ' bold' . $CSSext : ' norm' . $CSSext;
|
161 |
+
$titleItalic = ( $C['titleItalic'] === 'true' ) ? ' italic' . $CSSext : ' plain' . $CSSext;
|
162 |
+
$captionWeight =( $C['captionBold'] === 'true' ) ? ' childBold' . $CSSext : ' childNorm' . $CSSext;
|
163 |
+
$captionItalic =( $C['captionItalic'] === 'true' ) ? ' childItalic' . $CSSext : ' childPlain' . $CSSext;
|
164 |
+
$listWeight = ( $C['listBold'] === 'true' ) ? ' childBold' . $CSSext : ' childNorm' . $CSSext;
|
165 |
+
$listItalic = ( $C['listItalic'] === 'true' ) ? ' childItalic' . $CSSext : ' childPlain' . $CSSext;
|
166 |
+
?>
|
167 |
+
|
168 |
+
<div id="wrapperMI_1" class="wrap-mjp <?php echo $C['userClasses']; ?>" style="position:relative; padding:0px 0px 0px 0px; margin:0px; width:100%;">
|
169 |
+
<div class="subwrap-MI">
|
170 |
+
|
171 |
+
<div class="jp-innerwrap">
|
172 |
+
<div class="innerx"></div>
|
173 |
+
<div class="innerleft"></div>
|
174 |
+
<div class="innerright"></div>
|
175 |
+
<div class="innertab" id="playerBG1"></div>
|
176 |
+
|
177 |
+
<div class="interface-mjp<?php echo $font1Class; ?>" style="<?php echo $heightProp; ?>" id="playerT1">
|
178 |
+
<div id="image-mjp" class="MI-image<?php echo $tweakerClass . $imageAlign; ?>" style="<?php echo $imgCSS . ' overflow:' . $C['imgOverflow'] . ';'; ?>"></div>
|
179 |
+
<div id="trackTitles" class="player-track-title<?php echo $titleAlign . $titleBold . $titleItalic . $captionWeight . $captionItalic; ?>" style="left:<?php echo $C['titleOffset']; ?>; right:<?php echo $C['titleOffsetR']; ?>; top:<?php echo $C['titleTop']; ?>;">Example Track Title<div>Example Caption</div></div>
|
180 |
+
|
181 |
+
<div id="bars-mjp" class="bars_holder">
|
182 |
+
<div class="loadMI_mp3j" id="playerBG3" style="width:100%;"></div>
|
183 |
+
<div class="poscolMI_mp3j<?php echo $posbarClass; ?>" id="playerBG4" style="width:60%;"></div>
|
184 |
+
<div class="posbarMI_mp3j" style="width:70%;"></div>
|
185 |
+
</div>
|
186 |
+
|
187 |
+
<div id="P-Time-MI_1" class="jp-play-time">3:24</div>
|
188 |
+
<div id="T-Time-MI_1" class="jp-total-time">10:00</div>
|
189 |
+
<div id="statusMI_1" class="statusMI"><span class="mjp-playing">Playing</span></div>
|
190 |
+
|
191 |
+
<div class="transport-MI">
|
192 |
+
<div class="pause-mjp" id="playpause_mp3j_1">Pause</div>
|
193 |
+
<div class="stop-mjp" id="stop_mp3j_1">Stop</div>
|
194 |
+
<div class="next-mjp" id="Next_mp3j_1">Next»</div>
|
195 |
+
<div class="prev-mjp" id="Prev_mp3j_1">«Prev</div>
|
196 |
+
</div>
|
197 |
+
|
198 |
+
<div class="buttons-wrap-mjp">
|
199 |
+
<div class="playlist-toggle-MI" id="listtog-mjp">HIDE PLAYLIST</div>
|
200 |
+
<div class="mp3j-popout-MI"><?php echo $O['popout_button_title']; ?></div>
|
201 |
+
<div id="download_mp3j_1" class="dloadmp3-MI"></div>
|
202 |
+
</div>
|
203 |
+
</div>
|
204 |
+
|
205 |
+
<div class="mjp-volwrap">
|
206 |
+
<div class="MIsliderVolume" id="volslider-mjp">
|
207 |
+
<div class="ui-widget-header" style="position:absolute; left:0; width:100%; height:100%;"></div>
|
208 |
+
<div class="ui-slider-handle" style="position:absolute; left:100%;"></div>
|
209 |
+
</div>
|
210 |
+
<div class="innerExt1" id="innerExt1_1"></div>
|
211 |
+
<div class="innerExt2" id="innerExt2_1"></div>
|
212 |
+
</div>
|
213 |
+
</div>
|
214 |
+
|
215 |
+
<div class="listwrap_mp3j" id="listwrap-mjp" style="overflow:auto; max-height:450px;<?php echo ( $O['playlist_show'] !== 'true' ? ' display:none;' : '' ); ?>">
|
216 |
+
<div class="wrapper-mjp">
|
217 |
+
<div class="playlist-colour" id="playerBG2"></div>
|
218 |
+
<div class="wrapper-mjp">
|
219 |
+
<ul id="ul-mjp" class="ul-mjp<?php echo $ulClass . $liClass . $listWeight. $listItalic . $listAlign; ?>">
|
220 |
+
<li class="li-mjp"><a id="playerT2" class="a-mjp" href="#">Example List Item</a></li>
|
221 |
+
<li class="li-mjp"><a id="playerT3" class="a-mjp" style="background:<?php echo $C['listBGa_hover']; ?>; color:<?php echo $C['list_hover_colour']; ?>;" href="#">Example List item (hover)</a></li>
|
222 |
+
<li class="li-mjp mjp-li-last"><a id="playerT4" class="a-mjp" style="background:<?php echo $C['listBGa_current']; ?>; color:<?php echo $C['list_current_colour']; ?>;" href="#">Example List Item (Current)</a></li>
|
223 |
+
</ul>
|
224 |
+
</div>
|
225 |
+
</div>
|
226 |
+
</div>
|
227 |
+
|
228 |
+
</div>
|
229 |
+
</div>
|
230 |
+
|
231 |
+
<!-- Admin BG Colour -->
|
232 |
+
<div class="testingSettings">
|
233 |
+
<input type="text" id="adminBG" name="adminBG" value="<?php echo $C['adminBG']; ?>" />
|
234 |
+
</div>
|
235 |
+
|
236 |
+
</div><!-- close #display_player_liner -->
|
237 |
+
</div><!-- close #sizer -->
|
238 |
+
|
239 |
+
|
240 |
+
|
241 |
+
<!-- TABS start -->
|
242 |
+
<div class="mp3j-tabbuttons-wrap">
|
243 |
+
<div class="mp3j-tabbutton" id="mp3j_tabbutton_0">Text</div>
|
244 |
+
<div class="mp3j-tabbutton" id="mp3j_tabbutton_1">Areas</div>
|
245 |
+
<div class="mp3j-tabbutton" id="mp3j_tabbutton_2">Fonts</div>
|
246 |
+
<div class="mp3j-tabbutton" id="mp3j_tabbutton_3">Alignments</div>
|
247 |
+
<div class="mp3j-tabbutton" id="mp3j_tabbutton_4">Mods</div>
|
248 |
+
<br class="clearB" />
|
249 |
+
</div>
|
250 |
+
<div class="mp3j-tabs-wrap">
|
251 |
+
|
252 |
+
<!-- TAB TEXT -->
|
253 |
+
<div class="mp3j-tab" id="mp3j_tab_0">
|
254 |
+
<div style="float:left; max-width:390px; min-height:273px; padding:5px;">
|
255 |
+
<table class="colours unselectable">
|
256 |
+
<tr>
|
257 |
+
<td><strong>Titles:</strong></td>
|
258 |
+
<td>
|
259 |
+
<div class="patch">
|
260 |
+
<div id="patchT1" onclick="MP3jP.clickPatch('T1','');" class="PatchCol" style="background-color:<?php echo $C['screen_text_colour']; ?>;" title="Retrieve"></div>
|
261 |
+
<div id="minusT1" class="minus" onclick="MP3jP.clickMinus('T1','color','T1');"></div>
|
262 |
+
<div id="plusT1" class="plus" onclick="MP3jP.clickPlus('T1','color');"></div>
|
263 |
+
</div>
|
264 |
+
</td>
|
265 |
+
<td><input type="checkbox" name="titleHide" id="titleHide" value="true"<?php echo ( $C['titleHide'] === 'true' ? ' checked="checked"' : ''); ?>/><label for="titleHide" style="font-weight:500;"> Hide</label></td>
|
266 |
+
<td></td>
|
267 |
+
<td></td>
|
268 |
+
|
269 |
+
</tr>
|
270 |
+
<tr>
|
271 |
+
<td><strong>Playlist:</strong></td>
|
272 |
+
<td>
|
273 |
+
<div class="patch">
|
274 |
+
<div id="patchT2" onclick="MP3jP.clickPatch('T2','');" class="PatchCol" style="background-color:<?php echo $C['list_text_colour']; ?>;" title="Retrieve"></div>
|
275 |
+
<div id="minusT2" class="minus" onclick="MP3jP.clickMinus('T2','color','T2');"></div>
|
276 |
+
<div id="plusT2" class="plus" onclick="MP3jP.clickPlus('T2','color');"></div>
|
277 |
+
</div>
|
278 |
+
</td>
|
279 |
+
<td></td>
|
280 |
+
<td></td>
|
281 |
+
<td></td>
|
282 |
+
</tr>
|
283 |
+
<tr>
|
284 |
+
<td> <span class="description">Hover:</span></td>
|
285 |
+
<td>
|
286 |
+
<div class="patch">
|
287 |
+
<div id="patchT3" onclick="MP3jP.clickPatch('T3','');" class="PatchCol" style="background-color:<?php echo $C['list_hover_colour']; ?>;" title="Retrieve"></div>
|
288 |
+
<div id="minusT3" class="minus" onclick="MP3jP.clickMinus('T3','color','T3');"></div>
|
289 |
+
<div id="plusT3" class="plus" onclick="MP3jP.clickPlus('T3','color');"></div>
|
290 |
+
</div>
|
291 |
+
</td>
|
292 |
+
<td>
|
293 |
+
<div class="patch fR">
|
294 |
+
<div id="patchBG5" onclick="MP3jP.clickPatch('BG5','');" class="PatchCol" style="background-color:<?php echo $C['listBGa_hover']; ?>;" title="Retrieve"></div>
|
295 |
+
<div id="minusBG5" class="minus" onclick="MP3jP.clickMinus('BG5','background-color','T3');"></div>
|
296 |
+
<div id="plusBG5" class="plus" onclick="MP3jP.clickPlus('BG5','background-color','T3');"></div>
|
297 |
+
</div>
|
298 |
+
</td>
|
299 |
+
<td><span class="description">Background</span></td>
|
300 |
+
<td></td>
|
301 |
+
</tr>
|
302 |
+
<tr>
|
303 |
+
<td> <span class="description">Current:</span></td>
|
304 |
+
<td>
|
305 |
+
<div class="patch">
|
306 |
+
<div id="patchT4" onclick="MP3jP.clickPatch('T4','');" class="PatchCol" style="background-color:<?php echo $C['list_current_colour']; ?>;" title="Retrieve"></div>
|
307 |
+
<div id="minusT4" class="minus" onclick="MP3jP.clickMinus('T4','color','T4');"></div>
|
308 |
+
<div id="plusT4" class="plus" onclick="MP3jP.clickPlus('T4','color');"></div>
|
309 |
+
</div>
|
310 |
+
</td>
|
311 |
+
<td>
|
312 |
+
<div class="patch fR">
|
313 |
+
<div id="patchBG6" onclick="MP3jP.clickPatch('BG6','');" class="PatchCol" style="background-color:<?php echo $C['listBGa_current']; ?>;" title="Retrieve"></div>
|
314 |
+
<div id="minusBG6" class="minus" onclick="MP3jP.clickMinus('BG6','background-color','T4');"></div>
|
315 |
+
<div id="plusBG6" class="plus" onclick="MP3jP.clickPlus('BG6','background','T4');"></div>
|
316 |
+
</div>
|
317 |
+
</td>
|
318 |
+
<td><span class="description">Background</span></td>
|
319 |
+
<td></td>
|
320 |
+
</tr>
|
321 |
+
</table>
|
322 |
+
|
323 |
+
<p style="margin:28px 0 12px 0; font-weight:700;"><a href="javascript:" onclick="jQuery('#hiddenFields1').toggle();">Show Field Values</a></p>
|
324 |
+
<div id="hiddenFields1" style="display:none;">
|
325 |
+
<table class="colours">
|
326 |
+
<tr>
|
327 |
+
<td>Titles:</td>
|
328 |
+
<td><input type="text" id="T1" name="screen_text_colour" value="<?php echo $C['screen_text_colour']; ?>" /></td>
|
329 |
+
</tr>
|
330 |
+
<tr>
|
331 |
+
<td>List:</td>
|
332 |
+
<td><input type="text" id="T2" name="list_text_colour" value="<?php echo $C['list_text_colour']; ?>" /></td>
|
333 |
+
</tr>
|
334 |
+
<tr>
|
335 |
+
<td>List Hover:</td>
|
336 |
+
<td><input type="text" id="T3" name="list_hover_colour" value="<?php echo $C['list_hover_colour']; ?>" /></td>
|
337 |
+
</tr>
|
338 |
+
<tr>
|
339 |
+
<td>List Hover BG:</td>
|
340 |
+
<td><input id="BG5" type="text" name="listBGa_hover" value="<?php echo $C['listBGa_hover']; ?>" /></td>
|
341 |
+
</tr>
|
342 |
+
<tr>
|
343 |
+
<td>List Current:</td>
|
344 |
+
<td><input type="text" id="T4" name="list_current_colour" value="<?php echo $C['list_current_colour']; ?>" /></td>
|
345 |
+
</tr>
|
346 |
+
<tr>
|
347 |
+
<td>List Current BG:</td>
|
348 |
+
<td><input id="BG6" type="text" name="listBGa_current" value="<?php echo $C['listBGa_current']; ?>" /></td>
|
349 |
+
</tr>
|
350 |
+
<tr style="display:none;">
|
351 |
+
<td>Track</td>
|
352 |
+
<td>
|
353 |
+
Bold <input type="checkbox" value="true" id="titleBold" onclick="MP3jP.fontCheckers('#titleBold', '#trackTitles', 'bold', 'norm');" name="titleBold"<?php if ( 'true' == $C['titleBold'] ) { echo ' checked="checked"'; } ?> />
|
354 |
+
<br>Italic <input type="checkbox" value="true" id="titleItalic" onclick="MP3jP.fontCheckers('#titleItalic', '#trackTitles','italic', 'plain');" name="titleItalic"<?php if ( 'true' == $C['titleItalic'] ) { echo ' checked="checked"'; } ?> />
|
355 |
+
</td>
|
356 |
+
</tr>
|
357 |
+
<tr style="display:none;">
|
358 |
+
<td>Caption</td>
|
359 |
+
<td>
|
360 |
+
Bold <input type="checkbox" value="true" id="captionBold" onclick="MP3jP.fontCheckers('#captionBold', '#trackTitles', 'childBold', 'childNorm');" name="captionBold"<?php if ( 'true' == $C['captionBold'] ) { echo ' checked="checked"'; } ?> />
|
361 |
+
<br>Italic <input type="checkbox" value="true" id="captionItalic" onclick="MP3jP.fontCheckers('#captionItalic', '#trackTitles','childItalic', 'childPlain');" name="captionItalic"<?php if ( 'true' == $C['captionItalic'] ) { echo ' checked="checked"'; } ?> />
|
362 |
+
</td>
|
363 |
+
</tr>
|
364 |
+
<tr style="display:none;">
|
365 |
+
<td>Playlist</td>
|
366 |
+
<td>
|
367 |
+
Bold <input type="checkbox" value="true" id="listBold" onclick="MP3jP.fontCheckers('#listBold', '#ul-mjp', 'childBold', 'childNorm');" name="listBold"<?php if ( 'true' == $C['listBold'] ) { echo ' checked="checked"'; } ?> />
|
368 |
+
<br>Italic <input type="checkbox" value="true" id="listItalic" onclick="MP3jP.fontCheckers('#listItalic', '#ul-mjp','childItalic', 'childPlain');" name="listItalic"<?php if ( 'true' == $C['listItalic'] ) { echo ' checked="checked"'; } ?> />
|
369 |
+
</td>
|
370 |
+
</tr>
|
371 |
+
</table>
|
372 |
+
</div>
|
373 |
+
</div>
|
374 |
+
|
375 |
+
<div style="float:left; width:230px; height:273px; overflow:hidden;">
|
376 |
+
<input type="text" value="#5985bc" id="spectrumPicker" />
|
377 |
+
</div>
|
378 |
+
</div><!-- close TAB -->
|
379 |
+
|
380 |
+
|
381 |
+
<!-- TAB AREAS -->
|
382 |
+
<div class="mp3j-tab" id="mp3j_tab_1">
|
383 |
+
<div style="float:left; width:380px; min-height:273px; padding:5px;">
|
384 |
+
<table class="colours unselectable">
|
385 |
+
<tr>
|
386 |
+
<td><strong>Screen</strong>:</td>
|
387 |
+
<td>
|
388 |
+
<div class="patch">
|
389 |
+
<div id="patchBG1" onclick="MP3jP.clickPatch('BG1','Alpha');" class="PatchCol" style="background-color:<?php echo $C['screen_colour']; ?>;" title="Retrieve"></div>
|
390 |
+
<div id="minusBG1" class="minus" onclick="MP3jP.clickMinus('BG1','background-color','BG1');"></div>
|
391 |
+
<div id="plusBG1" class="plus" onclick="MP3jP.clickPlus('BG1','background-color');"></div>
|
392 |
+
</div>
|
393 |
+
</td>
|
394 |
+
<td></td>
|
395 |
+
<td></td>
|
396 |
+
</tr>
|
397 |
+
<tr>
|
398 |
+
<td><strong>Load Bar</strong>:</td>
|
399 |
+
<td>
|
400 |
+
<div class="patch">
|
401 |
+
<div id="patchBG3" onclick="MP3jP.clickPatch('BG3','Alpha');" class="PatchCol" style="background-color:<?php echo $C['loadbar_colour']; ?>;" title="Retrieve"></div>
|
402 |
+
<div id="minusBG3" class="minus" onclick="MP3jP.clickMinus('BG3','background-color','BG3');"></div>
|
403 |
+
<div id="plusBG3" class="plus" onclick="MP3jP.clickPlus('BG3','background-color');"></div>
|
404 |
+
</div>
|
405 |
+
</td>
|
406 |
+
<td><span class="description">Indicator</span></td>
|
407 |
+
<td><select name="indicator" style="width:90px; font-size:11px;">
|
408 |
+
<option value="tint" <?php if ( 'tint' == $C['indicator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Greyscale</option>
|
409 |
+
<option value="colour" <?php if ( 'colour' == $C['indicator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Colour</option>
|
410 |
+
</select></td>
|
411 |
+
</tr>
|
412 |
+
<tr>
|
413 |
+
<td><strong>Position Bar</strong>:</td>
|
414 |
+
<td>
|
415 |
+
<div class="patch">
|
416 |
+
<div id="patchBG4" onclick="MP3jP.clickPatch('BG4','Alpha');" class="PatchCol" style="background-color:<?php echo $C['posbar_colour']; ?>;" title="Retrieve"></div>
|
417 |
+
<div id="minusBG4" class="minus" onclick="MP3jP.clickMinus('BG4','background-color','BG4');"></div>
|
418 |
+
<div id="plusBG4" class="plus" onclick="MP3jP.clickPlus('BG4','background-color');"></div>
|
419 |
+
</div>
|
420 |
+
</td>
|
421 |
+
<td><span class="description">Gradient</span></td>
|
422 |
+
<td><select name="posbar_tint" id="posbar_tint" style="width:90px; font-size:11px;">
|
423 |
+
<option value="none" <?php if ( 'none' == $C['posbar_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>None</option>
|
424 |
+
<option value="soften" <?php if ( 'soften' == $C['posbar_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Light grad</option>
|
425 |
+
<option value="softenT" <?php if ( 'softenT' == $C['posbar_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Pipe</option>
|
426 |
+
<option value="darken" <?php if ( 'darken' == $C['posbar_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Dark grad</option>
|
427 |
+
</select></td>
|
428 |
+
</tr>
|
429 |
+
<tr>
|
430 |
+
<td><strong>Playlist</strong>:</td>
|
431 |
+
<td>
|
432 |
+
<div class="patch">
|
433 |
+
<div id="patchBG2" onclick="MP3jP.clickPatch('BG2','Alpha');" class="PatchCol" style="background-color:<?php echo $C['playlist_colour']; ?>;" title="Retrieve"></div>
|
434 |
+
<div id="minusBG2" class="minus" onclick="MP3jP.clickMinus('BG2','background-color','BG2');"></div>
|
435 |
+
<div id="plusBG2" class="plus" onclick="MP3jP.clickPlus('BG2','background-color');"></div>
|
436 |
+
</div>
|
437 |
+
</td>
|
438 |
+
<td><span class="description">Gradient</span></td>
|
439 |
+
<td><select id="playlist_tint" name="playlist_tint" style="width:90px; font-size:11px;">
|
440 |
+
<option value="none" <?php if ( 'none' == $C['playlist_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>None</option>
|
441 |
+
<option value="lighten1" <?php if ( 'lighten1' == $C['playlist_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Light Short</option>
|
442 |
+
<option value="lighten2" <?php if ( 'lighten2' == $C['playlist_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Light Long</option>
|
443 |
+
<option value="darken1" <?php if ( 'darken1' == $C['playlist_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Dark Short</option>
|
444 |
+
<option value="darken2" <?php if ( 'darken2' == $C['playlist_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Dark Long</option>
|
445 |
+
</select></td>
|
446 |
+
</tr>
|
447 |
+
<tr>
|
448 |
+
<td></td>
|
449 |
+
<td></td>
|
450 |
+
<td><span class="description">Dividers</span></td>
|
451 |
+
<td><select id="list_divider" name="list_divider" style="width:100%; font-size:11px;">
|
452 |
+
<option value="none" <?php if ( 'none' == $C['list_divider'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>None</option>
|
453 |
+
<option value="light" <?php if ( 'light' == $C['list_divider'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Light</option>
|
454 |
+
<option value="med" <?php if ( 'med' == $C['list_divider'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Medium</option>
|
455 |
+
<option value="dark" <?php if ( 'dark' == $C['list_divider'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Dark</option>
|
456 |
+
</select></td>
|
457 |
+
</tr>
|
458 |
+
</table>
|
459 |
+
|
460 |
+
<p style="margin:0px 0 12px 0px; font-weight:700;"><a href="javascript:" onclick="jQuery('#hiddenFields0').toggle();">Show Field Values</a></p>
|
461 |
+
<div id="hiddenFields0" style="display:none;">
|
462 |
+
<table class="colours">
|
463 |
+
<tr>
|
464 |
+
<td>Screen:</td>
|
465 |
+
<td><input id="BG1" type="text" name="screen_colour" value="<?php echo $C['screen_colour']; ?>" style="width:200px;" /></td>
|
466 |
+
</tr>
|
467 |
+
<tr>
|
468 |
+
<td>Load Bar:</td>
|
469 |
+
<td><input id="BG3" type="text" name="loadbar_colour" value="<?php echo $C['loadbar_colour']; ?>" style="width:200px;" /></td>
|
470 |
+
</tr>
|
471 |
+
<tr>
|
472 |
+
<td>Position Bar:</td>
|
473 |
+
<td><input id="BG4" type="text" name="posbar_colour" value="<?php echo $C['posbar_colour']; ?>" style="width:200px;" /></td>
|
474 |
+
</tr>
|
475 |
+
<tr>
|
476 |
+
<td>Playlist:</td>
|
477 |
+
<td><input id="BG2" type="text" name="playlist_colour" value="<?php echo $C['playlist_colour']; ?>" style="width:200px;" /></td>
|
478 |
+
</tr>
|
479 |
+
</table>
|
480 |
+
</div>
|
481 |
+
</div>
|
482 |
+
|
483 |
+
<div style="float:left; width:230px; min-height:273px; overflow:hidden;">
|
484 |
+
<input type="text" value="rgb(80, 168, 79)" id="spectrumPickerAlpha" />
|
485 |
+
</div>
|
486 |
+
</div><!-- close TAB -->
|
487 |
+
|
488 |
+
|
489 |
+
<!-- TAB FONTS -->
|
490 |
+
<div class="mp3j-tab" id="mp3j_tab_2">
|
491 |
+
<div style=" min-height:250px; padding:10px 5px 5px 5px;">
|
492 |
+
<table class="colours unselectable">
|
493 |
+
<tr>
|
494 |
+
<td><strong>Titles:</strong></td>
|
495 |
+
<td><select id="font_family_1" name="font_family_1" style="width:110px; font-size:11px;">
|
496 |
+
<option value="theme"<?php if ( 'theme' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>>Theme's Font</option>
|
497 |
+
<option value="arial"<?php if ( 'arial' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>>Arial</option>
|
498 |
+
<option value="verdana"<?php if ( 'verdana' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>>Verdana</option>
|
499 |
+
<option value="times"<?php if ( 'times' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>>Times</option>
|
500 |
+
<option value="palatino"<?php if ( 'palatino' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>>Palatino</option>
|
501 |
+
<option value="courier"<?php if ( 'courier' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>>Courier New</option>
|
502 |
+
<option value="lucida"<?php if ( 'lucida' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>>Lucida Console</option>
|
503 |
+
<option value="gill"<?php if ( 'gill' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>>Gill Sans</option>
|
504 |
+
</select></td>
|
505 |
+
<td style="width:85px;"><div class="sliderWrap"><div id="fontSlider_1" class="fontSizeSlider"></div></div></td>
|
506 |
+
<td><input type="text" id="font_size_1" name="font_size_1" style="width:30px; font-size:11px;" value="<?php echo $C['font_size_1']; ?>" /> <span class="description">px</span></td>
|
507 |
+
</tr>
|
508 |
+
<tr>
|
509 |
+
<td></td>
|
510 |
+
<td style="text-align:right;"><span class="description">Track: </span>
|
511 |
+
<label for="titleBold" id="titleBold_label" class="unselectable format-button-B<?php if ( 'true' == $C['titleBold'] ) { echo ' formatOn'; } ?>">B</label>
|
512 |
+
<label for="titleItalic" id="titleItalic_label" class="unselectable format-button-i<?php if ( 'true' == $C['titleItalic'] ) { echo ' formatOn'; } ?>">i</label>
|
513 |
+
</td>
|
514 |
+
<td></td>
|
515 |
+
<td></td>
|
516 |
+
</tr>
|
517 |
+
<tr>
|
518 |
+
<td></td>
|
519 |
+
<td style="text-align:right;"><span class="description">Caption: </span>
|
520 |
+
<label for="captionBold" id="captionBold_label" class="unselectable format-button-B<?php if ( 'true' == $C['captionBold'] ) { echo ' formatOn'; } ?>">B</label>
|
521 |
+
<label for="captionItalic" id="captionItalic_label" class="unselectable format-button-i<?php if ( 'true' == $C['captionItalic'] ) { echo ' formatOn'; } ?>">i</label>
|
522 |
+
</td>
|
523 |
+
<td></td>
|
524 |
+
<td></td>
|
525 |
+
</tr>
|
526 |
+
<tr>
|
527 |
+
<td colspan="4"> </td>
|
528 |
+
</tr>
|
529 |
+
<tr>
|
530 |
+
<td><strong>Playlist:</strong></td>
|
531 |
+
<td><select id="font_family_2" name="font_family_2" style="width:110px; font-size:11px;">
|
532 |
+
<option value="theme"<?php if ( 'theme' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>>Theme's Font</option>
|
533 |
+
<option value="arial"<?php if ( 'arial' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>>Arial</option>
|
534 |
+
<option value="verdana"<?php if ( 'verdana' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>>Verdana</option>
|
535 |
+
<option value="times"<?php if ( 'times' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>>Times</option>
|
536 |
+
<option value="palatino"<?php if ( 'palatino' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>>Palatino</option>
|
537 |
+
<option value="courier"<?php if ( 'courier' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>>Courier New</option>
|
538 |
+
<option value="lucida"<?php if ( 'lucida' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>>Lucida Console</option>
|
539 |
+
<option value="gill"<?php if ( 'gill' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>>Gill Sans</option>
|
540 |
+
</select></td>
|
541 |
+
|
542 |
+
<td><div class="sliderWrap"><div id="fontSlider_2" class="fontSizeSlider"></div></div></td>
|
543 |
+
<td><input type="text" id="font_size_2" name="font_size_2" style="width:30px; font-size:11px;" value="<?php echo $C['font_size_2']; ?>" /> <span class="description">px</span></td>
|
544 |
+
</tr>
|
545 |
+
<tr>
|
546 |
+
<td></td>
|
547 |
+
<td style="text-align:right;">
|
548 |
+
<label for="listBold" id="listBold_label" class="unselectable format-button-B<?php if ( 'true' == $C['listBold'] ) { echo ' formatOn'; } ?>">B</label>
|
549 |
+
<label for="listItalic" id="listItalic_label" class="unselectable format-button-i<?php if ( 'true' == $C['listItalic'] ) { echo ' formatOn'; } ?>">i</label>
|
550 |
+
</td>
|
551 |
+
<td></td>
|
552 |
+
<td></td>
|
553 |
+
</tr>
|
554 |
+
</table>
|
555 |
+
</div>
|
556 |
+
</div><!-- close TAB -->
|
557 |
+
|
558 |
+
|
559 |
+
<!-- TAB ALIGNMENT -->
|
560 |
+
<div class="mp3j-tab" id="mp3j_tab_3">
|
561 |
+
<div style=" min-height:250px; padding:10px 5px 5px 5px;">
|
562 |
+
<?php
|
563 |
+
$greyoutClass = '';
|
564 |
+
$quietClass = '';
|
565 |
+
if ( $O['imageSize'] === "thumbnail" || $O['imageSize'] === "medium" || $O['imageSize'] === "large" ) {
|
566 |
+
$greyoutClass = " quietInput";
|
567 |
+
$quietClass = " quietText";
|
568 |
+
}
|
569 |
+
?>
|
570 |
+
<table class="colours unselectable">
|
571 |
+
<tr>
|
572 |
+
<td><span id="playerHeightWrap1" class="<?php echo $quietClass; ?>"><strong>Player Height</strong>:</span></td>
|
573 |
+
<td colspan="2">
|
574 |
+
<div class="sliderWrap" style="padding-left:5px;" onmouseover="jQuery('#playerT1').addClass('highlight');" onmouseout="jQuery('#playerT1').removeClass('highlight');">
|
575 |
+
<div id="offsetSlider_5" class="fontSizeSlider" style="width:250px;"></div>
|
576 |
+
</div>
|
577 |
+
</td>
|
578 |
+
<td><input type="text" id="playerHeight" class="<?php echo $greyoutClass; ?>" style="width:50px; font-size:11px;" name="playerHeight" value="<?php echo $O['playerHeight']; ?>" />
|
579 |
+
<span id="playerHeightWrap2" class="description <?php echo $quietClass; ?>"></span></td>
|
580 |
+
<td></td>
|
581 |
+
</tr>
|
582 |
+
<tr>
|
583 |
+
<td><strong>Images</strong>:</td>
|
584 |
+
<td><select name="imageAlign" id="imageAlign" style="font-weight:500;">
|
585 |
+
<option value="left"<?php if ( 'left' == $C['imageAlign'] ) { echo ' selected="selected"'; } ?>>Left</option>
|
586 |
+
<option value="centre"<?php if ( 'centre' == $C['imageAlign'] ) { echo ' selected="selected"'; } ?>>Centre</option>
|
587 |
+
<option value="right"<?php if ( 'right' == $C['imageAlign'] ) { echo ' selected="selected"'; } ?>>Right</option>
|
588 |
+
</select>
|
589 |
+
</td>
|
590 |
+
<td><select name="imageSize" id="imageSize" style="width:165px; font-weight:500;">
|
591 |
+
<option value="full"<?php if ( 'full' == $O['imageSize'] ) { echo ' selected="selected"'; } ?>>Original size</option>
|
592 |
+
<option value="autoW"<?php if ( 'autoW' == $O['imageSize'] ) { echo ' selected="selected"'; } ?>>Fit to player width</option>
|
593 |
+
<option value="autoH"<?php if ( 'autoH' == $O['imageSize'] ) { echo ' selected="selected"'; } ?>>Fit to player height</option>
|
594 |
+
<option value="thumbnail"<?php if ( 'thumbnail' == $O['imageSize'] ) { echo ' selected="selected"'; } ?>>Thumbnail</option>
|
595 |
+
<option value="medium"<?php if ( 'medium' == $O['imageSize'] ) { echo ' selected="selected"'; } ?>>Medium</option>
|
596 |
+
<option value="large"<?php if ( 'large' == $O['imageSize'] ) { echo ' selected="selected"'; } ?>>Large</option>
|
597 |
+
</select>
|
598 |
+
</td>
|
599 |
+
<td>
|
600 |
+
<input type="checkbox" name="imgOverflow" id="imgOverflow" value="visible"<?php echo ( $C['imgOverflow'] === 'visible' ? ' checked="checked"' : ''); ?>/>
|
601 |
+
<label for="imgOverflow" class="f500">overflow</label>
|
602 |
+
</td>
|
603 |
+
<td></td>
|
604 |
+
</tr>
|
605 |
+
<tr>
|
606 |
+
<td><strong>Playlist</strong>:</td>
|
607 |
+
<td><select name="listAlign" id="listAlign">
|
608 |
+
<option value="left"<?php if ( 'left' == $C['listAlign'] ) { echo ' selected="selected"'; } ?>>Left</option>
|
609 |
+
<option value="centre"<?php if ( 'centre' == $C['listAlign'] ) { echo ' selected="selected"'; } ?>>Centre</option>
|
610 |
+
<option value="right"<?php if ( 'right' == $C['listAlign'] ) { echo ' selected="selected"'; } ?>>Right</option>
|
611 |
+
</select></td>
|
612 |
+
<td></td>
|
613 |
+
<td></td>
|
614 |
+
<td></td>
|
615 |
+
</tr>
|
616 |
+
<tr>
|
617 |
+
<td><strong>Titles</strong>:</td>
|
618 |
+
<td><select name="titleAlign" id="titleAlign">
|
619 |
+
<option value="left"<?php if ( 'left' == $C['titleAlign'] ) { echo ' selected="selected"'; } ?>>Left</option>
|
620 |
+
<option value="centre"<?php if ( 'centre' == $C['titleAlign'] ) { echo ' selected="selected"'; } ?>>Centre</option>
|
621 |
+
<option value="right"<?php if ( 'right' == $C['titleAlign'] ) { echo ' selected="selected"'; } ?>>Right</option>
|
622 |
+
</select></td>
|
623 |
+
<td></td>
|
624 |
+
<td></td>
|
625 |
+
<td></td>
|
626 |
+
</tr>
|
627 |
+
<tr>
|
628 |
+
<td style="text-align:right;"><span class="description" style="font-size:11px;">Top</span></td>
|
629 |
+
<td colspan="2">
|
630 |
+
<div class="sliderWrap" style="padding-left:5px;" onmouseover="jQuery('#trackTitles').addClass('highlight');" onmouseout="jQuery('#trackTitles').removeClass('highlight');">
|
631 |
+
<div id="offsetSlider_6" class="fontSizeSlider" style="width:250px;"></div>
|
632 |
+
</div>
|
633 |
+
</td>
|
634 |
+
<td><input type="text" name="titleTop" id="titleTop" style="width:45px; font-size:11px;" value="<?php echo $C['titleTop']; ?>" />
|
635 |
+
<span class="description" style="font-size:11px;">px or %</span>
|
636 |
+
</td>
|
637 |
+
<td></td>
|
638 |
+
</tr>
|
639 |
+
<tr>
|
640 |
+
<td style="text-align:right;"><span class="description" style="font-size:11px;">Margins</span></td>
|
641 |
+
<td colspan="2">
|
642 |
+
<div class="sliderWrap" style="padding-left:5px;" onmouseover="jQuery('#trackTitles').addClass('highlight');" onmouseout="jQuery('#trackTitles').removeClass('highlight');">
|
643 |
+
<div id="offsetSlider_1" class="fontSizeSlider" style="width:250px;"></div>
|
644 |
+
</div>
|
645 |
+
</td>
|
646 |
+
<td><input type="text" name="titleOffset" id="titleOffset1" style="width:45px; font-size:11px;" value="<?php echo $C['titleOffset']; ?>" />
|
647 |
+
<input type="text" name="titleOffsetR" id="titleOffset2" style="width:45px; font-size:11px;" value="<?php echo $C['titleOffsetR']; ?>" />
|
648 |
+
<span class="description" style="font-size:11px;">px or %</span>
|
649 |
+
</td>
|
650 |
+
<td></td>
|
651 |
+
</tr>
|
652 |
+
</table>
|
653 |
+
</div>
|
654 |
+
</div><!-- Close Tab -->
|
655 |
+
|
656 |
+
|
657 |
+
<!-- TAB MODS -->
|
658 |
+
<div class="mp3j-tab" id="mp3j_tab_4">
|
659 |
+
<div style="padding:10px 5px 5px 5px; min-height:250px;">
|
660 |
+
<strong>Modifiers:</strong>
|
661 |
+
<br><br><input type="text" name="userClasses" id="userClasses" value="<?php echo $C['userClasses']; ?>" style="width:100%; max-width:500px;"/>
|
662 |
+
<br><br><span class="description"> Use this field to add modifier names. Use a space to separate names, the following are supported by default:</span>
|
663 |
+
<br><br>
|
664 |
+
<table class="colours unselectable">
|
665 |
+
<tr>
|
666 |
+
<td><code>nostop</code></td>
|
667 |
+
<td>Hides the stop button</td>
|
668 |
+
</tr>
|
669 |
+
<tr>
|
670 |
+
<td><code>nopn</code></td>
|
671 |
+
<td>Hides the prev/next buttons</td>
|
672 |
+
</tr>
|
673 |
+
<tr>
|
674 |
+
<td><code>nolistbutton</code></td>
|
675 |
+
<td>Hides the playlist button</td>
|
676 |
+
</tr>
|
677 |
+
<tr>
|
678 |
+
<td><code>nopopoutbutton</code></td>
|
679 |
+
<td>Hides the popout button</td>
|
680 |
+
</tr>
|
681 |
+
<tr>
|
682 |
+
<td><code>fullbars</code></td>
|
683 |
+
<td>Position slider fills the screen/image area</td>
|
684 |
+
</tr>
|
685 |
+
</table>
|
686 |
+
</div>
|
687 |
+
</div><!-- Close Tab -->
|
688 |
+
|
689 |
+
</div><!-- close TABS wrapper -->
|
690 |
+
|
691 |
+
|
692 |
+
|
693 |
+
<!-- TEST IMAGE -->
|
694 |
+
<br class="clearB" /><hr>
|
695 |
+
<div class="testingSettingsBottom">
|
696 |
+
<input type="checkbox" id="adminCheckerIMG" name="adminCheckerIMG" value="true" <?php if ( $C['adminCheckerIMG'] == "true" ) { echo 'checked="checked" '; } ?>/>
|
697 |
+
<label for="adminCheckerIMG"><strong>Test Image</strong> url:</label> <input type="text" id="adminIMG" name="adminIMG" style="width:300px;" value="<?php echo $C['adminIMG']; ?>" />
|
698 |
+
<span class="button-secondary" style="font-size:11px; height:25px;" id="reloadIMG"> Reload </span>
|
699 |
+
</div>
|
700 |
+
|
701 |
+
|
702 |
+
|
703 |
+
<!-- SAVE SETTINGS -->
|
704 |
+
<div class="savewrap">
|
705 |
+
<input type="submit" name="save_MP3jP" class="button-primary" style="font-weight:700;" value=" Save All Changes " />
|
706 |
+
<input type="hidden" name="version_MP3jP" value="<?php echo $mp3_fox->version_of_plugin; ?>" />
|
707 |
+
<input type="hidden" name="adminSizer_w" id="adminSizer_w" value="<?php echo $C['adminSizer_w']; ?>" />
|
708 |
+
<input type="hidden" name="adminSizer_h" id="adminSizer_h" value="<?php echo $C['adminSizer_h']; ?>" />
|
709 |
+
</div>
|
710 |
+
|
711 |
+
|
712 |
+
|
713 |
+
</form><!-- close form -->
|
714 |
+
<br>
|
715 |
+
<hr>
|
716 |
+
<div style="margin: 15px 0px 0px 0px; min-height:30px;">
|
717 |
+
<p class="description" style="margin: 0px 120px px 0px; font-weight:700; color:#d0d0d0;">
|
718 |
+
<a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/help-docs/">Help & Docs »</a>
|
719 |
+
<a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/skins">Get Skins »</a>
|
720 |
+
<a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/add-ons">Get Add-Ons »</a>
|
721 |
+
</p>
|
722 |
+
</div>
|
723 |
+
|
724 |
+
|
725 |
+
<div style="margin: 15px auto; height:100px;">
|
726 |
+
</div>
|
727 |
+
|
728 |
+
|
729 |
+
|
730 |
+
|
731 |
+
|
732 |
+
</div><!-- close .wrap -->
|
733 |
+
|
734 |
+
<script>
|
735 |
+
jQuery(document).ready( function () {
|
736 |
+
MP3jP.init();
|
737 |
+
});
|
738 |
+
</script>
|
739 |
+
|
740 |
+
<?php
|
741 |
+
}
|
742 |
+
?>
|
admin-settings.php
ADDED
@@ -0,0 +1,789 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|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mp3_fox->getAdminOptions();
|
8 |
+
$colours_array = array();
|
9 |
+
|
10 |
+
|
11 |
+
if ( isset( $_POST['update_mp3foxSettings'] ) )
|
12 |
+
{
|
13 |
+
//prep/sanitize values
|
14 |
+
if (isset($_POST['mp3foxVol'])) {
|
15 |
+
$O['initial_vol'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxVol']);
|
16 |
+
if ($O['initial_vol'] < 0 || $O['initial_vol']=="") { $O['initial_vol'] = "0"; }
|
17 |
+
if ($O['initial_vol'] > 100) { $O['initial_vol'] = "100"; }
|
18 |
+
}
|
19 |
+
if (isset($_POST['mp3foxPopoutMaxHeight'])) {
|
20 |
+
$O['popout_max_height'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxPopoutMaxHeight']);
|
21 |
+
if ( $O['popout_max_height'] == "" ) { $O['popout_max_height'] = "750"; }
|
22 |
+
if ( $O['popout_max_height'] < 200 ) { $O['popout_max_height'] = "200"; }
|
23 |
+
if ( $O['popout_max_height'] > 1200 ) { $O['popout_max_height'] = "1200"; }
|
24 |
+
}
|
25 |
+
if (isset($_POST['mp3foxPopoutWidth'])) {
|
26 |
+
$O['popout_width'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxPopoutWidth']);
|
27 |
+
if ( $O['popout_width'] == "" ) { $O['popout_width'] = "400"; }
|
28 |
+
if ( $O['popout_width'] < 250 ) { $O['popout_width'] = "250"; }
|
29 |
+
if ( $O['popout_width'] > 1600 ) { $O['popout_width'] = "1600"; }
|
30 |
+
}
|
31 |
+
if (isset($_POST['mp3foxMaxListHeight'])) {
|
32 |
+
$O['max_list_height'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxMaxListHeight']);
|
33 |
+
if ( $O['max_list_height'] < 0 ) { $O['max_list_height'] = ""; }
|
34 |
+
}
|
35 |
+
if (isset($_POST['mp3foxfolder'])) {
|
36 |
+
$O['mp3_dir'] = $mp3_fox->prep_path( $_POST['mp3foxfolder'] );
|
37 |
+
}
|
38 |
+
if (isset($_POST['mp3foxPopoutBGimage'])) {
|
39 |
+
$O['popout_background_image'] = $mp3_fox->prep_path( $_POST['mp3foxPopoutBGimage'] );
|
40 |
+
}
|
41 |
+
|
42 |
+
$O['dloader_remote_path'] = ( isset($_POST['dloader_remote_path']) ) ? $mp3_fox->prep_value( $_POST['dloader_remote_path'] ) : "";
|
43 |
+
$O['loggedout_dload_link'] = ( $_POST['loggedout_dload_link'] == "" ) ? "" : $mp3_fox->prep_value( $_POST['loggedout_dload_link'] ); //allow it to be empty
|
44 |
+
|
45 |
+
if (isset($_POST['mp3foxFloat'])) {
|
46 |
+
$O['player_float'] = $mp3_fox->prep_value( $_POST['mp3foxFloat'] );
|
47 |
+
}
|
48 |
+
if (isset($_POST['librarySortcol'])) {
|
49 |
+
$O['library_sortcol'] = $mp3_fox->prep_value( $_POST['librarySortcol'] );
|
50 |
+
}
|
51 |
+
if (isset($_POST['libraryDirection'])) {
|
52 |
+
$O['library_direction'] = $mp3_fox->prep_value( $_POST['libraryDirection'] );
|
53 |
+
}
|
54 |
+
if (isset($_POST['folderFeedSortcol'])) {
|
55 |
+
$O['folderFeedSortcol'] = $mp3_fox->prep_value( $_POST['folderFeedSortcol'] );
|
56 |
+
}
|
57 |
+
if (isset($_POST['folderFeedDirection'])) {
|
58 |
+
$O['folderFeedDirection'] = $mp3_fox->prep_value( $_POST['folderFeedDirection'] );
|
59 |
+
}
|
60 |
+
if (isset($_POST['file_separator'])) {
|
61 |
+
$O['f_separator'] = $mp3_fox->prep_value( $_POST['file_separator'] );
|
62 |
+
}
|
63 |
+
if (isset($_POST['caption_separator'])) {
|
64 |
+
$O['c_separator'] = $mp3_fox->prep_value( $_POST['caption_separator'] );
|
65 |
+
}
|
66 |
+
if (isset($_POST['mp3foxDownloadMp3'])) {
|
67 |
+
$O['show_downloadmp3'] = $mp3_fox->prep_value( $_POST['mp3foxDownloadMp3'] );
|
68 |
+
}
|
69 |
+
if (isset($_POST['replacerShortcode_playlist'])) {
|
70 |
+
$O['replacerShortcode_playlist'] = $mp3_fox->prep_value( $_POST['replacerShortcode_playlist'] );
|
71 |
+
}
|
72 |
+
if (isset($_POST['replacerShortcode_single'])) {
|
73 |
+
$O['replacerShortcode_single'] = $mp3_fox->prep_value( $_POST['replacerShortcode_single'] );
|
74 |
+
}
|
75 |
+
|
76 |
+
$O['echo_debug'] = ( isset($_POST['mp3foxEchoDebug']) ) ? "true" : "false";
|
77 |
+
$O['add_track_numbering'] = ( isset($_POST['mp3foxAddTrackNumbers']) ) ? "true" : "false";
|
78 |
+
$O['enable_popout'] = ( isset($_POST['mp3foxEnablePopout']) ) ? "true" : "false";
|
79 |
+
$O['playlist_repeat'] = ( isset($_POST['mp3foxPlaylistRepeat']) ) ? "true" : "false";
|
80 |
+
$O['encode_files'] = ( isset($_POST['mp3foxEncodeFiles']) ) ? "true" : "false";
|
81 |
+
$O['run_shcode_in_excerpt'] = ( isset($_POST['runShcodeInExcerpt']) ) ? "true" : "false";
|
82 |
+
$O['volslider_on_singles'] = ( isset($_POST['volslider_onsingles']) ) ? "true" : "false";
|
83 |
+
$O['volslider_on_mp3j'] = ( isset($_POST['volslider_onmp3j']) ) ? "true" : "false";
|
84 |
+
//$O['touch_punch_js'] = ( isset($_POST['touch_punch_js']) ) ? "true" : "false";
|
85 |
+
$O['force_browser_dload'] = ( isset($_POST['force_browser_dload']) ) ? "true" : "false";
|
86 |
+
$O['make_player_from_link'] = ( isset($_POST['make_player_from_link']) ) ? "true" : "false";
|
87 |
+
$O['auto_play'] = ( isset($_POST['mp3foxAutoplay']) ) ? "true" : "false";
|
88 |
+
$O['allow_remoteMp3'] = ( isset($_POST['mp3foxAllowRemote']) ) ? "true" : "false";
|
89 |
+
$O['player_onblog'] = ( isset($_POST['mp3foxOnBlog']) ) ? "true" : "false";
|
90 |
+
$O['playlist_show'] = ( isset($_POST['mp3foxShowPlaylist']) ) ? "true" : "false";
|
91 |
+
$O['remember_settings'] = ( isset($_POST['mp3foxRemember']) ) ? "true" : "false";
|
92 |
+
$O['hide_mp3extension'] = ( isset($_POST['mp3foxHideExtension']) ) ? "true" : "false";
|
93 |
+
$O['replace_WP_playlist'] = ( isset($_POST['replace_WP_playlist']) ) ? "true" : "false";
|
94 |
+
$O['replace_WP_audio'] = ( isset($_POST['replace_WP_audio']) ) ? "true" : "false";
|
95 |
+
$O['replace_WP_embedded'] = ( isset($_POST['replace_WP_embedded']) ) ? "true" : "false";
|
96 |
+
$O['replace_WP_attached'] = ( isset($_POST['replace_WP_attached']) ) ? "true" : "false";
|
97 |
+
$O['autoCounterpart'] = ( isset($_POST['autoCounterpart']) ) ? "true" : "false";
|
98 |
+
$O['allowRangeRequests'] = ( isset($_POST['allowRangeRequests']) ) ? "true" : "false";
|
99 |
+
|
100 |
+
$O['paddings_top'] = ( $_POST['mp3foxPaddings_top'] == "" ) ? "0px" : $mp3_fox->prep_value( $_POST['mp3foxPaddings_top'] );
|
101 |
+
$O['paddings_bottom'] = ( $_POST['mp3foxPaddings_bottom'] == "" ) ? "0px" : $mp3_fox->prep_value( $_POST['mp3foxPaddings_bottom'] );
|
102 |
+
$O['paddings_inner'] = ( $_POST['mp3foxPaddings_inner'] == "" ) ? "0px" : $mp3_fox->prep_value( $_POST['mp3foxPaddings_inner'] );
|
103 |
+
$O['font_size_mp3t'] = ( $_POST['font_size_mp3t'] == "" ) ? "14px" : $mp3_fox->prep_value( $_POST['font_size_mp3t'] );
|
104 |
+
$O['font_size_mp3j'] = ( $_POST['font_size_mp3j'] == "" ) ? "14px" : $mp3_fox->prep_value( $_POST['font_size_mp3j'] );
|
105 |
+
$O['dload_text'] = ( $_POST['dload_text'] == "" ) ? "" : $mp3_fox->strip_scripts( $_POST['dload_text'] );
|
106 |
+
$O['loggedout_dload_text'] = ( $_POST['loggedout_dload_text'] == "" ) ? "" : $mp3_fox->strip_scripts( $_POST['loggedout_dload_text'] );
|
107 |
+
|
108 |
+
$hasFormat = false;
|
109 |
+
foreach ( $O['audioFormats'] as $k => $f ) {
|
110 |
+
if ( isset($_POST['audioFormats'][$k]) ) {
|
111 |
+
$O['audioFormats'][$k] = "true";
|
112 |
+
$hasFormat = true;
|
113 |
+
}
|
114 |
+
else {
|
115 |
+
$O['audioFormats'][$k] = "false";
|
116 |
+
}
|
117 |
+
}
|
118 |
+
if ( ! $hasFormat ) {
|
119 |
+
$O['audioFormats']['mp3'] = "true";
|
120 |
+
}
|
121 |
+
|
122 |
+
if (isset($_POST['mp3foxPlayerWidth'])) {
|
123 |
+
$O['player_width'] = $mp3_fox->prep_value( $_POST['mp3foxPlayerWidth'] );
|
124 |
+
}
|
125 |
+
if (isset($_POST['disableJSlibs'])) {
|
126 |
+
$O['disable_jquery_libs'] = ( preg_match("/^yes$/i", $_POST['disableJSlibs']) ) ? "yes" : "";
|
127 |
+
}
|
128 |
+
if ( isset($_POST['mp3foxPopoutButtonText']) ) {
|
129 |
+
$O['popout_button_title'] = $mp3_fox->strip_scripts( $_POST['mp3foxPopoutButtonText'] );
|
130 |
+
}
|
131 |
+
if ( isset($_POST['make_player_from_link_shcode']) ) {
|
132 |
+
$O['make_player_from_link_shcode'] = $mp3_fox->strip_scripts( $_POST['make_player_from_link_shcode'] );
|
133 |
+
}
|
134 |
+
if ( isset($_POST['mp3foxPopoutBackground']) ) {
|
135 |
+
$O['popout_background'] = $mp3_fox->prep_value( $_POST['mp3foxPopoutBackground'] );
|
136 |
+
}
|
137 |
+
if ( isset($_POST['mp3foxPluginVersion']) ) {
|
138 |
+
$O['db_plugin_version'] = $mp3_fox->prep_value( $_POST['mp3foxPluginVersion'] );
|
139 |
+
}
|
140 |
+
|
141 |
+
update_option($mp3_fox->adminOptionsName, $O);
|
142 |
+
$mp3_fox->theSettings = $O;
|
143 |
+
$mp3_fox->setAllowedFeedTypesArrays();
|
144 |
+
?>
|
145 |
+
|
146 |
+
<!-- Settings saved message -->
|
147 |
+
<div class="updated"><p><strong><?php _e("Settings Updated.", $mp3_fox->textdomain );?></strong></p></div>
|
148 |
+
<?php
|
149 |
+
}
|
150 |
+
|
151 |
+
|
152 |
+
$current_colours = $O['colour_settings'];
|
153 |
+
?>
|
154 |
+
<div class="wrap">
|
155 |
+
|
156 |
+
|
157 |
+
<h2> </h2>
|
158 |
+
<h1>MP3-jPlayer
|
159 |
+
<span class="description" style="font-size:10px;">Version <?php echo $mp3_fox->version_of_plugin; ?></span>
|
160 |
+
<span class="description" style="font-size:13px; font-weight:700;"><a class="button-secondary" style="background-color:#f0fff0;" target="_blank" href="http://mp3-jplayer.com/help-docs/">Help & Docs »</a></span>
|
161 |
+
</h1>
|
162 |
+
<p style="margin-bottom:10px;"> </p>
|
163 |
+
<?php
|
164 |
+
if ( $O['disable_jquery_libs'] == "yes" ) {
|
165 |
+
echo ' <span style="font-size: 11px; font-weight:700; color:#f66;">(jQuery and UI scripts are turned off)</span>';
|
166 |
+
}
|
167 |
+
?>
|
168 |
+
<form method="post" action="<?php echo $_SERVER["REQUEST_URI"]; ?>">
|
169 |
+
|
170 |
+
|
171 |
+
<div class="mp3j-tabbuttons-wrap">
|
172 |
+
<div class="mp3j-tabbutton" id="mp3j_tabbutton_1">Files</div>
|
173 |
+
<div class="mp3j-tabbutton" id="mp3j_tabbutton_0">Players</div>
|
174 |
+
<div class="mp3j-tabbutton" id="mp3j_tabbutton_3">Downloads</div>
|
175 |
+
<div class="mp3j-tabbutton" id="mp3j_tabbutton_4">Popout</div>
|
176 |
+
<div class="mp3j-tabbutton" id="mp3j_tabbutton_2">Advanced</div>
|
177 |
+
<br class="clearB" />
|
178 |
+
</div>
|
179 |
+
|
180 |
+
|
181 |
+
<div class="mp3j-tabs-wrap">
|
182 |
+
|
183 |
+
<!-- TAB 0.......................... -->
|
184 |
+
<div class="mp3j-tab" id="mp3j_tab_0">
|
185 |
+
<p class="tabD" style="margin:0 0 10px 0; max-width:550px;">These are the player default settings, most of them can be set per-player using <strong><a target="_blank" href="http://mp3-jplayer.com/shortcode-reference/">shortcode parameters</a></strong>.</p>
|
186 |
+
|
187 |
+
<p style="margin-bottom:10px;"><label>Initial volume: </label><input type="text" style="text-align:center;" size="2" name="mp3foxVol" value="<?php echo $O['initial_vol']; ?>" /> <span class="description">(0 - 100)</span></p>
|
188 |
+
<p><input type="checkbox" name="mp3foxAutoplay" id="mp3foxAutoplay" value="true" <?php if ($O['auto_play'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); } ?> /><label for="mp3foxAutoplay"> Autoplay</label> <span class="description">(Disallowed by most touchscreen devices, this will only activate on desktops and laptops)</span></p>
|
189 |
+
<p><input type="checkbox" name="mp3foxPlaylistRepeat" id="mp3foxPlaylistRepeat" value="true" <?php if ($O['playlist_repeat'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); } ?> /><label for="mp3foxPlaylistRepeat"> Loop</label></p>
|
190 |
+
<p><input type="checkbox" name="mp3foxAddTrackNumbers" id="mp3foxAddTrackNumbers" value="true" <?php if ($O['add_track_numbering'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); } ?> />
|
191 |
+
<label for="mp3foxAddTrackNumbers"> Number the tracks</label></p>
|
192 |
+
|
193 |
+
<br><br>
|
194 |
+
<div style="float:left; width:260px; margin-right:10px;">
|
195 |
+
|
196 |
+
<div style="background:#e9e9e9; border-bottom:1px solid #fff; padding:4px 0 4px 10px; margin:0 0 5px 0;">Single-File Text Players</div>
|
197 |
+
<table style="margin:0 0 0px 10px;">
|
198 |
+
<tr>
|
199 |
+
<td><strong>Font Size</strong>:</td>
|
200 |
+
<td><input type="text" value="<?php echo $O['font_size_mp3t']; ?>" name="font_size_mp3t" style="width:70px;" /></td>
|
201 |
+
</tr>
|
202 |
+
<tr>
|
203 |
+
<td><label for="volslider_onsingles"><strong>Volume Control</strong>: </label></td>
|
204 |
+
<td><input type="checkbox" name="volslider_onsingles" id="volslider_onsingles" value="true" <?php if ($O['volslider_on_singles'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /></td>
|
205 |
+
</tr>
|
206 |
+
</table>
|
207 |
+
</div>
|
208 |
+
|
209 |
+
<div style="float:left; width:260px;">
|
210 |
+
<div style="background:#e9e9e9; border-bottom:1px solid #fff; padding:4px 0 4px 10px; margin:0 0 5px 0;">Single-File Button Players</div>
|
211 |
+
<table style="margin:0 0 0px 10px;">
|
212 |
+
<tr>
|
213 |
+
<td><strong>Font Size</strong>:</td>
|
214 |
+
<td><input type="text" value="<?php echo $O['font_size_mp3j']; ?>" name="font_size_mp3j" style="width:70px;" /></td>
|
215 |
+
</tr>
|
216 |
+
<tr>
|
217 |
+
<td><label for="volslider_onmp3j"><strong>Volume Control</strong>: </label></td>
|
218 |
+
<td><input type="checkbox" name="volslider_onmp3j" id="volslider_onmp3j" value="true" <?php if ($O['volslider_on_mp3j'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /></td>
|
219 |
+
</tr>
|
220 |
+
</table>
|
221 |
+
</div>
|
222 |
+
|
223 |
+
<br class="clearB"><br><br>
|
224 |
+
<div style="background:#e9e9e9; border-bottom:1px solid #fff; padding:4px 0 4px 10px; margin:0 0 5px 0; width:520px;">Playlist Players</div>
|
225 |
+
<table style="margin:0 0 0px 10px;">
|
226 |
+
<tr>
|
227 |
+
<td><strong>Width:</strong></td>
|
228 |
+
<td><input type="text" style="width:100px;" name="mp3foxPlayerWidth" value="<?php echo $O['player_width']; ?>" /></td>
|
229 |
+
<td><span class="description">pixels (px) or percent (%)</span></td>
|
230 |
+
</tr>
|
231 |
+
<tr>
|
232 |
+
<td><strong>Alignment:</strong></td>
|
233 |
+
<td><select name="mp3foxFloat" style="width:100px;">
|
234 |
+
<option value="none" <?php if ( 'none' == $O['player_float'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Left</option>
|
235 |
+
<option value="rel-C" <?php if ( 'rel-C' == $O['player_float'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Centre</option>
|
236 |
+
<option value="rel-R" <?php if ( 'rel-R' == $O['player_float'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Right</option>
|
237 |
+
<option value="left" <?php if ( 'left' == $O['player_float'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Float Left</option>
|
238 |
+
<option value="right" <?php if ( 'right' == $O['player_float'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Float Right</option>
|
239 |
+
</select></td>
|
240 |
+
<td></td>
|
241 |
+
</tr>
|
242 |
+
<tr>
|
243 |
+
<td> </td>
|
244 |
+
<td></td>
|
245 |
+
<td></td>
|
246 |
+
</tr>
|
247 |
+
<tr>
|
248 |
+
<td><strong>Margins:</strong></td>
|
249 |
+
<td colspan="2"> <span class="description">pixels (px) or percent (%)</span></td>
|
250 |
+
</tr>
|
251 |
+
<tr>
|
252 |
+
<td></td>
|
253 |
+
<td colspan="2"><input type="text" size="5" style="text-align:center;" name="mp3foxPaddings_top" value="<?php echo $O['paddings_top']; ?>" /> Above players<br />
|
254 |
+
<input type="text" size="5" style="text-align:center;" name="mp3foxPaddings_inner" value="<?php echo $O['paddings_inner']; ?>" /> Inner margin (floated players)<br />
|
255 |
+
<input type="text" size="5" style="text-align:center;" name="mp3foxPaddings_bottom" value="<?php echo $O['paddings_bottom']; ?>" /> Below players</td>
|
256 |
+
</tr>
|
257 |
+
</table>
|
258 |
+
<br>
|
259 |
+
|
260 |
+
<p style="margin:0 0 6px 15px;"><input type="checkbox" name="mp3foxEnablePopout" id="mp3foxEnablePopout" value="true" <?php if ($O['enable_popout'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> />
|
261 |
+
<label for="mp3foxEnablePopout"> Show popout player button</label></p>
|
262 |
+
|
263 |
+
<p style="margin:0 0 0px 15px;"><input type="checkbox" name="mp3foxShowPlaylist" id="mp3foxShowPlaylist" value="true" <?php if ($O['playlist_show'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> />
|
264 |
+
<label for="mp3foxShowPlaylist"> Start with playlists open</label></p>
|
265 |
+
|
266 |
+
|
267 |
+
<p style="margin:5px 0 0 45px;"><label>Max playlist height:</label>
|
268 |
+
<input type="text" size="6" style="text-align:center;" name="mp3foxMaxListHeight" value="<?php echo $O['max_list_height']; ?>" />
|
269 |
+
px <span class="description">(a scroll bar will show for longer playlists, leave it blank for no limit)</span></p>
|
270 |
+
|
271 |
+
</div><!-- CLOSE TAB -->
|
272 |
+
|
273 |
+
|
274 |
+
|
275 |
+
<!-- TAB 1......................... -->
|
276 |
+
<div class="mp3j-tab" id="mp3j_tab_1">
|
277 |
+
|
278 |
+
<?php
|
279 |
+
////
|
280 |
+
//Library
|
281 |
+
$library = $mp3_fox->grab_library_info();
|
282 |
+
$libCount = ( $library ) ? $library['count'] : "0";
|
283 |
+
$libText = '';
|
284 |
+
$libButton = '';
|
285 |
+
$liblist = '';
|
286 |
+
|
287 |
+
$libText .= '<span class="tabD" style="margin:0 0 10px 0;">Library contains <strong>' . $libCount . '</strong> audio file' . ( $libCount != 1 ? 's' : '' ) . '</span>. <strong><a href="media-new.php">Upload new »</a></strong>';
|
288 |
+
|
289 |
+
if ( $libCount > 0 )
|
290 |
+
{
|
291 |
+
$libButton .= '<a class="button-secondary" href="javascript:" onclick="jQuery(\'#library-list\').toggle();" id="library-open">View files</a>';
|
292 |
+
$n = 1;
|
293 |
+
|
294 |
+
$liblist .= '<div id="library-list" style="display:none;"><table class="fileList">';
|
295 |
+
$liblist .= '<tr>';
|
296 |
+
$liblist .= '<th> </th>';
|
297 |
+
$liblist .= '<th> </th>';
|
298 |
+
$liblist .= '<th>Filename</th>';
|
299 |
+
$liblist .= '<th> Title</th>';
|
300 |
+
$liblist .= '<th> Caption </th>';
|
301 |
+
$liblist .= '<th>Uploaded </th>';
|
302 |
+
$liblist .= '</tr>';
|
303 |
+
foreach ( $library['filenames'] as $i => $file )
|
304 |
+
{
|
305 |
+
$niceDate = date( 'jS F Y', strtotime($library['postDates'][$i]) );
|
306 |
+
$liblist .= '<tr>';
|
307 |
+
$liblist .= '<td> <a href="post.php?post=' . $library['postIDs'][$i] . '&action=edit" target="_blank">Edit</a> </td>';
|
308 |
+
$liblist .= '<td><span style="color:#aaa;font-size:11px;">' . $n . ' </span></td>';
|
309 |
+
$liblist .= '<td>' . $file . '</td>';
|
310 |
+
$liblist .= '<td><span style="color:#aaa;"> ' . $library['titles'][$i] . '</span> </td>';
|
311 |
+
$liblist .= '<td><span style="color:#aaa;"> ' . $library['excerpts'][$i] . '</span> </td>';
|
312 |
+
$liblist .= '<td><span style="color:#aaa; font-size:11px;">' . $niceDate . '</span> </td>';
|
313 |
+
$liblist .= '</tr>';
|
314 |
+
$n++;
|
315 |
+
}
|
316 |
+
$liblist .= '</table></div>';
|
317 |
+
}
|
318 |
+
|
319 |
+
////
|
320 |
+
//Default Folder
|
321 |
+
$n = 1;
|
322 |
+
$folderInfo = $mp3_fox->grabFolderURLs( $O['mp3_dir'] ); //grab all
|
323 |
+
$folderText = '';
|
324 |
+
$folderButton = '';
|
325 |
+
$folderHtml = '';
|
326 |
+
|
327 |
+
if ( is_array($folderInfo) )
|
328 |
+
{
|
329 |
+
$folderuris = $folderInfo['files'];
|
330 |
+
$uploadDates = $folderInfo['dates'];
|
331 |
+
foreach ( $folderuris as $i => $uri ) {
|
332 |
+
$files[$i] = strrchr( $uri, "/" );
|
333 |
+
$files[$i] = str_replace( "/", "", $files[$i] );
|
334 |
+
}
|
335 |
+
$c = (!empty($files)) ? count($files) : 0;
|
336 |
+
|
337 |
+
$folderText .= "<span class=\"tabD\">This folder contains <strong>" . $c . "</strong> audio file" . ( $c != 1 ? 's' : '' ) . "</span>";
|
338 |
+
|
339 |
+
if ( $c > 0 ) {
|
340 |
+
$folderButton .= '<a class="button-secondary" href="javascript:" onclick="jQuery(\'#folder-list\').toggle();">View files</a>';
|
341 |
+
|
342 |
+
$folderHtml .= '<div id="folder-list" style="display:none;">';
|
343 |
+
$folderHtml .= '<table class="fileList">';
|
344 |
+
$folderHtml .= '<tr>';
|
345 |
+
$folderHtml .= '<th> </th>';
|
346 |
+
$folderHtml .= '<th>Filename</th>';
|
347 |
+
$folderHtml .= '<th> </th>';
|
348 |
+
$folderHtml .= '<th>Uploaded</th>';
|
349 |
+
$folderHtml .= '</tr>';
|
350 |
+
foreach ( $files as $i => $val )
|
351 |
+
{
|
352 |
+
$niceDate = date( 'jS F Y', $uploadDates[$i] );
|
353 |
+
$folderHtml .= '<tr>';
|
354 |
+
$folderHtml .= '<td><span style="color:#aaa;font-size:11px;">' . $n . '</span></td>';
|
355 |
+
$folderHtml .= '<td>' . $val . '</td>';
|
356 |
+
$folderHtml .= '<td> </td>';
|
357 |
+
$folderHtml .= '<td><span class="description">' . $niceDate . '</span></td>';
|
358 |
+
$folderHtml .= '</tr>';
|
359 |
+
$n++;
|
360 |
+
}
|
361 |
+
$folderHtml .= '</table>';
|
362 |
+
$folderHtml .= '</div>';
|
363 |
+
}
|
364 |
+
}
|
365 |
+
elseif ( $folderInfo == true ) {
|
366 |
+
$folderText .= "<p class=\"tabD\">Unable to read or locate the folder <code>" . $O['mp3_dir'] . "</code> check the path and folder permissions</p>";
|
367 |
+
}
|
368 |
+
else {
|
369 |
+
$folderText .= "<p class=\"tabD\">No info is available on remote folders but you can play from here if you know the filenames</p>";
|
370 |
+
}
|
371 |
+
?>
|
372 |
+
|
373 |
+
|
374 |
+
<!-- File Lists -->
|
375 |
+
<table>
|
376 |
+
<tr>
|
377 |
+
<td style="width:100px;"><strong>Media Library</strong> </td>
|
378 |
+
<td style="width:100px;"><?php echo $libButton; ?> </td>
|
379 |
+
<td><?php echo $libText; ?></td>
|
380 |
+
</tr>
|
381 |
+
</table>
|
382 |
+
<?php echo $liblist; ?>
|
383 |
+
<br><hr />
|
384 |
+
|
385 |
+
<table>
|
386 |
+
<tr>
|
387 |
+
<td style="width:100px;"><strong>Default Folder</strong> </td>
|
388 |
+
<td style="width:100px;"><?php echo $folderButton; ?> </td>
|
389 |
+
<td><strong>Path:</strong> <input type="text" style="width:250px;" name="mp3foxfolder" value="<?php echo $O['mp3_dir']; ?>" /> <strong><a href="javascript:" onclick="jQuery('#folderHelp').toggle();">Help..</a></strong></td>
|
390 |
+
</tr>
|
391 |
+
<tr>
|
392 |
+
<td></td>
|
393 |
+
<td></td>
|
394 |
+
<td> <?php echo $folderText; ?></td>
|
395 |
+
</tr>
|
396 |
+
</table>
|
397 |
+
<?php echo $folderHtml; ?>
|
398 |
+
|
399 |
+
<div id="folderHelp" class="helpBox" style="display:none; margin:10px 0 0 30px; max-width:550px;">
|
400 |
+
<p class="description">You can specify a default folder path (local or remote) to play audio from, eg. <code>/my/music</code> or <code>www.anothersite.com/music</code>.
|
401 |
+
You can then just write filenames in playlists to play from here (you don't need a full url).</p>
|
402 |
+
</div>
|
403 |
+
<hr /><br>
|
404 |
+
|
405 |
+
|
406 |
+
|
407 |
+
<!-- Auto Counterpart -->
|
408 |
+
<label for="autoCounterpart" style="margin:0px 0 0 0px;">Auto-find counterpart files </label>
|
409 |
+
<input type="checkbox" name="autoCounterpart" id="autoCounterpart" value="true" <?php echo ( $O['autoCounterpart'] === "true" ? 'checked="checked"' : ''); ?>/>
|
410 |
+
|
411 |
+
<p class="description" style="margin:10px 0 0 0px;">This will pick up a fallback format if it's in the same location as the playlisted track, based on a
|
412 |
+
filename match. <strong><a href="javascript:" onclick="jQuery('#counterpartHelp').toggle();">Help..</a></strong></p>
|
413 |
+
|
414 |
+
<div id="counterpartHelp" class="helpBox" style="display:none; margin:10px 0 0 30px; max-width:550px;">
|
415 |
+
<p class="description" style="margin-bottom:10px;">With this option ticked, the plugin will automatically look for counterpart files for any players on a page. The
|
416 |
+
playlisted (primary) track must be from the MPEG family (an mp3, m4a, or mp4 file).</p>
|
417 |
+
|
418 |
+
<p class="description" style="margin-bottom:10px;">Auto-counterparting works for MPEGS in the library, in local folders, and when using bulk play or FEED commands.
|
419 |
+
Just make sure your counterparts have the same filename, and are in the same location as the primary track. You can always manually add a counterpart to any
|
420 |
+
primary track format by using the <code>counterpart</code> parameter in a shortcode and specifying a url.</p>
|
421 |
+
|
422 |
+
<p class="description" style="margin-bottom:10px;">Automatic Counterparts are chosen with the following format priority: OGG, WEBM, WAV.</p>
|
423 |
+
</div>
|
424 |
+
|
425 |
+
|
426 |
+
<br><br>
|
427 |
+
<p><strong>Bulk-Play Settings</strong>
|
428 |
+
<br><span class="description">Choose which audio formats are playlisted when bulk-playing from folders, the library, and via the</span> <code>FEED</code> <span class="description">command in playlists.</span></p>
|
429 |
+
|
430 |
+
<p style="margin:12px 0 20px 0;">
|
431 |
+
<?php
|
432 |
+
foreach ( $O['audioFormats'] as $k => $f )
|
433 |
+
{
|
434 |
+
echo '<input class="formatChecker" type="checkbox" name="audioFormats[' .$k. ']" id="audioFormats_' .$k. '" value="true"' . ( $f === 'true' ? ' checked="checked"' : '' ) . '/>';
|
435 |
+
echo '<label for="audioFormats_' .$k. '">' .$k. '</label> ';
|
436 |
+
}
|
437 |
+
?>
|
438 |
+
</p>
|
439 |
+
|
440 |
+
<table style="margin-left:30px;">
|
441 |
+
<tr>
|
442 |
+
<td>Order Library by: </td>
|
443 |
+
<td>
|
444 |
+
<select name="librarySortcol" style="width:160px;">
|
445 |
+
<option value="file" <?php if ( 'file' == $O['library_sortcol'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Filename</option>
|
446 |
+
<option value="date" <?php if ( 'date' == $O['library_sortcol'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Date Uploaded</option>
|
447 |
+
<option value="caption" <?php if ( 'caption' == $O['library_sortcol'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Caption, Title</option>
|
448 |
+
<option value="title" <?php if ( 'title' == $O['library_sortcol'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Title</option>
|
449 |
+
</select>
|
450 |
+
</td>
|
451 |
+
<td> Direction: </td>
|
452 |
+
<td>
|
453 |
+
<select name="libraryDirection" style="width:100px;">
|
454 |
+
<option value="ASC" <?php if ( 'ASC' == $O['library_direction'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Asc</option>
|
455 |
+
<option value="DESC" <?php if ( 'DESC' == $O['library_direction'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Desc</option>
|
456 |
+
</select>
|
457 |
+
</td>
|
458 |
+
</tr>
|
459 |
+
<tr>
|
460 |
+
<td>Order Folders by: </td>
|
461 |
+
<td>
|
462 |
+
<select name="folderFeedSortcol" style="width:160px;">
|
463 |
+
<option value="file" <?php if ( 'file' == $O['folderFeedSortcol'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Filename</option>
|
464 |
+
<option value="date" <?php if ( 'date' == $O['folderFeedSortcol'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Date Uploaded</option>
|
465 |
+
</select>
|
466 |
+
</td>
|
467 |
+
<td> Direction: </td>
|
468 |
+
<td>
|
469 |
+
<select name="folderFeedDirection" style="width:100px;">
|
470 |
+
<option value="ASC" <?php if ( 'ASC' == $O['folderFeedDirection'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Asc</option>
|
471 |
+
<option value="DESC" <?php if ( 'DESC' == $O['folderFeedDirection'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Desc</option>
|
472 |
+
</select>
|
473 |
+
</td>
|
474 |
+
</tr>
|
475 |
+
</table>
|
476 |
+
|
477 |
+
<br />
|
478 |
+
<p style="margin-left:30px;"><span class="description" id="feedCounterpartInfo"></span></p>
|
479 |
+
|
480 |
+
|
481 |
+
</div><!-- CLOSE FILES TAB -->
|
482 |
+
|
483 |
+
|
484 |
+
|
485 |
+
<!-- DOWNLOADS TAB .......................... -->
|
486 |
+
<div class="mp3j-tab" id="mp3j_tab_3">
|
487 |
+
<p class="tabD" style="margin:0 0 10px 0;">Download buttons are shown on playlist players, use these options to set their behavior.</p>
|
488 |
+
|
489 |
+
<table>
|
490 |
+
<tr>
|
491 |
+
<td><strong>Show Download Button</strong>:</td>
|
492 |
+
<td><select name="mp3foxDownloadMp3" style="width:150px;">
|
493 |
+
<option value="true" <?php if ( 'true' == $O['show_downloadmp3'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Yes</option>
|
494 |
+
<option value="false" <?php if ( 'false' == $O['show_downloadmp3'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>No</option>
|
495 |
+
<option value="loggedin" <?php if ( 'loggedin' == $O['show_downloadmp3'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>To logged in users</option>
|
496 |
+
</select></td>
|
497 |
+
</tr>
|
498 |
+
<tr>
|
499 |
+
<td><strong>Button Text</strong>:</td>
|
500 |
+
<td><input type="text" style="width:150px;" name="dload_text" value="<?php echo $O['dload_text']; ?>" /></td>
|
501 |
+
</tr>
|
502 |
+
|
503 |
+
</table>
|
504 |
+
|
505 |
+
|
506 |
+
<p class="description" style="margin:20px 0 5px 0px; max-width:400px;">When setting any players for logged-in downloads, use the following options to set the text/link for any logged out visitors.</p>
|
507 |
+
<table>
|
508 |
+
<tr>
|
509 |
+
<td><strong>Visitor Text</strong>:</td>
|
510 |
+
<td>
|
511 |
+
<input type="text" style="width:150px;" name="loggedout_dload_text" value="<?php echo $O['loggedout_dload_text']; ?>" />
|
512 |
+
</td>
|
513 |
+
</tr>
|
514 |
+
<tr>
|
515 |
+
<td><strong>Visitor Link</strong>:</td>
|
516 |
+
<td>
|
517 |
+
<input type="text" style="width:300px;" name="loggedout_dload_link" value="<?php echo $O['loggedout_dload_link']; ?>" />
|
518 |
+
<span class="description">Optional URL for the visitor text</span>
|
519 |
+
</td>
|
520 |
+
</tr>
|
521 |
+
|
522 |
+
</table>
|
523 |
+
|
524 |
+
<br><br>
|
525 |
+
<input type="checkbox" name="force_browser_dload" id="force_browser_dload" value="true" <?php if ($O['force_browser_dload'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> />
|
526 |
+
<label for="force_browser_dload">Smooth Downloads</label>
|
527 |
+
<p class="description" style="margin:10px 0 10px 30px; max-width:500px;">This makes downloading seamless for most users, or it will display a dialog box with a link when a seamless download is not possible.</p>
|
528 |
+
|
529 |
+
<p class="description" style="margin:10px 0 10px 30px; max-width:500px;">If you play from other domains and want seamless downloads, then use
|
530 |
+
the field below to specify a path to the downloader file. <strong><a href="<?php echo $mp3_fox->PluginFolder; ?>/remote/help.txt">See help on setting this up</a></strong></p>
|
531 |
+
|
532 |
+
<table style="margin-left:25px;">
|
533 |
+
<tr>
|
534 |
+
<td><strong>Path to remote downloader file</strong>:</td>
|
535 |
+
<td>
|
536 |
+
<input type="text" style="width:150px;" name="dloader_remote_path" value="<?php echo $O['dloader_remote_path']; ?>" />
|
537 |
+
</td>
|
538 |
+
</tr>
|
539 |
+
</table>
|
540 |
+
|
541 |
+
|
542 |
+
</div>
|
543 |
+
|
544 |
+
|
545 |
+
|
546 |
+
|
547 |
+
|
548 |
+
<!-- POPOUT TAB .......................... -->
|
549 |
+
<div class="mp3j-tab" id="mp3j_tab_4">
|
550 |
+
|
551 |
+
<table style="margin-left:0px;">
|
552 |
+
<tr>
|
553 |
+
<td><strong>Launch Button Text</strong>:</td>
|
554 |
+
<td><input type="text" style="width:150px;" name="mp3foxPopoutButtonText" value="<?php echo $O['popout_button_title']; ?>" /><span class="description"> The default text shown on popout links and buttons.</span></td>
|
555 |
+
</tr>
|
556 |
+
<tr>
|
557 |
+
<td><strong>Window Width</strong>:</td>
|
558 |
+
<td><input type="text" size="4" style="text-align:center;" name="mp3foxPopoutWidth" value="<?php echo $O['popout_width']; ?>" /> px <span class="description"> (250 - 1600)</span></td>
|
559 |
+
</tr>
|
560 |
+
<tr>
|
561 |
+
<td><strong>Window Height</strong>: </td>
|
562 |
+
<td><input type="text" size="4" style="text-align:center;" name="mp3foxPopoutMaxHeight" value="<?php echo $O['popout_max_height']; ?>" /> px <span class="description"> (200 - 1200) a scroll bar will show for longer playlists</span></td>
|
563 |
+
</tr>
|
564 |
+
<tr>
|
565 |
+
<td><strong>Background Colour</strong>:</td>
|
566 |
+
<td><input type="text"name="mp3foxPopoutBackground" style="width:100px;" value="<?php echo $O['popout_background']; ?>" /></td>
|
567 |
+
</tr>
|
568 |
+
<tr>
|
569 |
+
<td><strong>Background Image</strong>:</td>
|
570 |
+
<td><input type="text" style="width:100%;" name="mp3foxPopoutBGimage" value="<?php echo $O['popout_background_image']; ?>" /></td>
|
571 |
+
</tr>
|
572 |
+
</table>
|
573 |
+
</div><!-- CLOSE POPOUT TAB -->
|
574 |
+
|
575 |
+
|
576 |
+
<!-- TAB 2.......................... -->
|
577 |
+
<div class="mp3j-tab" id="mp3j_tab_2">
|
578 |
+
<?php $greyout_text = ( $O['disable_jquery_libs'] == "yes" ) ? ' style="color:#d6d6d6;"' : ''; ?>
|
579 |
+
<p class="tabD" style="margin:0 0 10px 0;">Choose which aspects of your content you'd like MP3-jPlayer to handle.</p>
|
580 |
+
|
581 |
+
<table>
|
582 |
+
<tr>
|
583 |
+
<td><input type="checkbox" name="replace_WP_audio" id="replace_WP_audio" value="true" <?php if ($O['replace_WP_audio'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); } ?> />
|
584 |
+
<label for="replace_WP_audio">Audio Players</label></td>
|
585 |
+
<td><span class="description">Use the 'Add Media' Button on post/page edit screens and choose 'Embed Player' from the right select (WP 3.6+).</span></td>
|
586 |
+
</tr>
|
587 |
+
<tr>
|
588 |
+
<td><input type="checkbox" name="replace_WP_playlist" id="replace_WP_playlist" value="true" <?php if ($O['replace_WP_playlist'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); } ?> />
|
589 |
+
<label for="replace_WP_playlist">Playlist Players</label></td>
|
590 |
+
<td><span class="description">Use the 'Add Media' Button on post/page edit screens and choose 'Audio Playlist' from the left menu (WP 3.9+).</span></td>
|
591 |
+
</tr>
|
592 |
+
<tr>
|
593 |
+
<td><input type="checkbox" name="make_player_from_link" id="make_player_from_link" value="true" <?php if ($O['make_player_from_link'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); } ?> />
|
594 |
+
<label for="make_player_from_link">Links to Audio Files</label> </td>
|
595 |
+
<td><span class="description">Links within post/page content will be turned into players using the shortcode specified under the 'Advanced' tab.</span></td>
|
596 |
+
</tr>
|
597 |
+
<tr>
|
598 |
+
<td><input type="checkbox" name="replace_WP_attached" id="replace_WP_attached" value="true" <?php if ($O['replace_WP_attached'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); } ?> />
|
599 |
+
<label for="replace_WP_attached">Attached Audio</label></td>
|
600 |
+
<td><span class="description">Use the shortcode <code>[audio]</code> in posts and pages to playlist any attached audio.</span></td>
|
601 |
+
</tr>
|
602 |
+
<tr>
|
603 |
+
<td><input type="checkbox" name="replace_WP_embedded" id="replace_WP_embedded" value="true" <?php if ($O['replace_WP_embedded'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); } ?> />
|
604 |
+
<label for="replace_WP_embedded">URLs</label></td>
|
605 |
+
<td><span class="description">Paste urls directly into posts and pages (WP 3.6+).</span></td>
|
606 |
+
</tr>
|
607 |
+
|
608 |
+
</table>
|
609 |
+
|
610 |
+
<br>
|
611 |
+
<p><span class="description">You can always use MP3-jPlayer's own shortcodes and widgets regardless of the above settings.</span></p>
|
612 |
+
|
613 |
+
|
614 |
+
|
615 |
+
|
616 |
+
<br><br><hr>
|
617 |
+
<p class="tabD" style="margin:0 0 10px 0; max-width:550px;">On pages like index, archive and search pages, set whether to show players within posts. These settings won't affect player widgets.</p>
|
618 |
+
<p><input type="checkbox" name="mp3foxOnBlog" id="mp3foxOnBlog" value="true" <?php if ($O['player_onblog'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> />
|
619 |
+
<label for="mp3foxOnBlog"> Show players when the full content is used.</p>
|
620 |
+
<p><input type="checkbox" name="runShcodeInExcerpt" id="runShcodeInExcerpt" value="true" <?php if ($O['run_shcode_in_excerpt'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> />
|
621 |
+
<label for="runShcodeInExcerpt"> Show players when excerpts are used.</label>
|
622 |
+
<span class="description">NOTE: this works for manually written post excerpts only, write your shortcodes into the excerpt field on post edit screens.</span></p>
|
623 |
+
|
624 |
+
|
625 |
+
|
626 |
+
|
627 |
+
|
628 |
+
<br><br><hr>
|
629 |
+
<p class="tabD" style="margin:0 0 10px 0;">Misc File Settings</p>
|
630 |
+
<p><input type="checkbox" name="allowRangeRequests" id="allowRangeRequests" value="true"<?php echo ( $O['allowRangeRequests'] === "true" ? ' checked="checked"' : ''); ?>/><label for="allowRangeRequests"> Allow position seeking beyond buffered</label></p>
|
631 |
+
<p class="description" style="margin:0 0 5px 30px; max-width:550px;">Lets users seek to end of tracks without waiting for media to load. Most servers
|
632 |
+
should allow this by default, if you are having issues then check that your server has the <code>accept-ranges: bytes</code> header set, or
|
633 |
+
you can just switch this option off.</p>
|
634 |
+
<p><input type="checkbox" id="mp3foxHideExtension" name="mp3foxHideExtension" value="true" <?php if ($O['hide_mp3extension'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> <label for="mp3foxHideExtension">Hide file extensions if a filename is displayed</label><br /><span class="description" style="margin-left:30px;">Filenames are displayed when there's no available titles.</span></p>
|
635 |
+
<p><input type="checkbox" id="mp3foxEncodeFiles" name="mp3foxEncodeFiles" value="true" <?php if ($O['encode_files'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> <label for="mp3foxEncodeFiles">Encode URLs</label><br /><span class="description" style="margin-left:28px;">Provides some obfuscation of your urls in the page source.</span></p>
|
636 |
+
<p><input type="checkbox" id="mp3foxAllowRemote" name="mp3foxAllowRemote" value="true" <?php if ($O['allow_remoteMp3'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> <label for="mp3foxAllowRemote">Allow playing of off-site files</label><br /><span class="description" style="margin-left:28px;">Un-checking this option filters out any files coming from other domains, but doesn't affect ability to play from a remote default path if one has been set above.</span></p>
|
637 |
+
|
638 |
+
|
639 |
+
|
640 |
+
|
641 |
+
|
642 |
+
<br><br><hr>
|
643 |
+
<p class="tabD" style="margin:0 0 10px 0;">Conversion Options</p>
|
644 |
+
<table>
|
645 |
+
<tr>
|
646 |
+
<td><strong>Turn</strong> <code>[audio]</code> <strong>shortcodes into</strong>:</td>
|
647 |
+
<td>
|
648 |
+
<select name="replacerShortcode_single" style="width:200px; font-weight:500;">
|
649 |
+
<option value="mp3j"<?php if ( 'mp3j' == $O['replacerShortcode_single'] ) { echo ' selected="selected"'; } ?>>Single Players - Graphic</option>
|
650 |
+
<option value="mp3t"<?php if ( 'mp3t' == $O['replacerShortcode_single'] ) { echo ' selected="selected"'; } ?>>Single Players - Text</option>
|
651 |
+
<option value="player"<?php if ( 'player' == $O['replacerShortcode_single'] ) { echo ' selected="selected"'; } ?>>Playlist Players</option>
|
652 |
+
<option value="popout"<?php if ( 'popout' == $O['replacerShortcode_single'] ) { echo ' selected="selected"'; } ?>>Popout Links</option>
|
653 |
+
</select>
|
654 |
+
</td>
|
655 |
+
</tr>
|
656 |
+
<tr>
|
657 |
+
<td><strong>Turn</strong> <code>[playlist]</code> <strong>shortcodes into</strong>: </td>
|
658 |
+
<td>
|
659 |
+
<select name="replacerShortcode_playlist" id="replacerShortcode_playlist" style="width:200px; font-weight:500;">
|
660 |
+
<option value="player"<?php if ( 'player' == $O['replacerShortcode_playlist'] ) { echo ' selected="selected"'; } ?>>Playlist Players</option>
|
661 |
+
<option value="popout"<?php if ( 'popout' == $O['replacerShortcode_playlist'] ) { echo ' selected="selected"'; } ?>>Popout Links</option>
|
662 |
+
</select>
|
663 |
+
</td>
|
664 |
+
</tr>
|
665 |
+
<tr>
|
666 |
+
<td class="vTop"><br /><strong>Turn converted links into</strong>:</td>
|
667 |
+
<td>
|
668 |
+
<br />
|
669 |
+
<textarea class="widefat" style="width:400px; height:100px;" name="make_player_from_link_shcode"><?php
|
670 |
+
$deslashed = str_replace('\"', '"', $O['make_player_from_link_shcode'] );
|
671 |
+
echo $deslashed;
|
672 |
+
?></textarea><br />
|
673 |
+
<span class="description">Placeholders:</span> <code>{TEXT}</code> <span class="description">- Link text,</span> <code>{URL}</code> <span class="description">- Link url.
|
674 |
+
<br />This field can also include arbitrary text/html.</span>
|
675 |
+
</td>
|
676 |
+
</tr>
|
677 |
+
</table>
|
678 |
+
|
679 |
+
|
680 |
+
|
681 |
+
|
682 |
+
<br><br><hr>
|
683 |
+
<p class="tabD" style="margin:0 0 10px 0;">Javascripts</p>
|
684 |
+
|
685 |
+
<!--<p<?php //echo $greyout_text; ?>><input type="checkbox" id="touch_punch_js" name="touch_punch_js" value="true" <?php //if ($O['touch_punch_js'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> <label for="touch_punch_js">Include additional js for touch screen support</label><br /> <span class="description"<?php //echo $greyout_text; ?>>(adds jQuery touch-punch.js script, it's best to leave this ticked)</span></p>-->
|
686 |
+
<!--<p><input type="checkbox" id="mp3foxUseFixedCSS" name="mp3foxUseFixedCSS" value="true" <?php //if ($O['use_fixed_css'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> <label for="mp3foxUseFixedCSS">Bypass colour settings</label><br /> <span class="description">(colours can still be set in css)</span></p>-->
|
687 |
+
<!--<p><input type="checkbox" id="disableTemplateTag" name="disableTemplateTag" value="true" <?php //if ($O['disable_template_tag'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> <label for="disableTemplateTag">Bypass player template-tags in theme files</label><br /> <span class="description">(ignores mp3j_addscripts() and mp3j_put() template functions)</span></p>-->
|
688 |
+
|
689 |
+
<?php $bgc = ( $O['disable_jquery_libs'] == "yes" ) ? "#fdd" : "#f9f9f9"; ?>
|
690 |
+
<div style="margin: 20px 0px 10px 0px; padding:6px; background:<?php echo $bgc; ?>; border:1px solid #ccc;">
|
691 |
+
<p style="margin:0 0 5px 18px; font-weight:700;">Disable jQuery and jQuery-UI javascript libraries? <input type="text" style="width:60px;" name="disableJSlibs" value="<?php echo $O['disable_jquery_libs']; ?>" /></p>
|
692 |
+
<p style="margin: 0 0 8px 18px;"><span class="description"><span style="color:#333;">CAUTION!!</span> This option will bypass the request <strong>from this plugin only</strong> for both jQuery <strong>and</strong> jQuery-UI scripts,
|
693 |
+
you <strong>MUST</strong> be providing these scripts from an alternative source.
|
694 |
+
<br />Type <code>yes</code> in the box and save settings to bypass jQuery and jQuery-UI.</span></p>
|
695 |
+
</div>
|
696 |
+
|
697 |
+
|
698 |
+
|
699 |
+
<br><br><hr>
|
700 |
+
<p class="tabD" style="margin:0 0 10px 0;">Playlist Separators</p>
|
701 |
+
<div style="margin: 10px 0px 10px 0px; padding:6px 18px 6px 18px; background:#f9f9f9; border:1px solid #ccc;">
|
702 |
+
<span class="description">If you manually write playlists then you can choose the separators you use in the tracks and captions lists.
|
703 |
+
<br /><span style="color:#333;">CAUTION!!</span> You'll need to manually update any existing playlists if you change the separators!</span>
|
704 |
+
|
705 |
+
<p style="margin:10px 0 0 20px;"><strong>Files:</strong>
|
706 |
+
<select name="file_separator" style="width:120px; font-size:11px; line-height:16px;">
|
707 |
+
<option value="," <?php if ( ',' == $O['f_separator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>, (comma)</option>
|
708 |
+
<option value=";" <?php if ( ';' == $O['f_separator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>; (semicolon)</option>
|
709 |
+
<option value="###" <?php if ( '###' == $O['f_separator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>### (3 hashes)</option>
|
710 |
+
</select>
|
711 |
+
<span class="description">eg.</span> <code>tracks="fileA.mp3 <?php echo $O['f_separator']; ?> Title@fileB.mp3 <?php echo $O['f_separator']; ?> fileC.mp3"</code></p>
|
712 |
+
|
713 |
+
<p style="margin-left:20px;"><strong>Captions:</strong>
|
714 |
+
<select name="caption_separator" style="width:120px; font-size:11px; line-height:16px;">
|
715 |
+
<option value="," <?php if ( ',' == $O['c_separator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>, (comma)</option>
|
716 |
+
<option value=";" <?php if ( ';' == $O['c_separator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>; (semicolon)</option>
|
717 |
+
<option value="###" <?php if ( '###' == $O['c_separator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>### (3 hashes)</option>
|
718 |
+
</select>
|
719 |
+
<span class="description">eg.</span> <code>captions="Caption A <?php echo $O['c_separator']; ?> Caption B <?php echo $O['c_separator']; ?> Caption C"</code></p>
|
720 |
+
</div>
|
721 |
+
|
722 |
+
<br><br><hr>
|
723 |
+
<p class="tabD" style="margin:0 0 10px 0;">Other Settings</p>
|
724 |
+
<p><input type="checkbox" id="mp3foxEchoDebug" name="mp3foxEchoDebug" value="true" <?php if ($O['echo_debug'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> <label for="mp3foxEchoDebug">Turn on debug</label><br /> <span class="description">(info appears in the source view near the bottom)</span></p>
|
725 |
+
|
726 |
+
|
727 |
+
|
728 |
+
</div><!-- CLOSE ADVANCED TAB -->
|
729 |
+
</div><!-- close tabs wrapper -->
|
730 |
+
|
731 |
+
<hr /><br />
|
732 |
+
<table>
|
733 |
+
<tr>
|
734 |
+
<td>
|
735 |
+
<input type="submit" name="update_mp3foxSettings" class="button-primary" style="font-weight:700;" value="<?php _e('Save All Changes', $mp3_fox->textdomain ) ?>" />
|
736 |
+
</td>
|
737 |
+
<td>
|
738 |
+
<p style="margin-top:5px;"><label for="mp3foxRemember">Remember settings if plugin is deactivated </label>
|
739 |
+
<input type="checkbox" id="mp3foxRemember" name="mp3foxRemember" value="true" <?php if ($O['remember_settings'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /></p>
|
740 |
+
</td>
|
741 |
+
<tr>
|
742 |
+
</table>
|
743 |
+
|
744 |
+
<!--<input type="hidden" id="fox_styling" name="MtogBox1" value="<?php //echo $O['admin_toggle_1']; // Colour settings toggle state ?>" />-->
|
745 |
+
<input type="hidden" name="mp3foxPluginVersion" value="<?php echo $mp3_fox->version_of_plugin; ?>" />
|
746 |
+
|
747 |
+
</form>
|
748 |
+
<br>
|
749 |
+
<hr>
|
750 |
+
<div style="margin: 15px 0px 0px 0px; min-height:30px;">
|
751 |
+
<p class="description" style="margin: 0px 120px px 0px; font-weight:700; color:#d0d0d0;">
|
752 |
+
<a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/help-docs/">Help & Docs »</a>
|
753 |
+
<a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/skins">Get Skins »</a>
|
754 |
+
<a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/add-ons">Get Add-Ons »</a>
|
755 |
+
</p>
|
756 |
+
</div>
|
757 |
+
|
758 |
+
|
759 |
+
<div style="margin: 15px auto; height:100px;">
|
760 |
+
</div>
|
761 |
+
</div>
|
762 |
+
|
763 |
+
<?php
|
764 |
+
|
765 |
+
/*DBUG
|
766 |
+
echo '<pre>';
|
767 |
+
print_r($mp3_fox->allowedFeedExtensions);
|
768 |
+
print_r($mp3_fox->allowedFeedMimes);
|
769 |
+
echo '</pre>';
|
770 |
+
|
771 |
+
echo '<pre>';
|
772 |
+
//echo $mp3_fox->formatsFeedRegex . '<br />';
|
773 |
+
//echo $mp3_fox->formatsFeedSQL;
|
774 |
+
print_r($O);
|
775 |
+
echo '</pre>';
|
776 |
+
|
777 |
+
//$folderuris = $mp3_fox->grabFolderURLs( $O['mp3_dir'], $mp3_fox->formatsFeedRegex );
|
778 |
+
//echo '<pre>folders: ';
|
779 |
+
//print_r($folderuris);
|
780 |
+
//echo '</pre>';
|
781 |
+
//*/
|
782 |
+
//echo '<pre>';
|
783 |
+
//print_r( $mp3_fox->getSkinData() );
|
784 |
+
//echo '</pre>';
|
785 |
+
//echo $mp3_fox->dbug['str'];
|
786 |
+
|
787 |
+
|
788 |
+
}
|
789 |
+
?>
|
css/admin-1.8.css
DELETED
@@ -1,152 +0,0 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
/* --- Tabs --- */
|
5 |
-
.mp3j-tabbuttons-wrap {
|
6 |
-
position:relative;
|
7 |
-
border:0;
|
8 |
-
height:30px;
|
9 |
-
padding:5px 0 0 0;
|
10 |
-
width:auto;
|
11 |
-
border-bottom:1px solid #ccc;
|
12 |
-
overflow:visible;
|
13 |
-
}
|
14 |
-
.mp3j-tabbutton {
|
15 |
-
float:left;
|
16 |
-
padding:6px 24px 6px 22px;
|
17 |
-
font-size:11px; margin:0 2px 0 0; background:#e0e0e0; font-weight:700;
|
18 |
-
-webkit-border-top-left-radius: 3px;
|
19 |
-
-webkit-border-top-right-radius: 3px;
|
20 |
-
-moz-border-radius-topleft: 3px;
|
21 |
-
-moz-border-radius-topright: 3px;
|
22 |
-
border-top-left-radius: 3px;
|
23 |
-
border-top-right-radius: 3px;
|
24 |
-
border-bottom:1px solid #ccc;
|
25 |
-
cursor:pointer;
|
26 |
-
color:#777;
|
27 |
-
}
|
28 |
-
.active-tab {
|
29 |
-
background:#f0f0f0;
|
30 |
-
border:1px solid #ccc;
|
31 |
-
border-bottom:0px;
|
32 |
-
padding:5px 23px 7px 21px;
|
33 |
-
color:#333;
|
34 |
-
}
|
35 |
-
|
36 |
-
.mp3j-tabs-wrap {
|
37 |
-
position:relative;
|
38 |
-
height:auto;
|
39 |
-
border-bottom:1px solid #bbb;
|
40 |
-
}
|
41 |
-
.mp3j-tab {
|
42 |
-
position:relative;
|
43 |
-
height:auto;
|
44 |
-
padding:20px 0px 40px 25px;
|
45 |
-
background:#f0f0f0;
|
46 |
-
}
|
47 |
-
.tab-header { border-bottom:1px solid #ccc; padding:5px 0 10px 0; margin-bottom:15px; width:100%; }
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
/* ====================================================================================== */
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
#pickerwrap { position:relative; padding: 0px; background: #444; margin:30px 0px 0px 10px; width:380px; height:208px; border: 0px; }
|
66 |
-
.addcol { position:relative; border:1px solid #d8d8d8; background:#e6e6e6; color:#444; padding:3px 3px 4px 3px; cursor:pointer; font-size: 12px; font-weight: 700; width: 20px; -moz-border-radius: 4px; -webkit-border-radius: 4px; margin-left:0px; margin-right:11px; }
|
67 |
-
.addcol:hover { border:1px solid #e0e0e0; color:#666; background:#eee; }
|
68 |
-
.bl { width: 30px; padding: 5px 0px 6px 30px; margin:0px 0px 0px 0px; height: 30px; border:1px solid #aaa; cursor:pointer; }
|
69 |
-
#plugin { position: absolute; BACKGROUND: #444 url('images/Hue.gif') no-repeat 196px 22px; COLOR: #AAA; CURSOR: default; FONT-FAMILY: arial; FONT-SIZE: 12px; line-height: 14px; padding: 22px 9px 0px 9px; _PADDING-RIGHT: 0; Z-INDEX: 1; height:180px; WIDTH: 214px; _width: 210px; top:0px; right:7px; border-left: 0px solid #444; }
|
70 |
-
#plugin br { CLEAR: both; MARGIN: 0; PADDING: 0; }
|
71 |
-
#plugHEX { position: absolute; top: 85px; left: 33px; COLOR: #FFD000; color:#f0f0f0; width: 70px; height:25px; }
|
72 |
-
#plugCUR { position: absolute; width: 81px; height: 57px; font-size: 1px; background: transparent; border: 1px solid #555; top: 21px; left: 33px; }
|
73 |
-
#SV { background: #FF0000 url('images/SatVal.png'); _BACKGROUND: #FF0000; POSITION: relative; CURSOR: crosshair; FLOAT: left; HEIGHT: 166px; WIDTH: 167px; _WIDTH: 166px; MARGIN-RIGHT: 17px; margin-top:0px; /* filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/SatVal.png', sizingMethod='scale'); */ border: 1px solid #555; border-top:0px; -moz-user-select: none; -khtml-user-select: none; user-select: none; }
|
74 |
-
#SVslide { BACKGROUND: url('images/slide.gif'); HEIGHT: 9px; WIDTH: 9px; POSITION: absolute; _font-size: 4px; line-height: 4px; }
|
75 |
-
#H { BORDER: 0; CURSOR: crosshair; FLOAT: left; HEIGHT: 154px; POSITION: relative; WIDTH: 25px; PADDING: 0; TOP: 4px; -moz-user-select: none; -khtml-user-select: none; user-select: none; }
|
76 |
-
#Hslide { BACKGROUND: url('images/arrow.gif'); HEIGHT: 8px; WIDTH: 20px; POSITION: absolute; _font-size: 1px; line-height: 1px; }
|
77 |
-
#Hmodel { POSITION: relative; TOP: -5px; BORDER: 1px solid #555; WIDTH: 25px; height:166px; }
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
a.fox_buttonlink {
|
82 |
-
background:#eaf2fa;
|
83 |
-
border:1px solid #afcfdb;
|
84 |
-
padding:1px 12px 2px 10px;
|
85 |
-
text-decoration:none;
|
86 |
-
-webkit-border-radius: 3px;
|
87 |
-
-moz-border-radius: 3px;
|
88 |
-
border-radius: 3px;
|
89 |
-
}
|
90 |
-
a.fox_buttonlink:hover { background:#dbeafa; border:1px solid #99bac7; color:#222; }
|
91 |
-
|
92 |
-
a.bl2 { padding:0px 31px 1px 31px; }
|
93 |
-
|
94 |
-
div#fox_library-list, div#fox_folder-list {
|
95 |
-
padding:10px 20px 10px 20px;
|
96 |
-
margin:10px 0px 10px 35px;
|
97 |
-
background:#f9f9f9;
|
98 |
-
border:1px solid #f1f1f1;
|
99 |
-
}
|
100 |
-
|
101 |
-
div.wrap {
|
102 |
-
border: 0px solid #FF3300;
|
103 |
-
margin:0px 10px 0 20px;
|
104 |
-
max-width:1200px;
|
105 |
-
}
|
106 |
-
div.wrap p { margin:0 0 4px 0; }
|
107 |
-
div.wrap h1 { font-weight:500; font-size: 22px; line-height:22px; margin:20px 0 5px 0; padding:0; }
|
108 |
-
div.wrap h2 { font-size: 10px; line-height:10px; margin:0; padding:0; }
|
109 |
-
div.wrap h3 { margin:0 0 8px 20px; }
|
110 |
-
div.wrap h4 { margin:20px 0 0px 0; }
|
111 |
-
|
112 |
-
div.wrap p.jtick {
|
113 |
-
margin:0 0 2px 24px;
|
114 |
-
}
|
115 |
-
div.wrap p.jtick2 {
|
116 |
-
margin:0 0 2px 35px;
|
117 |
-
}
|
118 |
-
div.wrap p.jtext {
|
119 |
-
margin:0 0 10px 20px;
|
120 |
-
}
|
121 |
-
|
122 |
-
.joptionswrap {
|
123 |
-
border-top:0px solid #eee;
|
124 |
-
margin:30px 0 40px 0px;
|
125 |
-
}
|
126 |
-
.joptionswrap h4 {
|
127 |
-
margin:6px 0 3px 0;
|
128 |
-
width:250px;
|
129 |
-
}
|
130 |
-
.jopbox {
|
131 |
-
border:1px solid #f0f0f0;
|
132 |
-
padding:10px 20px;
|
133 |
-
margin-bottom:15px;
|
134 |
-
min-width:550px;
|
135 |
-
}
|
136 |
-
a.bl3 {
|
137 |
-
display:block;
|
138 |
-
width:200px;
|
139 |
-
padding:0 0 0 20px;
|
140 |
-
margin:5px 0 1px 0;
|
141 |
-
/* background:#f0f0f0;
|
142 |
-
border:1px solid #d0d0d0;
|
143 |
-
color:#696969; */
|
144 |
-
}
|
145 |
-
a.bl3:hover { /* background:#e9e9e9; border:1px solid #c9c9c9; color:#606060; */ }
|
146 |
-
|
147 |
-
.clearB { clear:both; }
|
148 |
-
.Ahelp1 { float:left; width:300px; border-top:0px solid #ccc; }
|
149 |
-
|
150 |
-
#tog_0-list p { margin:10px 0 10px 0; }
|
151 |
-
#tog_0-list h4 { margin:10px 0 10px 0; }
|
152 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
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|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
|
2 |
+
|
3 |
+
.highlight {
|
4 |
+
background-color:rgba(255, 239, 99, 0.56); /*rgba(216, 155, 52, 0.41)*/
|
5 |
+
}
|
6 |
+
|
7 |
+
|
8 |
+
/* --- Tabs --- */
|
9 |
+
.mp3j-tabbuttons-wrap {
|
10 |
+
position:relative;
|
11 |
+
border:0;
|
12 |
+
min-height:30px;
|
13 |
+
padding:0px 0 10px 0px;
|
14 |
+
width:auto;
|
15 |
+
overflow:visible;
|
16 |
+
}
|
17 |
+
.mp3j-tabbutton {
|
18 |
+
float:left;
|
19 |
+
padding:6px 24px 6px 22px;
|
20 |
+
font-size:12px;
|
21 |
+
margin:0;
|
22 |
+
background:#e6e6e6;
|
23 |
+
font-weight:700;
|
24 |
+
-webkit-border-top-left-radius: 1px;
|
25 |
+
-webkit-border-top-right-radius: 1px;
|
26 |
+
-moz-border-radius-topleft: 1px;
|
27 |
+
-moz-border-radius-topright: 1px;
|
28 |
+
border-top-left-radius: 1px;
|
29 |
+
border-top-right-radius: 1px;
|
30 |
+
border-bottom:1px solid #fcfcfc;
|
31 |
+
cursor:pointer;
|
32 |
+
color:#888;
|
33 |
+
-moz-user-select: -moz-none;
|
34 |
+
-khtml-user-select: none;
|
35 |
+
-webkit-user-select: none;
|
36 |
+
-ms-user-select: none;
|
37 |
+
user-select: none;
|
38 |
+
}
|
39 |
+
.mp3j-tabbutton:hover {
|
40 |
+
background:#e6e6e6;
|
41 |
+
text-decoration:underline;
|
42 |
+
}
|
43 |
+
.active-tab {
|
44 |
+
border:1px solid #c8c8c8;
|
45 |
+
border-bottom:0px;
|
46 |
+
padding:6px 23px 6px 21px;
|
47 |
+
color:#333;
|
48 |
+
font-weight:700;
|
49 |
+
background:none;
|
50 |
+
margin-top:-1px;
|
51 |
+
}
|
52 |
+
.active-tab:hover {
|
53 |
+
background:none;
|
54 |
+
text-decoration:none;
|
55 |
+
}
|
56 |
+
|
57 |
+
.mp3j-tabs-wrap {
|
58 |
+
position:relative;
|
59 |
+
height:auto;
|
60 |
+
padding:0;
|
61 |
+
}
|
62 |
+
.mp3j-tab {
|
63 |
+
position:relative;
|
64 |
+
height:auto;
|
65 |
+
padding:0;
|
66 |
+
background:#f1f1f1;
|
67 |
+
}
|
68 |
+
.tab-header { padding:2px 0 0 0; margin:0; width:100%; }
|
69 |
+
.tabH { font-size:17px; font-style:italic; }
|
70 |
+
.tabD { font-size:12px; font-style: italic; color:#999; }
|
71 |
+
|
72 |
+
.mp3j-tab label { font-weight:700; }
|
73 |
+
|
74 |
+
.mp3j-tab .description { color:#aaa; }
|
75 |
+
|
76 |
+
.mp3j-tab hr { margin-bottom:8px; }
|
77 |
+
|
78 |
+
|
79 |
+
.unselectable, .unselectable * {
|
80 |
+
-moz-user-select: -moz-none;
|
81 |
+
-khtml-user-select: none;
|
82 |
+
-webkit-user-select: none;
|
83 |
+
-ms-user-select: none;
|
84 |
+
user-select: none;
|
85 |
+
}
|
86 |
+
|
87 |
+
|
88 |
+
table.vTop td { vertical-align:top; padding:0 10px 10px 0; }
|
89 |
+
|
90 |
+
table.fileList { border-collapse:collapse; margin:0 0 0 0; }
|
91 |
+
table.fileList tr { padding:0; }
|
92 |
+
table.fileList td { text-align:left; vertical-align:top; padding:0 10px 0 0; }
|
93 |
+
table.fileList td * { padding:0; margin:0; }
|
94 |
+
table.fileList th { text-align:left; padding:0 0 15px 0; }
|
95 |
+
|
96 |
+
.vTop { vertical-align:top; padding:0 10px 10px 0; }
|
97 |
+
|
98 |
+
|
99 |
+
div#library-list,
|
100 |
+
div#folder-list {
|
101 |
+
position:relative;
|
102 |
+
padding:10px 20px 15px 20px;
|
103 |
+
margin:0px 0px 0px 0px;
|
104 |
+
background:#f9f9f9;
|
105 |
+
border:1px solid #eee;
|
106 |
+
}
|
107 |
+
|
108 |
+
|
109 |
+
.absTL { position:absolute; top:-1px; left:-1px; width:100%; }
|
110 |
+
|
111 |
+
|
112 |
+
|
113 |
+
/* --- --- */
|
114 |
+
#sizer {
|
115 |
+
position:relative;
|
116 |
+
min-width: 40px;
|
117 |
+
width: 656px;
|
118 |
+
border:1px solid #999;
|
119 |
+
-webkit-box-shadow: 0px 3px 5px 0px rgba(50, 50, 50, 0.3);
|
120 |
+
-moz-box-shadow: 0px 3px 5px 0px rgba(50, 50, 50, 0.3);
|
121 |
+
box-shadow: 0px 3px 5px 0px rgba(50, 50, 50, 0.3);
|
122 |
+
overflow:hidden;
|
123 |
+
height:270px;
|
124 |
+
margin:10px 0 25px 0;
|
125 |
+
}
|
126 |
+
#display_player_liner {
|
127 |
+
padding:45px 40px 40px 40px;
|
128 |
+
width:auto;
|
129 |
+
height:100%;
|
130 |
+
background:url('images/admin-colours-bg.png') repeat;
|
131 |
+
}
|
132 |
+
|
133 |
+
.ui-resizable {
|
134 |
+
position: relative;
|
135 |
+
}
|
136 |
+
.ui-resizable-handle {
|
137 |
+
position: absolute;
|
138 |
+
font-size: 0.1px;
|
139 |
+
display: block;
|
140 |
+
}
|
141 |
+
.ui-resizable-disabled .ui-resizable-handle,
|
142 |
+
.ui-resizable-autohide .ui-resizable-handle {
|
143 |
+
display: none;
|
144 |
+
}
|
145 |
+
.ui-resizable-s {
|
146 |
+
cursor: s-resize;
|
147 |
+
height: 20px;
|
148 |
+
width: 100%;
|
149 |
+
bottom: -10px;
|
150 |
+
left: 0;
|
151 |
+
background:none;
|
152 |
+
}
|
153 |
+
.ui-resizable-e {
|
154 |
+
cursor: e-resize;
|
155 |
+
width: 20px;
|
156 |
+
right: -10px;
|
157 |
+
top: 0;
|
158 |
+
height: 100%;
|
159 |
+
background:none;
|
160 |
+
}
|
161 |
+
.ui-resizable-se {
|
162 |
+
cursor: se-resize;
|
163 |
+
width: 40px;
|
164 |
+
height: 40px;
|
165 |
+
right: 1px;
|
166 |
+
bottom: 1px;
|
167 |
+
background:url('images/resizable-handle.png') no-repeat right bottom;
|
168 |
+
}
|
169 |
+
|
170 |
+
|
171 |
+
.quietInput {
|
172 |
+
background:#fcfcfc !important;
|
173 |
+
border-color:#f0f0f0 !important;
|
174 |
+
-webkit-box-shadow:none !important;
|
175 |
+
-moz-box-shadow:none !important;
|
176 |
+
box-shadow:none !important;
|
177 |
+
color:#d6d6d6 !important;
|
178 |
+
}
|
179 |
+
.quietText { color:#d6d6d6 !important; }
|
180 |
+
|
181 |
+
|
182 |
+
|
183 |
+
|
184 |
+
.savewrap {
|
185 |
+
position:relative;
|
186 |
+
padding:10px 0px 10px 0px;
|
187 |
+
}
|
188 |
+
|
189 |
+
|
190 |
+
|
191 |
+
|
192 |
+
|
193 |
+
.patch {
|
194 |
+
position:relative;
|
195 |
+
border:1px solid #aaa;
|
196 |
+
background:url('images/patchbg.png') repeat-x left -35px;
|
197 |
+
width:85px; height:25px;
|
198 |
+
-moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px;
|
199 |
+
overflow:hidden;
|
200 |
+
margin:2px 0 1px 0;
|
201 |
+
}
|
202 |
+
|
203 |
+
.PatchCol {
|
204 |
+
position:absolute;
|
205 |
+
top:0;
|
206 |
+
left:0;
|
207 |
+
width:100%;
|
208 |
+
height:100%;
|
209 |
+
-moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px;
|
210 |
+
cursor:pointer;
|
211 |
+
}
|
212 |
+
|
213 |
+
.plus, .minus {
|
214 |
+
position:absolute;
|
215 |
+
background:#f9f9f9;
|
216 |
+
color:#444;
|
217 |
+
height:100%;
|
218 |
+
top:0;
|
219 |
+
cursor:default;
|
220 |
+
}
|
221 |
+
.plus { right:0; border-left:1px solid #b8b8b8; background-image:url('images/drop3.png'); background-position:6px 5px; background-repeat:no-repeat;
|
222 |
+
-webkit-border-top-right-radius: 2px;
|
223 |
+
-webkit-border-bottom-right-radius: 2px;
|
224 |
+
-moz-border-radius-topright: 2px;
|
225 |
+
-moz-border-radius-bottomright: 2px;
|
226 |
+
border-top-right-radius: 2px;
|
227 |
+
border-bottom-right-radius: 2px;
|
228 |
+
width:21px;
|
229 |
+
}
|
230 |
+
.minus { left:0; border-right:1px solid #b8b8b8; background-image:url('images/minus2.png'); background-position:3px 6px; background-repeat:no-repeat;
|
231 |
+
-webkit-border-top-left-radius: 2px;
|
232 |
+
-webkit-border-bottom-left-radius: 2px;
|
233 |
+
-moz-border-radius-topleft: 2px;
|
234 |
+
-moz-border-radius-bottomleft: 2px;
|
235 |
+
border-top-left-radius: 2px;
|
236 |
+
border-bottom-left-radius: 2px;
|
237 |
+
width:20px;
|
238 |
+
}
|
239 |
+
|
240 |
+
.activePicker { background-color:#ffd14e; border-top:1px solid #95700a; border-left:2px solid #95700a; }
|
241 |
+
|
242 |
+
|
243 |
+
table.colours {}
|
244 |
+
|
245 |
+
|
246 |
+
|
247 |
+
table.colours tr{ padding:0 0 0 0; }
|
248 |
+
|
249 |
+
table.colours td { padding:0 14px 8px 0; line-height:110%; }
|
250 |
+
|
251 |
+
|
252 |
+
|
253 |
+
.testingSettings {
|
254 |
+
position:absolute;
|
255 |
+
top:0;
|
256 |
+
left:0;
|
257 |
+
height:30px;
|
258 |
+
padding:5px;
|
259 |
+
z-index:50px;
|
260 |
+
}
|
261 |
+
.testingSettingsBottom {
|
262 |
+
position:relative;
|
263 |
+
margin:0px 0 20px 0;
|
264 |
+
padding:5px 0 0 0;
|
265 |
+
}
|
266 |
+
.testingSettingsBottom * { font-size:11px; }
|
267 |
+
|
268 |
+
th { text-align:left; font-size:11px; line-height:110%; }
|
269 |
+
|
270 |
+
|
271 |
+
|
272 |
+
|
273 |
+
.format-button-B, .format-button-i { border:1px solid #c0c0c0; border-bottom:2px solid #909090; border-right:2px solid #909090; background:#d9d9d9; font-family:'Times New Roman', times, sans-serif; line-height:150%; -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; }
|
274 |
+
.format-button-B { font-weight:700; padding:2px 5px 2px 5px; }
|
275 |
+
.format-button-i { font-style:italic; padding:2px 7px 2px 7px; }
|
276 |
+
|
277 |
+
.formatOn {
|
278 |
+
border-top:2px solid #909090;
|
279 |
+
border-left:2px solid #909090;
|
280 |
+
border-bottom-width:1px;
|
281 |
+
border-right-width:1px;
|
282 |
+
background:#f0f0f0/*ffd14e*/;
|
283 |
+
}
|
284 |
+
.format-button-B.formatOn { padding:1px 6px 3px 4px; }
|
285 |
+
.format-button-i.formatOn { padding:1px 8px 3px 6px; }
|
286 |
+
|
287 |
+
/* --- Font sliders --- */
|
288 |
+
.sliderWrap {
|
289 |
+
position:relative;
|
290 |
+
width:100%;
|
291 |
+
height:20px;
|
292 |
+
}
|
293 |
+
|
294 |
+
.fontSizeSlider {
|
295 |
+
position:absolute; font-size:1px; cursor:default; width:95px; height:2px; border-bottom:1px solid #f8f8f8; border-top:1px solid #bbb; top:8px;
|
296 |
+
}
|
297 |
+
|
298 |
+
|
299 |
+
|
300 |
+
|
301 |
+
.fontSizeSlider .ui-widget-header,
|
302 |
+
.fontSizeSlider .ui-widget-content {
|
303 |
+
border:0px !important; background:#777;
|
304 |
+
}
|
305 |
+
.fontSizeSlider .ui-slider-horizontal {
|
306 |
+
top:0px; bottom:0px; height:auto; z-index:90; background:#ddd;
|
307 |
+
}
|
308 |
+
.fontSizeSlider .ui-slider-handle {
|
309 |
+
top:-8px !important; margin-left:-4px !important; border:1px solid #909090; bottom:-8px !important; height:auto !important; width:8px; z-index:100; background:#f9f9f9; cursor:default ; padding:0px !important;
|
310 |
+
-moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px;
|
311 |
+
}
|
312 |
+
.fontSizeSlider .ui-slider-handle:hover {
|
313 |
+
background:#fcfcfc; z-index:100;
|
314 |
+
}
|
315 |
+
|
316 |
+
|
317 |
+
.VsliderWrap {
|
318 |
+
position:relative;
|
319 |
+
width:20px;
|
320 |
+
height:100px;
|
321 |
+
}
|
322 |
+
.vertSlider {
|
323 |
+
position:absolute; font-size:1px; cursor:default; width:2px; height:100px; border-right:1px solid #fcfcfc; border-left:1px solid #bbb; background:#ddd;
|
324 |
+
}
|
325 |
+
.vertSlider .ui-widget-header,
|
326 |
+
.vertSlider .ui-widget-content {
|
327 |
+
border:0px !important; background:#777;
|
328 |
+
}
|
329 |
+
.vertSlider .ui-slider-vertical {
|
330 |
+
left:0px; right:0px; z-index:90; background:#f00; height:100px;
|
331 |
+
}
|
332 |
+
.vertSlider .ui-slider-handle {
|
333 |
+
left:-9px; margin-top:-4px !important; border:1px solid #909090; right:-8px; height:8px; z-index:100; background:#f9f9f9; cursor:default ; padding:0px !important;
|
334 |
+
-moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px;
|
335 |
+
}
|
336 |
+
|
337 |
+
.vertSlider .ui-slider-range { /* shit man jquery-ui is painful */
|
338 |
+
border:0px; background:#777; width:2px;
|
339 |
+
}
|
340 |
+
|
341 |
+
|
342 |
+
|
343 |
+
.ui-state-disabled .ui-slider-handle,
|
344 |
+
.ui-slider-disabled .ui-slider-handle { border:1px solid #ddd; background:#f3f3f3; }
|
345 |
+
|
346 |
+
.ui-state-disabled .ui-widget-header,
|
347 |
+
.ui-state-disabled .ui-widget-content {
|
348 |
+
background:#eee;
|
349 |
+
}
|
350 |
+
|
351 |
+
|
352 |
+
|
353 |
+
|
354 |
+
|
355 |
+
|
356 |
+
|
357 |
+
|
358 |
+
.fL { float:left; }
|
359 |
+
.fR { float:right; }
|
360 |
+
.f500 { font-weight:500 !important; }
|
361 |
+
.f700 { font-weight:700; }
|
362 |
+
|
363 |
+
|
364 |
+
/* ====================================================================================== */
|
365 |
+
|
366 |
+
|
367 |
+
|
368 |
+
|
369 |
+
|
370 |
+
|
371 |
+
|
372 |
+
|
373 |
+
|
374 |
+
|
375 |
+
a.fox_buttonlink {
|
376 |
+
background:#eaf2fa;
|
377 |
+
border:1px solid #afcfdb;
|
378 |
+
padding:1px 12px 2px 10px;
|
379 |
+
text-decoration:none;
|
380 |
+
-webkit-border-radius: 3px;
|
381 |
+
-moz-border-radius: 3px;
|
382 |
+
border-radius: 3px;
|
383 |
+
}
|
384 |
+
a.fox_buttonlink:hover { background:#dbeafa; border:1px solid #99bac7; color:#222; }
|
385 |
+
|
386 |
+
a.bl2 { padding:0px 31px 1px 31px; }
|
387 |
+
|
388 |
+
|
389 |
+
|
390 |
+
|
391 |
+
|
392 |
+
|
393 |
+
div.wrap {
|
394 |
+
border: 0px solid #FF3300;
|
395 |
+
margin:0px 10px 0 20px;
|
396 |
+
max-width:1200px;
|
397 |
+
}
|
398 |
+
div.wrap p { margin:0 0 4px 0; }
|
399 |
+
div.wrap h1 { font-weight:500; font-size: 22px; line-height:22px; margin:20px 0 5px 0; padding:0; }
|
400 |
+
div.wrap h2 { font-size: 10px; line-height:10px; margin:0; padding:0; }
|
401 |
+
div.wrap h3 { margin:0 0 8px 20px; }
|
402 |
+
div.wrap h4 { margin:20px 0 0px 0; }
|
403 |
+
|
404 |
+
div.wrap p.jtick {
|
405 |
+
margin:0 0 2px 24px;
|
406 |
+
}
|
407 |
+
div.wrap p.jtick2 {
|
408 |
+
margin:0 0 2px 35px;
|
409 |
+
}
|
410 |
+
div.wrap p.jtext {
|
411 |
+
margin:0 0 10px 20px;
|
412 |
+
}
|
413 |
+
|
414 |
+
.joptionswrap {
|
415 |
+
border-top:0px solid #eee;
|
416 |
+
margin:30px 0 40px 0px;
|
417 |
+
}
|
418 |
+
.joptionswrap h4 {
|
419 |
+
margin:6px 0 3px 0;
|
420 |
+
width:250px;
|
421 |
+
}
|
422 |
+
.jopbox {
|
423 |
+
border:1px solid #f0f0f0;
|
424 |
+
padding:10px 20px;
|
425 |
+
margin-bottom:15px;
|
426 |
+
min-width:550px;
|
427 |
+
}
|
428 |
+
a.bl3 {
|
429 |
+
display:block;
|
430 |
+
width:200px;
|
431 |
+
padding:0 0 0 20px;
|
432 |
+
margin:5px 0 1px 0;
|
433 |
+
/* background:#f0f0f0;
|
434 |
+
border:1px solid #d0d0d0;
|
435 |
+
color:#696969; */
|
436 |
+
}
|
437 |
+
a.bl3:hover { /* background:#e9e9e9; border:1px solid #c9c9c9; color:#606060; */ }
|
438 |
+
|
439 |
+
.clearB { clear:both; }
|
440 |
+
.Ahelp1 { float:left; width:300px; border-top:0px solid #ccc; }
|
441 |
+
|
442 |
+
#tog_0-list p { margin:10px 0 10px 0; }
|
443 |
+
#tog_0-list h4 { margin:10px 0 10px 0; }
|
444 |
+
|
css/admin/admin-settings.css
ADDED
@@ -0,0 +1,301 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
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auto;
|
11 |
+
overflow:visible;
|
12 |
+
}
|
13 |
+
.mp3j-tabbutton {
|
14 |
+
float:left;
|
15 |
+
padding:6px 24px 6px 22px;
|
16 |
+
font-size:13px;
|
17 |
+
margin:0;
|
18 |
+
background:#e6e6e6;
|
19 |
+
font-weight:500;
|
20 |
+
-webkit-border-top-left-radius: 1px;
|
21 |
+
-webkit-border-top-right-radius: 1px;
|
22 |
+
-moz-border-radius-topleft: 1px;
|
23 |
+
-moz-border-radius-topright: 1px;
|
24 |
+
border-top-left-radius: 1px;
|
25 |
+
border-top-right-radius: 1px;
|
26 |
+
border-bottom:1px solid #fcfcfc;
|
27 |
+
cursor:pointer;
|
28 |
+
color:#888;
|
29 |
+
-moz-user-select: -moz-none;
|
30 |
+
-khtml-user-select: none;
|
31 |
+
-webkit-user-select: none;
|
32 |
+
-ms-user-select: none;
|
33 |
+
user-select: none;
|
34 |
+
}
|
35 |
+
.mp3j-tabbutton:hover {
|
36 |
+
background:#e6e6e6;
|
37 |
+
text-decoration:underline;
|
38 |
+
}
|
39 |
+
.active-tab {
|
40 |
+
border:1px solid #c8c8c8;
|
41 |
+
border-bottom:0px;
|
42 |
+
padding:6px 23px 6px 21px;
|
43 |
+
color:#333;
|
44 |
+
font-weight:700;
|
45 |
+
background:none;
|
46 |
+
margin-top:-1px;
|
47 |
+
text-decoration:none;
|
48 |
+
}
|
49 |
+
.active-tab:hover {
|
50 |
+
background:none;
|
51 |
+
text-decoration:none;
|
52 |
+
}
|
53 |
+
|
54 |
+
.mp3j-tabs-wrap {
|
55 |
+
position:relative;
|
56 |
+
height:auto;
|
57 |
+
padding:0px 0 0 0;
|
58 |
+
}
|
59 |
+
.mp3j-tab {
|
60 |
+
position:relative;
|
61 |
+
height:auto;
|
62 |
+
padding:20px 0px 40px 0px;
|
63 |
+
background:#f1f1f1;
|
64 |
+
}
|
65 |
+
.tab-header { padding:2px 0 6px 0; margin:0; width:100%; }
|
66 |
+
.tab-header h3 { margin:0 0 0 0 !important; }
|
67 |
+
|
68 |
+
.tabH { font-size:19px; font-weight:700; }
|
69 |
+
.tabD { font-style:italic; padding:0 0 10px 0; }
|
70 |
+
|
71 |
+
.mp3j-tab label { font-weight:700; }
|
72 |
+
|
73 |
+
.mp3j-tab .description { color:#888; }
|
74 |
+
|
75 |
+
.mp3j-tab hr { margin-bottom:8px; }
|
76 |
+
|
77 |
+
|
78 |
+
.unselectable * {
|
79 |
+
-moz-user-select: -moz-none;
|
80 |
+
-khtml-user-select: none;
|
81 |
+
-webkit-user-select: none;
|
82 |
+
-ms-user-select: none;
|
83 |
+
user-select: none;
|
84 |
+
}
|
85 |
+
|
86 |
+
|
87 |
+
table.vTop td { vertical-align:top; padding:0 10px 10px 0; }
|
88 |
+
|
89 |
+
table.fileList { border-collapse:collapse; margin:0 0 0 0; }
|
90 |
+
table.fileList tr { padding:0; }
|
91 |
+
table.fileList td { text-align:left; vertical-align:top; padding:0 10px 0 0; }
|
92 |
+
table.fileList td * { padding:0; margin:0; }
|
93 |
+
table.fileList th { text-align:left; padding:0 0 15px 0; }
|
94 |
+
|
95 |
+
.vTop { vertical-align:top; padding:0 10px 10px 0; }
|
96 |
+
|
97 |
+
|
98 |
+
div#library-list,
|
99 |
+
div#folder-list {
|
100 |
+
position:relative;
|
101 |
+
padding:10px 20px 15px 20px;
|
102 |
+
margin:5px 0px 0px 0px;
|
103 |
+
background:#f9f9f9;
|
104 |
+
border:1px solid #eee;
|
105 |
+
}
|
106 |
+
|
107 |
+
|
108 |
+
.absTL { position:absolute; top:-1px; left:-1px; width:100%; }
|
109 |
+
|
110 |
+
|
111 |
+
|
112 |
+
/* --- --- */
|
113 |
+
.display_player_wrap {
|
114 |
+
position:relative;
|
115 |
+
min-width: 40px;
|
116 |
+
width: 646px;
|
117 |
+
border:1px solid #999;
|
118 |
+
-webkit-box-shadow: 0px 3px 8px 0px rgba(50, 50, 50, 0.33);
|
119 |
+
-moz-box-shadow: 0px 3px 8px 0px rgba(50, 50, 50, 0.33);
|
120 |
+
box-shadow: 0px 3px 8px 0px rgba(50, 50, 50, 0.33);
|
121 |
+
overflow:hidden;
|
122 |
+
height:320px;
|
123 |
+
}
|
124 |
+
#display_player_liner {
|
125 |
+
padding:40px 40px 50px 40px;
|
126 |
+
width:auto;
|
127 |
+
height:100%;
|
128 |
+
background:url('images/admin-colours-bg.png') repeat;
|
129 |
+
}
|
130 |
+
|
131 |
+
.ui-resizable {
|
132 |
+
position: relative;
|
133 |
+
}
|
134 |
+
.ui-resizable-handle {
|
135 |
+
position: absolute;
|
136 |
+
font-size: 0.1px;
|
137 |
+
display: block;
|
138 |
+
}
|
139 |
+
.ui-resizable-disabled .ui-resizable-handle,
|
140 |
+
.ui-resizable-autohide .ui-resizable-handle {
|
141 |
+
display: none;
|
142 |
+
}
|
143 |
+
.ui-resizable-s {
|
144 |
+
cursor: s-resize;
|
145 |
+
height: 20px;
|
146 |
+
width: 100%;
|
147 |
+
bottom: -10px;
|
148 |
+
left: 0;
|
149 |
+
background:none;
|
150 |
+
}
|
151 |
+
.ui-resizable-e {
|
152 |
+
cursor: e-resize;
|
153 |
+
width: 20px;
|
154 |
+
right: -10px;
|
155 |
+
top: 0;
|
156 |
+
height: 100%;
|
157 |
+
background:none;
|
158 |
+
}
|
159 |
+
.ui-resizable-se {
|
160 |
+
cursor: se-resize;
|
161 |
+
width: 40px;
|
162 |
+
height: 40px;
|
163 |
+
right: 1px;
|
164 |
+
bottom: 1px;
|
165 |
+
background:url('images/resizable-handle.png') no-repeat right bottom;
|
166 |
+
}
|
167 |
+
|
168 |
+
|
169 |
+
.quietInput {
|
170 |
+
background:#fcfcfc !important;
|
171 |
+
border-color:#f0f0f0 !important;
|
172 |
+
-webkit-box-shadow:none !important;
|
173 |
+
-moz-box-shadow:none !important;
|
174 |
+
box-shadow:none !important;
|
175 |
+
color:#d6d6d6 !important;
|
176 |
+
}
|
177 |
+
.quietText { color:#d6d6d6 !important; }
|
178 |
+
|
179 |
+
|
180 |
+
|
181 |
+
|
182 |
+
|
183 |
+
.tick { padding-right:25px; font-size:11px; background:url('images/tick2.png') no-repeat left 2px; }
|
184 |
+
|
185 |
+
|
186 |
+
.icon-showlove {
|
187 |
+
background:url('images/icons-admin-S.png') no-repeat -29px -4px;
|
188 |
+
width:34px; height:34px; margin:0 auto;
|
189 |
+
border:1px solid #d0d0d0;
|
190 |
+
overflow:hidden;
|
191 |
+
}
|
192 |
+
|
193 |
+
.icon-showlove:hover {
|
194 |
+
width:280px; height:120px;
|
195 |
+
}
|
196 |
+
|
197 |
+
.icon-extensions {
|
198 |
+
background:url('images/icons-admin-S.png') no-repeat 2px -5px;
|
199 |
+
padding:0 20px 0 0;
|
200 |
+
}
|
201 |
+
|
202 |
+
|
203 |
+
.l { text-align:left; }
|
204 |
+
.c { text-align:center; }
|
205 |
+
.r { text-align:right; }
|
206 |
+
|
207 |
+
|
208 |
+
|
209 |
+
#feedCounterpartInfo {
|
210 |
+
border:1px solid #d0d0d0;
|
211 |
+
padding:4px 10px;
|
212 |
+
background:#f7f7f7;
|
213 |
+
border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px;
|
214 |
+
}
|
215 |
+
|
216 |
+
|
217 |
+
|
218 |
+
|
219 |
+
.helpBox {
|
220 |
+
border:2px solid #fff;
|
221 |
+
border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px;
|
222 |
+
background:#f0f6f0;
|
223 |
+
padding:15px;
|
224 |
+
}
|
225 |
+
|
226 |
+
/* ====================================================================================== */
|
227 |
+
|
228 |
+
|
229 |
+
|
230 |
+
|
231 |
+
|
232 |
+
a.fox_buttonlink {
|
233 |
+
background:#eaf2fa;
|
234 |
+
border:1px solid #afcfdb;
|
235 |
+
padding:1px 12px 2px 10px;
|
236 |
+
text-decoration:none;
|
237 |
+
-webkit-border-radius: 3px;
|
238 |
+
-moz-border-radius: 3px;
|
239 |
+
border-radius: 3px;
|
240 |
+
}
|
241 |
+
a.fox_buttonlink:hover { background:#dbeafa; border:1px solid #99bac7; color:#222; }
|
242 |
+
|
243 |
+
a.bl2 { padding:0px 31px 1px 31px; }
|
244 |
+
|
245 |
+
|
246 |
+
|
247 |
+
|
248 |
+
|
249 |
+
|
250 |
+
div.wrap {
|
251 |
+
border: 0px solid #FF3300;
|
252 |
+
margin:0px 10px 0 20px;
|
253 |
+
max-width:1200px;
|
254 |
+
}
|
255 |
+
div.wrap p { margin:0 0 4px 0; }
|
256 |
+
div.wrap h1 { font-weight:500; font-size: 22px; line-height:22px; margin:20px 0 5px 0; padding:0; }
|
257 |
+
div.wrap h2 { font-size: 10px; line-height:10px; margin:0; padding:0; }
|
258 |
+
div.wrap h3 { margin:0 0 8px 20px; }
|
259 |
+
div.wrap h4 { margin:20px 0 0px 0; }
|
260 |
+
|
261 |
+
div.wrap p.jtick {
|
262 |
+
margin:0 0 2px 24px;
|
263 |
+
}
|
264 |
+
div.wrap p.jtick2 {
|
265 |
+
margin:0 0 2px 35px;
|
266 |
+
}
|
267 |
+
div.wrap p.jtext {
|
268 |
+
margin:0 0 10px 20px;
|
269 |
+
}
|
270 |
+
|
271 |
+
.joptionswrap {
|
272 |
+
border-top:0px solid #eee;
|
273 |
+
margin:30px 0 40px 0px;
|
274 |
+
}
|
275 |
+
.joptionswrap h4 {
|
276 |
+
margin:6px 0 3px 0;
|
277 |
+
width:250px;
|
278 |
+
}
|
279 |
+
.jopbox {
|
280 |
+
border:1px solid #f0f0f0;
|
281 |
+
padding:10px 20px;
|
282 |
+
margin-bottom:15px;
|
283 |
+
min-width:550px;
|
284 |
+
}
|
285 |
+
a.bl3 {
|
286 |
+
display:block;
|
287 |
+
width:200px;
|
288 |
+
padding:0 0 0 20px;
|
289 |
+
margin:5px 0 1px 0;
|
290 |
+
/* background:#f0f0f0;
|
291 |
+
border:1px solid #d0d0d0;
|
292 |
+
color:#696969; */
|
293 |
+
}
|
294 |
+
a.bl3:hover { /* background:#e9e9e9; border:1px solid #c9c9c9; color:#606060; */ }
|
295 |
+
|
296 |
+
.clearB { clear:both; }
|
297 |
+
.Ahelp1 { float:left; width:300px; border-top:0px solid #ccc; }
|
298 |
+
|
299 |
+
#tog_0-list p { margin:10px 0 10px 0; }
|
300 |
+
#tog_0-list h4 { margin:10px 0 10px 0; }
|
301 |
+
|
css/admin/images/admin-colours-bg.png
ADDED
Binary file
|
css/admin/images/drop3.png
ADDED
Binary file
|
css/admin/images/icons-admin-M.png
ADDED
Binary file
|
css/admin/images/icons-admin-S.png
ADDED
Binary file
|
css/admin/images/minus2.png
ADDED
Binary file
|
css/admin/images/patchbg.png
ADDED
Binary file
|
css/admin/images/resizable-handle.png
ADDED
Binary file
|
css/admin/images/test-image.jpg
ADDED
Binary file
|
css/admin/images/tick2.png
ADDED
Binary file
|
css/admin/spectrum.css
ADDED
@@ -0,0 +1,529 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|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|
|
Â
|
1 |
+
/***
|
2 |
+
Spectrum Colorpicker v1.5.1
|
3 |
+
https://github.com/bgrins/spectrum
|
4 |
+
Author: Brian Grinstead
|
5 |
+
License: MIT
|
6 |
+
***/
|
7 |
+
|
8 |
+
.sp-container {
|
9 |
+
position:absolute;
|
10 |
+
top:0;
|
11 |
+
left:0;
|
12 |
+
display:inline-block;
|
13 |
+
*display: inline;
|
14 |
+
*zoom: 1;
|
15 |
+
/* https://github.com/bgrins/spectrum/issues/40 */
|
16 |
+
z-index: 9999994;
|
17 |
+
overflow: hidden;
|
18 |
+
}
|
19 |
+
.sp-container.sp-flat {
|
20 |
+
position: relative;
|
21 |
+
padding-bottom:30px;
|
22 |
+
}
|
23 |
+
|
24 |
+
/* Fix for * { box-sizing: border-box; } */
|
25 |
+
.sp-container,
|
26 |
+
.sp-container * {
|
27 |
+
-webkit-box-sizing: content-box;
|
28 |
+
-moz-box-sizing: content-box;
|
29 |
+
box-sizing: content-box;
|
30 |
+
}
|
31 |
+
|
32 |
+
/* http://ansciath.tumblr.com/post/7347495869/css-aspect-ratio */
|
33 |
+
.sp-top {
|
34 |
+
position:relative;
|
35 |
+
width: 100%;
|
36 |
+
display:inline-block;
|
37 |
+
}
|
38 |
+
.sp-top-inner {
|
39 |
+
position:absolute;
|
40 |
+
top:0;
|
41 |
+
left:0;
|
42 |
+
bottom:0;
|
43 |
+
right:0;
|
44 |
+
}
|
45 |
+
.sp-color {
|
46 |
+
position: absolute;
|
47 |
+
top:0;
|
48 |
+
left:0;
|
49 |
+
bottom:0;
|
50 |
+
right:17%;
|
51 |
+
}
|
52 |
+
.sp-hue {
|
53 |
+
position: absolute;
|
54 |
+
top:0;
|
55 |
+
right:0;
|
56 |
+
bottom:0;
|
57 |
+
left:90%;
|
58 |
+
height: 100%;
|
59 |
+
}
|
60 |
+
|
61 |
+
.sp-clear-enabled .sp-hue {
|
62 |
+
top:33px;
|
63 |
+
height: 77.5%;
|
64 |
+
}
|
65 |
+
|
66 |
+
.sp-fill {
|
67 |
+
padding-top: 80%;
|
68 |
+
}
|
69 |
+
.sp-sat, .sp-val {
|
70 |
+
position: absolute;
|
71 |
+
top:0;
|
72 |
+
left:0;
|
73 |
+
right:0;
|
74 |
+
bottom:0;
|
75 |
+
}
|
76 |
+
|
77 |
+
.sp-alpha-enabled .sp-top {
|
78 |
+
margin-bottom: 18px;
|
79 |
+
}
|
80 |
+
.sp-alpha-enabled .sp-alpha {
|
81 |
+
display: block;
|
82 |
+
}
|
83 |
+
.sp-alpha-handle {
|
84 |
+
position:absolute;
|
85 |
+
top:-4px;
|
86 |
+
bottom: -4px;
|
87 |
+
width: 4px;
|
88 |
+
left: 50%;
|
89 |
+
cursor: pointer;
|
90 |
+
border: 1px solid black;
|
91 |
+
background: #f0f0f0;
|
92 |
+
opacity: .8;
|
93 |
+
}
|
94 |
+
.sp-alpha {
|
95 |
+
display: none;
|
96 |
+
position: absolute;
|
97 |
+
bottom: -34px;
|
98 |
+
right: 0;
|
99 |
+
left: 0;
|
100 |
+
height: 22px;
|
101 |
+
}
|
102 |
+
.sp-alpha-inner {
|
103 |
+
border: solid 1px #333;
|
104 |
+
}
|
105 |
+
|
106 |
+
.sp-clear {
|
107 |
+
display: none;
|
108 |
+
}
|
109 |
+
|
110 |
+
.sp-clear.sp-clear-display {
|
111 |
+
background-position: center;
|
112 |
+
}
|
113 |
+
|
114 |
+
.sp-clear-enabled .sp-clear {
|
115 |
+
display: block;
|
116 |
+
position:absolute;
|
117 |
+
top:0px;
|
118 |
+
right:0;
|
119 |
+
bottom:0;
|
120 |
+
left:84%;
|
121 |
+
height: 28px;
|
122 |
+
}
|
123 |
+
|
124 |
+
/* Don't allow text selection */
|
125 |
+
.sp-container, .sp-replacer, .sp-preview, .sp-dragger, .sp-slider, .sp-alpha, .sp-clear, .sp-alpha-handle, .sp-container.sp-dragging .sp-input, .sp-container button {
|
126 |
+
-webkit-user-select:none;
|
127 |
+
-moz-user-select: -moz-none;
|
128 |
+
-o-user-select:none;
|
129 |
+
user-select: none;
|
130 |
+
}
|
131 |
+
|
132 |
+
.sp-container.sp-input-disabled .sp-input-container {
|
133 |
+
display: none;
|
134 |
+
}
|
135 |
+
.sp-container.sp-buttons-disabled .sp-button-container {
|
136 |
+
display: none;
|
137 |
+
}
|
138 |
+
.sp-container.sp-palette-buttons-disabled .sp-palette-button-container {
|
139 |
+
display: none;
|
140 |
+
}
|
141 |
+
.sp-palette-only .sp-picker-container {
|
142 |
+
display: none;
|
143 |
+
}
|
144 |
+
.sp-palette-disabled .sp-palette-container {
|
145 |
+
display: none;
|
146 |
+
}
|
147 |
+
|
148 |
+
.sp-initial-disabled .sp-initial {
|
149 |
+
display: none;
|
150 |
+
}
|
151 |
+
|
152 |
+
|
153 |
+
/* Gradients for hue, saturation and value instead of images. Not pretty... but it works */
|
154 |
+
.sp-sat {
|
155 |
+
background-image: -webkit-gradient(linear, 0 0, 100% 0, from(#FFF), to(rgba(204, 154, 129, 0)));
|
156 |
+
background-image: -webkit-linear-gradient(left, #FFF, rgba(204, 154, 129, 0));
|
157 |
+
background-image: -moz-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
|
158 |
+
background-image: -o-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
|
159 |
+
background-image: -ms-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
|
160 |
+
background-image: linear-gradient(to right, #fff, rgba(204, 154, 129, 0));
|
161 |
+
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr=#FFFFFFFF, endColorstr=#00CC9A81)";
|
162 |
+
filter : progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr='#FFFFFFFF', endColorstr='#00CC9A81');
|
163 |
+
}
|
164 |
+
.sp-val {
|
165 |
+
background-image: -webkit-gradient(linear, 0 100%, 0 0, from(#000000), to(rgba(204, 154, 129, 0)));
|
166 |
+
background-image: -webkit-linear-gradient(bottom, #000000, rgba(204, 154, 129, 0));
|
167 |
+
background-image: -moz-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
|
168 |
+
background-image: -o-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
|
169 |
+
background-image: -ms-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
|
170 |
+
background-image: linear-gradient(to top, #000, rgba(204, 154, 129, 0));
|
171 |
+
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00CC9A81, endColorstr=#FF000000)";
|
172 |
+
filter : progid:DXImageTransform.Microsoft.gradient(startColorstr='#00CC9A81', endColorstr='#FF000000');
|
173 |
+
}
|
174 |
+
|
175 |
+
.sp-hue {
|
176 |
+
background: -moz-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
|
177 |
+
background: -ms-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
|
178 |
+
background: -o-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
|
179 |
+
background: -webkit-gradient(linear, left top, left bottom, from(#ff0000), color-stop(0.17, #ffff00), color-stop(0.33, #00ff00), color-stop(0.5, #00ffff), color-stop(0.67, #0000ff), color-stop(0.83, #ff00ff), to(#ff0000));
|
180 |
+
background: -webkit-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
|
181 |
+
background: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
|
182 |
+
}
|
183 |
+
|
184 |
+
/* IE filters do not support multiple color stops.
|
185 |
+
Generate 6 divs, line them up, and do two color gradients for each.
|
186 |
+
Yes, really.
|
187 |
+
*/
|
188 |
+
.sp-1 {
|
189 |
+
height:17%;
|
190 |
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0000', endColorstr='#ffff00');
|
191 |
+
}
|
192 |
+
.sp-2 {
|
193 |
+
height:16%;
|
194 |
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00', endColorstr='#00ff00');
|
195 |
+
}
|
196 |
+
.sp-3 {
|
197 |
+
height:17%;
|
198 |
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ff00', endColorstr='#00ffff');
|
199 |
+
}
|
200 |
+
.sp-4 {
|
201 |
+
height:17%;
|
202 |
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffff', endColorstr='#0000ff');
|
203 |
+
}
|
204 |
+
.sp-5 {
|
205 |
+
height:16%;
|
206 |
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0000ff', endColorstr='#ff00ff');
|
207 |
+
}
|
208 |
+
.sp-6 {
|
209 |
+
height:17%;
|
210 |
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00ff', endColorstr='#ff0000');
|
211 |
+
}
|
212 |
+
|
213 |
+
.sp-hidden {
|
214 |
+
display: none !important;
|
215 |
+
}
|
216 |
+
|
217 |
+
/* Clearfix hack */
|
218 |
+
.sp-cf:before, .sp-cf:after { content: ""; display: table; }
|
219 |
+
.sp-cf:after { clear: both; }
|
220 |
+
.sp-cf { *zoom: 1; }
|
221 |
+
|
222 |
+
/* Mobile devices, make hue slider bigger so it is easier to slide */
|
223 |
+
@media (max-device-width: 480px) {
|
224 |
+
.sp-color { right: 40%; }
|
225 |
+
.sp-hue { left: 63%; }
|
226 |
+
.sp-fill { padding-top: 60%; }
|
227 |
+
}
|
228 |
+
.sp-dragger {
|
229 |
+
border-radius: 5px;
|
230 |
+
height: 5px;
|
231 |
+
width: 5px;
|
232 |
+
border: 1px solid #fff;
|
233 |
+
background: #000;
|
234 |
+
cursor: pointer;
|
235 |
+
position:absolute;
|
236 |
+
top:0;
|
237 |
+
left: 0;
|
238 |
+
}
|
239 |
+
.sp-slider {
|
240 |
+
position: absolute;
|
241 |
+
top:0;
|
242 |
+
cursor:pointer;
|
243 |
+
height: 4px;
|
244 |
+
left: -4px;
|
245 |
+
right: -4px;
|
246 |
+
border: 1px solid #000;
|
247 |
+
background: #f0f0f0;
|
248 |
+
opacity: .8;
|
249 |
+
}
|
250 |
+
|
251 |
+
/*
|
252 |
+
Theme authors:
|
253 |
+
Here are the basic themeable display options (colors, fonts, global widths).
|
254 |
+
See http://bgrins.github.io/spectrum/themes/ for instructions.
|
255 |
+
*/
|
256 |
+
|
257 |
+
.sp-container {
|
258 |
+
border-radius: 0;
|
259 |
+
background-color:none; /* ECECEC */
|
260 |
+
/*border: solid 1px #f0c49B;*/
|
261 |
+
border: solid 0px #444;
|
262 |
+
padding: 0;
|
263 |
+
}
|
264 |
+
.sp-container, .sp-container button, .sp-container input, .sp-color, .sp-hue, .sp-clear {
|
265 |
+
font: normal 12px "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
|
266 |
+
-webkit-box-sizing: border-box;
|
267 |
+
-moz-box-sizing: border-box;
|
268 |
+
-ms-box-sizing: border-box;
|
269 |
+
box-sizing: border-box;
|
270 |
+
}
|
271 |
+
.sp-top {
|
272 |
+
margin-bottom: 3px;
|
273 |
+
}
|
274 |
+
.sp-color, .sp-hue, .sp-clear {
|
275 |
+
border: solid 1px #666;
|
276 |
+
}
|
277 |
+
|
278 |
+
/* Input */
|
279 |
+
.sp-input-container {
|
280 |
+
float:right;
|
281 |
+
width: 100px;
|
282 |
+
margin-bottom: 4px;
|
283 |
+
}
|
284 |
+
.sp-initial-disabled .sp-input-container {
|
285 |
+
width: 100%;
|
286 |
+
}
|
287 |
+
.sp-input {
|
288 |
+
font-size: 12px !important;
|
289 |
+
border: 1px inset;
|
290 |
+
padding: 4px 5px;
|
291 |
+
margin: 0;
|
292 |
+
width: 100%;
|
293 |
+
background:transparent;
|
294 |
+
border-radius: 3px;
|
295 |
+
color: #222;
|
296 |
+
}
|
297 |
+
.sp-input:focus {
|
298 |
+
border: 1px solid orange;
|
299 |
+
}
|
300 |
+
.sp-input.sp-validation-error {
|
301 |
+
border: 1px solid red;
|
302 |
+
background: #fdd;
|
303 |
+
}
|
304 |
+
.sp-picker-container , .sp-palette-container {
|
305 |
+
float:left;
|
306 |
+
position: relative;
|
307 |
+
padding: 5px 10px 10px 5px;
|
308 |
+
padding-bottom: 300px;
|
309 |
+
margin-bottom: -290px;
|
310 |
+
}
|
311 |
+
.sp-picker-container {
|
312 |
+
width: 196px;
|
313 |
+
border-left: solid 0px #444;
|
314 |
+
background:none;
|
315 |
+
}
|
316 |
+
|
317 |
+
/* Palettes */
|
318 |
+
.sp-palette-container {
|
319 |
+
border-right: solid 1px #ccc;
|
320 |
+
}
|
321 |
+
|
322 |
+
.sp-palette-only .sp-palette-container {
|
323 |
+
border: 0;
|
324 |
+
}
|
325 |
+
|
326 |
+
.sp-palette .sp-thumb-el {
|
327 |
+
display: block;
|
328 |
+
position:relative;
|
329 |
+
float:left;
|
330 |
+
width: 24px;
|
331 |
+
height: 15px;
|
332 |
+
margin: 3px;
|
333 |
+
cursor: pointer;
|
334 |
+
border:solid 2px transparent;
|
335 |
+
}
|
336 |
+
.sp-palette .sp-thumb-el:hover, .sp-palette .sp-thumb-el.sp-thumb-active {
|
337 |
+
border-color: orange;
|
338 |
+
}
|
339 |
+
.sp-thumb-el {
|
340 |
+
position:relative;
|
341 |
+
}
|
342 |
+
|
343 |
+
/* Initial */
|
344 |
+
.sp-initial {
|
345 |
+
float: left;
|
346 |
+
margin-top:20px;
|
347 |
+
border: solid 1px #333;
|
348 |
+
}
|
349 |
+
.sp-initial span {
|
350 |
+
width: 60px;
|
351 |
+
height: 40px;
|
352 |
+
border:none;
|
353 |
+
display:block;
|
354 |
+
float:left;
|
355 |
+
margin:0;
|
356 |
+
}
|
357 |
+
|
358 |
+
.sp-initial .sp-clear-display {
|
359 |
+
background-position: center;
|
360 |
+
}
|
361 |
+
|
362 |
+
/* Buttons */
|
363 |
+
.sp-palette-button-container,
|
364 |
+
.sp-button-container {
|
365 |
+
float: right;
|
366 |
+
}
|
367 |
+
|
368 |
+
/* Replacer (the little preview div that shows up instead of the <input>) */
|
369 |
+
.sp-replacer {
|
370 |
+
margin:0;
|
371 |
+
overflow:hidden;
|
372 |
+
cursor:pointer;
|
373 |
+
padding: 4px;
|
374 |
+
display:inline-block;
|
375 |
+
*zoom: 1;
|
376 |
+
*display: inline;
|
377 |
+
border: solid 1px #e0e0e0;
|
378 |
+
background: #f6f6f6;
|
379 |
+
color: #333;
|
380 |
+
vertical-align: middle;
|
381 |
+
}
|
382 |
+
|
383 |
+
.sp-replacer:hover, .sp-replacer.sp-active {
|
384 |
+
border-color: #F0C49B;
|
385 |
+
color: #111;
|
386 |
+
}
|
387 |
+
.sp-replacer.sp-disabled {
|
388 |
+
cursor:default;
|
389 |
+
border-color: silver;
|
390 |
+
color: silver;
|
391 |
+
}
|
392 |
+
.sp-dd {
|
393 |
+
padding: 2px 0;
|
394 |
+
height: 16px;
|
395 |
+
line-height: 16px;
|
396 |
+
float:left;
|
397 |
+
font-size:10px;
|
398 |
+
}
|
399 |
+
.sp-preview {
|
400 |
+
position:relative;
|
401 |
+
width:25px;
|
402 |
+
height: 20px;
|
403 |
+
border: solid 1px #d0d0d0;
|
404 |
+
margin-right: 5px;
|
405 |
+
float:left;
|
406 |
+
z-index: 0;
|
407 |
+
}
|
408 |
+
|
409 |
+
.sp-palette {
|
410 |
+
*width: 220px;
|
411 |
+
max-width: 220px;
|
412 |
+
}
|
413 |
+
.sp-palette .sp-thumb-el {
|
414 |
+
width:16px;
|
415 |
+
height: 16px;
|
416 |
+
margin:2px 1px;
|
417 |
+
border: solid 1px #d0d0d0;
|
418 |
+
}
|
419 |
+
|
420 |
+
.sp-container {
|
421 |
+
padding-bottom:0;
|
422 |
+
}
|
423 |
+
|
424 |
+
|
425 |
+
/* Buttons: http://hellohappy.org/css3-buttons/ */
|
426 |
+
.sp-container button {
|
427 |
+
background-color: #eeeeee;
|
428 |
+
background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
|
429 |
+
background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
|
430 |
+
background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
|
431 |
+
background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
|
432 |
+
background-image: linear-gradient(to bottom, #eeeeee, #cccccc);
|
433 |
+
border: 1px solid #ccc;
|
434 |
+
border-bottom: 1px solid #bbb;
|
435 |
+
border-radius: 3px;
|
436 |
+
color: #333;
|
437 |
+
font-size: 14px;
|
438 |
+
line-height: 1;
|
439 |
+
padding: 5px 4px;
|
440 |
+
text-align: center;
|
441 |
+
text-shadow: 0 1px 0 #eee;
|
442 |
+
vertical-align: middle;
|
443 |
+
}
|
444 |
+
.sp-container button:hover {
|
445 |
+
background-color: #dddddd;
|
446 |
+
background-image: -webkit-linear-gradient(top, #dddddd, #bbbbbb);
|
447 |
+
background-image: -moz-linear-gradient(top, #dddddd, #bbbbbb);
|
448 |
+
background-image: -ms-linear-gradient(top, #dddddd, #bbbbbb);
|
449 |
+
background-image: -o-linear-gradient(top, #dddddd, #bbbbbb);
|
450 |
+
background-image: linear-gradient(to bottom, #dddddd, #bbbbbb);
|
451 |
+
border: 1px solid #bbb;
|
452 |
+
border-bottom: 1px solid #999;
|
453 |
+
cursor: pointer;
|
454 |
+
text-shadow: 0 1px 0 #ddd;
|
455 |
+
}
|
456 |
+
.sp-container button:active {
|
457 |
+
border: 1px solid #aaa;
|
458 |
+
border-bottom: 1px solid #888;
|
459 |
+
-webkit-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
|
460 |
+
-moz-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
|
461 |
+
-ms-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
|
462 |
+
-o-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
|
463 |
+
box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
|
464 |
+
}
|
465 |
+
.sp-cancel {
|
466 |
+
font-size: 11px;
|
467 |
+
color: #d93f3f !important;
|
468 |
+
margin:0;
|
469 |
+
padding:2px;
|
470 |
+
margin-right: 5px;
|
471 |
+
vertical-align: middle;
|
472 |
+
text-decoration:none;
|
473 |
+
|
474 |
+
}
|
475 |
+
.sp-cancel:hover {
|
476 |
+
color: #d93f3f !important;
|
477 |
+
text-decoration: underline;
|
478 |
+
}
|
479 |
+
|
480 |
+
|
481 |
+
.sp-palette span:hover, .sp-palette span.sp-thumb-active {
|
482 |
+
border-color: #000;
|
483 |
+
}
|
484 |
+
|
485 |
+
.sp-preview, .sp-alpha, .sp-thumb-el {
|
486 |
+
position:relative;
|
487 |
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);
|
488 |
+
/*background: url('../../css/images/patchbg.png') repeat-x left 0px;*/
|
489 |
+
}
|
490 |
+
.sp-preview-inner, .sp-alpha-inner, .sp-thumb-inner {
|
491 |
+
display:block;
|
492 |
+
position:absolute;
|
493 |
+
top:0;left:0;bottom:0;right:0;
|
494 |
+
}
|
495 |
+
|
496 |
+
.sp-palette .sp-thumb-inner {
|
497 |
+
background-position: 50% 50%;
|
498 |
+
background-repeat: no-repeat;
|
499 |
+
}
|
500 |
+
|
501 |
+
.sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner {
|
502 |
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=);
|
503 |
+
}
|
504 |
+
|
505 |
+
.sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner {
|
506 |
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=);
|
507 |
+
}
|
508 |
+
|
509 |
+
.sp-clear-display {
|
510 |
+
background-repeat:no-repeat;
|
511 |
+
background-position: center;
|
512 |
+
background-image: url(data:image/gif;base64,R0lGODlhFAAUAPcAAAAAAJmZmZ2dnZ6enqKioqOjo6SkpKWlpaampqenp6ioqKmpqaqqqqurq/Hx8fLy8vT09PX19ff39/j4+Pn5+fr6+vv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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|
517 |
+
.sp-container.mini {
|
518 |
+
border:1px solid #fcfcfc;
|
519 |
+
}
|
520 |
+
|
521 |
+
.mini .sp-picker-container {
|
522 |
+
width: 106px;
|
523 |
+
border-left: solid 0px #444;
|
524 |
+
background:#f2f2f2;
|
525 |
+
padding: 15px;
|
526 |
+
padding-bottom: 300px;
|
527 |
+
top:0px;
|
528 |
+
}
|
529 |
+
|
css/dark.css
ADDED
@@ -0,0 +1,571 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
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
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
/*
|
2 |
+
-------------------------------
|
3 |
+
|
4 |
+
Skin: Dark
|
5 |
+
---
|
6 |
+
Plugin: MP3-jPlayer v2
|
7 |
+
Package: WordPress
|
8 |
+
Desc:
|
9 |
+
Info: http://mp3-jplayer.com
|
10 |
+
|
11 |
+
-------------------------------
|
12 |
+
*/
|
13 |
+
|
14 |
+
|
15 |
+
/* [mp3-jplayer] SHORTCODE
|
16 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
17 |
+
.subwrap-MI { border-width:0px; border-style:solid; padding:0; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; }
|
18 |
+
.jp-innerwrap { background:none; }
|
19 |
+
.interface-mjp { padding:0 0 42px 0; min-height:0px; }
|
20 |
+
|
21 |
+
div.innerx, div.innerleft, div.innerright, div.innertab, div.innertab2 { position:absolute; }
|
22 |
+
div.innerx { left:0px; height:38px; z-index:18; right:0px; bottom:0px; background-color:#303030; border:2px solid #303030;
|
23 |
+
/*border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; */
|
24 |
+
}
|
25 |
+
div.innerleft { display:none; }
|
26 |
+
div.innerright { display:none; }
|
27 |
+
div.innertab { left:0px; top:0px; right:0px; bottom:42px; }
|
28 |
+
|
29 |
+
/* PLAYLIST */
|
30 |
+
.ul-mjp { margin:0px !important; padding:3px 8px 4px 8px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; }
|
31 |
+
.li-mjp { margin:0px !important; padding:0px 0px 1px 0px !important; letter-spacing:0px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; list-style-type:none !important; }
|
32 |
+
.li-mjp:before { content:none !important; }
|
33 |
+
.a-mjp {
|
34 |
+
border:0 !important;
|
35 |
+
text-decoration:none !important;
|
36 |
+
display:block !important; width:auto !important;
|
37 |
+
outline:none !important;
|
38 |
+
padding:7px 10px 7px 10px !important;
|
39 |
+
}
|
40 |
+
|
41 |
+
/* SCREEN */
|
42 |
+
div.player-track-title { position:absolute; z-index:125; }
|
43 |
+
div.player-track-title div { position:relative; }
|
44 |
+
|
45 |
+
div.jp-play-time, div.jp-total-time, div.statusMI { position:absolute; font-size:8px !important; line-height:110%; }
|
46 |
+
div.jp-total-time { right:11px; bottom:66px; text-align:left; }
|
47 |
+
div.jp-play-time { right:11px; bottom:56px; text-align:right; }
|
48 |
+
|
49 |
+
div.statusMI { right:112px; left:0px; bottom:42px; height:11px; text-align:left; overflow:hidden;
|
50 |
+
background-image: url('images/t40w.png');
|
51 |
+
background-repeat: repeat;
|
52 |
+
background-position:left top;
|
53 |
+
}
|
54 |
+
span.mp3-finding {
|
55 |
+
position:absolute; top:0; left:0; bottom:0; right:0;
|
56 |
+
background:url('images/loader.gif') repeat-x 0px -2px;
|
57 |
+
}
|
58 |
+
span.mp3-tint { position:absolute; top:0; left:0; bottom:0; right:0; opacity:.3; filter:alpha(opacity=30); }
|
59 |
+
span.mjp-playing { display:none; }
|
60 |
+
span.mjp-paused { display:none; }
|
61 |
+
span.mjp-ready { display:none; }
|
62 |
+
span.mjp-stopped { display:none; }
|
63 |
+
span.mjp-connecting { display:none; }
|
64 |
+
span.mjp-buffering { display:none; }
|
65 |
+
|
66 |
+
|
67 |
+
/* BUTTONS */
|
68 |
+
div.transport-MI { position:absolute; width:auto; height:38px; right:2px; bottom:2px; border:0; z-index:22; }
|
69 |
+
div.transport-MI div { float:right; cursor:pointer; margin-left:2px; background-image: url("images/buttonset-darkplayer-grads8.png"); background-color:#303030; text-indent:-9999px !important; width:40px; height:38px; }
|
70 |
+
div.transport-MI div:hover { background-color:#383838 !important; }
|
71 |
+
|
72 |
+
div.play-mjp { background-position:-289px -77px; }
|
73 |
+
div.pause-mjp { background-position:-243px -77px; }
|
74 |
+
div.prev-mjp { background-position:-88px -77px; }
|
75 |
+
div.next-mjp { background-position:-145px -77px; }
|
76 |
+
div.stop-mjp { background-position:-198px -77px; }
|
77 |
+
|
78 |
+
.buttons-wrap-mjp { position:absolute; width:auto; height:38px; left:2px; bottom:2px; z-index:20; }
|
79 |
+
.buttons-wrap-mjp div {
|
80 |
+
float:left;
|
81 |
+
height:38px;
|
82 |
+
background-image: url("images/buttonset-darkplayer-grads8.png");
|
83 |
+
background-color:#303030;
|
84 |
+
background-repeat:no-repeat;
|
85 |
+
cursor:pointer;
|
86 |
+
overflow:hidden;
|
87 |
+
color:#f0f0f0;
|
88 |
+
text-align:left;
|
89 |
+
font-size:70%;
|
90 |
+
margin-right:2px;
|
91 |
+
}
|
92 |
+
|
93 |
+
/* Playlist */
|
94 |
+
div.playlist-toggle-MI {
|
95 |
+
background-position:-44px -79px;
|
96 |
+
text-indent:-9999px !important;
|
97 |
+
cursor:pointer;
|
98 |
+
width:34px;
|
99 |
+
}
|
100 |
+
div.playlist-toggle-MI:hover { background-color:#383838 !important; }
|
101 |
+
|
102 |
+
/* Popout */
|
103 |
+
div.mp3j-popout-MI {
|
104 |
+
background-position:-396px -5px;
|
105 |
+
padding:10px 7px 0 27px;
|
106 |
+
height:28px;
|
107 |
+
min-width:0px;
|
108 |
+
font-size:12px;
|
109 |
+
}
|
110 |
+
div.mp3j-popout-MI:hover { background-color:#383838 !important; }
|
111 |
+
|
112 |
+
/* Download */
|
113 |
+
div.dloadmp3-MI {
|
114 |
+
background-position:-395px -98px;
|
115 |
+
padding:0;
|
116 |
+
height:38px;
|
117 |
+
color:#f0f0f0;
|
118 |
+
cursor:default;
|
119 |
+
min-width:36px;
|
120 |
+
}
|
121 |
+
div.dloadmp3-MI * {
|
122 |
+
outline:none !important;
|
123 |
+
display:block;
|
124 |
+
width:auto;
|
125 |
+
margin:0px !important;
|
126 |
+
background-color:transparent;
|
127 |
+
text-decoration:none !important;
|
128 |
+
height:100%;
|
129 |
+
color:#f0f0f0;
|
130 |
+
}
|
131 |
+
div.dloadmp3-MI.whilelinks,
|
132 |
+
div.dloadmp3-MI.logintext {
|
133 |
+
background-position:-395px -49px;
|
134 |
+
cursor:pointer;
|
135 |
+
background-color:transparent;
|
136 |
+
}
|
137 |
+
div.dloadmp3-MI.whilelinks:hover { }
|
138 |
+
.dloadmp3-MI a { padding:10px 8px 0px 28px !important; visibility:hidden; display:none; color:#f0f0f0; font-size:12px; }
|
139 |
+
.dloadmp3-MI a:hover { }
|
140 |
+
.dloadmp3-MI.whilelinks a { visibility:inherit; color:#f0f0f0; display:block; }
|
141 |
+
.dloadmp3-MI.whilelinks a:hover { color:#fff; display:block; }
|
142 |
+
.dloadmp3-MI p { padding:10px 8px 0px 28px !important; visibility:visible; }
|
143 |
+
|
144 |
+
|
145 |
+
/* VOLUME */
|
146 |
+
.innerExt1, .innerExt2 {
|
147 |
+
position:absolute;
|
148 |
+
z-index:150;
|
149 |
+
background-image:url('images/buttonset-darkplayer-grads8.png');
|
150 |
+
background-repeat:no-repeat;
|
151 |
+
top:0px;
|
152 |
+
height:10px;
|
153 |
+
cursor:pointer;
|
154 |
+
}
|
155 |
+
.innerExt1 { left:0px; width:28px; background-position:-159px -53px; background-color:#303030; }
|
156 |
+
.innerExt1:hover { background-color:#383838; }
|
157 |
+
.innerExt2 { display:none; }
|
158 |
+
|
159 |
+
.vol-muted { background-position:-124px -53px; }
|
160 |
+
|
161 |
+
div.mjp-volwrap { position:absolute; height:11px; bottom:40px; right:0px; width:108px; background-color:#303030; z-index:140;
|
162 |
+
border:2px solid #303030; border-bottom:0px;
|
163 |
+
-webkit-border-top-right-radius: 2px; -moz-border-radius-topright: 2px; border-top-right-radius: 2px;
|
164 |
+
}
|
165 |
+
div.MIsliderVolume { position:absolute; top:-1px; right:1px; left:28px; height:11px; border:0px; font-size:1px; cursor:pointer; z-index:150; }
|
166 |
+
div.MIsliderVolume .ui-widget-header { background:transparent url('images/volgrad-light.png') repeat-y 10px top; border-right:1px solid #808080; }
|
167 |
+
div.MIsliderVolume .ui-slider-handle { display:none; }
|
168 |
+
div.mjp-volwrap:hover .ui-slider-handle, div.MIsliderVolume .ui-slider-handle:hover { display:none; }
|
169 |
+
div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active { display:none; }
|
170 |
+
|
171 |
+
/* LOADER AND POS SLIDER */
|
172 |
+
div.loadMI_mp3j, div.poscolMI_mp3j, div.posbarMI_mp3j { position:absolute; top:0px; left:0px; }
|
173 |
+
div.bars_holder { position:absolute; right:112px; left:0px; bottom:42px; height:11px; font-size:1px; cursor:default; }
|
174 |
+
div.loadMI_mp3j { bottom:0px; z-index:80; }
|
175 |
+
div.poscolMI_mp3j { bottom:0px; z-index:85; top:0px; }
|
176 |
+
div.bars_holder .ui-widget-header, div.bars_holder .ui-widget-content { border:0px !important; background:none; }
|
177 |
+
div.bars_holder .ui-slider-horizontal { top:0px; bottom:0px; height:auto; z-index:130; }
|
178 |
+
div.posbarMI_mp3j { bottom:0px; width:100%; }
|
179 |
+
div.posbarMI_mp3j .ui-slider-handle { top:0px; margin-left:-1px !important; border:0; bottom:0px; width:2px !important; z-index:100; background:none; cursor:default ; padding:0px !important; }
|
180 |
+
div.posbarMI_mp3j .ui-slider-handle:hover { background:none; z-index:100; }
|
181 |
+
|
182 |
+
/* MESSAGES */
|
183 |
+
div.mp3j-finfo {
|
184 |
+
position:absolute;
|
185 |
+
top:36px;
|
186 |
+
z-index:9999 !important;
|
187 |
+
width:80%;
|
188 |
+
left:10%;
|
189 |
+
-moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
|
190 |
+
background:#333;
|
191 |
+
-webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
|
192 |
+
padding:0;
|
193 |
+
min-height:31px;
|
194 |
+
overflow:hidden;
|
195 |
+
min-width:170px;
|
196 |
+
}
|
197 |
+
|
198 |
+
div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
|
199 |
+
div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
|
200 |
+
div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/loader-w.gif') no-repeat center 27px; width:auto; padding:0px; height:100%; }
|
201 |
+
div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
|
202 |
+
div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
|
203 |
+
div.mp3j-finfo-close:hover { color:#ccc !important; }
|
204 |
+
|
205 |
+
div.mp3j-finfo-txt h2 { font-size:15px !important; color:#f0f0f0 !important; margin:0 0 35px 0 !important; }
|
206 |
+
div.mp3j-finfo-txt h3 { font-size:14px !important; color:#f0f0f0 !important; margin:0 0 15px 0 !important; }
|
207 |
+
div.mp3j-finfo-txt p { font-size:12px !important; color:#f0f0f0 !important; line-height:14px !important; margin:0 0 5px 0; }
|
208 |
+
div.mp3j-finfo-txt a { }
|
209 |
+
|
210 |
+
.mp3j-nosolution,
|
211 |
+
.s-nosolution
|
212 |
+
{
|
213 |
+
padding:10px 5% 10px 5%;
|
214 |
+
border:1px solid #c0c0c0;
|
215 |
+
background:#f0f0f0;
|
216 |
+
color:#333;
|
217 |
+
top:4px;
|
218 |
+
left:4px;
|
219 |
+
right:4px;
|
220 |
+
-webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;
|
221 |
+
font-size:13px;
|
222 |
+
-webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
|
223 |
+
}
|
224 |
+
|
225 |
+
|
226 |
+
/* [mp3j] & [mp3t] SHORTCODES
|
227 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
228 |
+
div.mjp-s-wrapper.s-text { padding:0 0 14px 0; line-height:100% !important; margin:0 !important; }
|
229 |
+
div.mjp-s-wrapper.s-graphic { padding:0 0 18px 0; line-height:100% !important; margin:0 !important; }
|
230 |
+
span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
|
231 |
+
span.indi_mp3j { position:relative; padding-left:2px; }
|
232 |
+
|
233 |
+
span.T_mp3j span { font-size:0.7em }
|
234 |
+
|
235 |
+
/* BARS */
|
236 |
+
span.bars_mp3j { position:absolute; width:100%; top:0px; bottom:0px; }
|
237 |
+
span.load_mp3j, span.loadB_mp3j { position:absolute; /* background set from admin */ bottom:-5px; left:0px; min-height:3px; height:12%; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
|
238 |
+
/* mp3t */
|
239 |
+
span.posbar_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0; }
|
240 |
+
span.posbar_mp3j .ui-widget-header { z-index:-500; }
|
241 |
+
span.posbar_mp3j .ui-slider-handle { background:url('images/t40b.png') repeat; top:-1px; margin-left:-4px; border:1px solid #555; bottom:-8px; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
242 |
+
span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t40b.png') repeat; border-color:#202020; }
|
243 |
+
|
244 |
+
/* mp3j */
|
245 |
+
span.posbarB_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0; cursor:pointer; z-index:499; }
|
246 |
+
span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:-500; height:100%; }
|
247 |
+
span.posbarB_mp3j .ui-slider-handle { background:url('images/t50b.png') repeat 0px 0px; top:-2px; bottom:-8px; margin-left:-4px; border:1px solid #555; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
248 |
+
span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t50b.png') repeat 0px 0px; border-color:#202020; }
|
249 |
+
|
250 |
+
/* SPAN TRANSPORT */
|
251 |
+
span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; padding:0px; background:none; margin:0 0px 0 0px; }
|
252 |
+
|
253 |
+
|
254 |
+
span.group_wrap { position:relative; width:auto; margin:0px; }
|
255 |
+
span.gfxbutton_mp3j.play-mjp, span.gfxbutton_mp3j.pause-mjp {
|
256 |
+
padding:2px 0px 5px 10px; margin:0 5px 0px 5px; background-color:#404040; background-repeat:no-repeat; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; border:0px solid #707070;
|
257 |
+
}
|
258 |
+
span.gfxbutton_mp3j.play-mjp { background-position:center center; background-image: url("images/play.png"); }
|
259 |
+
span.gfxbutton_mp3j.play-mjp:hover { background-color:#303030; }
|
260 |
+
span.gfxbutton_mp3j.pause-mjp { background-position:center center; background-image: url("images/pause.png"); }
|
261 |
+
span.gfxbutton_mp3j.pause-mjp:hover { background-color:#303030; }
|
262 |
+
|
263 |
+
/* VOLUMES */
|
264 |
+
span.vol_mp3t { position:absolute; top:-9px; right:5px; width:90%; max-width:85px; height:3px; }
|
265 |
+
span.vol_mp3j { position:absolute; top:-11px; right:11px; width:85%; max-width:82px; height:3px; }
|
266 |
+
span.vol_mp3j.flipped { right:4px; }
|
267 |
+
span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { z-index:500; height:100%; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; background:url('images/volgrad-dark.png') repeat-y -30px top; }
|
268 |
+
|
269 |
+
span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle {
|
270 |
+
background:#404040 url('images/buttonset-darkplayer-grads8.png') no-repeat -127px -125px;
|
271 |
+
height:10px;
|
272 |
+
width:10px !important;
|
273 |
+
padding:0px;
|
274 |
+
margin-left:-6px;
|
275 |
+
border:1px solid #505050;
|
276 |
+
border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px;
|
277 |
+
z-index:600;
|
278 |
+
overflow:hidden !important;
|
279 |
+
cursor:default;
|
280 |
+
top:-5px;
|
281 |
+
}
|
282 |
+
span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background-color:#575757; }
|
283 |
+
span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { outline:none; background-color:#575757; }
|
284 |
+
|
285 |
+
span.Smp3-finding,
|
286 |
+
span.mp3-gtint {
|
287 |
+
padding:0px 0px 0px 12px;
|
288 |
+
overflow:hidden;
|
289 |
+
-moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
|
290 |
+
}
|
291 |
+
|
292 |
+
span.Smp3-finding { margin:0px 0px 0px 3px; background:url('images/pulse.gif') repeat 0px 0px; }
|
293 |
+
span.mp3-gtint { margin:0px 2px 0px -12px; opacity:.5; filter:alpha(opacity=50); background:#777; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
294 |
+
span.tintmarg { margin:0 2px 0 3px; }
|
295 |
+
|
296 |
+
span.Smp3-tint { opacity:.5; filter:alpha(opacity=50); padding:0px 0px 0px 12px; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
297 |
+
|
298 |
+
|
299 |
+
|
300 |
+
/* [mp3j-popout] SHORTCODE
|
301 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
302 |
+
.popout-wrap-mjp {
|
303 |
+
cursor:pointer;
|
304 |
+
position:relative;
|
305 |
+
border-width:2px;
|
306 |
+
border-style:solid;
|
307 |
+
background:#303030;
|
308 |
+
padding:0;
|
309 |
+
border-color:#505050;
|
310 |
+
-moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
|
311 |
+
display:inline-block;
|
312 |
+
}
|
313 |
+
.popout-wrap-mjp * { margin:0; padding:0; color:#e0e0e0; }
|
314 |
+
.popout-wrap-mjp:hover * { color:#fff; }
|
315 |
+
.popout-text-mjp { float:left; padding:0 15px; }
|
316 |
+
.popout-image-mjp {
|
317 |
+
float:left;
|
318 |
+
background-image:url('images/buttonset-darkplayer-grads8.png');
|
319 |
+
background-repeat:no-repeat;
|
320 |
+
background-position:-396px -9px;
|
321 |
+
min-width:32px;
|
322 |
+
min-height:28px;
|
323 |
+
margin:0;
|
324 |
+
}
|
325 |
+
.popout-image-mjp:hover { background-color:#383838; }
|
326 |
+
|
327 |
+
.popout-image-mjp-custom { float:left; background-repeat:no-repeat; margin:0; padding:0; border:0; }
|
328 |
+
.clearL-mjp { clear:left; }
|
329 |
+
|
330 |
+
|
331 |
+
|
332 |
+
|
333 |
+
/** ############################################
|
334 |
+
* Functional CSS, careful with these bits!
|
335 |
+
* ############################################ */
|
336 |
+
|
337 |
+
/* === */
|
338 |
+
.wrap-mjp { /* MAIN WRAPPER (default class) */
|
339 |
+
border: 0;
|
340 |
+
margin: 0;
|
341 |
+
background: none;
|
342 |
+
min-width: 44px;
|
343 |
+
}
|
344 |
+
.wrap-mjp, .wrap-mjp * {
|
345 |
+
-webkit-box-sizing: content-box !important;
|
346 |
+
-moz-box-sizing: content-box !important;
|
347 |
+
box-sizing: content-box !important;
|
348 |
+
}
|
349 |
+
|
350 |
+
|
351 |
+
/* === */
|
352 |
+
.jp-innerwrap,
|
353 |
+
.listwrap_mp3j,
|
354 |
+
.wrapper-mjp {
|
355 |
+
position: relative !important;
|
356 |
+
width: 100%;
|
357 |
+
margin: 0;
|
358 |
+
padding: 0;
|
359 |
+
cursor: default;
|
360 |
+
}
|
361 |
+
|
362 |
+
.subwrap-MI { position:relative !important; width:100%; overflow:hidden; margin:0; cursor:default; }
|
363 |
+
.interface-mjp { position:relative !important; width:100%; margin:0; cursor:default; }
|
364 |
+
|
365 |
+
.subwrap-MI *,
|
366 |
+
.mjp-s-wrapper {
|
367 |
+
-moz-user-select: -moz-none;
|
368 |
+
-khtml-user-select: none;
|
369 |
+
-webkit-user-select: none;
|
370 |
+
-ms-user-select: none;
|
371 |
+
user-select: none;
|
372 |
+
}
|
373 |
+
|
374 |
+
/* === */
|
375 |
+
.mp3j-nosolution {
|
376 |
+
position:absolute;
|
377 |
+
z-index:9999;
|
378 |
+
height:auto;
|
379 |
+
}
|
380 |
+
.s-nosolution {
|
381 |
+
position:relative;
|
382 |
+
display:inline-block;
|
383 |
+
margin-bottom:20px;
|
384 |
+
height:auto;
|
385 |
+
}
|
386 |
+
|
387 |
+
/* ==== */
|
388 |
+
.wrapper-mjp ul {
|
389 |
+
position: static; /* needed in some themes */
|
390 |
+
}
|
391 |
+
.playlist-colour {
|
392 |
+
position:absolute;
|
393 |
+
width:100%;
|
394 |
+
height:100%;
|
395 |
+
left:0px;
|
396 |
+
top:0px;
|
397 |
+
}
|
398 |
+
|
399 |
+
/* ===== playlist grads ===== */
|
400 |
+
ul.lighten1-mjp {
|
401 |
+
background-image: url('images/pl-grad-w.png');
|
402 |
+
background-position: left 0px;
|
403 |
+
background-repeat: repeat-x;
|
404 |
+
}
|
405 |
+
ul.lighten2-mjp {
|
406 |
+
background-image: url('images/pl-grad-w-long.png');
|
407 |
+
background-position: left 0px;
|
408 |
+
background-repeat: repeat-x;
|
409 |
+
}
|
410 |
+
ul.darken1-mjp {
|
411 |
+
background-image: url('images/pl-grad-b.png');
|
412 |
+
background-position: left 0px;
|
413 |
+
background-repeat: repeat-x;
|
414 |
+
}
|
415 |
+
ul.darken2-mjp {
|
416 |
+
background-image: url('images/pl-grad-b-long.png');
|
417 |
+
background-position: left 0px;
|
418 |
+
background-repeat: repeat-x;
|
419 |
+
}
|
420 |
+
|
421 |
+
/* ===== playlist dividers ===== */
|
422 |
+
|
423 |
+
ul.light-mjp li { background:url('images/t60w.png') repeat-x left bottom; }
|
424 |
+
ul.med-mjp li { background:url('images/t50l.png') repeat-x left bottom; }
|
425 |
+
ul.dark-mjp li { background:url('images/t50g.png') repeat-x left bottom; }
|
426 |
+
li.mjp-li-last { background:none !important; }
|
427 |
+
|
428 |
+
|
429 |
+
/* ===== posbar grads ===== */
|
430 |
+
.poscolMI_mp3j.soften-mjp {
|
431 |
+
background-image: url('images/posbar-lighten.png');
|
432 |
+
background-position: right top;
|
433 |
+
background-repeat: repeat-y;
|
434 |
+
}
|
435 |
+
.poscolMI_mp3j.softenT-mjp {
|
436 |
+
background-image: url('images/posbar-pipe.png');
|
437 |
+
background-position: right -5px;
|
438 |
+
background-repeat: repeat-x;
|
439 |
+
}
|
440 |
+
.poscolMI_mp3j.darken-mjp {
|
441 |
+
background-image: url('images/posbar-darken.png');
|
442 |
+
background-position: right top;
|
443 |
+
background-repeat: repeat-y;
|
444 |
+
}
|
445 |
+
|
446 |
+
.left-mjp { text-align:left; }
|
447 |
+
.centre-mjp { text-align:center; }
|
448 |
+
.right-mjp { text-align: right; }
|
449 |
+
|
450 |
+
.bold-mjp,
|
451 |
+
.childBold-mjp * { font-weight:700; }
|
452 |
+
|
453 |
+
.norm-mjp,
|
454 |
+
.childNorm-mjp * { font-weight:500; }
|
455 |
+
|
456 |
+
.italic-mjp,
|
457 |
+
.childItalic-mjp * { font-style:italic; }
|
458 |
+
|
459 |
+
.plain-mjp,
|
460 |
+
.childPlain-mjp * { font-style:normal; }
|
461 |
+
|
462 |
+
/* ===== fonts ===== */
|
463 |
+
.arial-mjp,
|
464 |
+
ul.arial-mjp a { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
|
465 |
+
.verdana-mjp,
|
466 |
+
ul.verdana-mjp a { font-family: Verdana, Geneva, sans-serif; }
|
467 |
+
.times-mjp,
|
468 |
+
ul.times-mjp a { font-family: TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif; }
|
469 |
+
.palatino-mjp,
|
470 |
+
ul.palatino-mjp a { font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif; }
|
471 |
+
.courier-mjp,
|
472 |
+
ul.courier-mjp a { font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace; }
|
473 |
+
.lucida-mjp,
|
474 |
+
ul.lucida-mjp a { font-family: "Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace; }
|
475 |
+
.gill-mjp,
|
476 |
+
ul.gill-mjp a { font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif; }
|
477 |
+
|
478 |
+
.player-track-title,
|
479 |
+
.player-track-title div,
|
480 |
+
.a-mjp { line-height: 110% !important; }
|
481 |
+
|
482 |
+
.player-track-title div { font-size:0.7em; }
|
483 |
+
|
484 |
+
.titleHide-mjp { display:none; }
|
485 |
+
|
486 |
+
/* ===== jQuery UI ===== */
|
487 |
+
.ui-state-disabled { cursor:default !important; }
|
488 |
+
.ui-slider {
|
489 |
+
position:relative;
|
490 |
+
text-align:left;
|
491 |
+
}
|
492 |
+
.ui-slider .ui-slider-handle {
|
493 |
+
position:absolute;
|
494 |
+
z-index:200;
|
495 |
+
cursor:default;
|
496 |
+
}
|
497 |
+
.ui-slider .ui-slider-range {
|
498 |
+
position:absolute;
|
499 |
+
z-index:1;
|
500 |
+
font-size:.7em;
|
501 |
+
display:block;
|
502 |
+
border:0;
|
503 |
+
}
|
504 |
+
.ui-slider-horizontal .ui-slider-range { top:0; height:100%; }
|
505 |
+
.ui-slider-horizontal .ui-slider-range-min { left:0; }
|
506 |
+
.ui-slider-horizontal .ui-slider-range-max { right:0; }
|
507 |
+
.ui-state-default,
|
508 |
+
.ui-widget-content .ui-state-default { outline:none; border:0px; }
|
509 |
+
|
510 |
+
/* ===== user style param ===== */
|
511 |
+
.nolistbutton div.playlist-toggle-MI { display:none; }
|
512 |
+
.nopopoutbutton div.mp3j-popout-MI { display:none; }
|
513 |
+
.nopn div.prev-mjp { display:none; }
|
514 |
+
.nopn div.next-mjp { display:none; }
|
515 |
+
.nostop div.stop-mjp { display:none; }
|
516 |
+
.notitle div.player-track-title { display:none; }
|
517 |
+
.novol div.mjp-volwrap { display:none; }
|
518 |
+
div.wrap-mjp.noplayer { display:none; }
|
519 |
+
|
520 |
+
.fullbars div.bars_holder { left:0px; right:0px; height:auto; top:0px; }
|
521 |
+
.fullbars div.jp-total-time { bottom:45px; text-align:right; z-index:90; }
|
522 |
+
.fullbars div.jp-play-time { right:95px; bottom:45px; text-align:right; z-index:90; }
|
523 |
+
.fullbars div.statusMI { right:12px; left:auto; bottom:43px; padding:2px 0 2px 0; width:80px; height:auto; background:none; z-index:90; }
|
524 |
+
.fullbars span.mjp-playing, .fullbars span.mjp-paused, .fullbars span.mjp-ready, .fullbars span.mjp-stopped, .fullbars span.mjp-connecting, .fullbars span.mjp-buffering { display:inline; }
|
525 |
+
.fullbars span.mp3-finding { position:relative; padding:0 4px 0 4px; margin:0; background:url('images/pulse.gif') repeat; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; overflow:hidden; }
|
526 |
+
.fullbars span.mp3-tint { position:relative; padding:0 4px 0 4px; margin:0 3px 0 -8px; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; overflow:hidden; }
|
527 |
+
.fullbars div.mjp-volwrap { bottom:auto; top:0px; right:0px; -webkit-border-bottom-left-radius:2px; -moz-border-radius-bottomleft:2px; border-bottom-left-radius: 2px; }
|
528 |
+
|
529 |
+
div.bigger1 span { font-size:18px !important; }
|
530 |
+
div.bigger2 span { font-size:23px !important; }
|
531 |
+
div.bigger3 span { font-size:28px !important; }
|
532 |
+
div.bigger4 span { font-size:38px !important; }
|
533 |
+
div.bigger5 span { font-size:48px !important; }
|
534 |
+
|
535 |
+
div.bigger1 .indi_mp3j, div.bigger1 .Smp3-finding, div.bigger1 .mp3-gtint, div.bigger1 .Smp3-tint,
|
536 |
+
div.bigger2 .indi_mp3j, div.bigger2 .Smp3-finding, div.bigger2 .mp3-gtint, div.bigger2 .Smp3-tint,
|
537 |
+
div.bigger3 .indi_mp3j, div.bigger3 .Smp3-finding, div.bigger3 .mp3-gtint, div.bigger3 .Smp3-tint,
|
538 |
+
div.bigger4 .indi_mp3j, div.bigger4 .Smp3-finding, div.bigger4 .mp3-gtint, div.bigger4 .Smp3-tint,
|
539 |
+
div.bigger5 .indi_mp3j, div.bigger5 .Smp3-finding, div.bigger5 .mp3-gtint, div.bigger5 .Smp3-tint { font-size:70% !important; }
|
540 |
+
|
541 |
+
/* ===== ===== */
|
542 |
+
div.mp3j-dlframe,
|
543 |
+
iframe.mp3j-dlframe {
|
544 |
+
width:1px;
|
545 |
+
height:1px;
|
546 |
+
overflow:hidden;
|
547 |
+
margin:0;
|
548 |
+
padding:0;
|
549 |
+
display:none !important;
|
550 |
+
}
|
551 |
+
|
552 |
+
/* ===== ===== */
|
553 |
+
.MI-image { position:relative; padding:0; /*overflow:hidden;*/ }
|
554 |
+
.MI-image img { border:none; padding:0px; width:100%; height:auto; }
|
555 |
+
.MI-image.Himg img { width:auto; height:100%; }
|
556 |
+
.MI-image.Fimg img { width:auto; height:auto; }
|
557 |
+
.MI-image a:hover img { }
|
558 |
+
|
559 |
+
.MI-image.left-mjp { margin:0 auto 0 0; }
|
560 |
+
.MI-image.centre-mjp { margin: 0 auto; }
|
561 |
+
.MI-image.right-mjp { margin: 0 0 0 auto; }
|
562 |
+
|
563 |
+
.unsel-mjp {
|
564 |
+
-moz-user-select: -moz-none;
|
565 |
+
-khtml-user-select: none;
|
566 |
+
-webkit-user-select: none;
|
567 |
+
-ms-user-select: none;
|
568 |
+
user-select: none;
|
569 |
+
}
|
570 |
+
|
571 |
+
|
css/images/Hue.gif
DELETED
Binary file
|
css/images/SatVal.png
DELETED
Binary file
|
css/images/Thumbs.db
DELETED
Binary file
|
css/images/arrow.gif
DELETED
Binary file
|
css/images/buttonset-darkplayer-grads8.png
ADDED
Binary file
|
css/images/buttonset-lightplayer-grads8.png
ADDED
Binary file
|
css/images/finding-bar9.gif
DELETED
Binary file
|
css/images/inlineHandle1.png
DELETED
Binary file
|
css/images/inlineHandle2.png
DELETED
Binary file
|
css/images/loader.gif
CHANGED
Binary file
|
css/images/music-default.png
ADDED
Binary file
|
css/images/pause.png
ADDED
Binary file
|
css/images/pause2.png
ADDED
Binary file
|
css/images/pause3.png
ADDED
Binary file
|
css/images/pl-grad-b-long.png
ADDED
Binary file
|
css/images/pl-grad-b.png
ADDED
Binary file
|
css/images/pl-grad-w-long.png
ADDED
Binary file
|
css/images/pl-grad-w.png
ADDED
Binary file
|
css/images/play.png
ADDED
Binary file
|
css/images/play2.png
ADDED
Binary file
|
css/images/play3.png
ADDED
Binary file
|
css/images/posbar-darken.png
ADDED
Binary file
|
css/images/posbar-lighten.png
ADDED
Binary file
|
css/images/posbar-pipe.png
ADDED
Binary file
|
css/images/{finding-bar1f.gif → pulse.gif}
RENAMED
File without changes
|
css/images/shadow-l.png
DELETED
Binary file
|
css/images/shadow-r.png
DELETED
Binary file
|
css/images/shadow-x.png
DELETED
Binary file
|
css/images/slide.gif
DELETED
Binary file
|
css/images/spinner.gif
ADDED
Binary file
|
css/images/t30b.png
ADDED
Binary file
|
css/images/t50l.png
ADDED
Binary file
|
css/images/t70l.png
ADDED
Binary file
|
css/images/{vol-grad60b2.png → volgrad-dark.png}
RENAMED
File without changes
|
css/images/{vol-grad60w2.png → volgrad-light.png}
RENAMED
File without changes
|
css/light.css
ADDED
@@ -0,0 +1,568 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|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|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
/*
|
2 |
+
-------------------------------
|
3 |
+
|
4 |
+
Skin: Light
|
5 |
+
---
|
6 |
+
Plugin: MP3-jPlayer v2
|
7 |
+
Package: WordPress
|
8 |
+
Desc:
|
9 |
+
Info: http://mp3-jplayer.com
|
10 |
+
|
11 |
+
-------------------------------
|
12 |
+
*/
|
13 |
+
|
14 |
+
|
15 |
+
/* [mp3-jplayer] SHORTCODE
|
16 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
17 |
+
.subwrap-MI { border-width:0px; border-style:solid; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; }
|
18 |
+
.jp-innerwrap { background:none; }
|
19 |
+
.interface-mjp { padding:0px 0 41px 0; min-height:0px; }
|
20 |
+
.listwrap_mp3j { }
|
21 |
+
|
22 |
+
div.innerx, div.innerleft, div.innerright, div.innertab, div.innertab2 { position:absolute; }
|
23 |
+
div.innerx { left:0px; height:39px; right:0px; bottom:0px; background-color:#d9d9d9; border:1px solid #d0d0d0; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; z-index:18; }
|
24 |
+
div.innerleft { display:none; }
|
25 |
+
div.innerright { display:none; }
|
26 |
+
div.innertab { left:0px; top:0px; right:0px; bottom:41px; border-bottom:1px solid #fff; }
|
27 |
+
|
28 |
+
/* PLAYLIST */
|
29 |
+
.ul-mjp { margin:0px !important; padding:3px 8px 4px 8px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; border-top:1px solid #f0f0f0; }
|
30 |
+
.li-mjp { margin:0px !important; padding:0px 0px 1px 0px !important; letter-spacing:0px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; list-style-type:none !important; }
|
31 |
+
.li-mjp:before { content:none !important; }
|
32 |
+
.a-mjp {
|
33 |
+
border:0 !important;
|
34 |
+
text-decoration:none !important;
|
35 |
+
display:block !important; width:auto !important;
|
36 |
+
outline:none !important;
|
37 |
+
padding:7px 10px 7px 10px !important;
|
38 |
+
}
|
39 |
+
|
40 |
+
|
41 |
+
/* SCREEN */
|
42 |
+
div.player-track-title { position:absolute; z-index:125; }
|
43 |
+
div.player-track-title div { position:relative; }
|
44 |
+
|
45 |
+
div.jp-play-time, div.jp-total-time, div.statusMI { position:absolute; font-size:8px !important; line-height:110%; }
|
46 |
+
div.jp-total-time { right:9px; bottom:65px; text-align:right; }
|
47 |
+
div.jp-play-time { right:9px; bottom:55px; text-align:right; }
|
48 |
+
|
49 |
+
|
50 |
+
div.statusMI { right:109px; left:0px; bottom:41px; height:11px; text-align:left; overflow:hidden;
|
51 |
+
background-image: url('images/t75e.png');
|
52 |
+
background-repeat: repeat;
|
53 |
+
background-position:left top;
|
54 |
+
border-bottom:1px solid #f8f8f8;
|
55 |
+
}
|
56 |
+
span.mp3-finding {
|
57 |
+
position:absolute; top:0; left:0; bottom:0; right:0;
|
58 |
+
background:url('images/loader.gif') repeat-x 0px -2px;
|
59 |
+
}
|
60 |
+
span.mp3-tint { position:absolute; top:0; left:0; bottom:0; right:0; opacity:.3; filter:alpha(opacity=30); }
|
61 |
+
span.mjp-playing { display:none; }
|
62 |
+
span.mjp-paused { display:none; }
|
63 |
+
span.mjp-ready { display:none; }
|
64 |
+
span.mjp-stopped { display:none; }
|
65 |
+
span.mjp-connecting { display:none; }
|
66 |
+
span.mjp-buffering { display:none; }
|
67 |
+
|
68 |
+
|
69 |
+
/* BUTTONS */
|
70 |
+
div.transport-MI { position:absolute; width:auto; height:38px; right:2px; bottom:2px; border:0; z-index:22; }
|
71 |
+
div.transport-MI div { float:right; cursor:pointer; margin-left:2px; background-image: url("images/buttonset-lightplayer-grads8.png"); background-color:#d9d9d9; text-indent:-9999px !important; width:40px; height:38px; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; }
|
72 |
+
div.transport-MI div:hover { background-color:#e0e0e0 !important; }
|
73 |
+
div.play-mjp { background-position:-288px -8px; }
|
74 |
+
div.pause-mjp { background-position:-243px -8px; }
|
75 |
+
div.prev-mjp { background-position:-88px -8px; }
|
76 |
+
div.next-mjp { background-position:-144px -8px; }
|
77 |
+
div.stop-mjp { background-position:-198px -8px; }
|
78 |
+
|
79 |
+
.buttons-wrap-mjp { position:absolute; width:auto; height:38px; left:2px; bottom:2px; z-index:20; }
|
80 |
+
.buttons-wrap-mjp div {
|
81 |
+
float:left;
|
82 |
+
height:38px;
|
83 |
+
background-image: url("images/buttonset-lightplayer-grads8.png");
|
84 |
+
background-color:#d9d9d9;
|
85 |
+
background-repeat:no-repeat;
|
86 |
+
cursor:pointer;
|
87 |
+
overflow:hidden;
|
88 |
+
color:#505050;
|
89 |
+
text-align:left;
|
90 |
+
font-size:70%;
|
91 |
+
margin-right:2px;
|
92 |
+
}
|
93 |
+
|
94 |
+
div.playlist-toggle-MI {
|
95 |
+
background-position:-44px -78px;
|
96 |
+
text-indent:-9999px !important;
|
97 |
+
cursor:pointer;
|
98 |
+
width:34px;
|
99 |
+
}
|
100 |
+
div.playlist-toggle-MI:hover { background-color:#e0e0e0 !important; }
|
101 |
+
|
102 |
+
div.mp3j-popout-MI {
|
103 |
+
background-position:-396px -4px;
|
104 |
+
padding:10px 7px 0 27px;
|
105 |
+
height:28px;
|
106 |
+
min-width:0px;
|
107 |
+
font-size:12px;
|
108 |
+
}
|
109 |
+
div.mp3j-popout-MI:hover { background-color:#e0e0e0 !important; }
|
110 |
+
|
111 |
+
div.dloadmp3-MI {
|
112 |
+
background-position:-395px -97px;
|
113 |
+
padding:0;
|
114 |
+
height:40px;
|
115 |
+
cursor:default;
|
116 |
+
min-width:36px;
|
117 |
+
}
|
118 |
+
div.dloadmp3-MI * {
|
119 |
+
outline:none !important;
|
120 |
+
display:block;
|
121 |
+
width:auto;
|
122 |
+
margin:0px !important;
|
123 |
+
background-color:transparent;
|
124 |
+
text-decoration:none !important;
|
125 |
+
height:100%;
|
126 |
+
color:#505050;
|
127 |
+
|
128 |
+
}
|
129 |
+
div.dloadmp3-MI.whilelinks,
|
130 |
+
div.dloadmp3-MI.logintext {
|
131 |
+
background-position:-395px -48px;
|
132 |
+
cursor:pointer;
|
133 |
+
background-color:transparent;
|
134 |
+
}
|
135 |
+
div.dloadmp3-MI.whilelinks:hover { }
|
136 |
+
.dloadmp3-MI a { padding:10px 8px 0px 28px !important; visibility:hidden; display:none; color:#505050; font-size:12px; }
|
137 |
+
.dloadmp3-MI a:hover { }
|
138 |
+
.dloadmp3-MI.whilelinks a { visibility:inherit; color:#505050; display:block; }
|
139 |
+
.dloadmp3-MI.whilelinks a:hover { color:#505050; display:block; }
|
140 |
+
.dloadmp3-MI p { padding:10px 8px 0px 28px !important; visibility:visible; }
|
141 |
+
|
142 |
+
|
143 |
+
/* VOLUME */
|
144 |
+
.innerExt1, .innerExt2 {
|
145 |
+
position:absolute;
|
146 |
+
z-index:150;
|
147 |
+
background-image:url('images/buttonset-lightplayer-grads8.png');
|
148 |
+
background-repeat:no-repeat;
|
149 |
+
top:0px;
|
150 |
+
height:11px;
|
151 |
+
cursor:pointer;
|
152 |
+
}
|
153 |
+
.innerExt1 { left:0px; width:28px; background-position:-88px -52px; background-color:#e0e0e0; }
|
154 |
+
.innerExt1:hover { background-color:#e8e8e8; }
|
155 |
+
.innerExt2 { display:none; }
|
156 |
+
|
157 |
+
.vol-muted { background-position:-125px -52px; }
|
158 |
+
|
159 |
+
|
160 |
+
div.mjp-volwrap { position:absolute; height:11px; bottom:41px; right:0px; width:108px; background-color:#e0e0e0; z-index:140;
|
161 |
+
border-left:1px solid #f8f8f8; border-bottom:1px solid #f8f8f8;
|
162 |
+
}
|
163 |
+
div.MIsliderVolume { position:absolute; top:0px; right:1px; left:28px; height:11px; border:0px; font-size:1px; cursor:pointer; z-index:150; background-color:#b0b0b0; }
|
164 |
+
div.MIsliderVolume .ui-widget-header { background:#e0e0e0 url('images/volgrad-dark.png') repeat-y 35px top; border-right:0px solid #d0d0d0; cursor:pointer; }
|
165 |
+
div.MIsliderVolume .ui-slider-handle { display:none; }
|
166 |
+
div.mjp-volwrap:hover .ui-slider-handle, div.MIsliderVolume .ui-slider-handle:hover { display:none; }
|
167 |
+
div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active { display:none; }
|
168 |
+
|
169 |
+
/* LOADER AND POS SLIDER */
|
170 |
+
div.loadMI_mp3j, div.poscolMI_mp3j, div.posbarMI_mp3j { position:absolute; top:0px; left:0px; }
|
171 |
+
div.bars_holder { position:absolute; right:109px; left:0px; bottom:42px; height:11px; font-size:1px; cursor:default; }
|
172 |
+
div.loadMI_mp3j { bottom:0px; z-index:80; }
|
173 |
+
div.poscolMI_mp3j { bottom:0px; z-index:85; top:0px; }
|
174 |
+
div.bars_holder .ui-widget-header, div.bars_holder .ui-widget-content { border:0px !important; background:none; }
|
175 |
+
div.bars_holder .ui-slider-horizontal { top:0px; bottom:0px; height:auto; z-index:130; }
|
176 |
+
div.posbarMI_mp3j { bottom:0px; width:100%; }
|
177 |
+
div.posbarMI_mp3j .ui-slider-handle { top:0px; margin-left:-1px !important; border:0; bottom:0px; width:2px !important; z-index:100; background:none; cursor:default ; padding:0px !important; }
|
178 |
+
div.posbarMI_mp3j .ui-slider-handle:hover { background:none; z-index:100; }
|
179 |
+
|
180 |
+
|
181 |
+
|
182 |
+
/* MESSAGES */
|
183 |
+
div.mp3j-finfo {
|
184 |
+
position:absolute;
|
185 |
+
top:36px;
|
186 |
+
z-index:9999 !important;
|
187 |
+
width:80%;
|
188 |
+
left:10%;
|
189 |
+
-moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
|
190 |
+
background:#fff;
|
191 |
+
-webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
|
192 |
+
padding:0;
|
193 |
+
min-height:31px;
|
194 |
+
overflow:hidden;
|
195 |
+
min-width:170px;
|
196 |
+
}
|
197 |
+
|
198 |
+
div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
|
199 |
+
div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
|
200 |
+
div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/spinner.gif') no-repeat center 27px; width:auto; padding:0px; height:100%; }
|
201 |
+
div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
|
202 |
+
div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
|
203 |
+
div.mp3j-finfo-close:hover { color:#888 !important; }
|
204 |
+
|
205 |
+
div.mp3j-finfo-txt h2 { font-size:15px !important; color:#333 !important; margin:0 0 35px 0 !important; }
|
206 |
+
div.mp3j-finfo-txt h3 { font-size:14px !important; color:#333 !important; margin:0 0 15px 0 !important; }
|
207 |
+
div.mp3j-finfo-txt p { font-size:12px !important; color:#555 !important; line-height:14px !important; margin:0 0 5px 0; }
|
208 |
+
div.mp3j-finfo-txt a { }
|
209 |
+
|
210 |
+
.mp3j-nosolution,
|
211 |
+
.s-nosolution
|
212 |
+
{
|
213 |
+
padding:10px 5% 10px 5%;
|
214 |
+
border:1px solid #c0c0c0;
|
215 |
+
background:#f0f0f0;
|
216 |
+
color:#333;
|
217 |
+
top:4px;
|
218 |
+
left:4px;
|
219 |
+
right:4px;
|
220 |
+
-webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;
|
221 |
+
font-size:13px;
|
222 |
+
-webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
|
223 |
+
}
|
224 |
+
|
225 |
+
|
226 |
+
/* [mp3j] & [mp3t] SHORTCODES
|
227 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
228 |
+
div.mjp-s-wrapper.s-text { padding:0 0 14px 0; line-height:100% !important; margin:0 !important; }
|
229 |
+
div.mjp-s-wrapper.s-graphic { padding:0 0 18px 0; line-height:100% !important; margin:0 !important; }
|
230 |
+
span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
|
231 |
+
span.indi_mp3j { position:relative; padding-left:2px; }
|
232 |
+
|
233 |
+
span.T_mp3j span { font-size:0.7em }
|
234 |
+
|
235 |
+
/* BARS */
|
236 |
+
span.bars_mp3j { position:absolute; width:100%; top:0px; bottom:0px; }
|
237 |
+
span.load_mp3j, span.loadB_mp3j { position:absolute; /* background set from admin */ bottom:-5px; left:0px; min-height:3px; height:12%; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
|
238 |
+
/* mp3t */
|
239 |
+
span.posbar_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0; }
|
240 |
+
span.posbar_mp3j .ui-widget-header { z-index:-500; }
|
241 |
+
span.posbar_mp3j .ui-slider-handle { background:url('images/t50l.png') repeat; top:-1px; margin-left:-4px; border:1px solid #aaa; bottom:-8px; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
242 |
+
span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t50l.png') repeat; border-color:#888; }
|
243 |
+
|
244 |
+
/* mp3j */
|
245 |
+
span.posbarB_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0; cursor:pointer; z-index:499; }
|
246 |
+
span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:-500; height:100%; }
|
247 |
+
span.posbarB_mp3j .ui-slider-handle { background:url('images/t50l.png') repeat 0px 0px; top:-2px; bottom:-8px; margin-left:-4px; border:1px solid #aaa; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
248 |
+
span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t50l.png') repeat 0px 0px; border-color:#888; }
|
249 |
+
|
250 |
+
/* SPAN TRANSPORT */
|
251 |
+
span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; padding:0px; background:none; margin:0 0px 0 0px; }
|
252 |
+
span.group_wrap { position:relative; width:auto; margin:0px; }
|
253 |
+
span.gfxbutton_mp3j.play-mjp, span.gfxbutton_mp3j.pause-mjp {
|
254 |
+
padding:1px 0px 4px 8px; margin:0 5px 0px 5px; background-color:#d9d9d9; background-repeat:no-repeat; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; border:1px solid #ccc;
|
255 |
+
}
|
256 |
+
span.gfxbutton_mp3j.play-mjp { background-position:center center; background-image: url("images/play3.png"); }
|
257 |
+
span.gfxbutton_mp3j.play-mjp:hover { background-color:#e0e0e0; }
|
258 |
+
span.gfxbutton_mp3j.pause-mjp { background-position:center center; background-image: url("images/pause3.png"); }
|
259 |
+
span.gfxbutton_mp3j.pause-mjp:hover { background-color:#e0e0e0; }
|
260 |
+
|
261 |
+
/* VOLUMES */
|
262 |
+
span.vol_mp3t { position:absolute; top:-9px; right:5px; width:90%; max-width:85px; height:3px; }
|
263 |
+
span.vol_mp3j { position:absolute; top:-11px; right:11px; width:85%; max-width:82px; height:3px; }
|
264 |
+
span.vol_mp3j.flipped { right:4px; }
|
265 |
+
span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { z-index:500; height:100%; background:url('images/volgrad-dark.png') repeat-y 10px top; }
|
266 |
+
|
267 |
+
span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle {
|
268 |
+
background:#d0d0d0 url('images/buttonset-lightplayer-grads8.png') no-repeat -127px -125px;
|
269 |
+
height:10px;
|
270 |
+
width:10px !important;
|
271 |
+
padding:0px; margin-left:-6px;
|
272 |
+
border:1px solid #c6c6c6 !important;
|
273 |
+
border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px;
|
274 |
+
z-index:600;
|
275 |
+
overflow:hidden !important;
|
276 |
+
cursor:default;
|
277 |
+
top:-5px;
|
278 |
+
}
|
279 |
+
span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background-color:#e0e0e0; }
|
280 |
+
span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { outline:none; background-color:#e0e0e0; }
|
281 |
+
|
282 |
+
span.Smp3-finding,
|
283 |
+
span.mp3-gtint {
|
284 |
+
padding:0px 0px 0px 12px;
|
285 |
+
overflow:hidden;
|
286 |
+
-moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
|
287 |
+
}
|
288 |
+
span.Smp3-finding { margin:0px 0px 0px 3px; background:url('images/pulse.gif') repeat 0px 0px; }
|
289 |
+
span.mp3-gtint { margin:0px 2px 0px -12px; opacity:.5; filter:alpha(opacity=50); background:#777; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
290 |
+
span.tintmarg { margin:0 2px 0 3px; }
|
291 |
+
span.Smp3-tint { opacity:.5; filter:alpha(opacity=50); padding:0px 0px 0px 12px; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
292 |
+
|
293 |
+
|
294 |
+
/* [mp3j-popout] SHORTCODE
|
295 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
296 |
+
.popout-wrap-mjp {
|
297 |
+
cursor:pointer;
|
298 |
+
position:relative;
|
299 |
+
border-width:1px;
|
300 |
+
border-style:solid;
|
301 |
+
background:#d9d9d9;
|
302 |
+
padding:0;
|
303 |
+
border-color:#ccc;
|
304 |
+
-moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
|
305 |
+
display:inline-block;
|
306 |
+
}
|
307 |
+
.popout-wrap-mjp * { margin:0; padding:0; color:#404040; }
|
308 |
+
.popout-wrap-mjp:hover * { color:#606060; }
|
309 |
+
.popout-text-mjp { float:left; padding:0 15px; }
|
310 |
+
.popout-image-mjp {
|
311 |
+
float:left;
|
312 |
+
background-image:url('images/buttonset-lightplayer-grads8.png');
|
313 |
+
background-repeat:no-repeat;
|
314 |
+
background-position:-396px -9px;
|
315 |
+
min-width:32px;
|
316 |
+
min-height:28px;
|
317 |
+
margin:0;
|
318 |
+
}
|
319 |
+
.popout-image-mjp:hover { background-color:#d0d0d0; }
|
320 |
+
.popout-image-mjp-custom { float:left; background-repeat:no-repeat; margin:0; padding:0; border:0; }
|
321 |
+
.clearL-mjp { clear:left; }
|
322 |
+
|
323 |
+
|
324 |
+
|
325 |
+
/** ############################################
|
326 |
+
* Functional CSS, careful with these bits!
|
327 |
+
* ############################################ */
|
328 |
+
|
329 |
+
/* === */
|
330 |
+
.wrap-mjp { /* MAIN WRAPPER (default class) */
|
331 |
+
border: 0;
|
332 |
+
margin: 0;
|
333 |
+
background: none;
|
334 |
+
min-width: 80px;
|
335 |
+
}
|
336 |
+
.wrap-mjp, .wrap-mjp * {
|
337 |
+
-webkit-box-sizing: content-box !important;
|
338 |
+
-moz-box-sizing: content-box !important;
|
339 |
+
box-sizing: content-box !important;
|
340 |
+
}
|
341 |
+
|
342 |
+
/* === */
|
343 |
+
.subwrap-MI,
|
344 |
+
.jp-innerwrap,
|
345 |
+
.listwrap_mp3j,
|
346 |
+
.wrapper-mjp {
|
347 |
+
position: relative !important;
|
348 |
+
width: 100%;
|
349 |
+
margin: 0;
|
350 |
+
padding: 0;
|
351 |
+
cursor: default;
|
352 |
+
}
|
353 |
+
|
354 |
+
.subwrap-MI { overflow: hidden; }
|
355 |
+
.interface-mjp { position:relative !important; width:100%; margin:0; cursor:default; }
|
356 |
+
|
357 |
+
.subwrap-MI *,
|
358 |
+
.mjp-s-wrapper {
|
359 |
+
-moz-user-select: -moz-none;
|
360 |
+
-khtml-user-select: none;
|
361 |
+
-webkit-user-select: none;
|
362 |
+
-ms-user-select: none;
|
363 |
+
user-select: none;
|
364 |
+
}
|
365 |
+
|
366 |
+
/* ===== ===== */
|
367 |
+
.mp3j-nosolution {
|
368 |
+
position:absolute;
|
369 |
+
z-index:9999;
|
370 |
+
height:auto;
|
371 |
+
}
|
372 |
+
.s-nosolution {
|
373 |
+
position:relative;
|
374 |
+
display:inline-block;
|
375 |
+
margin-bottom:20px;
|
376 |
+
height:auto;
|
377 |
+
}
|
378 |
+
|
379 |
+
/* ===== ===== */
|
380 |
+
.wrapper-mjp ul {
|
381 |
+
position: static; /* needed in some themes */
|
382 |
+
}
|
383 |
+
.playlist-colour {
|
384 |
+
position:absolute;
|
385 |
+
width:100%;
|
386 |
+
height:100%;
|
387 |
+
left:0px;
|
388 |
+
top:0px;
|
389 |
+
}
|
390 |
+
|
391 |
+
/* ===== playlist grads ===== */
|
392 |
+
ul.lighten1-mjp {
|
393 |
+
background-image: url('images/pl-grad-w.png');
|
394 |
+
background-position: left 0px;
|
395 |
+
background-repeat: repeat-x;
|
396 |
+
}
|
397 |
+
ul.lighten2-mjp {
|
398 |
+
background-image: url('images/pl-grad-w-long.png');
|
399 |
+
background-position: left 0px;
|
400 |
+
background-repeat: repeat-x;
|
401 |
+
}
|
402 |
+
ul.darken1-mjp {
|
403 |
+
background-image: url('images/pl-grad-b.png');
|
404 |
+
background-position: left 0px;
|
405 |
+
background-repeat: repeat-x;
|
406 |
+
}
|
407 |
+
ul.darken2-mjp {
|
408 |
+
background-image: url('images/pl-grad-b-long.png');
|
409 |
+
background-position: left 0px;
|
410 |
+
background-repeat: repeat-x;
|
411 |
+
}
|
412 |
+
|
413 |
+
/* ===== playlist dividers ===== */
|
414 |
+
|
415 |
+
ul.light-mjp li { background:url('images/t60w.png') repeat-x left bottom; }
|
416 |
+
ul.med-mjp li { background:url('images/t50l.png') repeat-x left bottom; }
|
417 |
+
ul.dark-mjp li { background:url('images/t50g.png') repeat-x left bottom; }
|
418 |
+
li.mjp-li-last { background:none !important; }
|
419 |
+
|
420 |
+
|
421 |
+
/* ===== posbar grads ===== */
|
422 |
+
.poscolMI_mp3j.soften-mjp {
|
423 |
+
background-image: url('images/posbar-lighten.png');
|
424 |
+
background-position: right top;
|
425 |
+
background-repeat: repeat-y;
|
426 |
+
}
|
427 |
+
.poscolMI_mp3j.softenT-mjp {
|
428 |
+
background-image: url('images/posbar-pipe.png');
|
429 |
+
background-position: right -5px;
|
430 |
+
background-repeat: repeat-x;
|
431 |
+
}
|
432 |
+
.poscolMI_mp3j.darken-mjp {
|
433 |
+
background-image: url('images/posbar-darken.png');
|
434 |
+
background-position: right top;
|
435 |
+
background-repeat: repeat-y;
|
436 |
+
}
|
437 |
+
|
438 |
+
|
439 |
+
.left-mjp { text-align:left; }
|
440 |
+
.centre-mjp { text-align:center; }
|
441 |
+
.right-mjp { text-align: right; }
|
442 |
+
|
443 |
+
.bold-mjp,
|
444 |
+
.childBold-mjp * { font-weight:700; }
|
445 |
+
|
446 |
+
.norm-mjp,
|
447 |
+
.childNorm-mjp * { font-weight:500; }
|
448 |
+
|
449 |
+
.italic-mjp,
|
450 |
+
.childItalic-mjp * { font-style:italic; }
|
451 |
+
|
452 |
+
.plain-mjp,
|
453 |
+
.childPlain-mjp * { font-style:normal; }
|
454 |
+
|
455 |
+
|
456 |
+
/* ===== fonts ===== */
|
457 |
+
.arial-mjp,
|
458 |
+
ul.arial-mjp a { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
|
459 |
+
.verdana-mjp,
|
460 |
+
ul.verdana-mjp a { font-family: Verdana, Geneva, sans-serif; }
|
461 |
+
.times-mjp,
|
462 |
+
ul.times-mjp a { font-family: TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif; }
|
463 |
+
.palatino-mjp,
|
464 |
+
ul.palatino-mjp a { font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif; }
|
465 |
+
.courier-mjp,
|
466 |
+
ul.courier-mjp a { font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace; }
|
467 |
+
.lucida-mjp,
|
468 |
+
ul.lucida-mjp a { font-family: "Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace; }
|
469 |
+
.gill-mjp,
|
470 |
+
ul.gill-mjp a { font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif; }
|
471 |
+
|
472 |
+
.player-track-title,
|
473 |
+
.player-track-title div,
|
474 |
+
.a-mjp { line-height: 110% !important; }
|
475 |
+
|
476 |
+
.player-track-title div { font-size:0.7em; }
|
477 |
+
|
478 |
+
.titleHide-mjp { display:none; }
|
479 |
+
|
480 |
+
|
481 |
+
/* ===== jQuery UI ===== */
|
482 |
+
.ui-state-disabled { cursor:default !important; }
|
483 |
+
.ui-slider {
|
484 |
+
position:relative;
|
485 |
+
text-align:left;
|
486 |
+
}
|
487 |
+
.ui-slider .ui-slider-handle {
|
488 |
+
position:absolute;
|
489 |
+
z-index:200;
|
490 |
+
cursor:default;
|
491 |
+
}
|
492 |
+
.ui-slider .ui-slider-range {
|
493 |
+
position:absolute;
|
494 |
+
z-index:1;
|
495 |
+
font-size:.7em;
|
496 |
+
display:block;
|
497 |
+
border:0;
|
498 |
+
}
|
499 |
+
.ui-slider-horizontal .ui-slider-range { top:0; height:100%; }
|
500 |
+
.ui-slider-horizontal .ui-slider-range-min { left:0; }
|
501 |
+
.ui-slider-horizontal .ui-slider-range-max { right:0; }
|
502 |
+
.ui-state-default,
|
503 |
+
.ui-widget-content .ui-state-default { outline:none; border:0px; }
|
504 |
+
|
505 |
+
/* ===== user style param ===== */
|
506 |
+
.nolistbutton div.playlist-toggle-MI { display:none; }
|
507 |
+
.nopopoutbutton div.mp3j-popout-MI { display:none; }
|
508 |
+
.nopn div.prev-mjp { display:none; }
|
509 |
+
.nopn div.next-mjp { display:none; }
|
510 |
+
.nostop div.stop-mjp { display:none; }
|
511 |
+
.notitle div.player-track-title { display:none; }
|
512 |
+
.novol div.mjp-volwrap { display:none; }
|
513 |
+
div.wrap-mjp.noplayer { display:none; }
|
514 |
+
|
515 |
+
.fullbars div.bars_holder { left:0px; right:0px; height:auto; top:0px; bottom:41px; border-bottom:1px solid #f8f8f8; }
|
516 |
+
.fullbars div.jp-total-time { bottom:44px; text-align:right; z-index:90; }
|
517 |
+
.fullbars div.jp-play-time { right:95px; bottom:44px; text-align:right; z-index:90; }
|
518 |
+
.fullbars div.statusMI { right:12px; left:auto; bottom:42px; padding:2px 0 2px 0; width:80px; height:auto; background:none; z-index:90; border:none; }
|
519 |
+
.fullbars span.mjp-playing, .fullbars span.mjp-paused, .fullbars span.mjp-ready, .fullbars span.mjp-stopped, .fullbars span.mjp-connecting, .fullbars span.mjp-buffering { display:inline; }
|
520 |
+
div.fullbars span.mp3-finding { position:relative; padding:0 4px 0 4px; margin:0; background:url('images/pulse.gif') repeat; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; overflow:hidden; }
|
521 |
+
div.fullbars span.mp3-tint { position:relative; padding:0 4px 0 4px; margin:0 3px 0 -8px; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; overflow:hidden; }
|
522 |
+
.fullbars div.mjp-volwrap { bottom:auto; top:0px; right:0px; -webkit-border-bottom-left-radius:2px; -moz-border-radius-bottomleft:2px; border-bottom-left-radius: 2px; }
|
523 |
+
|
524 |
+
|
525 |
+
div.bigger1 span { font-size:18px !important; }
|
526 |
+
div.bigger2 span { font-size:23px !important; }
|
527 |
+
div.bigger3 span { font-size:28px !important; }
|
528 |
+
div.bigger4 span { font-size:38px !important; }
|
529 |
+
div.bigger5 span { font-size:48px !important; }
|
530 |
+
|
531 |
+
div.bigger1 .indi_mp3j, div.bigger1 .Smp3-finding, div.bigger1 .mp3-gtint, div.bigger1 .Smp3-tint,
|
532 |
+
div.bigger2 .indi_mp3j, div.bigger2 .Smp3-finding, div.bigger2 .mp3-gtint, div.bigger2 .Smp3-tint,
|
533 |
+
div.bigger3 .indi_mp3j, div.bigger3 .Smp3-finding, div.bigger3 .mp3-gtint, div.bigger3 .Smp3-tint,
|
534 |
+
div.bigger4 .indi_mp3j, div.bigger4 .Smp3-finding, div.bigger4 .mp3-gtint, div.bigger4 .Smp3-tint,
|
535 |
+
div.bigger5 .indi_mp3j, div.bigger5 .Smp3-finding, div.bigger5 .mp3-gtint, div.bigger5 .Smp3-tint { font-size:70% !important; }
|
536 |
+
|
537 |
+
|
538 |
+
/* ===== ===== */
|
539 |
+
div.mp3j-dlframe,
|
540 |
+
iframe.mp3j-dlframe {
|
541 |
+
width:1px;
|
542 |
+
height:1px;
|
543 |
+
overflow:hidden;
|
544 |
+
margin:0;
|
545 |
+
padding:0;
|
546 |
+
display:none !important;
|
547 |
+
}
|
548 |
+
|
549 |
+
/* ===== ===== */
|
550 |
+
.MI-image { position:relative; padding:0px 0 0 0; /*overflow:hidden;*/ }
|
551 |
+
.MI-image img { border:none; padding:0px; width:100%; height:auto; }
|
552 |
+
.MI-image.Himg img { width:auto; height:100%; }
|
553 |
+
.MI-image.Fimg img { width:auto; height:auto; }
|
554 |
+
.MI-image a:hover img { }
|
555 |
+
|
556 |
+
.MI-image.left-mjp { margin:0 auto 0 0; }
|
557 |
+
.MI-image.centre-mjp { margin: 0 auto; }
|
558 |
+
.MI-image.right-mjp { margin: 0 0 0 auto; }
|
559 |
+
|
560 |
+
|
561 |
+
.unsel-mjp {
|
562 |
+
-moz-user-select: -moz-none;
|
563 |
+
-khtml-user-select: none;
|
564 |
+
-webkit-user-select: none;
|
565 |
+
-ms-user-select: none;
|
566 |
+
user-select: none;
|
567 |
+
}
|
568 |
+
|
css/mp3j-help.css
DELETED
@@ -1,26 +0,0 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
/* ----------------------------------------- */
|
12 |
-
|
13 |
-
a.fox_buttonlink { background:#eaf2fa; border:1px solid #afcfdb; padding:2px 12px 2px 10px; text-decoration:none;
|
14 |
-
-webkit-border-radius: 3px;
|
15 |
-
-moz-border-radius: 3px;
|
16 |
-
border-radius: 3px; }
|
17 |
-
a.fox_buttonlink:hover { background:#dbeafa; border:1px solid #99bac7; color:#222; }
|
18 |
-
|
19 |
-
a.bl2 { padding:0px 31px 0px 30px; }
|
20 |
-
|
21 |
-
div#fox_library-list, div#fox_folder-list {
|
22 |
-
padding:10px 20px 10px 20px;
|
23 |
-
margin:10px 120px 10px 35px;
|
24 |
-
background:#f9f9f9;
|
25 |
-
border:1px solid #f1f1f1;
|
26 |
-
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
css/player-silverALT.css
DELETED
@@ -1,643 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
MP3-jPlayer 1.8.1 - Silver Player (alternative style)
|
3 |
-
|
4 |
-
*/
|
5 |
-
|
6 |
-
/* === [mp3-jplayer] ============================== */
|
7 |
-
|
8 |
-
/* POSITION AND WIDTH */
|
9 |
-
div.wrap-MI { border:0; margin:0; background:transparent;
|
10 |
-
/* position || float */
|
11 |
-
/* width */
|
12 |
-
min-width:116px;
|
13 |
-
}
|
14 |
-
div.jp-innerwrap,
|
15 |
-
div.jp-interface,
|
16 |
-
div.innertab,
|
17 |
-
div.bars_holder,
|
18 |
-
div.playlist-wrap-MI {
|
19 |
-
width:100%;
|
20 |
-
}
|
21 |
-
|
22 |
-
div.jp-innerwrap { position:relative !important; background:transparent; border:0; margin:0; }
|
23 |
-
div.jp-interface { position:relative !important; height:110px; min-height:85px; border:0; margin:0; cursor:default; }
|
24 |
-
|
25 |
-
/* BACKGROUNDS */
|
26 |
-
div.innerx { position: absolute;
|
27 |
-
width: auto;
|
28 |
-
height: 20px;
|
29 |
-
left: 9px;
|
30 |
-
right: 88px;
|
31 |
-
top: 0px;
|
32 |
-
background: url('images/case2t-x.png') repeat-x left top;
|
33 |
-
z-index:5;
|
34 |
-
}
|
35 |
-
|
36 |
-
div.innerleft { position: absolute;
|
37 |
-
width: 10px;
|
38 |
-
height: 20px; /* IE6 */
|
39 |
-
left: -1px;
|
40 |
-
top: 0px;
|
41 |
-
background: url('images/case2t-l.png') no-repeat left top;
|
42 |
-
z-index:5; }
|
43 |
-
|
44 |
-
div.innerright { position: absolute;
|
45 |
-
width: 90px;
|
46 |
-
height: 20px; /* IE6 */
|
47 |
-
right: -2px;
|
48 |
-
top: 0px;
|
49 |
-
background: url('images/case2t-r.png') no-repeat right top;
|
50 |
-
z-index:5; }
|
51 |
-
|
52 |
-
/* SCREEN BACKGROUND -------------- */
|
53 |
-
div.innertab {
|
54 |
-
position: absolute;
|
55 |
-
width: 100%;
|
56 |
-
bottom: 10px;
|
57 |
-
left: 0px;
|
58 |
-
top: 0px;
|
59 |
-
/* background */
|
60 |
-
/* opacity */
|
61 |
-
}
|
62 |
-
|
63 |
-
|
64 |
-
/* SCREEN
|
65 |
-
----------------- */
|
66 |
-
div.player-track-title, div.jp-play-time, div.jp-total-time, div.statusMI { position:absolute; z-index:50; /* color set from admin */ font:normal normal 500 14px/16px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
67 |
-
|
68 |
-
div.player-track-title { top:13px; left:9px; width:auto; right:10px; }
|
69 |
-
div.player-track-title span { font-size:10px; line-height:12px; padding-left:10px; max-width:95%; }
|
70 |
-
|
71 |
-
div.jp-play-time, div.jp-total-time, div.statusMI { font-size:8px; line-height:10px !important; bottom:52px; text-align:left; font-family:Verdana, Arial, Helvetica, sans-serif; }
|
72 |
-
div.jp-play-time { right:84px; }
|
73 |
-
div.jp-total-time { right:6px; opacity:0.8; width:auto; }
|
74 |
-
|
75 |
-
|
76 |
-
span.mp3-finding, span.Smp3-finding, span.mp3-tint, span.mp3-gtint { padding:0px 0px 0px 6px !important; font-size:8px !important; line-height:10px !important; height:10px !important; overflow:hidden !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
77 |
-
span.mp3-finding, span.Smp3-finding { margin:0px 0px 0px -2px; background:url('images/finding-bar1f.gif') repeat 0px 3px; }
|
78 |
-
span.mp3-tint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); /* background set from admin */ }
|
79 |
-
span.mp3-gtint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); background:#777; }
|
80 |
-
span.Smp3-finding { margin:0px 0px 0px 3px; }
|
81 |
-
span.tintmarg { margin:0 2px 0 3px; }
|
82 |
-
|
83 |
-
div.statusMI { right:27px; width:52px !important; height:10px; }
|
84 |
-
.statusMI span.mp3-finding, .statusMI span.Smp3-finding, .statusMI span.mp3-tint, .statusMI span.mp3-gtint { padding:0px 0px 0px 6px !important; }
|
85 |
-
.statusMI span.mp3-tint, .statusMI span.mp3-gtint { margin:0px 2px 0px -6px; }
|
86 |
-
|
87 |
-
.MI-image { position:absolute; top:0; left:0; padding:0; }
|
88 |
-
.MI-image img { border:none; padding:0px; background-color:#bbb; }
|
89 |
-
.MI-image a:hover img { /* background-colour set from admin */ }
|
90 |
-
|
91 |
-
div.player-track-title.mp3j_widgetmods { font-size: 11px; top: 12px; left:5px; }
|
92 |
-
div.player-track-title.mp3j_widgetmods span { font-size: 9px; }
|
93 |
-
|
94 |
-
/* DIV TRANSPORT since 1.6 */
|
95 |
-
/* Transport wrap */
|
96 |
-
div.transport-MI { position:absolute; left:0px; height:39px; right:0px; bottom:0px; border:0; z-index:15; background:url('images/case2t-x.png') repeat-x left -65px; padding-right:2px; }
|
97 |
-
|
98 |
-
/* playpause button */
|
99 |
-
div.buttons_mp3j { text-indent:-9999px !important; float:right; width:30px; height: 34px; margin:0px; background: transparent url("images/transport-hard.png") -110px 1px no-repeat !important; }
|
100 |
-
div.buttons_mp3j:hover { background:transparent url("images/transport-hard.png") -110px -31px no-repeat !important; }
|
101 |
-
div.buttons_mp3jpause { text-indent:-9999px !important; float:right; width:30px; height: 34px; margin:0px; background: transparent url("images/transport-hard.png") -2px 1px no-repeat !important; }
|
102 |
-
div.buttons_mp3jpause:hover { background:transparent url("images/transport-hard.png") -2px -31px no-repeat !important; }
|
103 |
-
|
104 |
-
/* prev & next buttons */
|
105 |
-
div.Prev_mp3j, div.Next_mp3j { text-indent:-9999px !important; float:right; height: 28px; }
|
106 |
-
div.Prev_mp3j { width:22px; margin:0px 2px 0px 0px; background: transparent url("images/transport-hard.png") -32px -1px no-repeat !important; }
|
107 |
-
div.Prev_mp3j:hover { background: transparent url("images/transport-hard.png") -32px -33px no-repeat !important; }
|
108 |
-
div.Next_mp3j { width:19px; margin:0px 1px 0px 0px; background: transparent url("images/transport-hard.png") -57px -1px no-repeat !important; }
|
109 |
-
div.Next_mp3j:hover { background: transparent url("images/transport-hard.png") -57px -33px no-repeat !important; }
|
110 |
-
|
111 |
-
/* stop button */
|
112 |
-
div.stop_mp3j { text-indent:-9999px !important; float:right; width:26px; height: 34px; margin:0px 1px 0px 2px; background: transparent url("images/transport-hard.png") -81px 1px no-repeat !important; }
|
113 |
-
div.stop_mp3j:hover { background:transparent url("images/transport-hard.png") -81px -31px no-repeat !important; }
|
114 |
-
|
115 |
-
/* PLAYLIST TOGGLE */
|
116 |
-
div.playlist-toggle-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:5px; left:1px; color:#707070; padding:2px 6px 2px 5px; line-height:9px; min-width:24px; background:#b9b9b9; -moz-border-radius:1px; -webkit-border-radius:1px; cursor:default; z-index:30; }
|
117 |
-
div.playlist-toggle-MI:hover { background:#c6c6c6; color:#808080; border-right:1px solid #a9a9a9; }
|
118 |
-
|
119 |
-
/* DOWNLOAD BUTTON */
|
120 |
-
div.dloadmp3-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; bottom:49px; margin:0px !important; font-size:9px !important; text-align:center; left:0px; width:41%; min-width:75px; max-width:225px; padding:0px 0px 0px 0px !important; border:0px; background:transparent url('images/t10b.png') repeat left top !important; color:#fff; line-height:11px !important; -moz-border-radius-topright:3px; -webkit-border-top-right-radius:3px; overflow:hidden; z-index:150; cursor:default; }
|
121 |
-
div.dloadmp3-MI.betweenlinks { background:transparent url('images/t10b.png') repeat left top !important; }
|
122 |
-
div.dloadmp3-MI.whilelinks, div.dloadmp3-MI.logintext { background:#696969 !important; }
|
123 |
-
div.dloadmp3-MI.whilelinks:hover { background:#777 !important; }
|
124 |
-
|
125 |
-
div.dloadmp3-MI a { color:#ececec; display:block; width:auto; padding:1px 5px 2px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; /* after font declaration */ height:100%; border-bottom:none; visibility:hidden; }
|
126 |
-
div.dloadmp3-MI a:hover { outline: none; border-bottom: none; color: #ececec; }
|
127 |
-
div.dloadmp3-MI.betweenlinks a { visibility: hidden; }
|
128 |
-
div.dloadmp3-MI.whilelinks a { color: #f3f3f3; visibility: inherit; }
|
129 |
-
div.dloadmp3-MI.whilelinks a:hover { color: #fff; }
|
130 |
-
|
131 |
-
div.dloadmp3-MI p { color:#ececec; display:block; width:auto; padding:1px 5px 2px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; /* after font declaration */ height:100%; border-bottom:none; visibility:visible; }
|
132 |
-
|
133 |
-
/* POPOUT BUTTON */
|
134 |
-
div.mp3j-popout-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:18px; left:0px; height:16px; color:#595959; padding:3px 5px 0px 28px; min-width:2px; line-height:11px; border:1px solid #acacac; background:#bfbfbf url('images/buttons-popout.png') no-repeat -5px -5px; -moz-border-radius:2px; -webkit-border-radius:2px; cursor:default; z-index:30; }
|
135 |
-
div.mp3j-popout-MI:hover { color:#606060; background:#c6c6c6 url('images/buttons-popout.png') no-repeat -5px -35px; }
|
136 |
-
|
137 |
-
|
138 |
-
/* sliders/bars */
|
139 |
-
.ui-state-disabled { cursor: default !important; }
|
140 |
-
.ui-slider { position: relative; text-align: left; }
|
141 |
-
.ui-slider .ui-slider-handle { position: absolute; z-index: 100; cursor: default; }
|
142 |
-
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; }
|
143 |
-
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
|
144 |
-
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
|
145 |
-
.ui-slider-horizontal .ui-slider-range-max { right: 0; }
|
146 |
-
.ui-state-default,
|
147 |
-
.ui-widget-content .ui-state-default {
|
148 |
-
outline: none;
|
149 |
-
border: 0px;
|
150 |
-
}
|
151 |
-
|
152 |
-
|
153 |
-
div.MIsliderVolume { position:absolute;
|
154 |
-
top:7px;
|
155 |
-
right: 10px;
|
156 |
-
width: 59px;
|
157 |
-
height:2px;
|
158 |
-
background: #555;
|
159 |
-
border: 1px solid #606060;
|
160 |
-
font-size: 1px;
|
161 |
-
cursor: default;
|
162 |
-
z-index:10; }
|
163 |
-
|
164 |
-
div.MIsliderVolume .ui-widget-header { /* background */ }
|
165 |
-
|
166 |
-
div.MIsliderVolume .ui-slider-handle {
|
167 |
-
height: 11px !important;
|
168 |
-
width: 10px !important;
|
169 |
-
padding: 0px !important;
|
170 |
-
margin-left: -4px;
|
171 |
-
top: -5px;
|
172 |
-
border: 0px;
|
173 |
-
-moz-border-radius: 2px;
|
174 |
-
-webkit-border-radius: 2px;
|
175 |
-
background: transparent url('images/vol-handle.png') no-repeat -1px 0px;
|
176 |
-
overflow:hidden !important; }
|
177 |
-
|
178 |
-
div.MIsliderVolume .ui-slider-handle:hover {
|
179 |
-
border-color: #888;
|
180 |
-
background: #606060;
|
181 |
-
background: transparent url('images/vol-handle.png') no-repeat -21px 0px; }
|
182 |
-
|
183 |
-
div.MIsliderVolume .ui-state-active,
|
184 |
-
div.MIsliderVolume .ui-widget-content .ui-state-active {
|
185 |
-
border: 0px solid #777;
|
186 |
-
background: transparent url('images/vol-handle.png') no-repeat -21px 0px;
|
187 |
-
outline: none; }
|
188 |
-
|
189 |
-
div.bars_holder { position:absolute;
|
190 |
-
bottom: 39px;
|
191 |
-
left: 0px;
|
192 |
-
right: 0px;
|
193 |
-
width: auto;
|
194 |
-
height: 9px;
|
195 |
-
background: #989898;
|
196 |
-
font-size: 1px;
|
197 |
-
cursor: default;
|
198 |
-
border-bottom: 1px solid #d8d8d8;
|
199 |
-
z-index: 700; }
|
200 |
-
|
201 |
-
div.bars_holder.ui-widget-header { border: 1px solid #555;
|
202 |
-
border-left: 0px;
|
203 |
-
border-right: 0px;
|
204 |
-
margin-right: 20px;
|
205 |
-
}
|
206 |
-
|
207 |
-
div.poscolMI_mp3j { position:absolute; top:0px; left:0px; bottom:1px;
|
208 |
-
/* background */
|
209 |
-
/* opacity */
|
210 |
-
}
|
211 |
-
div.posbarMI_mp3j { position: absolute;
|
212 |
-
/*background: #989898;*/
|
213 |
-
top: 0px;
|
214 |
-
font-size: 5px;
|
215 |
-
border: 0px solid #989898;
|
216 |
-
border-bottom: 0px solid #888;
|
217 |
-
border-left: 0px solid #888;
|
218 |
-
left: 0px;
|
219 |
-
right: 6px;
|
220 |
-
width:auto; }
|
221 |
-
|
222 |
-
div.posbarMI_mp3j .ui-slider-handle {
|
223 |
-
top: -2px;
|
224 |
-
margin-left: -2px;
|
225 |
-
border: 0px;
|
226 |
-
height: 13px;
|
227 |
-
width: 12px;
|
228 |
-
background: transparent url('images/pos-handleALT.png') no-repeat left top;
|
229 |
-
z-index: 800; }
|
230 |
-
|
231 |
-
div.posbarMI_mp3j .ui-slider-handle:hover {
|
232 |
-
background: transparent url('images/pos-handleALT.png') no-repeat right top; }
|
233 |
-
|
234 |
-
div.posbarMI_mp3j .ui-state-active, div.posbarMI_mp3j .ui-widget-content .ui-state-active {
|
235 |
-
border: 0px solid #777;
|
236 |
-
background: 989898 url('images/pos-handleALT.png') no-repeat right top;
|
237 |
-
outline: none; }
|
238 |
-
|
239 |
-
/* LOAD BAR */
|
240 |
-
div.loadMI_mp3j { position:absolute; top:6px; left:0px; bottom:0px;
|
241 |
-
/* background */
|
242 |
-
/* opacity */
|
243 |
-
}
|
244 |
-
|
245 |
-
div.bars_holder .ui-progressbar .ui-progressbar-value {margin: 0px; height:100%;
|
246 |
-
/* background */
|
247 |
-
/* opacity */
|
248 |
-
}
|
249 |
-
|
250 |
-
div.bars_holder .ui-slider-horizontal { height: 6px; z-index: 100; }
|
251 |
-
|
252 |
-
|
253 |
-
/* PLAYLIST */
|
254 |
-
div.listwrap_mp3j { position:relative; padding: 0px 0px 0px 0px; margin-top:-2px; /* background */ }
|
255 |
-
div.playlist-wrap-MI { position:relative; }
|
256 |
-
div.playlist-wrap-MI ul { position:static; }
|
257 |
-
|
258 |
-
|
259 |
-
div.playlist-colour { position:absolute; width:100%; height:100%; left:0px; top:0px;
|
260 |
-
/* background */
|
261 |
-
/* opacity */
|
262 |
-
}
|
263 |
-
|
264 |
-
ul.UL_mp3j { margin:0px !important; padding:0px 0px 0px 0px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; }
|
265 |
-
ul.UL-MI_mp3j { margin:0px !important; padding:0px 0px 0px 0px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; font-weight: 500 !important;
|
266 |
-
/* background */
|
267 |
-
}
|
268 |
-
ul.UL_mp3j li { margin:0px !important; padding:0px 0px 0px 15px !important; background:none !important; }
|
269 |
-
ul.UL_mp3j li:before { content:none !important; }
|
270 |
-
ul.UL-MI_mp3j li { margin:0px !important; list-style-type:none !important; padding:0px 0px 1px 0px !important; font-weight:500 !important; line-height:16px !important; letter-spacing:0px !important; font-size:11px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; }
|
271 |
-
ul.UL-MI_mp3j li:before { content:none !important; }
|
272 |
-
ul.UL-MI_mp3j.mp3j_widgetmods li { font-size:10px !important; line-height:14px !important; }
|
273 |
-
|
274 |
-
ul.UL-MI_mp3j li a { font-size:11px !important; border:0 !important; line-height:16px !important; font-weight:500 !important; text-decoration:none !important; display:block !important; width:auto !important; font-family:'verdana', 'Lucida Grande', 'arial', sans-serif !important; outline:none !important; padding:6px 0px 6px 14px !important; }
|
275 |
-
ul.UL-MI_mp3j.mp3j_widgetmods li a { font-size:10px !important; line-height:14px !important; }
|
276 |
-
|
277 |
-
.MI-image { position:absolute; top:0; left:0; padding:0; }
|
278 |
-
.MI-image a img { border:none; padding:1px; background-color:#ccc; }
|
279 |
-
.MI-image a:hover img { /* background-colour */ }
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
/* FORCED DOWNLOAD FRAME
|
284 |
-
------------------------ */
|
285 |
-
|
286 |
-
div.mp3j-dlframe, iframe.mp3j-dlframe {
|
287 |
-
border:0px solid #ddd;
|
288 |
-
width:1px;
|
289 |
-
height:1px;
|
290 |
-
overflow:hidden;
|
291 |
-
margin:0;
|
292 |
-
padding:0;
|
293 |
-
display:none !important;
|
294 |
-
}
|
295 |
-
|
296 |
-
/* MESSAGES */
|
297 |
-
div.mp3j-finfo {
|
298 |
-
position:absolute;
|
299 |
-
top:36px;
|
300 |
-
z-index:9999 !important;
|
301 |
-
width:80%;
|
302 |
-
left:10%;
|
303 |
-
-moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
|
304 |
-
background:url('images/fdloadW-x.png') repeat-x left top;
|
305 |
-
-webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
|
306 |
-
padding:0;
|
307 |
-
min-height:31px;
|
308 |
-
overflow:hidden;
|
309 |
-
min-width:170px;
|
310 |
-
}
|
311 |
-
|
312 |
-
div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
|
313 |
-
div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
|
314 |
-
div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/loader.gif') no-repeat center 37px; width:auto; padding:0px; height:100%; }
|
315 |
-
div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
|
316 |
-
div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
|
317 |
-
div.mp3j-finfo-close:hover { color:#888 !important; }
|
318 |
-
|
319 |
-
div.mp3j-finfo-txt h2 { font-size:15px !important; color:#333 !important; margin:0 0 10px 0 !important; }
|
320 |
-
div.mp3j-finfo-txt h3 { font-size:14px !important; color:#333 !important; margin:0 0 15px 0 !important; }
|
321 |
-
div.mp3j-finfo-txt p { font-size:11px !important; color:#555 !important; line-height:13px !important; margin:0 0 5px 0 !important; }
|
322 |
-
div.mp3j-finfo-txt a { }
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
.mp3j-nosolution
|
328 |
-
{
|
329 |
-
position:absolute;
|
330 |
-
z-index:9999;
|
331 |
-
height:auto;
|
332 |
-
padding:5%;
|
333 |
-
border:1px solid #c0c0c0;
|
334 |
-
background:#f0f0f0;
|
335 |
-
color:#333;
|
336 |
-
top:4px;
|
337 |
-
left:4px;
|
338 |
-
right:4px;
|
339 |
-
-webkit-border-top-left-radius: 8px;
|
340 |
-
-webkit-border-top-right-radius: 8px;
|
341 |
-
-moz-border-radius-topleft: 8px;
|
342 |
-
-moz-border-radius-topright: 8px;
|
343 |
-
border-top-left-radius: 8px;
|
344 |
-
border-top-right-radius: 8px;
|
345 |
-
font-size:13px;
|
346 |
-
-webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
|
347 |
-
}
|
348 |
-
|
349 |
-
.s-nosolution
|
350 |
-
{
|
351 |
-
}
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
/*-------------------------
|
356 |
-
[mp3j] & [mp3t] SHORTCODES
|
357 |
-
==================================== */
|
358 |
-
span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
|
359 |
-
/*span.wrap_inline_mp3j:hover .buttons_mp3j { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }*/
|
360 |
-
span.indi_mp3j { position:relative; padding-left:2px; font-size: 0.7em !important; }
|
361 |
-
|
362 |
-
/* BARS */
|
363 |
-
span.bars_mp3j { position:absolute; width:100%; height:100%; }
|
364 |
-
span.load_mp3j, span.loadB_mp3j { position:absolute; /* background */ top:20px; left:0px; height:2px; }
|
365 |
-
/* mp3t */
|
366 |
-
span.posbar_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
|
367 |
-
span.posbar_mp3j .ui-widget-header { z-index:-500; }
|
368 |
-
span.posbar_mp3j .ui-slider-handle { top: 2px; margin-left:-2px; border:1px solid #999; height:21px; width:4px; z-index:500; background:url('images/t20b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
369 |
-
span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t15b.png') repeat; border-color:#aaa; }
|
370 |
-
/* mp3j */
|
371 |
-
span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0; z-index:450; cursor:pointer; }
|
372 |
-
span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:450; height:100%; }
|
373 |
-
span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:-6px !important; border:0px solid #888; height:23px; width:12px !important; z-index: 500; background: transparent url('images/inlineHandle2.png') no-repeat -3px -3px; cursor: default; padding:0px !important; }
|
374 |
-
span.posbarB_mp3j .ui-slider-handle:hover { background: transparent url('images/inlineHandle2.png') no-repeat -3px -33px; }
|
375 |
-
|
376 |
-
/* SPAN TRANSPORT */
|
377 |
-
span.group_wrap { position:relative; margin:0px 0px 0px 0px; width:auto; }
|
378 |
-
span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; margin:0px; padding:0px; }
|
379 |
-
span.buttons_mp3j { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px -3px; }
|
380 |
-
span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }
|
381 |
-
span.buttons_mp3jpause { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px -3px; }
|
382 |
-
span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -35px; }
|
383 |
-
|
384 |
-
/* VOLUMES */
|
385 |
-
span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; }
|
386 |
-
span.vol_mp3j { position:absolute; top:-9px; right:5px; width:85%; max-width:100px; height:2px; }
|
387 |
-
span.vol_mp3j.flipped { right:4px; }
|
388 |
-
span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { background: transparent url('images/vol-grad60b2.png') repeat left top; z-index:500; height:100%; }
|
389 |
-
span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle { height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; border:0px !important; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; z-index:600; overflow:hidden !important; cursor:default; top:-6px; background: transparent url('images/vol-handle.png') no-repeat -1px 0px; }
|
390 |
-
span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background: transparent url('images/vol-handle.png') no-repeat -21px 0px; }
|
391 |
-
span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; border:0px; }
|
392 |
-
|
393 |
-
|
394 |
-
/*----------------------
|
395 |
-
[mp3j-popout] SHORTCODE
|
396 |
-
================================================= */
|
397 |
-
.mp3j-popout-link-wrap { cursor:pointer; position:relative; clear:left; }
|
398 |
-
.mp3j-popout-link { float:left; margin:0 5px 0 0; min-width:22px; min-height:18px; background:url('images/buttons-popout.png') no-repeat -10px -65px; }
|
399 |
-
.mp3j-popout-link-wrap:hover .mp3j-popout-link { background:url('images/buttons-popout.png') no-repeat -10px -95px; }
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
/*=================================================
|
405 |
-
|
406 |
-
MODS
|
407 |
-
(via 'style' param in shortcode)
|
408 |
-
================================================= */
|
409 |
-
|
410 |
-
/* ===== "nolistbutton" ===== */
|
411 |
-
.nolistbutton div.playlist-toggle-MI { visibility:hidden; }
|
412 |
-
|
413 |
-
/* ===== "nopopoutbutton" ===== */
|
414 |
-
.nopopoutbutton div.mp3j-popout-MI { display:none; }
|
415 |
-
|
416 |
-
/* ===== "nopn" ===== */
|
417 |
-
.nopn div.Prev_mp3j { display:none; }
|
418 |
-
.nopn div.Next_mp3j { display:none; }
|
419 |
-
|
420 |
-
/* ===== "nostop" ===== */
|
421 |
-
.nostop div.stop_mp3j { display:none; }
|
422 |
-
|
423 |
-
|
424 |
-
/* ===== "bars100" ===== */
|
425 |
-
.bars100 div.player-track-title { left:112px; }
|
426 |
-
.bars100 div.dloadmp3-MI { left:102px; width:36%;}
|
427 |
-
.bars100 div.bars_holder { left:102px; width:auto; }
|
428 |
-
.bars100 .MI-image img { padding:1px; }
|
429 |
-
.bars100 div.player-track-title { top:20px; }
|
430 |
-
|
431 |
-
/* ===== "bars150" ===== */
|
432 |
-
.bars150 div.player-track-title { left:162px; }
|
433 |
-
.bars150 div.dloadmp3-MI { left:152px; width:33%;}
|
434 |
-
.bars150 div.bars_holder { left:152px; width:auto; }
|
435 |
-
.bars150 .MI-image img { padding:1px; }
|
436 |
-
.bars150 div.player-track-title { top:20px; }
|
437 |
-
|
438 |
-
/* ===== "bars200" ===== */
|
439 |
-
.bars200 div.player-track-title { left:212px; }
|
440 |
-
.bars200 div.dloadmp3-MI { left:202px; width:30%; }
|
441 |
-
.bars200 div.bars_holder { left:202px; width:auto; }
|
442 |
-
.bars200 .MI-image img { padding:1px; }
|
443 |
-
.bars200 div.player-track-title { top:20px; }
|
444 |
-
|
445 |
-
/* ===== "bars250" ===== */
|
446 |
-
.bars250 div.player-track-title { left:262px; }
|
447 |
-
.bars250 div.dloadmp3-MI { left:252px; width:27%;}
|
448 |
-
.bars250 div.bars_holder { left:252px; width:auto; }
|
449 |
-
.bars250 .MI-image img { padding:1px; }
|
450 |
-
.bars250 div.player-track-title { top:20px; }
|
451 |
-
|
452 |
-
/* ===== "bars300" ===== */
|
453 |
-
.bars300 div.player-track-title { left:312px; }
|
454 |
-
.bars300 div.dloadmp3-MI { left:302px; width:24%; }
|
455 |
-
.bars300 div.bars_holder { left:302px; width:auto; }
|
456 |
-
.bars300 .MI-image img { padding:1px; }
|
457 |
-
.bars300 div.player-track-title { top:20px; }
|
458 |
-
|
459 |
-
/* ===== "bars350" ===== */
|
460 |
-
.bars350 div.player-track-title { left:362px; }
|
461 |
-
.bars350 div.dloadmp3-MI { left:352px; width:21%;}
|
462 |
-
.bars350 div.bars_holder { left:352px; width:auto; }
|
463 |
-
.bars350 .MI-image img { padding:1px; }
|
464 |
-
.bars350 div.player-track-title { top:20px; }
|
465 |
-
|
466 |
-
/* ===== "bars400" ===== */
|
467 |
-
.bars400 div.player-track-title { left:412px; }
|
468 |
-
.bars400 div.dloadmp3-MI { left:402px; width:18%; }
|
469 |
-
.bars400 div.bars_holder { left:402px; width:auto; }
|
470 |
-
.bars400 .MI-image img { padding:1px; }
|
471 |
-
.bars400 div.player-track-title { top:20px; }
|
472 |
-
|
473 |
-
/* ===== bigger1 ===== */
|
474 |
-
.bigger1 { font-size:18px; line-height:26px !important; margin:0 !important; }
|
475 |
-
.bigger1 span.load_mp3j,
|
476 |
-
.bigger1 span.loadB_mp3j { top:24px; left:0px; height:2px; }
|
477 |
-
.bigger1 span.posbar_mp3j .ui-slider-handle { top: 3px; height:24px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
478 |
-
.bigger1 span.posbarB_mp3j .ui-slider-handle { top: 3px; margin-left:-3px !important; border:1px solid #999; height:24px; width:6px !important; z-index:500; background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
479 |
-
.bigger1 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; border-color:#aaa; }
|
480 |
-
.bigger1 span.buttons_mp3j { position:relative; margin:0px; margin-left:5px !important; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px 0px; }
|
481 |
-
.bigger1 span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -32px; }
|
482 |
-
.bigger1 span.buttons_mp3jpause { position:relative; margin:0px; margin-left:5px !important; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px 0px; }
|
483 |
-
.bigger1 span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -32px; }
|
484 |
-
.bigger1 span.vol_mp3j { position:absolute; top:-6px; right:7px; width:85%; max-width:100px; height:2px; }
|
485 |
-
|
486 |
-
.bigger1 div.player-track-title { font:normal normal 500 18px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
487 |
-
|
488 |
-
.bigger1 div.player-track-title span { font:normal normal 500 14px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
489 |
-
.bigger1 ul.UL-MI_mp3j li a, .bigger1 ul.UL-MI_mp3j li { font-size:16px !important; line-height:19px !important; }
|
490 |
-
.bigger1 .indi_mp3j { font-size: 0.6em !important; }
|
491 |
-
|
492 |
-
/* ===== "bigger2" ===== */
|
493 |
-
.bigger2 div.player-track-title { font:normal normal 500 36px/38px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
494 |
-
.bigger2 div.player-track-title span { font:normal normal 500 20px/22px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
495 |
-
.bigger2 ul.UL-MI_mp3j li a, .bigger2 ul.UL-MI_mp3j li { font-size:20px !important; line-height:24px !important; }
|
496 |
-
.bigger2 { font-size:23px; line-height:25px !important; margin:0 !important; }
|
497 |
-
.bigger2 span.load_mp3j,
|
498 |
-
.bigger2 span.loadB_mp3j { top:26px; left:0px; height:2px; }
|
499 |
-
.bigger2 span.posbar_mp3j .ui-slider-handle { top: 0px; height:28px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
500 |
-
.bigger2 span.posbarB_mp3j .ui-slider-handle { top: -1px; margin-left:-3px !important; border:1px solid #999; height:29px; width:8px !important; z-index:500; border-color:#aaa; background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
501 |
-
.bigger2 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; border-color:#999; }
|
502 |
-
.bigger2 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 20px !important; background:url('images/play-dark2-b.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px; }
|
503 |
-
.bigger2 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -437px center; }
|
504 |
-
.bigger2 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:0px 0px 2px 20px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
505 |
-
.bigger2 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
|
506 |
-
.bigger2 span.vol_mp3j { position:absolute; top:-12px; right:4px; width:85%; max-width:100px; height:2px; }
|
507 |
-
.bigger2 span.vol_mp3t { position:absolute; top:-10px; width:85%; max-width:100px; height:2px; }
|
508 |
-
.bigger2 .Smp3-finding,
|
509 |
-
.bigger2 .mp3-tint,
|
510 |
-
.bigger2 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 10px !important; font-size:12px !important; line-height:12px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
|
511 |
-
.bigger2 .mp3-gtint { margin:0 6px 0 -16px; }
|
512 |
-
.bigger2 .indi_mp3j { font-size: 0.5em !important; padding-left:0px; }
|
513 |
-
|
514 |
-
.bigger2.wh .buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 20px !important; background:url('images/play-dark2-w.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px; }
|
515 |
-
.bigger2.wh .buttons_mp3j:hover { background:url('images/play-dark2-w.png') no-repeat -437px center; }
|
516 |
-
.bigger2.wh .buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:0px 0px 2px 20px !important; background:url('images/stop-dark2-w.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
517 |
-
.bigger2.wh .buttons_mp3jpause:hover { background:url('images/stop-dark2-w.png') repeat-y -350px top; }
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
/* ===== bigger3 ===== */
|
522 |
-
.bigger3 { font-size:28px; line-height:36px !important; margin:0 !important; }
|
523 |
-
.bigger3 .load_mp3j, .bigger3 .loadB_mp3j { top:37px; left:0px; height:3px; }
|
524 |
-
.bigger3 .posbar_mp3j .ui-slider-handle, .bigger3 .posbarB_mp3j .ui-slider-handle { top: 0px; border:1px solid #bbb; height:40px; width:12px !important; margin-left:-5px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
525 |
-
.bigger3 .posbar_mp3j .ui-slider-handle:hover, .bigger3 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
|
526 |
-
.bigger3 .indi_mp3j { font-size: 0.5em !important; }
|
527 |
-
.bigger3 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 12px 30px !important; background:url('images/play-dark2.png') no-repeat -177px center; border:0px solid #bbb; margin-left:12px; }
|
528 |
-
.bigger3 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -428px center; }
|
529 |
-
.bigger3 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 6px 30px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:12px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
530 |
-
.bigger3 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
|
531 |
-
.bigger3 .vol_mp3j { height:1px; max-width:110px; right:64px; top:-8px; }
|
532 |
-
.bigger3 .vol_mp3t { height:1px; max-width:110px; right:16px; top:-5px; }
|
533 |
-
.bigger3 .vol_mp3j .ui-slider-handle, .bigger3 .vol_mp3t .ui-slider-handle { height:14px !important; width:33px !important; margin-left:-16px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-14px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
|
534 |
-
.bigger3 .vol_mp3j .ui-slider-handle:hover, .bigger3 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
|
535 |
-
.bigger3 .Smp3-finding,
|
536 |
-
.bigger3 .mp3-tint,
|
537 |
-
.bigger3 .mp3-gtint { margin-left:8px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
|
538 |
-
.bigger3 .mp3-gtint { margin:0 2px 0 -14px; }
|
539 |
-
.bigger3 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
540 |
-
.bigger3 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
541 |
-
.bigger3 ul.UL-MI_mp3j li a, .bigger3 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
|
542 |
-
|
543 |
-
.bigger3.bl span.buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -177px center; }
|
544 |
-
.bigger3.bl span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -428px center; }
|
545 |
-
.bigger3.bl span.buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
|
546 |
-
.bigger3.bl span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
|
547 |
-
.bigger3.bl span.vol_mp3j .ui-slider-handle, .bigger3.bl span.vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
|
548 |
-
.bigger3.bl span.vol_mp3j .ui-slider-handle:hover, .bigger3.bl span.vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
|
549 |
-
|
550 |
-
|
551 |
-
|
552 |
-
/* ===== bigger4 ===== */
|
553 |
-
.bigger4 { font-size:38px; line-height:46px !important; margin:0 !important; }
|
554 |
-
.bigger4 .load_mp3j, .bigger4 .loadB_mp3j { top:46px; left:0px; height:3px; }
|
555 |
-
.bigger4 .posbar_mp3j .ui-slider-handle, .bigger4 .posbarB_mp3j .ui-slider-handle { top: -2px; border:1px solid #bbb; height:52px; width:16px !important; margin-left:-8px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
556 |
-
.bigger4 .posbar_mp3j .ui-slider-handle:hover, .bigger4 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
|
557 |
-
.bigger4 .indi_mp3j { font-size: 0.5em !important; }
|
558 |
-
.bigger4 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 12px 40px !important; background:url('images/play-dark2.png') no-repeat -167px center; border:0px solid #bbb; margin-left:15px; }
|
559 |
-
.bigger4 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -418px center; }
|
560 |
-
.bigger4 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 40px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
561 |
-
.bigger4 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
|
562 |
-
.bigger4 .vol_mp3j { height:1px; max-width:110px; right:86px; top:-8px; }
|
563 |
-
.bigger4 .vol_mp3t { height:1px; max-width:110px; right:20px; top:-5px; }
|
564 |
-
.bigger4 .vol_mp3j .ui-slider-handle, .bigger4 .vol_mp3t .ui-slider-handle { height:20px !important; width:43px !important; margin-left:-21px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-20px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
|
565 |
-
.bigger4 .vol_mp3j .ui-slider-handle:hover, .bigger4 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
|
566 |
-
.bigger4 .Smp3-finding,
|
567 |
-
.bigger4 .mp3-tint,
|
568 |
-
.bigger4 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
|
569 |
-
.bigger4 .mp3-gtint { margin:0 6px 0 -20px; }
|
570 |
-
|
571 |
-
.bigger4 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
572 |
-
.bigger4 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
573 |
-
.bigger4 ul.UL-MI_mp3j li a, .bigger4 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
|
574 |
-
|
575 |
-
.bigger4.bl .posbar_mp3j .ui-slider-handle, .bigger4.bl .posbarB_mp3j .ui-slider-handle { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
|
576 |
-
.bigger4.bl .posbar_mp3j .ui-slider-handle:hover, .bigger4.bl .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
|
577 |
-
.bigger4.bl .buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -167px center; }
|
578 |
-
.bigger4.bl .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -418px center; }
|
579 |
-
.bigger4.bl .buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
|
580 |
-
.bigger4.bl .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
|
581 |
-
.bigger4.bl .vol_mp3j .ui-slider-handle, .bigger4.bl .vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
|
582 |
-
.bigger4.bl .vol_mp3j .ui-slider-handle:hover, .bigger4.bl .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
/* ===== bigger5 ===== */
|
587 |
-
.bigger5 { font-size:48px; line-height:60px !important; margin:0 !important; }
|
588 |
-
.bigger5 .load_mp3j, .bigger5 .loadB_mp3j { top:63px; left:0px; height:4px; }
|
589 |
-
.bigger5 .posbar_mp3j .ui-slider-handle, .bigger5 .posbarB_mp3j .ui-slider-handle { top: -1px; border:1px solid #bbb; height:69px; width:20px !important; margin-left:-10px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
590 |
-
.bigger5 .posbar_mp3j .ui-slider-handle:hover, .bigger5 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
|
591 |
-
.bigger5 .indi_mp3j { font-size: 0.5em !important; }
|
592 |
-
.bigger5 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 13px 52px !important; background:url('images/play-dark2.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
|
593 |
-
.bigger5 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -405px center; }
|
594 |
-
.bigger5 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:3px 0px 8px 52px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
595 |
-
.bigger5 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
|
596 |
-
.bigger5 .vol_mp3j { height:1px; max-width:170px; right:115px; top:-10px; }
|
597 |
-
.bigger5 .vol_mp3t { height:1px; max-width:170px; right:33px; top:-5px; }
|
598 |
-
.bigger5 .vol_mp3j .ui-slider-handle, .bigger5 .vol_mp3t .ui-slider-handle { height:30px !important; width:55px !important; margin-left:-21px; border-bottom:1px solid #aaa !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-30px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
|
599 |
-
.bigger5 .vol_mp3j .ui-slider-handle:hover, .bigger5 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
|
600 |
-
.bigger5 .Smp3-finding,
|
601 |
-
.bigger5 .mp3-tint,
|
602 |
-
.bigger5 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
|
603 |
-
.bigger5 .mp3-gtint { margin:0 6px 0 -20px; }
|
604 |
-
|
605 |
-
.bigger5.bl .posbar_mp3j .ui-slider-handle, .bigger5.bl .posbarB_mp3j .ui-slider-handle { background:url('images/stop-dark2-b.png') repeat-y -350px top; border:1px solid #888; }
|
606 |
-
.bigger5.bl .posbar_mp3j .ui-slider-handle:hover, .bigger5.bl .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; border:1px solid #777; }
|
607 |
-
.bigger5.bl .buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
|
608 |
-
.bigger5.bl .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -405px center; }
|
609 |
-
.bigger5.bl .buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
|
610 |
-
.bigger5.bl .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
|
611 |
-
.bigger5.bl .vol_mp3j .ui-slider-handle, .bigger5.bl .vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
|
612 |
-
.bigger5.bl .vol_mp3j .ui-slider-handle:hover, .bigger5.bl .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
|
613 |
-
|
614 |
-
|
615 |
-
/* ===== "smaller" ===== */
|
616 |
-
.smaller div.player-track-title { font:normal normal 500 11px/13px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; left:3px; right:5px; }
|
617 |
-
.smaller div.player-track-title span { font:normal normal 500 10px/10px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; padding:0; }
|
618 |
-
.smaller ul.UL-MI_mp3j li a, .smaller ul.UL-MI_mp3j li { font-size:10px !important; font-family:'verdana', Helvetica, sans-serif !important; line-height:13px !important; }
|
619 |
-
|
620 |
-
|
621 |
-
/* ===== outline ==== */
|
622 |
-
span.outline { font-size:14px; line-height:22px !important; margin:0 !important; }
|
623 |
-
.outline span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; background: transparent; }
|
624 |
-
.outline span.vol_mp3j { position:absolute; top:-9px; right:7px; width:85%; max-width:100px; height:2px; background: transparent; }
|
625 |
-
.outline span.buttons_mp3j { padding:2px 0px 5px 20px !important; background: transparent url('images/transport-outline.png') no-repeat -80px -1px; border:0; margin:0; }
|
626 |
-
.outline span.buttons_mp3j:hover { background:transparent url('images/transport-outline.png') no-repeat -80px -33px; }
|
627 |
-
.outline span.buttons_mp3jpause { padding:2px 0px 5px 20px !important; background: transparent url('images/transport-outline.png') no-repeat 1px -1px; border:0; margin:0; }
|
628 |
-
.outline span.buttons_mp3jpause:hover { background:transparent url('images/transport-outline.png') no-repeat 1px -33px; }
|
629 |
-
.outline span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
|
630 |
-
.outline span.posbarB_mp3j .ui-widget-header { z-index:-500; }
|
631 |
-
.outline span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:0px; border:1px solid #aaa; height:23px; width:5px !important; z-index:500; background:url('images/t10b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
632 |
-
.outline span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t20b.png') repeat; border-color:#777; }
|
633 |
-
|
634 |
-
|
635 |
-
/* ===== wtransbars ==== */
|
636 |
-
.wtransbars div.loadMI_mp3j { background:#fff; opacity:0.1; filter:alpha(opacity=10); }
|
637 |
-
.wtransbars div.poscolMI_mp3j { background:#fff url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
|
638 |
-
.wtransbars div.player-track-title { color:#fff; }
|
639 |
-
|
640 |
-
/* ===== btransbars ==== */
|
641 |
-
.btransbars div.loadMI_mp3j { background:#000; opacity:0.1; filter:alpha(opacity=10); }
|
642 |
-
.btransbars div.poscolMI_mp3j { background:#000 url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
|
643 |
-
.btransbars div.player-track-title { color:#000; }
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|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|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
css/players-1-8-dark.css
DELETED
@@ -1,555 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
MP3-jPlayer 1.8.1 - Dark
|
3 |
-
www.sjward.org */
|
4 |
-
|
5 |
-
/*---------------------
|
6 |
-
[mp3-jplayer] SHORTCODE
|
7 |
-
==================================== */
|
8 |
-
|
9 |
-
/* SKIN
|
10 |
-
--------------- */
|
11 |
-
/* MAIN WRAPPER (default class) */
|
12 |
-
div.wrap-MI { border:0; margin:0; background:none; min-width:116px; /* position||float set in-line! */ /* width set in-line! */ }
|
13 |
-
|
14 |
-
/* SUB WRAPPERS */
|
15 |
-
div.jp-innerwrap, div.jp-interface, div.listwrap_mp3j, div.playlist-wrap-MI { position:relative !important; width:100%; border:0; margin:0; padding:0; }
|
16 |
-
div.jp-innerwrap { background:none; }
|
17 |
-
div.jp-interface { background:url('images/shadow-x.png') repeat-x left bottom; height:101px/*player default height*/; min-height:67px; cursor:default; }
|
18 |
-
div.listwrap_mp3j { margin-top:0px; /* background set from admin */ }
|
19 |
-
|
20 |
-
/* BACKGROUNDS */
|
21 |
-
div.innerx, div.innerleft, div.innerright, div.innertab { position:absolute; }
|
22 |
-
div.innerx { background:url('images/case-grad-x.png') repeat-x left -119px; width:auto; height:35px; left:0px; right:0px; bottom:3px; }
|
23 |
-
div.innerleft { background:url('images/shadow-l.png') no-repeat left bottom; width:1px; height:40px; left:-1px; bottom:0px; }
|
24 |
-
div.innerright { background:url('images/shadow-r.png') no-repeat right bottom; width:2px; height:40px; right:-2px; bottom:0px; }
|
25 |
-
div.innertab { /* background and opacity set from admin */ left:0px; top:0px; width:100%; bottom:38px; }
|
26 |
-
|
27 |
-
/* PLAYLIST
|
28 |
-
----------------- */
|
29 |
-
div.playlist-colour { position:absolute; width:100%; height:100%; left:0px; top:0px; /* background set from admin */ /* opacity set from admin */ }
|
30 |
-
div.playlist-wrap-MI ul { position:static; }
|
31 |
-
ul.UL-MI_mp3j { margin:0px !important; padding:0px 0px 0px 0px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; font-weight: 500 !important; /* background */ }
|
32 |
-
ul.UL-MI_mp3j li { margin:0px !important; padding:0px 0px 1px 0px !important; font-weight:500 !important; line-height:15px !important; letter-spacing:0px !important; font-size:11px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; list-style-type:none !important; }
|
33 |
-
ul.UL-MI_mp3j li:before { content:none !important; }
|
34 |
-
ul.UL-MI_mp3j li a { font-size:11px !important; border:0 !important; line-height:15px !important; font-weight:500 !important; text-decoration:none !important; display:block !important; width:auto !important; font-family:'verdana', 'Lucida Grande', 'arial', sans-serif !important; outline:none !important; padding:6px 0px 6px 14px !important; }
|
35 |
-
|
36 |
-
/* SCREEN
|
37 |
-
----------------- */
|
38 |
-
div.player-track-title, div.jp-play-time, div.jp-total-time, div.statusMI { position:absolute; z-index:50; /* color set from admin */ font:normal normal 500 14px/16px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
39 |
-
|
40 |
-
div.player-track-title { top:7px; left:9px; width:auto; right:10px; }
|
41 |
-
div.player-track-title span { font-size:10px; line-height:12px; padding-left:10px; max-width:95%; }
|
42 |
-
|
43 |
-
div.jp-play-time, div.jp-total-time, div.statusMI { font-size:8px; line-height:10px !important; bottom:42px; text-align:left; font-family:Verdana, Arial, Helvetica, sans-serif; }
|
44 |
-
div.jp-play-time { right:84px; }
|
45 |
-
div.jp-total-time { right:6px; opacity:0.8; width:auto; }
|
46 |
-
|
47 |
-
span.mp3-finding, span.Smp3-finding, span.mp3-tint, span.mp3-gtint { padding:0px 0px 0px 6px !important; font-size:8px !important; line-height:10px !important; height:10px !important; overflow:hidden !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
48 |
-
span.mp3-finding, span.Smp3-finding { margin:0px 0px 0px -2px; background:url('images/finding-bar1f.gif') repeat 0px 3px; }
|
49 |
-
span.mp3-tint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); /* background */ }
|
50 |
-
span.mp3-gtint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); background:#777; }
|
51 |
-
span.Smp3-finding { margin:0px 0px 0px 3px; }
|
52 |
-
span.tintmarg { margin:0 2px 0 3px; }
|
53 |
-
|
54 |
-
div.statusMI { right:27px; width:52px !important; height:10px; }
|
55 |
-
.statusMI span.mp3-finding, .statusMI span.Smp3-finding, .statusMI span.mp3-tint, .statusMI span.mp3-gtint { padding:0px 0px 0px 6px !important; }
|
56 |
-
.statusMI span.mp3-tint, .statusMI span.mp3-gtint { margin:0px 2px 0px -6px; }
|
57 |
-
|
58 |
-
.MI-image { position:absolute; top:0; left:0; padding:0; }
|
59 |
-
.MI-image img { border:none; padding:0px; background-color:#777; }
|
60 |
-
.MI-image a:hover img { /* background-colour */ }
|
61 |
-
|
62 |
-
/* BUTTONS
|
63 |
-
----------------- */
|
64 |
-
/* TRANSPORT BUTTONS */
|
65 |
-
div.transport-MI { position:absolute; width:auto; height:38px; right:2px; bottom:0px; border:0; }
|
66 |
-
/*div.transport-MI div { background-image: url("images/transport-hardV-shiny.png"); text-indent:-9999px !important; float:right; }*/
|
67 |
-
div.transport-MI div { background-image: url("images/transport-darkbg-trans2.png"); text-indent:-9999px !important; float:right; }
|
68 |
-
/* play */
|
69 |
-
div.buttons_mp3j { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-110px 0px; }
|
70 |
-
div.buttons_mp3j:hover { background-position:-110px -32px; }
|
71 |
-
/* pause */
|
72 |
-
div.buttons_mp3jpause { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-2px 0px; }
|
73 |
-
div.buttons_mp3jpause:hover { background-position:-2px -32px; }
|
74 |
-
/* prev n next */
|
75 |
-
div.Prev_mp3j { width:22px; height:28px; margin:1px 4px 0px 0px; background-position:-32px -1px; }
|
76 |
-
div.Prev_mp3j:hover { background-position:-32px -33px; }
|
77 |
-
div.Next_mp3j { width:19px; height:28px; margin:1px 3px 0px 0px; background-position:-57px -1px; }
|
78 |
-
div.Next_mp3j:hover { background-position:-57px -33px; }
|
79 |
-
/* stop */
|
80 |
-
div.stop_mp3j { width:26px; height:32px; margin:1px 3px 0px 0px; background-position:-81px 0px; }
|
81 |
-
div.stop_mp3j:hover { background-position:-81px -32px; }
|
82 |
-
|
83 |
-
/* PLAYLIST TOGGLE */
|
84 |
-
div.playlist-toggle-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:4px; left:1px; padding:2px 6px 2px 5px; line-height:9px; min-width:24px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; cursor:default; background:#505050; color:#a2a2a2; }
|
85 |
-
div.playlist-toggle-MI:hover { background:#585858; color:#aaa; border-right:0px solid #a9a9a9; }
|
86 |
-
|
87 |
-
/* DOWNLOAD BUTTON */
|
88 |
-
div.dloadmp3-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; bottom:39px; margin:0px !important; font-size:9px !important; text-align:center; left:0px; width:41%; min-width:75px; max-width:425px; padding:0px 0px 0px 0px !important; border:0px; background:transparent url('images/t10b.png') repeat left top !important; color:#fff; line-height:11px !important; -moz-border-radius-topright:3px; -webkit-border-top-right-radius:3px; overflow:hidden; z-index:150; cursor:default; }
|
89 |
-
div.dloadmp3-MI.whilelinks, div.dloadmp3-MI.logintext { background:transparent url('images/t50b.png') repeat left top !important; }
|
90 |
-
div.dloadmp3-MI.whilelinks:hover { background:transparent url('images/t40b.png') repeat left top !important; }
|
91 |
-
div.dloadmp3-MI a { color:#ececec; display:block; width:auto; padding:1px 5px 2px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; /* after font declaration */ height:100%; border-bottom:none; visibility:hidden; }
|
92 |
-
div.dloadmp3-MI a:hover { outline: none; border-bottom: none; color: #ececec; }
|
93 |
-
div.dloadmp3-MI.whilelinks a { color: #f3f3f3; visibility: inherit; }
|
94 |
-
div.dloadmp3-MI.whilelinks a:hover { color: #fff; }
|
95 |
-
div.dloadmp3-MI p { color:#ececec; display:block; width:auto; padding:1px 5px 2px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; /* after font declaration */ height:100%; border-bottom:none; visibility:visible; }
|
96 |
-
|
97 |
-
/* POPOUT BUTTON */
|
98 |
-
div.mp3j-popout-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:17px; left:0px; height:16px; padding:3px 5px 0px 28px; min-width:2px; line-height:11px; border:1px solid #585858; background-color:#aaa; background-image:url('images/buttons-popoutE.png'); background-repeat:no-repeat; background-position:-8px -6px; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; cursor:default;
|
99 |
-
color:#a2a2a2; }
|
100 |
-
div.mp3j-popout-MI:hover { color:#aaa; background-position:-8px -36px; }
|
101 |
-
|
102 |
-
/* BARS
|
103 |
-
----------------- */
|
104 |
-
.ui-state-disabled { cursor:default !important; }
|
105 |
-
.ui-slider { position:relative; text-align:left; }
|
106 |
-
.ui-slider .ui-slider-handle { position:absolute; z-index:200; cursor:default; }
|
107 |
-
.ui-slider .ui-slider-range { position:absolute; z-index:1; font-size:.7em; display:block; border:0; }
|
108 |
-
.ui-slider-horizontal .ui-slider-range { top:0; height:100%; }
|
109 |
-
.ui-slider-horizontal .ui-slider-range-min { left:0; }
|
110 |
-
.ui-slider-horizontal .ui-slider-range-max { right:0; }
|
111 |
-
.ui-state-default, .ui-widget-content .ui-state-default { outline:none; border:0px; }
|
112 |
-
|
113 |
-
/* VOLUME */
|
114 |
-
div.MIsliderVolume { position:absolute; top:0px; right:4px; width:108px; height:4px !important; background:transparent; border:0px; font-size:1px; cursor:default; z-index:150; }
|
115 |
-
div.MIsliderVolume .ui-widget-header { /* background */ }
|
116 |
-
div.MIsliderVolume .ui-slider-handle { border:0px; height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-3px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -1px 0px; z-index:150; overflow:hidden !important; cursor:default; }
|
117 |
-
div.MIsliderVolume .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
|
118 |
-
div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
|
119 |
-
|
120 |
-
/* LOADER AND POS SLIDER */
|
121 |
-
div.bars_holder, div.loadMI_mp3j, div.poscolMI_mp3j, div.posbarMI_mp3j { position:absolute; top:0px; left:0px; }
|
122 |
-
div.bars_holder { right:0; width:100%; bottom:38px; font-size:1px; cursor:default; background:url('images/t40b.png')/*t50g.png*/ repeat-x left bottom;/* 1px highlight top of control bar */ }
|
123 |
-
div.loadMI_mp3j { bottom:1px; /* background */ /* opacity */ }
|
124 |
-
div.poscolMI_mp3j { bottom:1px; /* background */ /* opacity */ }
|
125 |
-
div.bars_holder .ui-widget-header, div.bars_holder .ui-widget-content { border:0px !important; background:none; }
|
126 |
-
div.bars_holder .ui-slider-horizontal { top:0px; bottom:1px; height:auto; z-index:90; }
|
127 |
-
div.posbarMI_mp3j { bottom:1px; width:100%; }
|
128 |
-
div.posbarMI_mp3j .ui-slider-handle { top:-6px; margin-left:-1px !important; border:0; bottom:-2px; width:2px !important; z-index:100; background:none; cursor:default ; padding:0px !important; }
|
129 |
-
div.posbarMI_mp3j .ui-slider-handle:hover { background:none; z-index:100; }
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
/* FORCED DOWNLOAD FRAME
|
134 |
-
------------------------ */
|
135 |
-
div.mp3j-dlframe, iframe.mp3j-dlframe {
|
136 |
-
border:0px solid #ddd;
|
137 |
-
width:1px;
|
138 |
-
height:1px;
|
139 |
-
overflow:hidden;
|
140 |
-
margin:0;
|
141 |
-
padding:0;
|
142 |
-
display:none !important;
|
143 |
-
}
|
144 |
-
|
145 |
-
/* MESSAGES */
|
146 |
-
div.mp3j-finfo {
|
147 |
-
position:absolute !important;
|
148 |
-
top:36px;
|
149 |
-
z-index:9999;
|
150 |
-
width:80%;
|
151 |
-
left:10%;
|
152 |
-
-moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
|
153 |
-
background:url('images/fdloadB-x.png') repeat-x left top;
|
154 |
-
-webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
|
155 |
-
padding:0;
|
156 |
-
min-height:31px;
|
157 |
-
overflow:hidden;
|
158 |
-
min-width:170px;
|
159 |
-
}
|
160 |
-
|
161 |
-
div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
|
162 |
-
div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
|
163 |
-
div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/loader-w2.gif') no-repeat center 37px; width:auto; padding:0px !important; height:100%; }
|
164 |
-
div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
|
165 |
-
div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#999 !important; border-bottom:1px solid #777 !important; border-left:1px solid #777 !important; background:url('images/t40b.png') repeat left top; }
|
166 |
-
div.mp3j-finfo-close:hover { color:#eee !important; }
|
167 |
-
|
168 |
-
div.mp3j-finfo-txt h2 { font-size:15px !important; color:#fff !important; margin:0 0 10px 0 !important; }
|
169 |
-
div.mp3j-finfo-txt h3 { font-size:14px !important; color:#fff !important; margin:0 0 15px 0 !important; }
|
170 |
-
div.mp3j-finfo-txt p { font-size:11px !important; color:#fff !important; line-height:13px !important; margin:0 0 5px 0 !important; }
|
171 |
-
div.mp3j-finfo-txt a { }
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
.mp3j-nosolution
|
180 |
-
{
|
181 |
-
position:absolute;
|
182 |
-
z-index:9999;
|
183 |
-
height:auto;
|
184 |
-
padding:5%;
|
185 |
-
border:1px solid #c0c0c0;
|
186 |
-
background:#f0f0f0;
|
187 |
-
color:#333;
|
188 |
-
top:4px;
|
189 |
-
left:4px;
|
190 |
-
right:4px;
|
191 |
-
-webkit-border-top-left-radius: 8px;
|
192 |
-
-webkit-border-top-right-radius: 8px;
|
193 |
-
-moz-border-radius-topleft: 8px;
|
194 |
-
-moz-border-radius-topright: 8px;
|
195 |
-
border-top-left-radius: 8px;
|
196 |
-
border-top-right-radius: 8px;
|
197 |
-
font-size:13px;
|
198 |
-
-webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
|
199 |
-
}
|
200 |
-
|
201 |
-
.s-nosolution
|
202 |
-
{
|
203 |
-
}
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
/* backwards compat
|
208 |
-
------------------- */
|
209 |
-
div.player-track-title.mp3j_widgetmods { font-size: 11px; top: 7px; left:5px; }
|
210 |
-
div.player-track-title.mp3j_widgetmods span { font-size: 9px; }
|
211 |
-
ul.UL-MI_mp3j.mp3j_widgetmods li { font-size:10px !important; line-height:14px !important; }
|
212 |
-
ul.UL-MI_mp3j.mp3j_widgetmods li a { font-size:10px !important; line-height:14px !important; }
|
213 |
-
|
214 |
-
|
215 |
-
/*-------------------------
|
216 |
-
[mp3j] & [mp3t] SHORTCODES
|
217 |
-
==================================== */
|
218 |
-
span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
|
219 |
-
/*span.wrap_inline_mp3j:hover .buttons_mp3j { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }*/
|
220 |
-
span.indi_mp3j { position:relative; padding-left:2px; font-size: 0.7em !important; }
|
221 |
-
|
222 |
-
/* BARS */
|
223 |
-
span.bars_mp3j { position:absolute; width:100%; height:100%; }
|
224 |
-
span.load_mp3j, span.loadB_mp3j { position:absolute; /* background */ top:20px; left:0px; height:2px; }
|
225 |
-
/* mp3t */
|
226 |
-
span.posbar_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
|
227 |
-
span.posbar_mp3j .ui-widget-header { z-index:-500; }
|
228 |
-
span.posbar_mp3j .ui-slider-handle { top: 2px; margin-left:-2px; border:1px solid #999; height:21px; width:4px; z-index:500; background:url('images/t20b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
229 |
-
span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t15b.png') repeat; border-color:#aaa; }
|
230 |
-
/* mp3j */
|
231 |
-
span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0; z-index:450; cursor:pointer; }
|
232 |
-
span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:450; height:100%; }
|
233 |
-
span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:-6px !important; border:0px solid #888; height:23px; width:12px !important; z-index: 500; background: transparent url('images/inlineHandle2.png') no-repeat -3px -3px; cursor: default; padding:0px !important; }
|
234 |
-
span.posbarB_mp3j .ui-slider-handle:hover { background: transparent url('images/inlineHandle2.png') no-repeat -3px -33px; }
|
235 |
-
|
236 |
-
/* SPAN TRANSPORT */
|
237 |
-
span.group_wrap { position:relative; margin:0px 0px 0px 0px; width:auto; }
|
238 |
-
span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; margin:0px; padding:0px; }
|
239 |
-
span.buttons_mp3j { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px -3px; }
|
240 |
-
span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }
|
241 |
-
span.buttons_mp3jpause { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px -3px; }
|
242 |
-
span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -35px; }
|
243 |
-
|
244 |
-
/* VOLUMES */
|
245 |
-
span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; }
|
246 |
-
span.vol_mp3j { position:absolute; top:-9px; right:5px; width:85%; max-width:100px; height:2px; }
|
247 |
-
span.vol_mp3j.flipped { right:4px; }
|
248 |
-
span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { background: transparent url('images/vol-grad60b2.png') repeat left top; z-index:500; height:100%; }
|
249 |
-
span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle { height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; border:0px !important; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; z-index:600; overflow:hidden !important; cursor:default; top:-6px; background: transparent url('images/vol-handle.png') no-repeat -1px 0px; }
|
250 |
-
span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background: transparent url('images/vol-handle.png') no-repeat -21px 0px; }
|
251 |
-
span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; border:0px; }
|
252 |
-
|
253 |
-
|
254 |
-
/*----------------------
|
255 |
-
[mp3j-popout] SHORTCODE
|
256 |
-
================================================= */
|
257 |
-
.mp3j-popout-link-wrap { cursor:pointer; position:relative; clear:left; }
|
258 |
-
.mp3j-popout-link { float:left; margin:0 5px 0 0; min-width:22px; min-height:18px; background:url('images/buttons-popout.png') no-repeat -10px -65px; }
|
259 |
-
.mp3j-popout-link-wrap:hover .mp3j-popout-link { background:url('images/buttons-popout.png') no-repeat -10px -95px; }
|
260 |
-
|
261 |
-
|
262 |
-
/*-------------
|
263 |
-
CUSTOM CLASSES
|
264 |
-
(via 'style' param in shortcode)
|
265 |
-
================================================= */
|
266 |
-
|
267 |
-
/* ===== "silver" ===== */
|
268 |
-
.silver .innerx { background-position:left -45px; }
|
269 |
-
.silver .transport-MI { height:37px; }
|
270 |
-
.silver .transport-MI div { background-image:url("images/transport-hardW-shiny.png"); }
|
271 |
-
.silver .bars_holder { background:url('images/t60w.png') repeat-x left bottom; }
|
272 |
-
.silver .mp3j-popout-MI { color:#6c6c6c; background-position:-8px -65px; border-color:#b2b2b2; background-color:#aaa; }
|
273 |
-
.silver .mp3j-popout-MI:hover { color:#606060; background-position:-8px -95px; }
|
274 |
-
.silver div.playlist-toggle-MI { background:#bcbcbc; color:#707070; }
|
275 |
-
.silver div.playlist-toggle-MI:hover { background:#c6c6c6; color:#777; }
|
276 |
-
.silver .MI-image img { background-color:#bbb; }
|
277 |
-
|
278 |
-
.silver div.mp3j-finfo { background:url('images/fdloadW-x.png') repeat-x left top; }
|
279 |
-
.silver div.mp3j-finfo-gif { background:url('images/loader.gif') no-repeat center 37px; }
|
280 |
-
.silver div.mp3j-finfo-close { color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
|
281 |
-
.silver div.mp3j-finfo-close:hover { color:#888 !important; }
|
282 |
-
.silver div.mp3j-finfo-txt h2 { color:#333 !important; }
|
283 |
-
.silver div.mp3j-finfo-txt h3 { color:#333 !important; }
|
284 |
-
.silver div.mp3j-finfo-txt p { color:#555 !important; }
|
285 |
-
|
286 |
-
|
287 |
-
/* ===== "text" ===== */
|
288 |
-
div.wrap-MI.text { /*min-width:300px;*/ }
|
289 |
-
.text div.innerx, .text div.innerleft, .text div.innerright { position: absolute; visibility: hidden; }
|
290 |
-
.text div.innertab { bottom: 38px; }
|
291 |
-
.text div.jp-interface { background:none; }
|
292 |
-
.text div.player-track-title { font:normal normal 500 16px/18px 'trebuchet ms', Arial, sans-serif; }
|
293 |
-
.text div.player-track-title span { font:italic normal 500 12px/14px 'trebuchet ms', Arial, sans-serif; opacity:0.7; filter:alpha(opacity=70); }
|
294 |
-
.text div.jp-play-time, .text div.jp-total-time, .text div.statusMI { bottom:20px; font-size:11px; font-family: 'trebuchet ms', Arial, sans-serif; }
|
295 |
-
.text div.jp-play-time { width:37px; left:0px; opacity:0.6; filter:alpha(opacity=60); }
|
296 |
-
.text div.jp-total-time { width:37px; left:100px; display:none; }
|
297 |
-
.text div.statusMI { left:37px; width:70px !important; }
|
298 |
-
.text div.transport-MI { height:26px; right:2px; bottom:12px; }
|
299 |
-
.text div.transport-MI div { font-family: 'trebuchet ms', Arial, sans-serif; font-weight:700; overflow:hidden !important; background:none !important; white-space:nowrap !important; }
|
300 |
-
.text div.buttons_mp3j { text-indent:4px !important; width:32px; overflow:hidden !important; height: 25px; margin:0 6px 0 0px; background:none !important; line-height:25px !important; font-size:14px; }
|
301 |
-
.text div.buttons_mp3jpause { text-indent:-29px !important; width:38px; overflow:hidden !important; height: 25px; margin:0 -3px 0 3px; background:none !important; line-height:25px !important; font-size:14px; }
|
302 |
-
.text div.Prev_mp3j, .text div.Next_mp3j { text-indent:0px !important; height:23px; line-height:23px !important; font-size:12px; width:36px; margin:2px 0px 0px 0px; }
|
303 |
-
.text div.stop_mp3j { text-indent:0px !important; width:31px; height:25px; margin:0px 0px 0px 4px; line-height:25px !important; font-size:14px; }
|
304 |
-
|
305 |
-
.text div.playlist-toggle-MI { bottom: 7px; font-family:'trebuchet ms', Arial, sans-serif; background:none; padding:0; opacity:0.6; filter:alpha(opacity=60); }
|
306 |
-
.text div.playlist-toggle-MI:hover { opacity:1.0; filter:alpha(opacity=100); }
|
307 |
-
.text div.dloadmp3-MI { font-size:11px; bottom: 6px; height:auto; right:0px !important; left:auto; margin:0; font-family: 'trebuchet ms', Arial, sans-serif; text-align:right; background:none !important; }
|
308 |
-
.text div.dloadmp3-MI a { color:#888; font-size:inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
|
309 |
-
.text div.dloadmp3-MI a:hover { color:#555; background:none !important; }
|
310 |
-
.text div.dloadmp3-MI.betweenlinks a { display:none; background:none !important; }
|
311 |
-
.text div.dloadmp3-MI.whilelinks a { display:block; background:none !important; }
|
312 |
-
.text div.dloadmp3-MI.whilelinks a:hover { text-decoration:none; background:none !important; }
|
313 |
-
.text div.dloadmp3-MI p { font-size: inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
|
314 |
-
.text div.mp3j-popout-MI { color:#888; font:normal normal 500 11px 'trebuchet ms', 'arial', sans-serif; bottom:15px; right:155px; left:auto; width:auto; opacity:1; filter:alpha(opacity=100); padding:0px; line-height:12px; border:0; background:none; cursor:default; z-index:500; }
|
315 |
-
.text div.mp3j-popout-MI:hover { color:#555; opacity:1.0; filter:alpha(opacity=100); }
|
316 |
-
.text div.MIsliderVolume { position:absolute; bottom:38px; top:auto; right:4px; width:108px !important; height:1px !important; background:transparent; border:0px; font-size:1px; cursor:default; z-index:150; }
|
317 |
-
.text div.MIsliderVolume .ui-slider-handle, .text div.vol_mp3j .ui-slider-handle { height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-7px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -41px 0px; z-index:150; overflow:hidden !important; cursor:default; }
|
318 |
-
.text div.MIsliderVolume .ui-slider-handle:hover, .text div.vol_mp3j .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
|
319 |
-
.text div.MIsliderVolume .ui-state-active, .text div.MIsliderVolume .ui-widget-content .ui-state-active, .text div.vol_mp3j .ui-state-active, .text div.vol_mp3j .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
|
320 |
-
|
321 |
-
.text div.dloadmp3-MI.whilelinks, .text div.dloadmp3-MI.logintext { background:none !important; }
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
/* ===== "noscreen" ===== */
|
326 |
-
.noscreen div.jp-interface { height:44px; min-height:44px; }
|
327 |
-
.noscreen div.player-track-title { display:none; }
|
328 |
-
.noscreen div.bars_holder { top:auto; bottom:0px; height:7px; }
|
329 |
-
.noscreen div.innertab { bottom: 0px; top:0; display:none; }
|
330 |
-
.noscreen div.dloadmp3-MI { bottom: 11px; }
|
331 |
-
.noscreen div.transport-MI { bottom:17px; }
|
332 |
-
.noscreen div.jp-play-time, .noscreen div.jp-total-time, .noscreen div.statusMI { bottom:25px; }
|
333 |
-
.noscreen div.playlist-toggle-MI { bottom: 12px; }
|
334 |
-
.noscreen div.mp3j-popout-MI { bottom: 20px; }
|
335 |
-
.noscreen div.MIsliderVolume { bottom: 43px; }
|
336 |
-
.noscreen div.MIsliderVolume .ui-widget-header { background:transparent url('images/vol-grad60b2.png') repeat-y 0px top; }
|
337 |
-
.noscreen div.MIsliderVolume .ui-slider-handle { top:-6px; }
|
338 |
-
.noscreen h2 { margin:0 !important; padding:0 0 0px 0 !important; }
|
339 |
-
.noscreen div.posbarMI_mp3j .ui-slider-handle { top:-5px; margin-left:-7px !important; border:0; bottom:-5px; width:14px !important; z-index:100; background:none; border:none; cursor:default ; padding:0px !important; }
|
340 |
-
.noscreen div.posbarMI_mp3j .ui-slider-handle:hover { background:none; border:none; }
|
341 |
-
.noscreen .MI-image { top:15px; }
|
342 |
-
|
343 |
-
/* ===== "nolistbutton" ===== */
|
344 |
-
.nolistbutton div.playlist-toggle-MI { visibility:hidden; }
|
345 |
-
|
346 |
-
/* ===== "nopopoutbutton" ===== */
|
347 |
-
.nopopoutbutton div.mp3j-popout-MI { display:none; }
|
348 |
-
|
349 |
-
/* ===== "nopn" ===== */
|
350 |
-
.nopn div.Prev_mp3j { display:none; }
|
351 |
-
.nopn div.Next_mp3j { display:none; }
|
352 |
-
|
353 |
-
/* ===== "nostop" ===== */
|
354 |
-
.nostop div.stop_mp3j { display:none; }
|
355 |
-
|
356 |
-
/* ===== "bars100" ===== */
|
357 |
-
.bars100 div.player-track-title { left:112px; }
|
358 |
-
.bars100 div.dloadmp3-MI { left:102px; width:36%;}
|
359 |
-
.bars100 div.bars_holder { left:102px; width:auto; }
|
360 |
-
.bars100 .MI-image img { padding:1px; }
|
361 |
-
.bars100 div.player-track-title { top:20px; }
|
362 |
-
|
363 |
-
/* ===== "bars150" ===== */
|
364 |
-
.bars150 div.player-track-title { left:162px; }
|
365 |
-
.bars150 div.dloadmp3-MI { left:152px; width:33%;}
|
366 |
-
.bars150 div.bars_holder { left:152px; width:auto; }
|
367 |
-
.bars150 .MI-image img { padding:1px; }
|
368 |
-
.bars150 div.player-track-title { top:20px; }
|
369 |
-
|
370 |
-
/* ===== "bars200" ===== */
|
371 |
-
.bars200 div.player-track-title { left:212px; }
|
372 |
-
.bars200 div.dloadmp3-MI { left:202px; width:30%; }
|
373 |
-
.bars200 div.bars_holder { left:202px; width:auto; }
|
374 |
-
.bars200 .MI-image img { padding:1px; }
|
375 |
-
.bars200 div.player-track-title { top:20px; }
|
376 |
-
|
377 |
-
/* ===== "bars250" ===== */
|
378 |
-
.bars250 div.player-track-title { left:262px; }
|
379 |
-
.bars250 div.dloadmp3-MI { left:252px; width:27%;}
|
380 |
-
.bars250 div.bars_holder { left:252px; width:auto; }
|
381 |
-
.bars250 .MI-image img { padding:1px; }
|
382 |
-
.bars250 div.player-track-title { top:20px; }
|
383 |
-
|
384 |
-
/* ===== "bars300" ===== */
|
385 |
-
.bars300 div.player-track-title { left:312px; }
|
386 |
-
.bars300 div.dloadmp3-MI { left:302px; width:24%; }
|
387 |
-
.bars300 div.bars_holder { left:302px; width:auto; }
|
388 |
-
.bars300 .MI-image img { padding:1px; }
|
389 |
-
.bars300 div.player-track-title { top:20px; }
|
390 |
-
|
391 |
-
/* ===== "bars350" ===== */
|
392 |
-
.bars350 div.player-track-title { left:362px; }
|
393 |
-
.bars350 div.dloadmp3-MI { left:352px; width:21%;}
|
394 |
-
.bars350 div.bars_holder { left:352px; width:auto; }
|
395 |
-
.bars350 .MI-image img { padding:1px; }
|
396 |
-
.bars350 div.player-track-title { top:20px; }
|
397 |
-
|
398 |
-
/* ===== "bars400" ===== */
|
399 |
-
.bars400 div.player-track-title { left:412px; }
|
400 |
-
.bars400 div.dloadmp3-MI { left:402px; width:18%; }
|
401 |
-
.bars400 div.bars_holder { left:402px; width:auto; }
|
402 |
-
.bars400 .MI-image img { padding:1px; }
|
403 |
-
.bars400 div.player-track-title { top:20px; }
|
404 |
-
|
405 |
-
/* ===== bigger1 ===== */
|
406 |
-
.bigger1 { font-size:18px; line-height:26px !important; margin:0 !important; }
|
407 |
-
.bigger1 span.load_mp3j,
|
408 |
-
.bigger1 span.loadB_mp3j { top:24px; left:0px; height:2px; }
|
409 |
-
.bigger1 span.posbar_mp3j .ui-slider-handle { top: 3px; height:24px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
410 |
-
.bigger1 span.posbarB_mp3j .ui-slider-handle { top: 3px; margin-left:-3px !important; border:1px solid #999; height:24px; width:6px !important; z-index:500; background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
411 |
-
.bigger1 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; border-color:#aaa; }
|
412 |
-
.bigger1 span.buttons_mp3j { position:relative; margin:0px; margin-left:5px !important; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px 0px; }
|
413 |
-
.bigger1 span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -32px; }
|
414 |
-
.bigger1 span.buttons_mp3jpause { position:relative; margin:0px; margin-left:5px !important; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px 0px; }
|
415 |
-
.bigger1 span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -32px; }
|
416 |
-
.bigger1 span.vol_mp3j { position:absolute; top:-6px; right:7px; width:85%; max-width:100px; height:2px; }
|
417 |
-
|
418 |
-
.bigger1 div.player-track-title { font:normal normal 500 18px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
419 |
-
.bigger1 div.player-track-title span { font:normal normal 500 14px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
420 |
-
.bigger1 ul.UL-MI_mp3j li a, .bigger1 ul.UL-MI_mp3j li { font-size:16px !important; line-height:19px !important; }
|
421 |
-
.bigger1 .indi_mp3j { font-size: 0.6em !important; }
|
422 |
-
|
423 |
-
/* ===== "bigger2" ===== */
|
424 |
-
.bigger2 div.player-track-title { font:normal normal 500 36px/38px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
425 |
-
.bigger2 div.player-track-title span { font:normal normal 500 20px/22px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
426 |
-
.bigger2 ul.UL-MI_mp3j li a, .bigger2 ul.UL-MI_mp3j li { font-size:20px !important; line-height:24px !important; }
|
427 |
-
.bigger2 { font-size:23px; line-height:25px !important; margin:0 !important; }
|
428 |
-
.bigger2 span.load_mp3j,
|
429 |
-
.bigger2 span.loadB_mp3j { top:26px; left:0px; height:2px; }
|
430 |
-
.bigger2 span.posbar_mp3j .ui-slider-handle { top: 0px; height:28px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
431 |
-
.bigger2 span.posbarB_mp3j .ui-slider-handle { top: -1px; margin-left:-3px !important; border:1px solid #999; height:29px; width:8px !important; z-index:500; border-color:#aaa; background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
432 |
-
.bigger2 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; border-color:#999; }
|
433 |
-
.bigger2 span.buttons_mp3j { padding:2px 0px 4px 20px !important; background:url('images/play-dark2-b.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px; }
|
434 |
-
.bigger2 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -437px center; }
|
435 |
-
.bigger2 span.buttons_mp3jpause { padding:0px 0px 2px 20px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
436 |
-
.bigger2 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
|
437 |
-
.bigger2 span.vol_mp3j { position:absolute; top:-12px; right:4px; width:85%; max-width:100px; height:2px; }
|
438 |
-
.bigger2 span.vol_mp3t { position:absolute; top:-10px; width:85%; max-width:100px; height:2px; }
|
439 |
-
.bigger2 .Smp3-finding,
|
440 |
-
.bigger2 .mp3-tint,
|
441 |
-
.bigger2 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 10px !important; font-size:12px !important; line-height:12px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
|
442 |
-
.bigger2 .mp3-gtint { margin:0 6px 0 -16px; }
|
443 |
-
.bigger2 .indi_mp3j { font-size: 0.5em !important; padding-left:0px; }
|
444 |
-
|
445 |
-
/* ===== bigger3 ===== */
|
446 |
-
.bigger3 { font-size:28px; line-height:36px !important; margin:0 !important; }
|
447 |
-
.bigger3 .load_mp3j, .bigger3 .loadB_mp3j { top:37px; left:0px; height:3px; }
|
448 |
-
.bigger3 .posbar_mp3j .ui-slider-handle, .bigger3 .posbarB_mp3j .ui-slider-handle { top: 0px; border:1px solid #bbb; height:40px; width:12px !important; margin-left:-5px !important; background:url('images/stop-dark2-b.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
449 |
-
.bigger3 .posbar_mp3j .ui-slider-handle:hover, .bigger3 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; border:1px solid #aaa; }
|
450 |
-
.bigger3 .indi_mp3j { font-size: 0.5em !important; }
|
451 |
-
.bigger3 span.buttons_mp3j { padding:8px 0px 12px 30px !important; background:url('images/play-dark2-b.png') no-repeat -177px center; border:0px solid #bbb; margin-left:12px; }
|
452 |
-
.bigger3 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -428px center; }
|
453 |
-
.bigger3 span.buttons_mp3jpause { padding:2px 0px 6px 30px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:12px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
454 |
-
.bigger3 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
|
455 |
-
.bigger3 .vol_mp3j { height:1px; max-width:110px; right:64px; top:-8px; }
|
456 |
-
.bigger3 .vol_mp3t { height:1px; max-width:110px; right:16px; top:-5px; }
|
457 |
-
.bigger3 .vol_mp3j .ui-slider-handle, .bigger3 .vol_mp3t .ui-slider-handle { height:14px !important; width:33px !important; margin-left:-16px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-14px; background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
|
458 |
-
.bigger3 .vol_mp3j .ui-slider-handle:hover, .bigger3 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
|
459 |
-
.bigger3 .Smp3-finding,
|
460 |
-
.bigger3 .mp3-tint,
|
461 |
-
.bigger3 .mp3-gtint { margin-left:8px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
|
462 |
-
.bigger3 .mp3-gtint { margin:0 2px 0 -14px; }
|
463 |
-
.bigger3 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
464 |
-
.bigger3 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
465 |
-
.bigger3 ul.UL-MI_mp3j li a, .bigger3 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
|
466 |
-
|
467 |
-
|
468 |
-
/* ===== bigger4 ===== */
|
469 |
-
.bigger4 { font-size:38px; line-height:46px !important; margin:0 !important; }
|
470 |
-
.bigger4 .load_mp3j, .bigger4 .loadB_mp3j { top:46px; left:0px; height:3px; }
|
471 |
-
.bigger4 .posbar_mp3j .ui-slider-handle, .bigger4 .posbarB_mp3j .ui-slider-handle { top: -2px; border:1px solid #bbb; height:52px; width:20px !important; margin-left:-10px !important; background:url('images/stop-dark2-b.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
472 |
-
.bigger4 .posbar_mp3j .ui-slider-handle:hover, .bigger4 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; border:1px solid #aaa; }
|
473 |
-
.bigger4 .indi_mp3j { font-size: 0.5em !important; }
|
474 |
-
.bigger4 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 12px 40px !important; background:url('images/play-dark2-b.png') no-repeat -167px center; border:0px solid #bbb; margin-left:15px; }
|
475 |
-
.bigger4 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -418px center; }
|
476 |
-
.bigger4 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 40px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
477 |
-
.bigger4 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
|
478 |
-
.bigger4 .vol_mp3j { height:1px; max-width:110px; right:86px; top:-8px; }
|
479 |
-
.bigger4 .vol_mp3t { height:1px; max-width:110px; right:20px; top:-5px; }
|
480 |
-
.bigger4 .vol_mp3j .ui-slider-handle, .bigger4 .vol_mp3t .ui-slider-handle { height:20px !important; width:43px !important; margin-left:-21px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-20px; background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
|
481 |
-
.bigger4 .vol_mp3j .ui-slider-handle:hover, .bigger4 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
|
482 |
-
.bigger4 .Smp3-finding,
|
483 |
-
.bigger4 .mp3-tint,
|
484 |
-
.bigger4 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
|
485 |
-
.bigger4 .mp3-gtint { margin:0 6px 0 -20px; }
|
486 |
-
|
487 |
-
.bigger4 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
488 |
-
.bigger4 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
489 |
-
.bigger4 ul.UL-MI_mp3j li a, .bigger4 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
|
490 |
-
|
491 |
-
|
492 |
-
/* ===== bigger5 ===== */
|
493 |
-
.bigger5 { font-size:48px; line-height:60px !important; margin:0 !important; }
|
494 |
-
.bigger5 .load_mp3j, .bigger5 .loadB_mp3j { top:63px; left:0px; height:4px; }
|
495 |
-
.bigger5 .posbar_mp3j .ui-slider-handle, .bigger5 .posbarB_mp3j .ui-slider-handle { top: -1px; border:1px solid #bbb; height:69px; width:20px !important; margin-left:-10px !important; background:url('images/stop-dark2-b.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
496 |
-
.bigger5 .posbar_mp3j .ui-slider-handle:hover, .bigger5 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; border:1px solid #aaa; }
|
497 |
-
.bigger5 .indi_mp3j { font-size: 0.5em !important; }
|
498 |
-
.bigger5 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 13px 52px !important; background:url('images/play-dark2-b.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
|
499 |
-
.bigger5 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -405px center; }
|
500 |
-
.bigger5 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:3px 0px 8px 52px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
501 |
-
.bigger5 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
|
502 |
-
.bigger5 .vol_mp3j { height:1px; max-width:170px; right:115px; top:-10px; }
|
503 |
-
.bigger5 .vol_mp3t { height:1px; max-width:170px; right:33px; top:-5px; }
|
504 |
-
.bigger5 .vol_mp3j .ui-slider-handle, .bigger5 .vol_mp3t .ui-slider-handle { height:30px !important; width:55px !important; margin-left:-21px; border-bottom:1px solid #aaa !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-30px; background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
|
505 |
-
.bigger5 .vol_mp3j .ui-slider-handle:hover, .bigger5 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
|
506 |
-
.bigger5 .Smp3-finding,
|
507 |
-
.bigger5 .mp3-tint,
|
508 |
-
.bigger5 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
|
509 |
-
.bigger5 .mp3-gtint { margin:0 6px 0 -20px; }
|
510 |
-
|
511 |
-
.bigger5.wh .posbar_mp3j .ui-slider-handle, .bigger5.wh .posbarB_mp3j .ui-slider-handle { background:url('images/stop-dark2-w.png') repeat-y -350px top; border:1px solid #888; }
|
512 |
-
.bigger5.wh .posbar_mp3j .ui-slider-handle:hover, .bigger5.wh .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-w.png') repeat-y 0px top; border:1px solid #777; }
|
513 |
-
.bigger5.wh .buttons_mp3j { background:url('images/play-dark2-w.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
|
514 |
-
.bigger5.wh .buttons_mp3j:hover { background:url('images/play-dark2-w.png') no-repeat -405px center; }
|
515 |
-
.bigger5.wh .buttons_mp3jpause { background:url('images/stop-dark2-w.png') repeat-y 0px top; }
|
516 |
-
.bigger5.wh .buttons_mp3jpause:hover { background:url('images/stop-dark2-w.png') repeat-y -350px top; }
|
517 |
-
.bigger5.wh .vol_mp3j .ui-slider-handle, .bigger5.wh .vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-bw.png') no-repeat -10px bottom; }
|
518 |
-
.bigger5.wh .vol_mp3j .ui-slider-handle:hover, .bigger5.wh .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-w.png') no-repeat -257px bottom; }
|
519 |
-
|
520 |
-
|
521 |
-
/* ===== "smaller" ===== */
|
522 |
-
.smaller div.player-track-title { font:normal normal 500 11px/13px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; left:5px; right:5px; }
|
523 |
-
.smaller div.player-track-title span { font:normal normal 500 10px/10px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; padding:0; }
|
524 |
-
.smaller ul.UL-MI_mp3j li a, .smaller ul.UL-MI_mp3j li { font-size:10px !important; font-family:'verdana', Helvetica, sans-serif !important; line-height:13px !important; }
|
525 |
-
|
526 |
-
|
527 |
-
/* ===== outline ==== */
|
528 |
-
span.outline { font-size:14px; line-height:22px !important; margin:0 !important; }
|
529 |
-
.outline span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; background: transparent; }
|
530 |
-
.outline span.vol_mp3j { position:absolute; top:-9px; right:7px; width:85%; max-width:100px; height:2px; background: transparent; }
|
531 |
-
.outline span.buttons_mp3j { padding:2px 0px 3px 20px; background: transparent url('images/transport-outline.png') no-repeat -80px -2px; border:0; margin:0; }
|
532 |
-
.outline span.buttons_mp3j:hover { background:transparent url('images/transport-outline.png') no-repeat -80px -34px; }
|
533 |
-
.outline span.buttons_mp3jpause { padding:2px 0px 3px 20px; background: transparent url('images/transport-outline.png') no-repeat 1px -2px; border:0; margin:0; }
|
534 |
-
.outline span.buttons_mp3jpause:hover { background:transparent url('images/transport-outline.png') no-repeat 1px -34px; }
|
535 |
-
.outline span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
|
536 |
-
.outline span.posbarB_mp3j .ui-widget-header { z-index:-500; }
|
537 |
-
.outline span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:0px; border:1px solid #aaa; height:23px; width:5px !important; z-index:500; background:url('images/t10b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
538 |
-
.outline span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t20b.png') repeat; border-color:#777; }
|
539 |
-
.outline div.transport-MI div { background-image: url("images/transport-hardK.png"); }
|
540 |
-
.outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
|
541 |
-
.silver.outline div.transport-MI div { background-image: url("images/transport-hardZ.png"); }
|
542 |
-
.silver.outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
|
543 |
-
|
544 |
-
/* ===== wtransbars ==== */
|
545 |
-
.wtransbars div.loadMI_mp3j { background:#fff; opacity:0.1; filter:alpha(opacity=10); }
|
546 |
-
.wtransbars div.poscolMI_mp3j { background:#fff url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
|
547 |
-
.wtransbars div.player-track-title { color:#fff; }
|
548 |
-
|
549 |
-
/* ===== btransbars ==== */
|
550 |
-
.btransbars div.loadMI_mp3j { background:#000; opacity:0.1; filter:alpha(opacity=10); }
|
551 |
-
.btransbars div.poscolMI_mp3j { background:#000 url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
|
552 |
-
.btransbars div.player-track-title { color:#000; }
|
553 |
-
|
554 |
-
|
555 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
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Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
css/players-1-8-silver.css
DELETED
@@ -1,595 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
MP3-jPlayer 1.8.1 - Silver
|
3 |
-
www.sjward.org */
|
4 |
-
|
5 |
-
/*---------------------
|
6 |
-
[mp3-jplayer] SHORTCODE
|
7 |
-
==================================== */
|
8 |
-
|
9 |
-
/* SKIN
|
10 |
-
--------------- */
|
11 |
-
/* MAIN WRAPPER (default class) */
|
12 |
-
div.wrap-MI { border:0; margin:0; background:none; min-width:116px; /* position||float set in-line! */ /* width set in-line! */ }
|
13 |
-
|
14 |
-
/* SUB WRAPPERS */
|
15 |
-
div.jp-innerwrap, div.jp-interface, div.listwrap_mp3j, div.playlist-wrap-MI { position:relative !important; width:100%; border:0; margin:0; padding:0; }
|
16 |
-
div.jp-innerwrap { background:none; }
|
17 |
-
div.jp-interface { background:url('images/shadow-x.png') repeat-x left bottom; height:101px/*player default height*/; min-height:67px; cursor:default; }
|
18 |
-
div.listwrap_mp3j { margin-top:0px; /* background set from admin */ }
|
19 |
-
|
20 |
-
/* BACKGROUNDS */
|
21 |
-
div.innerx, div.innerleft, div.innerright, div.innertab { position:absolute; }
|
22 |
-
div.innerx { background:url('images/case-grad-x.png') repeat-x left -45px; width:auto; height:35px; left:0px; right:0px; bottom:3px; }
|
23 |
-
div.innerleft { background:url('images/shadow-l.png') no-repeat left bottom; width:1px; height:40px; left:-1px; bottom:0px; }
|
24 |
-
div.innerright { background:url('images/shadow-r.png') no-repeat right bottom; width:2px; height:40px; right:-2px; bottom:0px; }
|
25 |
-
div.innertab { /* background and opacity set from admin */ left:0px; top:0px; width:100%; bottom:38px; }
|
26 |
-
|
27 |
-
/* PLAYLIST
|
28 |
-
----------------- */
|
29 |
-
div.playlist-colour { position:absolute; width:100%; height:100%; left:0px; top:0px; /* background set from admin */ /* opacity set from admin */ }
|
30 |
-
div.playlist-wrap-MI ul { position:static; }
|
31 |
-
ul.UL-MI_mp3j { margin:0px !important; padding:0px 0px 0px 0px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; font-weight: 500 !important; /* background set from admin */ }
|
32 |
-
ul.UL-MI_mp3j li { margin:0px !important; padding:0px 0px 1px 0px !important; font-weight:500 !important; line-height:15px !important; letter-spacing:0px !important; font-size:11px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; list-style-type:none !important; }
|
33 |
-
ul.UL-MI_mp3j li:before { content:none !important; }
|
34 |
-
ul.UL-MI_mp3j li a { font-size:11px !important; border:0 !important; line-height:15px !important; font-weight:500 !important; text-decoration:none !important; display:block !important; width:auto !important; font-family:'verdana', 'Lucida Grande', 'arial', sans-serif !important; outline:none !important; padding:6px 0px 6px 14px !important; }
|
35 |
-
|
36 |
-
|
37 |
-
/* SCREEN
|
38 |
-
----------------- */
|
39 |
-
div.player-track-title, div.jp-play-time, div.jp-total-time, div.statusMI { position:absolute; z-index:50; /* color set from admin */ font:normal normal 500 14px/16px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
40 |
-
|
41 |
-
div.player-track-title { top:7px; left:9px; width:auto; right:10px; }
|
42 |
-
div.player-track-title span { font-size:10px; line-height:12px; padding-left:10px; max-width:95%; }
|
43 |
-
|
44 |
-
div.jp-play-time, div.jp-total-time, div.statusMI { font-size:8px; line-height:10px !important; bottom:42px; text-align:left; font-family:Verdana, Arial, Helvetica, sans-serif; }
|
45 |
-
div.jp-play-time { right:84px; }
|
46 |
-
div.jp-total-time { right:6px; opacity:0.8; width:auto; }
|
47 |
-
|
48 |
-
span.mp3-finding, span.Smp3-finding, span.mp3-tint, span.mp3-gtint { padding:0px 0px 0px 6px !important; font-size:8px !important; line-height:10px !important; height:10px !important; overflow:hidden !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
49 |
-
span.mp3-finding, span.Smp3-finding { margin:0px 0px 0px -2px; background:url('images/finding-bar1f.gif') repeat 0px 3px; }
|
50 |
-
span.mp3-tint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); /* background set from admin */ }
|
51 |
-
span.mp3-gtint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); background:#777; }
|
52 |
-
span.Smp3-finding { margin:0px 0px 0px 3px; }
|
53 |
-
span.tintmarg { margin:0 2px 0 3px; }
|
54 |
-
|
55 |
-
div.statusMI { right:27px; width:52px !important; height:10px; }
|
56 |
-
.statusMI span.mp3-finding, .statusMI span.Smp3-finding, .statusMI span.mp3-tint, .statusMI span.mp3-gtint { padding:0px 0px 0px 6px !important; }
|
57 |
-
.statusMI span.mp3-tint, .statusMI span.mp3-gtint { margin:0px 2px 0px -6px; }
|
58 |
-
|
59 |
-
.MI-image { position:absolute; top:0; left:0; padding:0; }
|
60 |
-
.MI-image img { border:none; padding:0px; background-color:#bbb; }
|
61 |
-
.MI-image a:hover img { /* background-colour set from admin */ }
|
62 |
-
|
63 |
-
|
64 |
-
/* BUTTONS
|
65 |
-
----------------- */
|
66 |
-
/* TRANSPORT BUTTONS */
|
67 |
-
div.transport-MI { position:absolute; width:auto; height:37px; right:2px; bottom:0px; border:0; }
|
68 |
-
div.transport-MI div { background-image: url("images/transport-hardW-shiny.png"); text-indent:-9999px !important; float:right; }
|
69 |
-
/* play */
|
70 |
-
div.buttons_mp3j { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-110px 0px; }
|
71 |
-
div.buttons_mp3j:hover { background-position:-110px -32px; }
|
72 |
-
/* pause */
|
73 |
-
div.buttons_mp3jpause { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-2px 0px; }
|
74 |
-
div.buttons_mp3jpause:hover { background-position:-2px -32px; }
|
75 |
-
/* prev n next */
|
76 |
-
div.Prev_mp3j { width:22px; height:28px; margin:1px 4px 0px 0px; background-position:-32px -1px; }
|
77 |
-
div.Prev_mp3j:hover { background-position:-32px -33px; }
|
78 |
-
div.Next_mp3j { width:19px; height:28px; margin:1px 3px 0px 0px; background-position:-57px -1px; }
|
79 |
-
div.Next_mp3j:hover { background-position:-57px -33px; }
|
80 |
-
/* stop */
|
81 |
-
div.stop_mp3j { width:26px; height:32px; margin:1px 3px 0px 0px; background-position:-81px 0px; }
|
82 |
-
div.stop_mp3j:hover { background-position:-81px -32px; }
|
83 |
-
|
84 |
-
/* PLAYLIST TOGGLE */
|
85 |
-
div.playlist-toggle-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:4px; left:1px; color:#707070; padding:2px 6px 2px 5px; line-height:9px; min-width:24px; background:#bcbcbc; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; cursor:default; }
|
86 |
-
div.playlist-toggle-MI:hover { background:#c6c6c6; color:#777; }
|
87 |
-
|
88 |
-
/* DOWNLOAD BUTTON */
|
89 |
-
div.dloadmp3-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; bottom:39px; margin:0px !important; font-size:9px !important; text-align:center; left:0px; width:41%; min-width:75px; max-width:425px; padding:0px 0px 0px 0px !important; border:0px; background:transparent url('images/t10b.png') repeat left top !important; color:#fff; line-height:11px !important; -moz-border-radius-topright:3px; -webkit-border-top-right-radius:3px; overflow:hidden; z-index:150; cursor:default; }
|
90 |
-
div.dloadmp3-MI.whilelinks, div.dloadmp3-MI.logintext { background:transparent url('images/t50b.png') repeat left top !important; }
|
91 |
-
div.dloadmp3-MI.whilelinks:hover { background:transparent url('images/t40b.png') repeat left top !important; }
|
92 |
-
div.dloadmp3-MI a { color:#ececec; display:block; width:auto; padding:1px 5px 2px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; height:100%; border-bottom:none; visibility:hidden; }
|
93 |
-
div.dloadmp3-MI a:hover { outline: none; border-bottom: none; color: #ececec; }
|
94 |
-
div.dloadmp3-MI.whilelinks a { color: #f3f3f3; visibility: inherit; }
|
95 |
-
div.dloadmp3-MI.whilelinks a:hover { color: #fff; }
|
96 |
-
div.dloadmp3-MI p { color:#ececec; display:block; width:auto; padding:1px 5px 2px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; height:100%; border-bottom:none; visibility:visible; }
|
97 |
-
|
98 |
-
/* POPOUT BUTTON */
|
99 |
-
div.mp3j-popout-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:17px; left:0px; height:16px; color:#6c6c6c; padding:3px 5px 0px 28px; min-width:2px; line-height:11px; border:1px solid #b2b2b2; background-color:#aaa; background-image:url('images/buttons-popoutE.png'); background-repeat:no-repeat; background-position:-8px -65px; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; cursor:default; }
|
100 |
-
div.mp3j-popout-MI:hover { color:#606060; background-position:-8px -95px; }
|
101 |
-
|
102 |
-
/* BARS
|
103 |
-
----------------- */
|
104 |
-
.ui-state-disabled { cursor:default !important; }
|
105 |
-
.ui-slider { position:relative; text-align:left; }
|
106 |
-
.ui-slider .ui-slider-handle { position:absolute; z-index:200; cursor:default; }
|
107 |
-
.ui-slider .ui-slider-range { position:absolute; z-index:1; font-size:.7em; display:block; border:0; }
|
108 |
-
.ui-slider-horizontal .ui-slider-range { top:0; height:100%; }
|
109 |
-
.ui-slider-horizontal .ui-slider-range-min { left:0; }
|
110 |
-
.ui-slider-horizontal .ui-slider-range-max { right:0; }
|
111 |
-
.ui-state-default, .ui-widget-content .ui-state-default { outline:none; border:0px; }
|
112 |
-
|
113 |
-
/* VOLUME */
|
114 |
-
div.MIsliderVolume { position:absolute; top:0px; right:4px; width:108px; height:4px !important; background:transparent; border:0px; font-size:1px; cursor:default; z-index:150; }
|
115 |
-
div.MIsliderVolume .ui-widget-header { /* background set from admin */ }
|
116 |
-
div.MIsliderVolume .ui-slider-handle { border:0px; height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-3px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -1px 0px; z-index:150; overflow:hidden !important; cursor:default; }
|
117 |
-
div.MIsliderVolume .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
|
118 |
-
div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
|
119 |
-
|
120 |
-
/* LOADER AND POS SLIDER */
|
121 |
-
div.bars_holder, div.loadMI_mp3j, div.poscolMI_mp3j, div.posbarMI_mp3j { position:absolute; top:0px; left:0px; }
|
122 |
-
div.bars_holder { right:0; width:100%; bottom:38px; font-size:1px; cursor:default; background:transparent url('images/t60w.png') repeat-x left bottom;/* 1px highlight top of control bar */ }
|
123 |
-
div.loadMI_mp3j { bottom:1px; /* background set from admin */ /* opacity set from admin */ }
|
124 |
-
div.poscolMI_mp3j { bottom:1px; /* background set from admin */ /* opacity set from admin */ }
|
125 |
-
div.bars_holder .ui-widget-header, div.bars_holder .ui-widget-content { border:0px !important; background:none; }
|
126 |
-
div.bars_holder .ui-slider-horizontal { top:0px; bottom:1px; height:auto; z-index:90; }
|
127 |
-
div.posbarMI_mp3j { bottom:1px; width:100%; }
|
128 |
-
div.posbarMI_mp3j .ui-slider-handle { top:-6px; margin-left:-1px !important; border:0; bottom:-2px; width:2px !important; z-index:100; background:none; cursor:default ; padding:0px !important; }
|
129 |
-
div.posbarMI_mp3j .ui-slider-handle:hover { background:none; z-index:100; }
|
130 |
-
|
131 |
-
|
132 |
-
/* FORCED DOWNLOAD FRAME
|
133 |
-
------------------------ */
|
134 |
-
|
135 |
-
div.mp3j-dlframe, iframe.mp3j-dlframe {
|
136 |
-
border:0px solid #ddd;
|
137 |
-
width:1px;
|
138 |
-
height:1px;
|
139 |
-
overflow:hidden;
|
140 |
-
margin:0;
|
141 |
-
padding:0;
|
142 |
-
display:none !important;
|
143 |
-
}
|
144 |
-
|
145 |
-
/* MESSAGES */
|
146 |
-
div.mp3j-finfo {
|
147 |
-
position:absolute;
|
148 |
-
top:36px;
|
149 |
-
z-index:9999 !important;
|
150 |
-
width:80%;
|
151 |
-
left:10%;
|
152 |
-
-moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
|
153 |
-
background:url('images/fdloadW-x.png') repeat-x left top;
|
154 |
-
-webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
|
155 |
-
padding:0;
|
156 |
-
min-height:31px;
|
157 |
-
overflow:hidden;
|
158 |
-
min-width:170px;
|
159 |
-
}
|
160 |
-
|
161 |
-
div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
|
162 |
-
div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
|
163 |
-
div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/loader.gif') no-repeat center 37px; width:auto; padding:0px; height:100%; }
|
164 |
-
div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
|
165 |
-
div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
|
166 |
-
div.mp3j-finfo-close:hover { color:#888 !important; }
|
167 |
-
|
168 |
-
div.mp3j-finfo-txt h2 { font-size:15px !important; color:#333 !important; margin:0 0 10px 0 !important; }
|
169 |
-
div.mp3j-finfo-txt h3 { font-size:14px !important; color:#333 !important; margin:0 0 15px 0 !important; }
|
170 |
-
div.mp3j-finfo-txt p { font-size:11px !important; color:#555 !important; line-height:13px !important; margin:0 0 5px 0; }
|
171 |
-
div.mp3j-finfo-txt a { }
|
172 |
-
|
173 |
-
|
174 |
-
/* backwards compat
|
175 |
-
------------------- */
|
176 |
-
div.player-track-title.mp3j_widgetmods { font-size: 11px; top: 7px; left:5px; }
|
177 |
-
div.player-track-title.mp3j_widgetmods span { font-size: 9px; }
|
178 |
-
ul.UL-MI_mp3j.mp3j_widgetmods li { font-size:10px !important; line-height:14px !important; }
|
179 |
-
ul.UL-MI_mp3j.mp3j_widgetmods li a { font-size:10px !important; line-height:14px !important; }
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
.mp3j-nosolution
|
186 |
-
{
|
187 |
-
position:absolute;
|
188 |
-
z-index:9999;
|
189 |
-
height:auto;
|
190 |
-
padding:5%;
|
191 |
-
border:1px solid #c0c0c0;
|
192 |
-
background:#f0f0f0;
|
193 |
-
color:#333;
|
194 |
-
top:4px;
|
195 |
-
left:4px;
|
196 |
-
right:4px;
|
197 |
-
-webkit-border-top-left-radius: 8px;
|
198 |
-
-webkit-border-top-right-radius: 8px;
|
199 |
-
-moz-border-radius-topleft: 8px;
|
200 |
-
-moz-border-radius-topright: 8px;
|
201 |
-
border-top-left-radius: 8px;
|
202 |
-
border-top-right-radius: 8px;
|
203 |
-
font-size:13px;
|
204 |
-
-webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
|
205 |
-
}
|
206 |
-
|
207 |
-
.s-nosolution
|
208 |
-
{
|
209 |
-
}
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
/*-------------------------
|
216 |
-
[mp3j] & [mp3t] SHORTCODES
|
217 |
-
==================================== */
|
218 |
-
span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
|
219 |
-
/*span.wrap_inline_mp3j:hover .buttons_mp3j { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }*/
|
220 |
-
span.indi_mp3j { position:relative; padding-left:2px; font-size: 0.7em !important; }
|
221 |
-
|
222 |
-
/* BARS */
|
223 |
-
span.bars_mp3j { position:absolute; width:100%; height:100%; }
|
224 |
-
span.load_mp3j, span.loadB_mp3j { position:absolute; /* background set from admin */ top:20px; left:0px; height:2px; }
|
225 |
-
/* mp3t */
|
226 |
-
span.posbar_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
|
227 |
-
span.posbar_mp3j .ui-widget-header { z-index:-500; }
|
228 |
-
span.posbar_mp3j .ui-slider-handle { top: 2px; margin-left:-2px; border:1px solid #999; height:21px; width:4px; z-index:500; background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
229 |
-
span.posbar_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -0px 0px; border-color:#aaa; }
|
230 |
-
|
231 |
-
/* mp3j */
|
232 |
-
span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0; z-index:450; cursor:pointer; }
|
233 |
-
span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:450; height:100%; }
|
234 |
-
span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:-6px !important; border:0px solid #888; height:23px; width:12px !important; z-index: 500; background: transparent url('images/inlineHandle2.png') no-repeat -3px -3px; cursor: default; padding:0px !important; }
|
235 |
-
span.posbarB_mp3j .ui-slider-handle:hover { background: transparent url('images/inlineHandle2.png') no-repeat -3px -33px; }
|
236 |
-
|
237 |
-
/* SPAN TRANSPORT */
|
238 |
-
span.group_wrap { position:relative; margin:0px 0px 0px 0px; width:auto; }
|
239 |
-
span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; margin:0px; padding:0px !important; }
|
240 |
-
span.buttons_mp3j { position:relative; margin:0px; padding:2px 0px 3px 20px !important; background: transparent url('images/transport-shard-B.png') no-repeat -80px -3px; }
|
241 |
-
span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }
|
242 |
-
span.buttons_mp3jpause { position:relative; margin:0px; padding:2px 0px 3px 20px !important; background: transparent url('images/transport-shard-B.png') no-repeat -2px -3px; }
|
243 |
-
span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -35px; }
|
244 |
-
|
245 |
-
/* VOLUMES */
|
246 |
-
span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; }
|
247 |
-
span.vol_mp3j { position:absolute; top:-9px; right:6px; width:85%; max-width:100px; height:2px; }
|
248 |
-
span.vol_mp3j.flipped { right:4px; }
|
249 |
-
span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { background: transparent url('images/vol-grad60b2.png') repeat left top; z-index:500; height:100%; }
|
250 |
-
span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle { height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; border:0px !important; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; z-index:600; overflow:hidden !important; cursor:default; top:-6px; background: transparent url('images/vol-handle.png') no-repeat -1px 0px; }
|
251 |
-
span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background: transparent url('images/vol-handle.png') no-repeat -21px 0px; }
|
252 |
-
span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; border:0px; }
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
/*----------------------
|
257 |
-
[mp3j-popout] SHORTCODE
|
258 |
-
================================================= */
|
259 |
-
.mp3j-popout-link-wrap { cursor:pointer; position:relative; clear:left; }
|
260 |
-
.mp3j-popout-link { float:left; margin:0 5px 0 0; min-width:22px; min-height:18px; background:url('images/buttons-popout.png') no-repeat -10px -65px; }
|
261 |
-
.mp3j-popout-link-wrap:hover .mp3j-popout-link { background:url('images/buttons-popout.png') no-repeat -10px -95px; }
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
/*=================================================
|
266 |
-
|
267 |
-
MODS
|
268 |
-
(via 'style' param in shortcode)
|
269 |
-
================================================= */
|
270 |
-
|
271 |
-
/* ===== "dark" ===== */
|
272 |
-
.dark .innerx { background-position:left -119px; }
|
273 |
-
.dark .transport-MI { height:38px; }
|
274 |
-
.dark .transport-MI div { background-image:url("images/transport-darkbg-trans2.png"); }
|
275 |
-
.dark .bars_holder { background:url('images/t40b.png') repeat-x left bottom; }
|
276 |
-
.dark .mp3j-popout-MI { color:#a2a2a2; background-position:-8px -6px; border-color:#585858; background-color:#aaa; }
|
277 |
-
.dark .mp3j-popout-MI:hover { color:#aaa; background-position:-8px -36px; }
|
278 |
-
.dark div.playlist-toggle-MI { background:#505050; color:#a2a2a2; }
|
279 |
-
.dark div.playlist-toggle-MI:hover { background:#585858; color:#aaa; }
|
280 |
-
.dark .MI-image img { background-color:#777; }
|
281 |
-
|
282 |
-
.dark div.mp3j-finfo { background:url('images/fdloadB-x.png') repeat-x left top; }
|
283 |
-
.dark div.mp3j-finfo-gif { background:url('images/loader-w2.gif') no-repeat center 37px; }
|
284 |
-
.dark div.mp3j-finfo-close { color:#999 !important; border-bottom:1px solid #777 !important; border-left:1px solid #777 !important; background:url('images/t40b.png') repeat left top !important; }
|
285 |
-
.dark div.mp3j-finfo-close:hover { color:#eee !important; }
|
286 |
-
.dark div.mp3j-finfo-txt h2 { color:#fff !important; }
|
287 |
-
.dark div.mp3j-finfo-txt h3 { color:#fff !important; }
|
288 |
-
.dark div.mp3j-finfo-txt p { color:#fff !important; }
|
289 |
-
|
290 |
-
|
291 |
-
/* ===== "text" ===== */
|
292 |
-
div.wrap-MI.text { /*min-width:300px;*/ }
|
293 |
-
.text div.innerx, .text div.innerleft, .text div.innerright { position: absolute; visibility: hidden; }
|
294 |
-
.text div.innertab { bottom: 38px; }
|
295 |
-
.text div.jp-interface { background:none; }
|
296 |
-
.text div.player-track-title { font:normal normal 500 16px/18px 'trebuchet ms', Arial, sans-serif; }
|
297 |
-
.text div.player-track-title span { font:italic normal 500 12px/14px 'trebuchet ms', Arial, sans-serif; opacity:0.7; filter:alpha(opacity=70); }
|
298 |
-
.text div.jp-play-time, .text div.jp-total-time, .text div.statusMI { bottom:20px; font-size:11px; font-family: 'trebuchet ms', Arial, sans-serif; }
|
299 |
-
.text div.jp-play-time { width:37px; left:0px; opacity:0.6; filter:alpha(opacity=60); }
|
300 |
-
.text div.jp-total-time { width:37px; left:100px; display:none; }
|
301 |
-
.text div.statusMI { left:37px; width:70px !important; }
|
302 |
-
.text div.transport-MI { height:26px; right:2px; bottom:12px; }
|
303 |
-
.text div.transport-MI div { font-family: 'trebuchet ms', Arial, sans-serif; font-weight:700; overflow:hidden !important; background:none !important; white-space:nowrap !important; }
|
304 |
-
.text div.buttons_mp3j { text-indent:4px !important; width:32px; overflow:hidden !important; height: 25px; margin:0 6px 0 0px; background:none !important; line-height:25px !important; font-size:14px; }
|
305 |
-
.text div.buttons_mp3jpause { text-indent:-29px !important; width:38px; overflow:hidden !important; height: 25px; margin:0 -3px 0 3px; background:none !important; line-height:25px !important; font-size:14px; }
|
306 |
-
.text div.Prev_mp3j, .text div.Next_mp3j { text-indent:0px !important; height:23px; line-height:23px !important; font-size:12px; width:36px; margin:2px 0px 0px 0px; }
|
307 |
-
.text div.stop_mp3j { text-indent:0px !important; width:31px; height:25px; margin:0px 0px 0px 4px; line-height:25px !important; font-size:14px; }
|
308 |
-
.text div.playlist-toggle-MI { bottom: 7px; font-family:'trebuchet ms', Arial, sans-serif; background:none; padding:0; opacity:0.6; filter:alpha(opacity=60); }
|
309 |
-
.text div.playlist-toggle-MI:hover { opacity:1.0; filter:alpha(opacity=100); }
|
310 |
-
.text div.dloadmp3-MI { font-size:11px; bottom: 6px; height:auto; right:0px !important; left:auto; margin:0; font-family: 'trebuchet ms', Arial, sans-serif; text-align:right; background:none !important; }
|
311 |
-
.text div.dloadmp3-MI a { color:#888; font-size:inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
|
312 |
-
.text div.dloadmp3-MI a:hover { color:#555; background:none !important; }
|
313 |
-
.text div.dloadmp3-MI.betweenlinks a { display:none; background:none !important; }
|
314 |
-
.text div.dloadmp3-MI.whilelinks a { display:block; background:none !important; }
|
315 |
-
.text div.dloadmp3-MI.whilelinks a:hover { text-decoration:none; background:none !important; }
|
316 |
-
.text div.dloadmp3-MI p { font-size: inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
|
317 |
-
.text div.mp3j-popout-MI { color:#888; font:normal normal 500 11px 'trebuchet ms', 'arial', sans-serif; bottom:15px; right:155px; left:auto; width:auto; opacity:1; filter:alpha(opacity=100); padding:0px; line-height:12px; border:0; background:none; cursor:default; z-index:500; }
|
318 |
-
.text div.mp3j-popout-MI:hover { color:#555; opacity:1.0; filter:alpha(opacity=100); }
|
319 |
-
.text div.MIsliderVolume { position:absolute; bottom:38px; top:auto; right:4px; width:108px !important; height:1px !important; background:transparent; border:0px; font-size:1px; cursor:default; z-index:150; }
|
320 |
-
.text div.MIsliderVolume .ui-slider-handle, .text div.vol_mp3j .ui-slider-handle { height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-7px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -41px 0px; z-index:150; overflow:hidden !important; cursor:default; }
|
321 |
-
.text div.MIsliderVolume .ui-slider-handle:hover, .text div.vol_mp3j .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
|
322 |
-
.text div.MIsliderVolume .ui-state-active, .text div.MIsliderVolume .ui-widget-content .ui-state-active, .text div.vol_mp3j .ui-state-active, .text div.vol_mp3j .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
|
323 |
-
.text div.dloadmp3-MI.whilelinks, .text div.dloadmp3-MI.logintext { background:none !important; }
|
324 |
-
|
325 |
-
|
326 |
-
/* ===== "noscreen" ===== */
|
327 |
-
.noscreen div.jp-interface { height:44px; min-height:44px; }
|
328 |
-
.noscreen div.player-track-title { display:none; }
|
329 |
-
.noscreen div.bars_holder { top:auto; bottom:0px; height:7px; }
|
330 |
-
.noscreen div.innertab { bottom: 0px; top:0; display:none; }
|
331 |
-
.noscreen div.dloadmp3-MI { bottom: 11px; }
|
332 |
-
.noscreen div.transport-MI { bottom:17px; }
|
333 |
-
.noscreen div.jp-play-time, .noscreen div.jp-total-time, .noscreen div.statusMI { bottom:25px; }
|
334 |
-
.noscreen div.playlist-toggle-MI { bottom: 12px; }
|
335 |
-
.noscreen div.mp3j-popout-MI { bottom: 20px; }
|
336 |
-
.noscreen div.MIsliderVolume { bottom: 43px; }
|
337 |
-
.noscreen div.MIsliderVolume .ui-widget-header { background:transparent url('images/vol-grad60b2.png') repeat-y 0px top; }
|
338 |
-
.noscreen div.MIsliderVolume .ui-slider-handle { top:-6px; }
|
339 |
-
.noscreen h2 { margin:0 !important; padding:0 0 0px 0 !important; }
|
340 |
-
.noscreen div.posbarMI_mp3j .ui-slider-handle { top:-5px; margin-left:-7px !important; border:0; bottom:-5px; width:14px !important; z-index:100; background:none; border:none; cursor:default ; padding:0px !important; }
|
341 |
-
.noscreen div.posbarMI_mp3j .ui-slider-handle:hover { background:none; border:none; }
|
342 |
-
.noscreen .MI-image { top:15px; }
|
343 |
-
|
344 |
-
|
345 |
-
/* ===== "nolistbutton" ===== */
|
346 |
-
.nolistbutton div.playlist-toggle-MI { visibility:hidden; }
|
347 |
-
|
348 |
-
/* ===== "nopopoutbutton" ===== */
|
349 |
-
.nopopoutbutton div.mp3j-popout-MI { display:none; }
|
350 |
-
|
351 |
-
/* ===== "nopn" ===== */
|
352 |
-
.nopn div.Prev_mp3j { display:none; }
|
353 |
-
.nopn div.Next_mp3j { display:none; }
|
354 |
-
|
355 |
-
/* ===== "nostop" ===== */
|
356 |
-
.nostop div.stop_mp3j { display:none; }
|
357 |
-
|
358 |
-
|
359 |
-
/* ===== "bars100" ===== */
|
360 |
-
.bars100 div.player-track-title { left:112px; }
|
361 |
-
.bars100 div.dloadmp3-MI { left:102px; width:36%;}
|
362 |
-
.bars100 div.bars_holder { left:102px; width:auto; }
|
363 |
-
.bars100 .MI-image img { padding:1px; }
|
364 |
-
.bars100 div.player-track-title { top:20px; }
|
365 |
-
|
366 |
-
/* ===== "bars150" ===== */
|
367 |
-
.bars150 div.player-track-title { left:162px; }
|
368 |
-
.bars150 div.dloadmp3-MI { left:152px; width:33%;}
|
369 |
-
.bars150 div.bars_holder { left:152px; width:auto; }
|
370 |
-
.bars150 .MI-image img { padding:1px; }
|
371 |
-
.bars150 div.player-track-title { top:20px; }
|
372 |
-
|
373 |
-
/* ===== "bars200" ===== */
|
374 |
-
.bars200 div.player-track-title { left:212px; }
|
375 |
-
.bars200 div.dloadmp3-MI { left:202px; width:30%; }
|
376 |
-
.bars200 div.bars_holder { left:202px; width:auto; }
|
377 |
-
.bars200 .MI-image img { padding:1px; }
|
378 |
-
.bars200 div.player-track-title { top:20px; }
|
379 |
-
|
380 |
-
/* ===== "bars250" ===== */
|
381 |
-
.bars250 div.player-track-title { left:262px; }
|
382 |
-
.bars250 div.dloadmp3-MI { left:252px; width:27%;}
|
383 |
-
.bars250 div.bars_holder { left:252px; width:auto; }
|
384 |
-
.bars250 .MI-image img { padding:1px; }
|
385 |
-
.bars250 div.player-track-title { top:20px; }
|
386 |
-
|
387 |
-
/* ===== "bars300" ===== */
|
388 |
-
.bars300 div.player-track-title { left:312px; }
|
389 |
-
.bars300 div.dloadmp3-MI { left:302px; width:24%; }
|
390 |
-
.bars300 div.bars_holder { left:302px; width:auto; }
|
391 |
-
.bars300 .MI-image img { padding:1px; }
|
392 |
-
.bars300 div.player-track-title { top:20px; }
|
393 |
-
|
394 |
-
/* ===== "bars350" ===== */
|
395 |
-
.bars350 div.player-track-title { left:362px; }
|
396 |
-
.bars350 div.dloadmp3-MI { left:352px; width:21%;}
|
397 |
-
.bars350 div.bars_holder { left:352px; width:auto; }
|
398 |
-
.bars350 .MI-image img { padding:1px; }
|
399 |
-
.bars350 div.player-track-title { top:20px; }
|
400 |
-
|
401 |
-
/* ===== "bars400" ===== */
|
402 |
-
.bars400 div.player-track-title { left:412px; }
|
403 |
-
.bars400 div.dloadmp3-MI { left:402px; width:18%; }
|
404 |
-
.bars400 div.bars_holder { left:402px; width:auto; }
|
405 |
-
.bars400 .MI-image img { padding:1px; }
|
406 |
-
.bars400 div.player-track-title { top:20px; }
|
407 |
-
|
408 |
-
/* ===== bigger1 ===== */
|
409 |
-
.bigger1 { font-size:18px; line-height:26px !important; margin:0 !important; }
|
410 |
-
.bigger1 span.load_mp3j,
|
411 |
-
.bigger1 span.loadB_mp3j { top:24px; left:0px; height:2px; }
|
412 |
-
.bigger1 span.posbar_mp3j .ui-slider-handle { top: 3px; height:24px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
413 |
-
.bigger1 span.posbarB_mp3j .ui-slider-handle { top: 3px; margin-left:-3px !important; border:1px solid #999; height:24px; width:6px !important; z-index:500; background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
414 |
-
.bigger1 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; border-color:#aaa; }
|
415 |
-
.bigger1 span.buttons_mp3j { position:relative; margin:0px; margin-left:5px !important; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px 0px; }
|
416 |
-
.bigger1 span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -32px; }
|
417 |
-
.bigger1 span.buttons_mp3jpause { position:relative; margin:0px; margin-left:5px !important; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px 0px; }
|
418 |
-
.bigger1 span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -32px; }
|
419 |
-
.bigger1 span.vol_mp3j { position:absolute; top:-6px; right:7px; width:85%; max-width:100px; height:2px; }
|
420 |
-
|
421 |
-
.bigger1 div.player-track-title { font:normal normal 500 18px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
422 |
-
.bigger1 div.player-track-title span { font:normal normal 500 14px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
423 |
-
.bigger1 ul.UL-MI_mp3j li a, .bigger1 ul.UL-MI_mp3j li { font-size:16px !important; line-height:19px !important; }
|
424 |
-
.bigger1 .indi_mp3j { font-size: 0.6em !important; }
|
425 |
-
|
426 |
-
/* ===== "bigger2" ===== */
|
427 |
-
.bigger2 div.player-track-title { font:normal normal 500 36px/38px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
428 |
-
.bigger2 div.player-track-title span { font:normal normal 500 20px/22px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
429 |
-
.bigger2 ul.UL-MI_mp3j li a, .bigger2 ul.UL-MI_mp3j li { font-size:20px !important; line-height:24px !important; }
|
430 |
-
.bigger2 { font-size:23px; line-height:25px !important; margin:0 !important; }
|
431 |
-
.bigger2 span.load_mp3j,
|
432 |
-
.bigger2 span.loadB_mp3j { top:26px; left:0px; height:2px; }
|
433 |
-
.bigger2 span.posbar_mp3j .ui-slider-handle { top: 0px; height:28px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
434 |
-
.bigger2 span.posbarB_mp3j .ui-slider-handle { top: -1px; margin-left:-3px !important; border:1px solid #999; height:29px; width:8px !important; z-index:500; border-color:#aaa; background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
435 |
-
.bigger2 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; border-color:#999; }
|
436 |
-
.bigger2 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 20px !important; background:url('images/play-dark2-b.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px; }
|
437 |
-
.bigger2 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -437px center; }
|
438 |
-
.bigger2 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:0px 0px 2px 20px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
439 |
-
.bigger2 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
|
440 |
-
.bigger2 span.vol_mp3j { position:absolute; top:-12px; right:4px; width:85%; max-width:100px; height:2px; }
|
441 |
-
.bigger2 span.vol_mp3t { position:absolute; top:-10px; width:85%; max-width:100px; height:2px; }
|
442 |
-
.bigger2 .Smp3-finding,
|
443 |
-
.bigger2 .mp3-tint,
|
444 |
-
.bigger2 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 10px !important; font-size:12px !important; line-height:12px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
|
445 |
-
.bigger2 .mp3-gtint { margin:0 6px 0 -16px; }
|
446 |
-
.bigger2 .indi_mp3j { font-size: 0.5em !important; padding-left:0px; }
|
447 |
-
|
448 |
-
.bigger2.wh .buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 20px !important; background:url('images/play-dark2-w.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px; }
|
449 |
-
.bigger2.wh .buttons_mp3j:hover { background:url('images/play-dark2-w.png') no-repeat -437px center; }
|
450 |
-
.bigger2.wh .buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:0px 0px 2px 20px !important; background:url('images/stop-dark2-w.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
451 |
-
.bigger2.wh .buttons_mp3jpause:hover { background:url('images/stop-dark2-w.png') repeat-y -350px top; }
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
/* ===== bigger3 ===== */
|
456 |
-
.bigger3 { font-size:28px; line-height:36px !important; margin:0 !important; }
|
457 |
-
.bigger3 .load_mp3j, .bigger3 .loadB_mp3j { top:37px; left:0px; height:3px; }
|
458 |
-
.bigger3 .posbar_mp3j .ui-slider-handle, .bigger3 .posbarB_mp3j .ui-slider-handle { top: 0px; border:1px solid #bbb; height:40px; width:12px !important; margin-left:-5px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
459 |
-
.bigger3 .posbar_mp3j .ui-slider-handle:hover, .bigger3 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
|
460 |
-
.bigger3 .indi_mp3j { font-size: 0.5em !important; }
|
461 |
-
.bigger3 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 12px 30px !important; background:url('images/play-dark2.png') no-repeat -177px center; border:0px solid #bbb; margin-left:12px; }
|
462 |
-
.bigger3 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -428px center; }
|
463 |
-
.bigger3 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 6px 30px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:12px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
464 |
-
.bigger3 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
|
465 |
-
.bigger3 .vol_mp3j { height:1px; max-width:110px; right:64px; top:-8px; }
|
466 |
-
.bigger3 .vol_mp3t { height:1px; max-width:110px; right:16px; top:-5px; }
|
467 |
-
.bigger3 .vol_mp3j .ui-slider-handle, .bigger3 .vol_mp3t .ui-slider-handle { height:14px !important; width:33px !important; margin-left:-16px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-14px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
|
468 |
-
.bigger3 .vol_mp3j .ui-slider-handle:hover, .bigger3 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
|
469 |
-
.bigger3 .Smp3-finding,
|
470 |
-
.bigger3 .mp3-tint,
|
471 |
-
.bigger3 .mp3-gtint { margin-left:8px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
|
472 |
-
.bigger3 .mp3-gtint { margin:0 2px 0 -14px; }
|
473 |
-
.bigger3 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
474 |
-
.bigger3 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
475 |
-
.bigger3 ul.UL-MI_mp3j li a, .bigger3 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
|
476 |
-
|
477 |
-
.bigger3.bl span.buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -177px center; }
|
478 |
-
.bigger3.bl span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -428px center; }
|
479 |
-
.bigger3.bl span.buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
|
480 |
-
.bigger3.bl span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
|
481 |
-
.bigger3.bl span.vol_mp3j .ui-slider-handle, .bigger3.bl span.vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
|
482 |
-
.bigger3.bl span.vol_mp3j .ui-slider-handle:hover, .bigger3.bl span.vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
/* ===== bigger4 ===== */
|
487 |
-
.bigger4 { font-size:38px; line-height:46px !important; margin:0 !important; }
|
488 |
-
.bigger4 .load_mp3j, .bigger4 .loadB_mp3j { top:46px; left:0px; height:3px; }
|
489 |
-
.bigger4 .posbar_mp3j .ui-slider-handle, .bigger4 .posbarB_mp3j .ui-slider-handle { top: -2px; border:1px solid #bbb; height:52px; width:16px !important; margin-left:-8px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
490 |
-
.bigger4 .posbar_mp3j .ui-slider-handle:hover, .bigger4 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
|
491 |
-
.bigger4 .indi_mp3j { font-size: 0.5em !important; }
|
492 |
-
.bigger4 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 12px 40px !important; background:url('images/play-dark2.png') no-repeat -167px center; border:0px solid #bbb; margin-left:15px; }
|
493 |
-
.bigger4 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -418px center; }
|
494 |
-
.bigger4 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 40px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
495 |
-
.bigger4 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
|
496 |
-
.bigger4 .vol_mp3j { height:1px; max-width:110px; right:86px; top:-8px; }
|
497 |
-
.bigger4 .vol_mp3t { height:1px; max-width:110px; right:20px; top:-5px; }
|
498 |
-
.bigger4 .vol_mp3j .ui-slider-handle, .bigger4 .vol_mp3t .ui-slider-handle { height:20px !important; width:43px !important; margin-left:-21px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-20px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
|
499 |
-
.bigger4 .vol_mp3j .ui-slider-handle:hover, .bigger4 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
|
500 |
-
.bigger4 .Smp3-finding,
|
501 |
-
.bigger4 .mp3-tint,
|
502 |
-
.bigger4 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
|
503 |
-
.bigger4 .mp3-gtint { margin:0 6px 0 -20px; }
|
504 |
-
|
505 |
-
.bigger4 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
506 |
-
.bigger4 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
507 |
-
.bigger4 ul.UL-MI_mp3j li a, .bigger4 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
|
508 |
-
|
509 |
-
.bigger4.bl .posbar_mp3j .ui-slider-handle, .bigger4.bl .posbarB_mp3j .ui-slider-handle { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
|
510 |
-
.bigger4.bl .posbar_mp3j .ui-slider-handle:hover, .bigger4.bl .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
|
511 |
-
.bigger4.bl .buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -167px center; }
|
512 |
-
.bigger4.bl .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -418px center; }
|
513 |
-
.bigger4.bl .buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
|
514 |
-
.bigger4.bl .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
|
515 |
-
.bigger4.bl .vol_mp3j .ui-slider-handle, .bigger4.bl .vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
|
516 |
-
.bigger4.bl .vol_mp3j .ui-slider-handle:hover, .bigger4.bl .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
/* ===== bigger5 ===== */
|
521 |
-
.bigger5 { font-size:48px; line-height:60px !important; margin:0 !important; }
|
522 |
-
.bigger5 .load_mp3j, .bigger5 .loadB_mp3j { top:63px; left:0px; height:4px; }
|
523 |
-
.bigger5 .posbar_mp3j .ui-slider-handle, .bigger5 .posbarB_mp3j .ui-slider-handle { top: -1px; border:1px solid #bbb; height:69px; width:20px !important; margin-left:-10px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
524 |
-
.bigger5 .posbar_mp3j .ui-slider-handle:hover, .bigger5 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
|
525 |
-
.bigger5 .indi_mp3j { font-size: 0.5em !important; }
|
526 |
-
.bigger5 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 13px 52px !important; background:url('images/play-dark2.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
|
527 |
-
.bigger5 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -405px center; }
|
528 |
-
.bigger5 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:3px 0px 8px 52px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
529 |
-
.bigger5 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
|
530 |
-
.bigger5 .vol_mp3j { height:1px; max-width:170px; right:115px; top:-10px; }
|
531 |
-
.bigger5 .vol_mp3t { height:1px; max-width:170px; right:33px; top:-5px; }
|
532 |
-
.bigger5 .vol_mp3j .ui-slider-handle, .bigger5 .vol_mp3t .ui-slider-handle { height:30px !important; width:55px !important; margin-left:-21px; border-bottom:1px solid #aaa !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-30px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
|
533 |
-
.bigger5 .vol_mp3j .ui-slider-handle:hover, .bigger5 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
|
534 |
-
.bigger5 .Smp3-finding,
|
535 |
-
.bigger5 .mp3-tint,
|
536 |
-
.bigger5 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
|
537 |
-
.bigger5 .mp3-gtint { margin:0 6px 0 -20px; }
|
538 |
-
|
539 |
-
.bigger5.bl .posbar_mp3j .ui-slider-handle, .bigger5.bl .posbarB_mp3j .ui-slider-handle { background:url('images/stop-dark2-b.png') repeat-y -350px top; border:1px solid #888; }
|
540 |
-
.bigger5.bl .posbar_mp3j .ui-slider-handle:hover, .bigger5.bl .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; border:1px solid #777; }
|
541 |
-
.bigger5.bl .buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
|
542 |
-
.bigger5.bl .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -405px center; }
|
543 |
-
.bigger5.bl .buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
|
544 |
-
.bigger5.bl .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
|
545 |
-
.bigger5.bl .vol_mp3j .ui-slider-handle, .bigger5.bl .vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
|
546 |
-
.bigger5.bl .vol_mp3j .ui-slider-handle:hover, .bigger5.bl .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
|
547 |
-
|
548 |
-
|
549 |
-
/* ===== smaller ===== */
|
550 |
-
.smaller div.player-track-title { font:normal normal 500 11px/13px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; left:5px; right:5px; }
|
551 |
-
.smaller div.player-track-title span { font:normal normal 500 10px/10px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; padding:0; }
|
552 |
-
.smaller ul.UL-MI_mp3j li a, .smaller ul.UL-MI_mp3j li { font-size:10px !important; font-family:'verdana', Helvetica, sans-serif !important; line-height:13px !important; }
|
553 |
-
|
554 |
-
|
555 |
-
/* ===== outline ==== */
|
556 |
-
span.outline { font-size:14px; line-height:22px !important; margin:0 !important; }
|
557 |
-
.outline span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; background: transparent; }
|
558 |
-
.outline span.vol_mp3j { position:absolute; top:-9px; right:7px; width:85%; max-width:100px; height:2px; background: transparent; }
|
559 |
-
.outline span.buttons_mp3j { padding:2px 0px 5px 20px !important; background: transparent url('images/transport-outline.png') no-repeat -80px -1px; border:0; margin:0; }
|
560 |
-
.outline span.buttons_mp3j:hover { background:transparent url('images/transport-outline.png') no-repeat -80px -33px; }
|
561 |
-
.outline span.buttons_mp3jpause { padding:2px 0px 5px 20px !important; background: transparent url('images/transport-outline.png') no-repeat 1px -1px; border:0; margin:0; }
|
562 |
-
.outline span.buttons_mp3jpause:hover { background:transparent url('images/transport-outline.png') no-repeat 1px -33px; }
|
563 |
-
.outline span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
|
564 |
-
.outline span.posbarB_mp3j .ui-widget-header { z-index:-500; }
|
565 |
-
.outline span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:0px; border:1px solid #aaa; height:23px; width:5px !important; z-index:500; background:url('images/t10b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
566 |
-
.outline span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t20b.png') repeat; border-color:#777; }
|
567 |
-
.outline div.transport-MI div { background-image: url("images/transport-hardZ.png"); }
|
568 |
-
.outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
|
569 |
-
|
570 |
-
.dark.outline div.transport-MI div { background-image: url("images/transport-hardK.png"); }
|
571 |
-
.dark.outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
|
572 |
-
|
573 |
-
|
574 |
-
/* ===== wtransbars ==== */
|
575 |
-
.wtransbars div.loadMI_mp3j { background:#fff; opacity:0.1; filter:alpha(opacity=10); }
|
576 |
-
.wtransbars div.poscolMI_mp3j { background:#fff url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
|
577 |
-
.wtransbars div.player-track-title { color:#fff; }
|
578 |
-
|
579 |
-
/* ===== btransbars ==== */
|
580 |
-
.btransbars div.loadMI_mp3j { background:#000; opacity:0.1; filter:alpha(opacity=10); }
|
581 |
-
.btransbars div.poscolMI_mp3j { background:#000 url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
|
582 |
-
.btransbars div.player-track-title { color:#000; }
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
css/players-1-8-text.css
DELETED
@@ -1,519 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
MP3-jPlayer 1.8.1 - Text
|
3 |
-
www.sjward.org */
|
4 |
-
|
5 |
-
/*---------------------
|
6 |
-
[mp3-jplayer] SHORTCODE
|
7 |
-
==================================== */
|
8 |
-
|
9 |
-
/* SKIN
|
10 |
-
--------------- */
|
11 |
-
/* MAIN WRAPPER (default class) */
|
12 |
-
div.wrap-MI { border:0; margin:0; background:none; min-width:116px; /* position||float set in-line! */ /* width set in-line! */ }
|
13 |
-
|
14 |
-
/* SUB WRAPPERS */
|
15 |
-
div.jp-innerwrap, div.jp-interface, div.listwrap_mp3j, div.playlist-wrap-MI { position:relative !important; width:100%; border:0; margin:0; padding:0; }
|
16 |
-
div.jp-innerwrap { background:none; }
|
17 |
-
div.jp-interface { background:url('images/shadow-x.png') repeat-x left bottom; height:101px/*player default height*/; min-height:67px; cursor:default; }
|
18 |
-
div.listwrap_mp3j { margin-top:0px; /* background set from admin */ }
|
19 |
-
|
20 |
-
/* BACKGROUNDS */
|
21 |
-
div.innerx, div.innerleft, div.innerright, div.innertab { position:absolute; }
|
22 |
-
div.innerx { background:url('images/case-grad-x.png') repeat-x left -45px; width:auto; height:35px; left:0px; right:0px; bottom:3px; }
|
23 |
-
div.innerleft { background:url('images/shadow-l.png') no-repeat left bottom; width:1px; height:40px; left:-1px; bottom:0px; }
|
24 |
-
div.innerright { background:url('images/shadow-r.png') no-repeat right bottom; width:2px; height:40px; right:-2px; bottom:0px; }
|
25 |
-
div.innertab { /* background and opacity set from admin */ left:0px; top:0px; width:100%; bottom:38px; }
|
26 |
-
|
27 |
-
/* PLAYLIST
|
28 |
-
----------------- */
|
29 |
-
div.playlist-colour { position:absolute; width:100%; height:100%; left:0px; top:0px; /* background set from admin */ /* opacity set from admin */ }
|
30 |
-
div.playlist-wrap-MI ul { position:static; }
|
31 |
-
ul.UL-MI_mp3j { margin:0px !important; padding:0px 0px 0px 0px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; font-weight: 500 !important; /* background */ }
|
32 |
-
ul.UL-MI_mp3j li { margin:0px !important; padding:0px 0px 1px 0px !important; list-style-type:none !important; font-weight:500 !important; line-height:15px !important; letter-spacing:0px !important; font-size:11px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; }
|
33 |
-
ul.UL-MI_mp3j li:before { content:none !important; }
|
34 |
-
ul.UL-MI_mp3j li a { font-size:11px !important; border:0 !important; line-height:15px !important; font-weight:500 !important; text-decoration:none !important; display:block !important; width:auto !important; font-family:'verdana', 'Lucida Grande', 'arial', sans-serif !important; outline:none !important; padding:6px 0px 6px 14px !important; }
|
35 |
-
|
36 |
-
/* SCREEN
|
37 |
-
----------------- */
|
38 |
-
div.player-track-title, div.jp-play-time, div.jp-total-time, div.statusMI { position:absolute; z-index:50; /* color set from admin */ font:normal normal 500 14px/16px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
39 |
-
|
40 |
-
div.player-track-title { top:7px; left:9px; width:auto; right:10px; }
|
41 |
-
div.player-track-title span { font-size:10px; line-height:12px; padding-left:10px; max-width:95%; }
|
42 |
-
|
43 |
-
div.jp-play-time, div.jp-total-time, div.statusMI { font-size:8px; line-height:10px !important; bottom:42px; text-align:left; font-family:Verdana, Arial, Helvetica, sans-serif; }
|
44 |
-
div.jp-play-time { right:84px; }
|
45 |
-
div.jp-total-time { right:6px; opacity:0.8; width:auto; }
|
46 |
-
|
47 |
-
span.mp3-finding, span.Smp3-finding, span.mp3-tint, span.mp3-gtint { padding:0px 0px 0px 6px !important; font-size:8px !important; line-height:10px !important; height:10px !important; overflow:hidden !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
48 |
-
span.mp3-finding, span.Smp3-finding { margin:0px 0px 0px -2px; background:url('images/finding-bar1f.gif') repeat 0px 3px; }
|
49 |
-
span.mp3-tint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); /* background */ }
|
50 |
-
span.mp3-gtint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); background:#777; }
|
51 |
-
span.Smp3-finding { margin:0px 0px 0px 3px; }
|
52 |
-
span.tintmarg { margin:0 2px 0 3px; }
|
53 |
-
|
54 |
-
div.statusMI { right:27px; width:52px !important; height:10px; }
|
55 |
-
.statusMI span.mp3-finding, .statusMI span.Smp3-finding, .statusMI span.mp3-tint, .statusMI span.mp3-gtint { padding:0px 0px 0px 6px !important; }
|
56 |
-
.statusMI span.mp3-tint, .statusMI span.mp3-gtint { margin:0px 2px 0px -6px; }
|
57 |
-
|
58 |
-
.MI-image { position:absolute; top:0; left:0; padding:0; }
|
59 |
-
.MI-image a img { border:none; padding:1px; background-color:#ccc; }
|
60 |
-
.MI-image a:hover img { /* background-colour */ }
|
61 |
-
|
62 |
-
/* BUTTONS
|
63 |
-
----------------- */
|
64 |
-
/* TRANSPORT BUTTONS */
|
65 |
-
div.transport-MI { position:absolute; width:auto; height:37px; right:2px; bottom:0px; border:0; }
|
66 |
-
div.transport-MI div { float:right; }
|
67 |
-
/* play */
|
68 |
-
div.buttons_mp3j { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-110px 0px; }
|
69 |
-
div.buttons_mp3j:hover { background-position:-110px -32px; }
|
70 |
-
/* pause */
|
71 |
-
div.buttons_mp3jpause { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-2px 0px; }
|
72 |
-
div.buttons_mp3jpause:hover { background-position:-2px -32px; }
|
73 |
-
/* prev n next */
|
74 |
-
div.Prev_mp3j { width:22px; height:28px; margin:1px 4px 0px 0px; background-position:-32px -1px; }
|
75 |
-
div.Prev_mp3j:hover { background-position:-32px -33px; }
|
76 |
-
div.Next_mp3j { width:19px; height:28px; margin:1px 3px 0px 0px; background-position:-57px -1px; }
|
77 |
-
div.Next_mp3j:hover { background-position:-57px -33px; }
|
78 |
-
/* stop */
|
79 |
-
div.stop_mp3j { width:26px; height:32px; margin:1px 3px 0px 0px; background-position:-81px 0px; }
|
80 |
-
div.stop_mp3j:hover { background-position:-81px -32px; }
|
81 |
-
|
82 |
-
/* PLAYLIST TOGGLE */
|
83 |
-
div.playlist-toggle-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:4px; left:1px; color:#707070; padding:2px 6px 2px 5px; line-height:9px; min-width:24px; background:#bcbcbc; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; cursor:default; }
|
84 |
-
div.playlist-toggle-MI:hover { background:#c6c6c6; color:#777; }
|
85 |
-
|
86 |
-
/* DOWNLOAD BUTTON */
|
87 |
-
div.dloadmp3-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; bottom:39px; margin:0px !important; font-size:9px !important; text-align:center; left:0px; width:41%; min-width:75px; max-width:425px; padding:0px 0px 0px 0px !important; border:0px; background:transparent url('images/t10b.png') repeat left top !important; color:#fff; line-height:11px !important; -moz-border-radius-topright:3px; -webkit-border-top-right-radius:3px; overflow:hidden; z-index:150; cursor:default; }
|
88 |
-
div.dloadmp3-MI.whilelinks, div.dloadmp3-MI.logintext { }
|
89 |
-
div.dloadmp3-MI.whilelinks:hover { }
|
90 |
-
div.dloadmp3-MI a { display:block; width:auto; padding:1px 5px 2px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; height:100%; border-bottom:none; visibility:hidden; }
|
91 |
-
div.dloadmp3-MI a:hover { outline: none; border-bottom: none; color: #ececec; }
|
92 |
-
div.dloadmp3-MI.whilelinks a { visibility: inherit; }
|
93 |
-
div.dloadmp3-MI.whilelinks a:hover { }
|
94 |
-
div.dloadmp3-MI p { display:block; width:auto; padding:1px 5px 2px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; /* after font declaration */ height:100%; border-bottom:none; visibility:visible; }
|
95 |
-
|
96 |
-
/* POPOUT BUTTON */
|
97 |
-
div.mp3j-popout-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:17px; left:0px; height:16px; padding:3px 5px 0px 28px; min-width:2px; cursor:default; }
|
98 |
-
div.mp3j-popout-MI:hover { background-position:-8px -95px; }
|
99 |
-
|
100 |
-
/* BARS
|
101 |
-
----------------- */
|
102 |
-
.ui-state-disabled { cursor:default !important; }
|
103 |
-
.ui-slider { position:relative; text-align:left; }
|
104 |
-
.ui-slider .ui-slider-handle { position:absolute; z-index:200; cursor:default; }
|
105 |
-
.ui-slider .ui-slider-range { position:absolute; z-index:1; font-size:.7em; display:block; border:0; }
|
106 |
-
.ui-slider-horizontal .ui-slider-range { top:0; height:100%; }
|
107 |
-
.ui-slider-horizontal .ui-slider-range-min { left:0; }
|
108 |
-
.ui-slider-horizontal .ui-slider-range-max { right:0; }
|
109 |
-
.ui-state-default, .ui-widget-content .ui-state-default { outline:none; border:0px; }
|
110 |
-
|
111 |
-
/* VOLUME */
|
112 |
-
div.MIsliderVolume { position:absolute; top:0px; right:4px; width:108px; height:4px !important; background:transparent; border:0px; font-size:1px; cursor:default; z-index:150; }
|
113 |
-
div.MIsliderVolume .ui-widget-header { /* background */ }
|
114 |
-
div.MIsliderVolume .ui-slider-handle { border:0px; height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-3px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -1px 0px; z-index:150; overflow:hidden !important; cursor:default; }
|
115 |
-
div.MIsliderVolume .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
|
116 |
-
div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
|
117 |
-
|
118 |
-
/* LOADER AND POS SLIDER */
|
119 |
-
div.bars_holder, div.loadMI_mp3j, div.poscolMI_mp3j, div.posbarMI_mp3j { position:absolute; top:0px; left:0px; }
|
120 |
-
div.bars_holder { right:0; width:100%; bottom:38px; font-size:1px; cursor:default; background:transparent url('images/t60w.png') repeat-x left bottom;/* 1px highlight top of control bar */ }
|
121 |
-
div.loadMI_mp3j { bottom:1px; /* background */ /* opacity */ }
|
122 |
-
div.poscolMI_mp3j { bottom:1px; /* background */ /* opacity */ }
|
123 |
-
div.bars_holder .ui-widget-header, div.bars_holder .ui-widget-content { border:0px !important; background:none; }
|
124 |
-
div.bars_holder .ui-slider-horizontal { top:0px; bottom:1px; height:auto; z-index:90; }
|
125 |
-
div.posbarMI_mp3j { bottom:1px; width:100%; }
|
126 |
-
div.posbarMI_mp3j .ui-slider-handle { top:-6px; margin-left:-1px !important; border:0; bottom:-2px; width:2px !important; z-index:100; background:none; cursor:default ; padding:0px !important; }
|
127 |
-
div.posbarMI_mp3j .ui-slider-handle:hover { background:none; z-index:100; }
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
/* text mods as default */
|
134 |
-
div.innerx, div.innerleft, div.innerright { position: absolute; visibility: hidden; }
|
135 |
-
div.innertab { bottom: 38px; }
|
136 |
-
div.jp-interface { background:none; }
|
137 |
-
div.player-track-title { font:normal normal 500 16px/18px 'trebuchet ms', Arial, sans-serif; }
|
138 |
-
div.player-track-title span { font:italic normal 500 12px/14px 'trebuchet ms', Arial, sans-serif; opacity:0.7; filter:alpha(opacity=70); }
|
139 |
-
div.jp-play-time, div.jp-total-time, div.statusMI { bottom:20px; font-size:11px; font-family: 'trebuchet ms', Arial, sans-serif; }
|
140 |
-
div.jp-play-time { width:37px; left:0px; opacity:0.6; filter:alpha(opacity=60); }
|
141 |
-
div.jp-total-time { width:37px; left:100px; display:none; }
|
142 |
-
div.statusMI { left:37px; width:70px !important; }
|
143 |
-
div.transport-MI { height:26px; right:2px; bottom:12px; }
|
144 |
-
div.transport-MI div { font-family: 'trebuchet ms', Arial, sans-serif; font-weight:700; overflow:hidden !important; background:none !important; white-space:nowrap !important; }
|
145 |
-
div.buttons_mp3j { text-indent:4px !important; width:32px; overflow:hidden !important; height: 25px; margin:0 6px 0 0px; background:none !important; line-height:25px !important; font-size:14px; }
|
146 |
-
div.buttons_mp3jpause { text-indent:-29px !important; width:38px; overflow:hidden !important; height: 25px; margin:0 -3px 0 3px; background:none !important; line-height:25px !important; font-size:14px; }
|
147 |
-
div.Prev_mp3j, div.Next_mp3j { text-indent:0px !important; height:23px; line-height:23px !important; font-size:12px; width:36px; margin:2px 0px 0px 0px; }
|
148 |
-
div.stop_mp3j { text-indent:0px !important; width:31px; height:25px; margin:0px 0px 0px 4px; line-height:25px !important; font-size:14px; }
|
149 |
-
|
150 |
-
div.playlist-toggle-MI { bottom: 7px; font-family:'trebuchet ms', Arial, sans-serif; background:none !important; padding:0; opacity:0.6; filter:alpha(opacity=60); }
|
151 |
-
div.playlist-toggle-MI:hover { opacity:1.0; filter:alpha(opacity=100); background:none !important; }
|
152 |
-
div.dloadmp3-MI { font-size:11px; bottom: 6px; height:auto; right:0px !important; left:auto; margin:0; font-family: 'trebuchet ms', Arial, sans-serif; text-align:right; background:none !important; }
|
153 |
-
div.dloadmp3-MI a { color:#888; font-size:inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
|
154 |
-
div.dloadmp3-MI a:hover { color:#555; background:none !important; }
|
155 |
-
div.dloadmp3-MI.betweenlinks a { display:none; background:none !important; }
|
156 |
-
div.dloadmp3-MI.whilelinks a { display:block; background:none !important; }
|
157 |
-
div.dloadmp3-MI.whilelinks a:hover { text-decoration:none; background:none !important; }
|
158 |
-
div.dloadmp3-MI p { font-size: inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
|
159 |
-
div.mp3j-popout-MI { color:#888; font:normal normal 500 11px 'trebuchet ms', 'arial', sans-serif; bottom:15px; right:155px; left:auto; width:auto; opacity:1; filter:alpha(opacity=100); padding:0px; line-height:12px; border:0; background:none !important; cursor:default; z-index:500; }
|
160 |
-
div.mp3j-popout-MI:hover { color:#555; opacity:1.0; filter:alpha(opacity=100); }
|
161 |
-
div.MIsliderVolume { position:absolute; bottom:38px; top:auto; right:4px; width:108px !important; height:1px !important; background:transparent; border:0px; font-size:1px; cursor:default; z-index:150; }
|
162 |
-
div.MIsliderVolume .ui-slider-handle, div.vol_mp3j .ui-slider-handle { height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-7px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -41px 0px; z-index:150; overflow:hidden !important; cursor:default; }
|
163 |
-
div.MIsliderVolume .ui-slider-handle:hover, div.vol_mp3j .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
|
164 |
-
div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active, div.vol_mp3j .ui-state-active, div.vol_mp3j .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
|
165 |
-
|
166 |
-
div.dloadmp3-MI.whilelinks, div.dloadmp3-MI.logintext { background:none !important; }
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
/* FORCED DOWNLOAD FRAME
|
171 |
-
------------------------ */
|
172 |
-
|
173 |
-
div.mp3j-dlframe, iframe.mp3j-dlframe {
|
174 |
-
border:0px solid #ddd;
|
175 |
-
width:1px;
|
176 |
-
height:1px;
|
177 |
-
overflow:hidden;
|
178 |
-
margin:0;
|
179 |
-
padding:0;
|
180 |
-
display:none !important;
|
181 |
-
}
|
182 |
-
|
183 |
-
/* MESSAGES */
|
184 |
-
div.mp3j-finfo {
|
185 |
-
position:absolute;
|
186 |
-
top:36px;
|
187 |
-
z-index:9999 !important;
|
188 |
-
width:80%;
|
189 |
-
left:10%;
|
190 |
-
-moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
|
191 |
-
background:url('images/fdloadW-x.png') repeat-x left top;
|
192 |
-
-webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
|
193 |
-
padding:0;
|
194 |
-
min-height:31px;
|
195 |
-
overflow:hidden;
|
196 |
-
min-width:170px;
|
197 |
-
}
|
198 |
-
|
199 |
-
div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
|
200 |
-
div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
|
201 |
-
div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/loader.gif') no-repeat center 37px; width:auto; padding:0px; height:100%; }
|
202 |
-
div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
|
203 |
-
div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
|
204 |
-
div.mp3j-finfo-close:hover { color:#888 !important; }
|
205 |
-
|
206 |
-
div.mp3j-finfo-txt h2 { font-size:15px !important; color:#333 !important; margin:0 0 10px 0 !important; }
|
207 |
-
div.mp3j-finfo-txt h3 { font-size:14px !important; color:#333 !important; margin:0 0 15px 0 !important; }
|
208 |
-
div.mp3j-finfo-txt p { font-size:11px !important; color:#555 !important; line-height:13px !important; margin:0 0 5px 0 !important; }
|
209 |
-
div.mp3j-finfo-txt a { }
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
.mp3j-nosolution
|
216 |
-
{
|
217 |
-
position:absolute;
|
218 |
-
z-index:9999;
|
219 |
-
height:auto;
|
220 |
-
padding:5%;
|
221 |
-
border:1px solid #c0c0c0;
|
222 |
-
background:#f0f0f0;
|
223 |
-
color:#333;
|
224 |
-
top:4px;
|
225 |
-
left:4px;
|
226 |
-
right:4px;
|
227 |
-
-webkit-border-top-left-radius: 8px;
|
228 |
-
-webkit-border-top-right-radius: 8px;
|
229 |
-
-moz-border-radius-topleft: 8px;
|
230 |
-
-moz-border-radius-topright: 8px;
|
231 |
-
border-top-left-radius: 8px;
|
232 |
-
border-top-right-radius: 8px;
|
233 |
-
font-size:13px;
|
234 |
-
-webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
|
235 |
-
}
|
236 |
-
|
237 |
-
.s-nosolution
|
238 |
-
{
|
239 |
-
}
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
/* backwards compat
|
245 |
-
------------------- */
|
246 |
-
div.player-track-title.mp3j_widgetmods { font-size: 14px; }
|
247 |
-
div.player-track-title.mp3j_widgetmods span { font-size: 11px; }
|
248 |
-
ul.UL-MI_mp3j.mp3j_widgetmods li { font-size:11px !important; line-height:14px !important; }
|
249 |
-
ul.UL-MI_mp3j.mp3j_widgetmods li a { font-size:11px !important; line-height:14px !important; }
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
/*-------------------------
|
256 |
-
[mp3j] & [mp3t] SHORTCODES
|
257 |
-
==================================== */
|
258 |
-
span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
|
259 |
-
/*span.wrap_inline_mp3j:hover .buttons_mp3j { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }*/
|
260 |
-
span.indi_mp3j { position:relative; padding-left:2px; font-size: 0.7em !important; }
|
261 |
-
|
262 |
-
/* BARS */
|
263 |
-
span.bars_mp3j { position:absolute; width:100%; height:100%; }
|
264 |
-
span.load_mp3j, span.loadB_mp3j { position:absolute; /* background */ top:20px; left:0px; height:2px; }
|
265 |
-
/* mp3t */
|
266 |
-
span.posbar_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
|
267 |
-
span.posbar_mp3j .ui-widget-header { z-index:-500; }
|
268 |
-
span.posbar_mp3j .ui-slider-handle { top: 2px; margin-left:-2px; border:1px solid #999; height:21px; width:4px; z-index:500; background:url('images/t20b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
269 |
-
span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t15b.png') repeat; border-color:#aaa; }
|
270 |
-
/* mp3j */
|
271 |
-
span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0; z-index:450; cursor:pointer; }
|
272 |
-
span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:450; height:100%; }
|
273 |
-
span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:-6px !important; border:0px solid #888; height:23px; width:12px !important; z-index: 500; background: transparent url('images/inlineHandle2.png') no-repeat -3px -3px; cursor: default; padding:0px !important; }
|
274 |
-
span.posbarB_mp3j .ui-slider-handle:hover { background: transparent url('images/inlineHandle2.png') no-repeat -3px -33px; }
|
275 |
-
|
276 |
-
/* SPAN TRANSPORT */
|
277 |
-
span.group_wrap { position:relative; margin:0px 0px 0px 0px; width:auto; }
|
278 |
-
span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; margin:0px; padding:0px; }
|
279 |
-
span.buttons_mp3j { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px -3px; }
|
280 |
-
span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }
|
281 |
-
span.buttons_mp3jpause { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px -3px; }
|
282 |
-
span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -35px; }
|
283 |
-
|
284 |
-
/* VOLUMES */
|
285 |
-
span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; }
|
286 |
-
span.vol_mp3j { position:absolute; top:-9px; right:5px; width:85%; max-width:100px; height:2px; }
|
287 |
-
span.vol_mp3j.flipped { right:4px; }
|
288 |
-
span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { background: transparent url('images/vol-grad60b2.png') repeat left top; z-index:500; height:100%; }
|
289 |
-
span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle { height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; border:0px !important; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; z-index:600; overflow:hidden !important; cursor:default; top:-6px; background: transparent url('images/vol-handle.png') no-repeat -1px 0px; }
|
290 |
-
span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background: transparent url('images/vol-handle.png') no-repeat -21px 0px; }
|
291 |
-
span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; border:0px; }
|
292 |
-
|
293 |
-
|
294 |
-
/*----------------------
|
295 |
-
[mp3j-popout] SHORTCODE
|
296 |
-
================================================= */
|
297 |
-
.mp3j-popout-link-wrap { cursor:pointer; position:relative; clear:left; }
|
298 |
-
.mp3j-popout-link { float:left; margin:0 5px 0 0; min-width:22px; min-height:18px; background:url('images/buttons-popout.png') no-repeat -10px -65px; }
|
299 |
-
.mp3j-popout-link-wrap:hover .mp3j-popout-link { background:url('images/buttons-popout.png') no-repeat -10px -95px; }
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
/*-------------
|
305 |
-
CUSTOM CLASSES
|
306 |
-
(via 'style' param in shortcode)
|
307 |
-
================================================= */
|
308 |
-
|
309 |
-
|
310 |
-
/* ===== "nolistbutton" ===== */
|
311 |
-
.nolistbutton div.playlist-toggle-MI { visibility:hidden; }
|
312 |
-
|
313 |
-
/* ===== "nopopoutbutton" ===== */
|
314 |
-
.nopopoutbutton div.mp3j-popout-MI { display:none; }
|
315 |
-
|
316 |
-
/* ===== "nopn" ===== */
|
317 |
-
.nopn div.Prev_mp3j { display:none; }
|
318 |
-
.nopn div.Next_mp3j { display:none; }
|
319 |
-
|
320 |
-
/* ===== "nostop" ===== */
|
321 |
-
.nostop div.stop_mp3j { display:none; }
|
322 |
-
|
323 |
-
|
324 |
-
/* ===== "bars100" ===== */
|
325 |
-
.bars100 div.player-track-title { left:112px; }
|
326 |
-
.bars100 div.dloadmp3-MI { left:102px; width:36%;}
|
327 |
-
.bars100 div.bars_holder { left:102px; width:auto; }
|
328 |
-
.bars100 .MI-image img { padding:1px; background-color:transparent; }
|
329 |
-
|
330 |
-
/* ===== "bars150" ===== */
|
331 |
-
.bars150 div.player-track-title { left:162px; }
|
332 |
-
.bars150 div.dloadmp3-MI { left:152px; width:33%;}
|
333 |
-
.bars150 div.bars_holder { left:152px; width:auto; }
|
334 |
-
.bars150 .MI-image img { padding:1px; background-color:transparent; }
|
335 |
-
|
336 |
-
/* ===== "bars200" ===== */
|
337 |
-
.bars200 div.player-track-title { left:212px; }
|
338 |
-
.bars200 div.dloadmp3-MI { left:202px; width:30%; }
|
339 |
-
.bars200 div.bars_holder { left:202px; width:auto; }
|
340 |
-
.bars200 .MI-image img { padding:1px; background-color:transparent; }
|
341 |
-
|
342 |
-
/* ===== "bars250" ===== */
|
343 |
-
.bars250 div.player-track-title { left:262px; }
|
344 |
-
.bars250 div.dloadmp3-MI { left:252px; width:27%;}
|
345 |
-
.bars250 div.bars_holder { left:252px; width:auto; }
|
346 |
-
.bars250 .MI-image img { padding:1px; background-color:transparent; }
|
347 |
-
|
348 |
-
/* ===== "bars300" ===== */
|
349 |
-
.bars300 div.player-track-title { left:312px; }
|
350 |
-
.bars300 div.dloadmp3-MI { left:302px; width:24%; }
|
351 |
-
.bars300 div.bars_holder { left:302px; width:auto; }
|
352 |
-
.bars300 .MI-image img { padding:1px; background-color:transparent; }
|
353 |
-
|
354 |
-
/* ===== "bars350" ===== */
|
355 |
-
.bars350 div.player-track-title { left:362px; }
|
356 |
-
.bars350 div.dloadmp3-MI { left:352px; width:21%;}
|
357 |
-
.bars350 div.bars_holder { left:352px; width:auto; }
|
358 |
-
.bars350 .MI-image img { padding:1px; background-color:#transparent; }
|
359 |
-
|
360 |
-
/* ===== "bars400" ===== */
|
361 |
-
.bars400 div.player-track-title { left:412px; }
|
362 |
-
.bars400 div.dloadmp3-MI { left:402px; width:18%; }
|
363 |
-
.bars400 div.bars_holder { left:402px; width:auto; }
|
364 |
-
.bars400 .MI-image img { padding:1px; background-color:transparent; }
|
365 |
-
|
366 |
-
/* ===== bigger1 ===== */
|
367 |
-
.bigger1 { font-size:18px; line-height:26px !important; margin:0 !important; }
|
368 |
-
.bigger1 span.load_mp3j,
|
369 |
-
.bigger1 span.loadB_mp3j { top:24px; left:0px; height:2px; }
|
370 |
-
.bigger1 span.posbar_mp3j .ui-slider-handle { top: 3px; height:24px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
371 |
-
.bigger1 span.posbarB_mp3j .ui-slider-handle { top: 3px; margin-left:-3px !important; border:1px solid #999; height:24px; width:6px !important; z-index:500; background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
372 |
-
.bigger1 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; border-color:#aaa; }
|
373 |
-
.bigger1 span.buttons_mp3j { position:relative; margin:0px; margin-left:5px !important; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px 0px; }
|
374 |
-
.bigger1 span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -32px; }
|
375 |
-
.bigger1 span.buttons_mp3jpause { position:relative; margin:0px; margin-left:5px !important; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px 0px; }
|
376 |
-
.bigger1 span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -32px; }
|
377 |
-
.bigger1 span.vol_mp3j { position:absolute; top:-6px; right:7px; width:85%; max-width:100px; height:2px; }
|
378 |
-
|
379 |
-
.bigger1 div.player-track-title { font:normal normal 500 18px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
380 |
-
.bigger1 div.player-track-title span { font:normal normal 500 14px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
381 |
-
.bigger1 ul.UL-MI_mp3j li a, .bigger1 ul.UL-MI_mp3j li { font-size:16px !important; line-height:19px !important; }
|
382 |
-
.bigger1 .indi_mp3j { font-size: 0.6em !important; }
|
383 |
-
|
384 |
-
/* ===== "bigger2" ===== */
|
385 |
-
.bigger2 div.player-track-title { font:normal normal 500 36px/38px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
386 |
-
.bigger2 div.player-track-title span { font:normal normal 500 20px/22px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
387 |
-
.bigger2 ul.UL-MI_mp3j li a, .bigger2 ul.UL-MI_mp3j li { font-size:20px !important; line-height:24px !important; }
|
388 |
-
.bigger2 { font-size:23px; line-height:25px !important; margin:0 !important; }
|
389 |
-
.bigger2 span.load_mp3j,
|
390 |
-
.bigger2 span.loadB_mp3j { top:26px; left:0px; height:2px; }
|
391 |
-
.bigger2 span.posbar_mp3j .ui-slider-handle { top: 0px; height:28px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
392 |
-
.bigger2 span.posbarB_mp3j .ui-slider-handle { top: -1px; margin-left:-3px !important; border:1px solid #999; height:29px; width:8px !important; z-index:500; border-color:#aaa; background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
393 |
-
.bigger2 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; border-color:#999; }
|
394 |
-
.bigger2 .buttons_mp3j { padding:2px 0px 4px 20px !important; background:url('images/play-dark2-b.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px; }
|
395 |
-
.bigger2 .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -437px center; }
|
396 |
-
.bigger2 .buttons_mp3jpause { padding:0px 0px 2px 20px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
397 |
-
.bigger2 .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
|
398 |
-
.bigger2 span.vol_mp3j { position:absolute; top:-12px; right:4px; width:85%; max-width:100px; height:2px; }
|
399 |
-
.bigger2 span.vol_mp3t { position:absolute; top:-10px; width:85%; max-width:100px; height:2px; }
|
400 |
-
.bigger2 .Smp3-finding,
|
401 |
-
.bigger2 .mp3-tint,
|
402 |
-
.bigger2 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 10px !important; font-size:12px !important; line-height:12px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
|
403 |
-
.bigger2 .mp3-gtint { margin:0 6px 0 -16px; }
|
404 |
-
.bigger2 .indi_mp3j { font-size: 0.5em !important; padding-left:0px; }
|
405 |
-
|
406 |
-
/* ===== bigger3 ===== */
|
407 |
-
.bigger3 { font-size:28px; line-height:36px !important; margin:0 !important; }
|
408 |
-
.bigger3 .load_mp3j, .bigger3 .loadB_mp3j { top:37px; left:0px; height:3px; }
|
409 |
-
.bigger3 .posbar_mp3j .ui-slider-handle, .bigger3 .posbarB_mp3j .ui-slider-handle { top: 0px; border:1px solid #bbb; height:40px; width:12px !important; margin-left:-5px !important; background:url('images/stop-dark2-b.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
410 |
-
.bigger3 .posbar_mp3j .ui-slider-handle:hover, .bigger3 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; border:1px solid #aaa; }
|
411 |
-
.bigger3 .indi_mp3j { font-size: 0.5em !important; }
|
412 |
-
.bigger3 .buttons_mp3j { padding:8px 0px 12px 30px !important; background:url('images/play-dark2-b.png') no-repeat -177px center; border:0px solid #bbb; margin-left:12px; }
|
413 |
-
.bigger3 .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -428px center; }
|
414 |
-
.bigger3 .buttons_mp3jpause { padding:2px 0px 6px 30px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:12px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
415 |
-
.bigger3 .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
|
416 |
-
.bigger3 .vol_mp3j { height:1px; max-width:110px; right:64px; top:-8px; }
|
417 |
-
.bigger3 .vol_mp3t { height:1px; max-width:110px; right:16px; top:-5px; }
|
418 |
-
.bigger3 .vol_mp3j .ui-slider-handle, .bigger3 .vol_mp3t .ui-slider-handle { height:14px !important; width:33px !important; margin-left:-16px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-14px; background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
|
419 |
-
.bigger3 .vol_mp3j .ui-slider-handle:hover, .bigger3 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
|
420 |
-
.bigger3 .Smp3-finding,
|
421 |
-
.bigger3 .mp3-tint,
|
422 |
-
.bigger3 .mp3-gtint { margin-left:8px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
|
423 |
-
.bigger3 .mp3-gtint { margin:0 2px 0 -14px; }
|
424 |
-
.bigger3 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
425 |
-
.bigger3 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
426 |
-
.bigger3 ul.UL-MI_mp3j li a, .bigger3 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
|
427 |
-
|
428 |
-
|
429 |
-
/* ===== bigger4 ===== */
|
430 |
-
.bigger4 { font-size:38px; line-height:46px !important; margin:0 !important; }
|
431 |
-
.bigger4 .load_mp3j, .bigger4 .loadB_mp3j { top:46px; left:0px; height:3px; }
|
432 |
-
.bigger4 .posbar_mp3j .ui-slider-handle, .bigger4 .posbarB_mp3j .ui-slider-handle { top: -2px; border:1px solid #bbb; height:52px; width:20px !important; margin-left:-10px !important; background:url('images/stop-dark2-b.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
433 |
-
.bigger4 .posbar_mp3j .ui-slider-handle:hover, .bigger4 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; border:1px solid #aaa; }
|
434 |
-
.bigger4 .indi_mp3j { font-size: 0.5em !important; }
|
435 |
-
.bigger4 .buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 12px 40px !important; background:url('images/play-dark2-b.png') no-repeat -167px center; border:0px solid #bbb; margin-left:15px; }
|
436 |
-
.bigger4 .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -418px center; }
|
437 |
-
.bigger4 .buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 40px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
438 |
-
.bigger4 .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
|
439 |
-
.bigger4 .vol_mp3j { height:1px; max-width:110px; right:86px; top:-8px; }
|
440 |
-
.bigger4 .vol_mp3t { height:1px; max-width:110px; right:20px; top:-5px; }
|
441 |
-
.bigger4 .vol_mp3j .ui-slider-handle, .bigger4 .vol_mp3t .ui-slider-handle { height:20px !important; width:43px !important; margin-left:-21px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-20px; background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
|
442 |
-
.bigger4 .vol_mp3j .ui-slider-handle:hover, .bigger4 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
|
443 |
-
.bigger4 .Smp3-finding,
|
444 |
-
.bigger4 .mp3-tint,
|
445 |
-
.bigger4 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
|
446 |
-
.bigger4 .mp3-gtint { margin:0 6px 0 -20px; }
|
447 |
-
|
448 |
-
.bigger4 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
449 |
-
.bigger4 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
450 |
-
.bigger4 ul.UL-MI_mp3j li a, .bigger4 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
|
451 |
-
|
452 |
-
|
453 |
-
/* ===== bigger5 ===== */
|
454 |
-
.bigger5 { font-size:48px; line-height:60px !important; margin:0 !important; }
|
455 |
-
.bigger5 .load_mp3j, .bigger5 .loadB_mp3j { top:63px; left:0px; height:4px; }
|
456 |
-
.bigger5 .posbar_mp3j .ui-slider-handle, .bigger5 .posbarB_mp3j .ui-slider-handle { top: -1px; border:1px solid #bbb; height:69px; width:20px !important; margin-left:-10px !important; background:url('images/stop-dark2-b.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
457 |
-
.bigger5 .posbar_mp3j .ui-slider-handle:hover, .bigger5 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; border:1px solid #aaa; }
|
458 |
-
.bigger5 .indi_mp3j { font-size: 0.5em !important; }
|
459 |
-
.bigger5 .buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 13px 52px !important; background:url('images/play-dark2-b.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
|
460 |
-
.bigger5 .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -405px center; }
|
461 |
-
.bigger5 .buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:3px 0px 8px 52px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
462 |
-
.bigger5 .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
|
463 |
-
.bigger5 .vol_mp3j { height:1px; max-width:170px; right:115px; top:-10px; }
|
464 |
-
.bigger5 .vol_mp3t { height:1px; max-width:170px; right:33px; top:-5px; }
|
465 |
-
.bigger5 .vol_mp3j .ui-slider-handle, .bigger5 .vol_mp3t .ui-slider-handle { height:30px !important; width:55px !important; margin-left:-21px; border-bottom:1px solid #aaa !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-30px; background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
|
466 |
-
.bigger5 .vol_mp3j .ui-slider-handle:hover, .bigger5 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
|
467 |
-
.bigger5 .Smp3-finding,
|
468 |
-
.bigger5 .mp3-tint,
|
469 |
-
.bigger5 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
|
470 |
-
.bigger5 .mp3-gtint { margin:0 6px 0 -20px; }
|
471 |
-
|
472 |
-
.bigger5.wh .posbar_mp3j .ui-slider-handle, .bigger5.wh .posbarB_mp3j .ui-slider-handle { background:url('images/stop-dark2-w.png') repeat-y -350px top; border:1px solid #888; }
|
473 |
-
.bigger5.wh .posbar_mp3j .ui-slider-handle:hover, .bigger5.wh .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-w.png') repeat-y 0px top; border:1px solid #777; }
|
474 |
-
.bigger5.wh .buttons_mp3j { background:url('images/play-dark2-w.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
|
475 |
-
.bigger5.wh .buttons_mp3j:hover { background:url('images/play-dark2-w.png') no-repeat -405px center; }
|
476 |
-
.bigger5.wh .buttons_mp3jpause { background:url('images/stop-dark2-w.png') repeat-y 0px top; }
|
477 |
-
.bigger5.wh .buttons_mp3jpause:hover { background:url('images/stop-dark2-w.png') repeat-y -350px top; }
|
478 |
-
.bigger5.wh .vol_mp3j .ui-slider-handle, .bigger5.wh .vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-bw.png') no-repeat -10px bottom; }
|
479 |
-
.bigger5.wh .vol_mp3j .ui-slider-handle:hover, .bigger5.wh .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-w.png') no-repeat -257px bottom; }
|
480 |
-
|
481 |
-
|
482 |
-
/* ===== "smaller" ===== */
|
483 |
-
.smaller div.player-track-title { font:normal normal 500 11px/13px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; left:3px; right:5px; }
|
484 |
-
.smaller div.player-track-title span { font:normal normal 500 10px/10px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; padding:0; }
|
485 |
-
.smaller ul.UL-MI_mp3j li a, .smaller ul.UL-MI_mp3j li { font-size:10px !important; font-family:'verdana', Helvetica, sans-serif !important; line-height:13px !important; }
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
/* ===== outline ==== */
|
494 |
-
span.outline { font-size:14px; line-height:22px !important; margin:0 !important; }
|
495 |
-
.outline span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; background: transparent; }
|
496 |
-
.outline span.vol_mp3j { position:absolute; top:-9px; right:7px; width:85%; max-width:100px; height:2px; background: transparent; }
|
497 |
-
.outline span.buttons_mp3j { padding:2px 0px 3px 20px; background: transparent url('images/transport-outline.png') no-repeat -80px -2px; border:0; margin:0; }
|
498 |
-
.outline span.buttons_mp3j:hover { background:transparent url('images/transport-outline.png') no-repeat -80px -34px; }
|
499 |
-
.outline span.buttons_mp3jpause { padding:2px 0px 3px 20px; background: transparent url('images/transport-outline.png') no-repeat 1px -2px; border:0; margin:0; }
|
500 |
-
.outline span.buttons_mp3jpause:hover { background:transparent url('images/transport-outline.png') no-repeat 1px -34px; }
|
501 |
-
.outline span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
|
502 |
-
.outline span.posbarB_mp3j .ui-widget-header { z-index:-500; }
|
503 |
-
.outline span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:0px; border:1px solid #aaa; height:23px; width:5px !important; z-index:500; background:url('images/t10b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
504 |
-
.outline span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t20b.png') repeat; border-color:#777; }
|
505 |
-
|
506 |
-
.outline div.transport-MI div { background-image: url("images/transport-hardZ.png"); }
|
507 |
-
|
508 |
-
|
509 |
-
/* ===== wtransbars ==== */
|
510 |
-
.wtransbars div.loadMI_mp3j { background:#fff; opacity:0.1; filter:alpha(opacity=10); }
|
511 |
-
.wtransbars div.poscolMI_mp3j { background:#fff url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
|
512 |
-
.wtransbars div.player-track-title { color:#fff; }
|
513 |
-
|
514 |
-
/* ===== btransbars ==== */
|
515 |
-
.btransbars div.loadMI_mp3j { background:#000; opacity:0.1; filter:alpha(opacity=10); }
|
516 |
-
.btransbars div.poscolMI_mp3j { background:#000 url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
|
517 |
-
.btransbars div.player-track-title { color:#000; }
|
518 |
-
|
519 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|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
|
9 |
+
Info: http://mp3-jplayer.com
|
10 |
+
|
11 |
+
-------------------------------
|
12 |
+
*/
|
13 |
+
|
14 |
+
|
15 |
+
/* [mp3-jplayer] SHORTCODE
|
16 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
17 |
+
.subwrap-MI { border-width:0px; border-style:solid; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; }
|
18 |
+
.jp-innerwrap { background:none; }
|
19 |
+
.interface-mjp { padding:0px 0 50px 0; min-height:0px; }
|
20 |
+
.listwrap_mp3j { }
|
21 |
+
|
22 |
+
div.innerx, div.innerleft, div.innerright, div.innertab, div.innertab2 { position:absolute; }
|
23 |
+
div.innerx { display:none; }
|
24 |
+
div.innerleft { display:none; }
|
25 |
+
div.innerright { display:none; }
|
26 |
+
div.innertab { left:0px; top:0px; right:0px; bottom:50px; }
|
27 |
+
|
28 |
+
/* PLAYLIST */
|
29 |
+
.ul-mjp { margin:0px !important; padding:3px 8px 4px 8px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; border:0px; }
|
30 |
+
.li-mjp { margin:0px !important; padding:0px 0px 1px 0px !important; letter-spacing:0px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; list-style-type:none !important; }
|
31 |
+
.li-mjp:before { content:none !important; }
|
32 |
+
.a-mjp {
|
33 |
+
border:0 !important;
|
34 |
+
text-decoration:none !important;
|
35 |
+
display:block !important; width:auto !important;
|
36 |
+
outline:none !important;
|
37 |
+
padding:7px 10px 7px 10px !important;
|
38 |
+
}
|
39 |
+
|
40 |
+
|
41 |
+
/* SCREEN */
|
42 |
+
div.player-track-title { position:absolute; z-index:120; }
|
43 |
+
div.player-track-title div { position:relative; }
|
44 |
+
|
45 |
+
div.jp-play-time, div.jp-total-time, div.statusMI { position:absolute; font-size:10px !important; line-height:12px !important; bottom:19px; height:12px; }
|
46 |
+
div.jp-total-time { display:none; }
|
47 |
+
div.jp-play-time { left:2px; text-align:left; }
|
48 |
+
|
49 |
+
div.statusMI { left:35px; text-align:left; overflow:hidden; padding-left:1px; opacity:.5; filter:alpha(opacity=50);
|
50 |
+
}
|
51 |
+
/*
|
52 |
+
span.mp3-finding { position:relative; opacity:.3; filter:alpha(opacity=30); padding:0 3px 0 3px; margin:0; background:url('images/pulse.gif') repeat; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; overflow:hidden; }
|
53 |
+
span.mp3-tint { position:relative; opacity:.3; filter:alpha(opacity=30); padding:0 3px 0 3px; margin:0 3px 0 -6px; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; overflow:hidden; }
|
54 |
+
*/
|
55 |
+
span.mp3-finding { position:relative; padding:0 4px 0 4px; margin:0; background:url('images/pulse.gif') repeat; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; overflow:hidden; }
|
56 |
+
span.mp3-tint { position:relative; padding:0 4px 0 4px; margin:0 3px 0 -8px; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; overflow:hidden; }
|
57 |
+
|
58 |
+
span.mjp-playing { }
|
59 |
+
span.mjp-paused { }
|
60 |
+
span.mjp-ready { }
|
61 |
+
span.mjp-stopped { }
|
62 |
+
span.mjp-connecting { }
|
63 |
+
span.mjp-buffering { }
|
64 |
+
|
65 |
+
|
66 |
+
|
67 |
+
|
68 |
+
/* BUTTONS */
|
69 |
+
div.transport-MI { position:absolute; width:auto; height:24px; right:2px; bottom:11px; border:0; }
|
70 |
+
div.transport-MI div { float:right; cursor:pointer; font-weight:700; background:none !important; height:20px; width:auto; margin-left:6px; line-height:18px !important; }
|
71 |
+
div.play-mjp { font-size:16px; }
|
72 |
+
div.pause-mjp { font-size:16px; }
|
73 |
+
div.prev-mjp { font-size:14px; margin-top:1px; }
|
74 |
+
div.next-mjp { font-size:14px; margin-top:1px; }
|
75 |
+
div.stop-mjp { font-size:16px; }
|
76 |
+
|
77 |
+
|
78 |
+
.buttons-wrap-mjp { position:absolute; width:auto; height:12px; left:1px; bottom:5px; z-index:119; }
|
79 |
+
.buttons-wrap-mjp div {
|
80 |
+
position:relative;
|
81 |
+
float:left;
|
82 |
+
height:12px;
|
83 |
+
cursor:pointer;
|
84 |
+
text-align:left;
|
85 |
+
font-size:10px;
|
86 |
+
line-height:12px;
|
87 |
+
background-color:transparent;
|
88 |
+
margin-right:10px;
|
89 |
+
color:inherit;
|
90 |
+
}
|
91 |
+
.buttons-wrap-mjp div:hover { }
|
92 |
+
|
93 |
+
div.playlist-toggle-MI {
|
94 |
+
text-indent:0px !important;
|
95 |
+
cursor:pointer;
|
96 |
+
margin-left:2px;
|
97 |
+
}
|
98 |
+
div.playlist-toggle-MI:hover { background-color:transparent; }
|
99 |
+
|
100 |
+
div.mp3j-popout-MI { padding:0px 0px 0 0px; }
|
101 |
+
div.mp3j-popout-MI:hover { background-color:transparent; }
|
102 |
+
|
103 |
+
div.dloadmp3-MI {
|
104 |
+
padding:0;
|
105 |
+
cursor:default;
|
106 |
+
height:12px;
|
107 |
+
}
|
108 |
+
div.dloadmp3-MI * {
|
109 |
+
outline:none !important;
|
110 |
+
display:block;
|
111 |
+
width:auto;
|
112 |
+
margin:0px !important;
|
113 |
+
background-color:transparent;
|
114 |
+
text-decoration:none !important;
|
115 |
+
height:100%;
|
116 |
+
|
117 |
+
}
|
118 |
+
div.dloadmp3-MI.whilelinks,
|
119 |
+
div.dloadmp3-MI.logintext {
|
120 |
+
cursor:pointer;
|
121 |
+
background-color:transparent;
|
122 |
+
}
|
123 |
+
div.dloadmp3-MI.whilelinks:hover { }
|
124 |
+
.dloadmp3-MI a { padding:0px !important; visibility:hidden; display:none; text-decoration:none !important; }
|
125 |
+
.dloadmp3-MI a:hover { text-decoration:none !important; }
|
126 |
+
.dloadmp3-MI.whilelinks a { visibility:inherit; display:block; }
|
127 |
+
.dloadmp3-MI.whilelinks a:hover { display:block; }
|
128 |
+
.dloadmp3-MI p { padding:0px !important; visibility:visible; }
|
129 |
+
|
130 |
+
|
131 |
+
/* VOLUME */
|
132 |
+
.innerExt1, .innerExt2 { display:none; }
|
133 |
+
|
134 |
+
div.mjp-volwrap { position:absolute; height:6px; bottom:39px; right:0px; width:102px; z-index:140; background:url('images/t50l.png') repeat left top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
135 |
+
div.MIsliderVolume { position:absolute; top:0px; right:6px; left:0px; height:6px; border:0px; font-size:1px; cursor:pointer; z-index:150; background-color:transparent; }
|
136 |
+
div.MIsliderVolume .ui-widget-header { background:transparent url('images/volgrad-dark.png') repeat-y 15px top; cursor:pointer; }
|
137 |
+
|
138 |
+
div.MIsliderVolume .ui-slider-handle {
|
139 |
+
background:#404040 url('images/buttonset-darkplayer-grads8.png') no-repeat -127px -125px;
|
140 |
+
height:10px;
|
141 |
+
width:10px !important;
|
142 |
+
padding:0px; margin-left:-6px;
|
143 |
+
border:1px solid #505050 !important;
|
144 |
+
border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px;
|
145 |
+
z-index:600;
|
146 |
+
overflow:hidden !important;
|
147 |
+
cursor:default;
|
148 |
+
top:-3px;
|
149 |
+
}
|
150 |
+
div.mjp-volwrap:hover .ui-slider-handle, div.MIsliderVolume .ui-slider-handle:hover { background-color:#575757; }
|
151 |
+
div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active { outline:none; background-color:#575757; }
|
152 |
+
|
153 |
+
|
154 |
+
|
155 |
+
/* LOADER AND POS SLIDER */
|
156 |
+
div.loadMI_mp3j, div.poscolMI_mp3j, div.posbarMI_mp3j { position:absolute; top:0px; left:0px; }
|
157 |
+
div.bars_holder { position:absolute; right:109px; left:0px; bottom:39px; height:6px; font-size:1px; cursor:default; background:url('images/t50l.png') repeat left top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
158 |
+
div.loadMI_mp3j { bottom:0px; z-index:80; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
159 |
+
div.poscolMI_mp3j { bottom:0px; z-index:85; top:0px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
160 |
+
div.bars_holder .ui-widget-header, div.bars_holder .ui-widget-content { border:0px !important; background:none; }
|
161 |
+
div.bars_holder .ui-slider-horizontal { top:0px; bottom:0px; height:auto; z-index:130; }
|
162 |
+
div.posbarMI_mp3j { bottom:0px; width:100%; }
|
163 |
+
div.posbarMI_mp3j .ui-slider-handle { top:0px; margin-left:-1px !important; border:0; bottom:0px; width:2px !important; z-index:100; background:none; cursor:default ; padding:0px !important; }
|
164 |
+
div.posbarMI_mp3j .ui-slider-handle:hover { background:none; z-index:100; }
|
165 |
+
|
166 |
+
|
167 |
+
|
168 |
+
/* MESSAGES */
|
169 |
+
div.mp3j-finfo {
|
170 |
+
position:absolute;
|
171 |
+
top:36px;
|
172 |
+
z-index:9999 !important;
|
173 |
+
width:80%;
|
174 |
+
left:10%;
|
175 |
+
-moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
|
176 |
+
background:#fff;
|
177 |
+
-webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
|
178 |
+
padding:0;
|
179 |
+
min-height:31px;
|
180 |
+
overflow:hidden;
|
181 |
+
min-width:170px;
|
182 |
+
}
|
183 |
+
|
184 |
+
div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
|
185 |
+
div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
|
186 |
+
div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/spinner.gif') no-repeat center 27px; width:auto; padding:0px; height:100%; }
|
187 |
+
div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
|
188 |
+
div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
|
189 |
+
div.mp3j-finfo-close:hover { color:#888 !important; }
|
190 |
+
|
191 |
+
div.mp3j-finfo-txt h2 { font-size:15px !important; color:#333 !important; margin:0 0 35px 0 !important; }
|
192 |
+
div.mp3j-finfo-txt h3 { font-size:14px !important; color:#333 !important; margin:0 0 15px 0 !important; }
|
193 |
+
div.mp3j-finfo-txt p { font-size:12px !important; color:#555 !important; line-height:14px !important; margin:0 0 5px 0; }
|
194 |
+
div.mp3j-finfo-txt a { }
|
195 |
+
|
196 |
+
.mp3j-nosolution,
|
197 |
+
.s-nosolution
|
198 |
+
{
|
199 |
+
padding:10px 5% 10px 5%;
|
200 |
+
border:1px solid #c0c0c0;
|
201 |
+
background:#f0f0f0;
|
202 |
+
color:#333;
|
203 |
+
top:4px;
|
204 |
+
left:4px;
|
205 |
+
right:4px;
|
206 |
+
-webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;
|
207 |
+
font-size:13px;
|
208 |
+
-webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
|
209 |
+
}
|
210 |
+
|
211 |
+
/* [mp3j] & [mp3t] SHORTCODES
|
212 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
213 |
+
div.mjp-s-wrapper.s-text { padding:0 0 14px 0; line-height:100% !important; margin:0 !important; }
|
214 |
+
div.mjp-s-wrapper.s-graphic { padding:0 0 18px 0; line-height:100% !important; margin:0 !important; }
|
215 |
+
span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
|
216 |
+
span.indi_mp3j { position:relative; padding-left:2px; }
|
217 |
+
|
218 |
+
span.T_mp3j span { font-size:0.7em }
|
219 |
+
|
220 |
+
/* BARS */
|
221 |
+
span.bars_mp3j { position:absolute; width:100%; top:0px; bottom:0px; }
|
222 |
+
span.load_mp3j, span.loadB_mp3j { position:absolute; /* background set from admin */ bottom:-5px; left:0px; min-height:3px; height:12%; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
|
223 |
+
/* mp3t */
|
224 |
+
span.posbar_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0; }
|
225 |
+
span.posbar_mp3j .ui-widget-header { z-index:-500; }
|
226 |
+
span.posbar_mp3j .ui-slider-handle { background:none; top:-1px; margin-left:-4px; border:1px solid #aaa; bottom:-8px; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
227 |
+
span.posbar_mp3j .ui-slider-handle:hover { background:none; border-color:#888; }
|
228 |
+
|
229 |
+
/* mp3j */
|
230 |
+
span.posbarB_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0; cursor:pointer; z-index:499; }
|
231 |
+
span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:-500; height:100%; }
|
232 |
+
span.posbarB_mp3j .ui-slider-handle { background:none; top:-2px; bottom:-8px; margin-left:-4px; border:1px solid #aaa; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
233 |
+
span.posbarB_mp3j .ui-slider-handle:hover { background:none; border-color:#888; }
|
234 |
+
|
235 |
+
/* SPAN TRANSPORT */
|
236 |
+
span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; padding:0px; background:none; margin:0 0px 0 0px; }
|
237 |
+
span.group_wrap { position:relative; width:auto; margin:0px; }
|
238 |
+
span.gfxbutton_mp3j.play-mjp, span.gfxbutton_mp3j.pause-mjp {
|
239 |
+
padding:1px 0px 4px 8px; margin:0 5px 0px 5px; background-repeat:no-repeat; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; border:1px solid #ccc;
|
240 |
+
}
|
241 |
+
span.gfxbutton_mp3j.play-mjp { background-position:center center; background-image: url("images/play3.png"); }
|
242 |
+
span.gfxbutton_mp3j.play-mjp:hover { }
|
243 |
+
span.gfxbutton_mp3j.pause-mjp { background-position:center center; background-image: url("images/pause3.png"); }
|
244 |
+
span.gfxbutton_mp3j.pause-mjp:hover { }
|
245 |
+
|
246 |
+
/* VOLUMES */
|
247 |
+
span.vol_mp3t { position:absolute; top:-9px; right:5px; width:90%; max-width:85px; height:3px; }
|
248 |
+
span.vol_mp3j { position:absolute; top:-11px; right:11px; width:85%; max-width:82px; height:3px; }
|
249 |
+
span.vol_mp3j.flipped { right:4px; }
|
250 |
+
span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { z-index:500; height:100%; background:url('images/volgrad-dark.png') repeat-y 10px top; }
|
251 |
+
|
252 |
+
span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle {
|
253 |
+
background:transparent url('images/buttonset-lightplayer-grads8.png') no-repeat -127px -125px;
|
254 |
+
height:10px;
|
255 |
+
width:10px !important;
|
256 |
+
padding:0px; margin-left:-6px;
|
257 |
+
border:1px solid #c6c6c6 !important;
|
258 |
+
border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px;
|
259 |
+
z-index:600;
|
260 |
+
overflow:hidden !important;
|
261 |
+
cursor:default;
|
262 |
+
top:-5px;
|
263 |
+
}
|
264 |
+
span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background-color:transparent; }
|
265 |
+
span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { outline:none; background-color:transparent; }
|
266 |
+
|
267 |
+
span.Smp3-finding,
|
268 |
+
span.mp3-gtint {
|
269 |
+
padding:0px 0px 0px 12px;
|
270 |
+
overflow:hidden;
|
271 |
+
-moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
|
272 |
+
}
|
273 |
+
span.Smp3-finding { margin:0px 0px 0px 3px; background:url('images/pulse.gif') repeat 0px 0px; }
|
274 |
+
span.mp3-gtint { margin:0px 2px 0px -12px; opacity:.5; filter:alpha(opacity=50); background:#777; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
275 |
+
span.tintmarg { margin:0 2px 0 3px; }
|
276 |
+
span.Smp3-tint { opacity:.5; filter:alpha(opacity=50); padding:0px 0px 0px 12px; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
277 |
+
|
278 |
+
|
279 |
+
/* [mp3j-popout] SHORTCODE
|
280 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
281 |
+
.popout-wrap-mjp {
|
282 |
+
cursor:pointer;
|
283 |
+
position:relative;
|
284 |
+
border-width:0px;
|
285 |
+
border-style:solid;
|
286 |
+
padding:0;
|
287 |
+
border-color:#ccc;
|
288 |
+
-moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
|
289 |
+
display:inline-block;
|
290 |
+
}
|
291 |
+
.popout-wrap-mjp * { margin:0; padding:0; color:#404040; font-weight:700; }
|
292 |
+
.popout-wrap-mjp:hover * { color:#606060; font-weight:700; }
|
293 |
+
.popout-text-mjp { float:left; padding:0 5px; }
|
294 |
+
.popout-image-mjp {
|
295 |
+
float:left;
|
296 |
+
background-image:url('images/buttonset-lightplayer-grads8.png');
|
297 |
+
background-repeat:no-repeat;
|
298 |
+
background-position:-396px -9px;
|
299 |
+
min-width:32px;
|
300 |
+
min-height:28px;
|
301 |
+
margin:0;
|
302 |
+
}
|
303 |
+
.popout-image-mjp:hover { }
|
304 |
+
.popout-image-mjp-custom { float:left; background-repeat:no-repeat; margin:0; padding:0; border:0; }
|
305 |
+
.clearL-mjp { clear:left; }
|
306 |
+
|
307 |
+
|
308 |
+
|
309 |
+
/** ############################################
|
310 |
+
* Functional CSS, careful with these bits!
|
311 |
+
* ############################################ */
|
312 |
+
|
313 |
+
/* === */
|
314 |
+
.wrap-mjp { /* MAIN WRAPPER (default class) */
|
315 |
+
border: 0;
|
316 |
+
margin: 0;
|
317 |
+
background: none;
|
318 |
+
min-width: 116px;
|
319 |
+
}
|
320 |
+
.wrap-mjp, .wrap-mjp * {
|
321 |
+
-webkit-box-sizing: content-box !important;
|
322 |
+
-moz-box-sizing: content-box !important;
|
323 |
+
box-sizing: content-box !important;
|
324 |
+
}
|
325 |
+
|
326 |
+
/* === */
|
327 |
+
.subwrap-MI,
|
328 |
+
.jp-innerwrap,
|
329 |
+
.listwrap_mp3j,
|
330 |
+
.wrapper-mjp {
|
331 |
+
position: relative !important;
|
332 |
+
width: 100%;
|
333 |
+
margin: 0;
|
334 |
+
padding: 0;
|
335 |
+
cursor: default;
|
336 |
+
}
|
337 |
+
|
338 |
+
.subwrap-MI { overflow: hidden; }
|
339 |
+
.interface-mjp { position:relative !important; width:100%; margin:0; cursor:default; }
|
340 |
+
|
341 |
+
.subwrap-MI *,
|
342 |
+
.mjp-s-wrapper {
|
343 |
+
-moz-user-select: -moz-none;
|
344 |
+
-khtml-user-select: none;
|
345 |
+
-webkit-user-select: none;
|
346 |
+
-ms-user-select: none;
|
347 |
+
user-select: none;
|
348 |
+
}
|
349 |
+
|
350 |
+
/* ===== ===== */
|
351 |
+
.mp3j-nosolution {
|
352 |
+
position:absolute;
|
353 |
+
z-index:9999;
|
354 |
+
height:auto;
|
355 |
+
}
|
356 |
+
.s-nosolution {
|
357 |
+
position:relative;
|
358 |
+
display:inline-block;
|
359 |
+
margin-bottom:20px;
|
360 |
+
height:auto;
|
361 |
+
}
|
362 |
+
|
363 |
+
/* ===== ===== */
|
364 |
+
.wrapper-mjp ul {
|
365 |
+
position: static; /* needed in some themes */
|
366 |
+
}
|
367 |
+
.playlist-colour {
|
368 |
+
position:absolute;
|
369 |
+
width:100%;
|
370 |
+
height:100%;
|
371 |
+
left:0px;
|
372 |
+
top:0px;
|
373 |
+
}
|
374 |
+
|
375 |
+
/* ===== playlist grads ===== */
|
376 |
+
ul.lighten1-mjp {
|
377 |
+
background-image: url('images/pl-grad-w.png');
|
378 |
+
background-position: left 0px;
|
379 |
+
background-repeat: repeat-x;
|
380 |
+
}
|
381 |
+
ul.lighten2-mjp {
|
382 |
+
background-image: url('images/pl-grad-w-long.png');
|
383 |
+
background-position: left 0px;
|
384 |
+
background-repeat: repeat-x;
|
385 |
+
}
|
386 |
+
ul.darken1-mjp {
|
387 |
+
background-image: url('images/pl-grad-b.png');
|
388 |
+
background-position: left 0px;
|
389 |
+
background-repeat: repeat-x;
|
390 |
+
}
|
391 |
+
ul.darken2-mjp {
|
392 |
+
background-image: url('images/pl-grad-b-long.png');
|
393 |
+
background-position: left 0px;
|
394 |
+
background-repeat: repeat-x;
|
395 |
+
}
|
396 |
+
|
397 |
+
/* ===== playlist dividers ===== */
|
398 |
+
|
399 |
+
ul.light-mjp li { background:url('images/t60w.png') repeat-x left bottom; }
|
400 |
+
ul.med-mjp li { background:url('images/t50l.png') repeat-x left bottom; }
|
401 |
+
ul.dark-mjp li { background:url('images/t50g.png') repeat-x left bottom; }
|
402 |
+
li.mjp-li-last { background:none !important; }
|
403 |
+
|
404 |
+
|
405 |
+
/* ===== posbar grads ===== */
|
406 |
+
.poscolMI_mp3j.soften-mjp {
|
407 |
+
background-image: url('images/posbar-lighten.png');
|
408 |
+
background-position: right top;
|
409 |
+
background-repeat: repeat-y;
|
410 |
+
}
|
411 |
+
.poscolMI_mp3j.softenT-mjp {
|
412 |
+
background-image: url('images/posbar-pipe.png');
|
413 |
+
background-position: right -5px;
|
414 |
+
background-repeat: repeat-x;
|
415 |
+
}
|
416 |
+
.poscolMI_mp3j.darken-mjp {
|
417 |
+
background-image: url('images/posbar-darken.png');
|
418 |
+
background-position: right top;
|
419 |
+
background-repeat: repeat-y;
|
420 |
+
}
|
421 |
+
|
422 |
+
|
423 |
+
.left-mjp { text-align:left; }
|
424 |
+
.centre-mjp { text-align:center; }
|
425 |
+
.right-mjp { text-align: right; }
|
426 |
+
|
427 |
+
.bold-mjp,
|
428 |
+
.childBold-mjp * { font-weight:700; }
|
429 |
+
|
430 |
+
.norm-mjp,
|
431 |
+
.childNorm-mjp * { font-weight:500; }
|
432 |
+
|
433 |
+
.italic-mjp,
|
434 |
+
.childItalic-mjp * { font-style:italic; }
|
435 |
+
|
436 |
+
.plain-mjp,
|
437 |
+
.childPlain-mjp * { font-style:normal; }
|
438 |
+
|
439 |
+
|
440 |
+
/* ===== fonts ===== */
|
441 |
+
.arial-mjp,
|
442 |
+
ul.arial-mjp a { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
|
443 |
+
.verdana-mjp,
|
444 |
+
ul.verdana-mjp a { font-family: Verdana, Geneva, sans-serif; }
|
445 |
+
.times-mjp,
|
446 |
+
ul.times-mjp a { font-family: TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif; }
|
447 |
+
.palatino-mjp,
|
448 |
+
ul.palatino-mjp a { font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif; }
|
449 |
+
.courier-mjp,
|
450 |
+
ul.courier-mjp a { font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace; }
|
451 |
+
.lucida-mjp,
|
452 |
+
ul.lucida-mjp a { font-family: "Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace; }
|
453 |
+
.gill-mjp,
|
454 |
+
ul.gill-mjp a { font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif; }
|
455 |
+
|
456 |
+
.player-track-title,
|
457 |
+
.player-track-title div,
|
458 |
+
.a-mjp { line-height: 110% !important; }
|
459 |
+
|
460 |
+
.player-track-title div { font-size:0.7em; }
|
461 |
+
|
462 |
+
.titleHide-mjp { display:none; }
|
463 |
+
|
464 |
+
|
465 |
+
/* ===== jQuery UI ===== */
|
466 |
+
.ui-state-disabled { cursor:default !important; }
|
467 |
+
.ui-slider {
|
468 |
+
position:relative;
|
469 |
+
text-align:left;
|
470 |
+
}
|
471 |
+
.ui-slider .ui-slider-handle {
|
472 |
+
position:absolute;
|
473 |
+
z-index:200;
|
474 |
+
cursor:default;
|
475 |
+
}
|
476 |
+
.ui-slider .ui-slider-range {
|
477 |
+
position:absolute;
|
478 |
+
z-index:1;
|
479 |
+
font-size:.7em;
|
480 |
+
display:block;
|
481 |
+
border:0;
|
482 |
+
}
|
483 |
+
.ui-slider-horizontal .ui-slider-range { top:0; height:100%; }
|
484 |
+
.ui-slider-horizontal .ui-slider-range-min { left:0; }
|
485 |
+
.ui-slider-horizontal .ui-slider-range-max { right:0; }
|
486 |
+
.ui-state-default,
|
487 |
+
.ui-widget-content .ui-state-default { outline:none; border:0px; }
|
488 |
+
|
489 |
+
/* ===== user style param ===== */
|
490 |
+
.nolistbutton div.playlist-toggle-MI { visibility:hidden; }
|
491 |
+
.nopopoutbutton div.mp3j-popout-MI { display:none; }
|
492 |
+
.nopn div.prev-mjp { display:none; }
|
493 |
+
.nopn div.next-mjp { display:none; }
|
494 |
+
.nostop div.stop-mjp { display:none; }
|
495 |
+
.notitle div.player-track-title { display:none; }
|
496 |
+
|
497 |
+
div.wrap-mjp.noplayer { display:none; }
|
498 |
+
|
499 |
+
.fullbars div.bars_holder { left:0px; right:0px; height:auto; top:0px; background:none; }
|
500 |
+
.fullbars div.interface-mjp { padding:0px 0 39px 0; }
|
501 |
+
.fullbars div.innertab { bottom:39px; }
|
502 |
+
.fullbars div.mjp-volwrap { background:none; }
|
503 |
+
|
504 |
+
div.bigger1 span { font-size:18px !important; }
|
505 |
+
div.bigger2 span { font-size:23px !important; }
|
506 |
+
div.bigger3 span { font-size:28px !important; }
|
507 |
+
div.bigger4 span { font-size:38px !important; }
|
508 |
+
div.bigger5 span { font-size:48px !important; }
|
509 |
+
|
510 |
+
div.bigger1 .indi_mp3j, div.bigger1 .Smp3-finding, div.bigger1 .mp3-gtint, div.bigger1 .Smp3-tint,
|
511 |
+
div.bigger2 .indi_mp3j, div.bigger2 .Smp3-finding, div.bigger2 .mp3-gtint, div.bigger2 .Smp3-tint,
|
512 |
+
div.bigger3 .indi_mp3j, div.bigger3 .Smp3-finding, div.bigger3 .mp3-gtint, div.bigger3 .Smp3-tint,
|
513 |
+
div.bigger4 .indi_mp3j, div.bigger4 .Smp3-finding, div.bigger4 .mp3-gtint, div.bigger4 .Smp3-tint,
|
514 |
+
div.bigger5 .indi_mp3j, div.bigger5 .Smp3-finding, div.bigger5 .mp3-gtint, div.bigger5 .Smp3-tint { font-size:70% !important; }
|
515 |
+
|
516 |
+
|
517 |
+
|
518 |
+
|
519 |
+
/* ===== ===== */
|
520 |
+
div.mp3j-dlframe,
|
521 |
+
iframe.mp3j-dlframe {
|
522 |
+
width:1px;
|
523 |
+
height:1px;
|
524 |
+
overflow:hidden;
|
525 |
+
margin:0;
|
526 |
+
padding:0;
|
527 |
+
display:none !important;
|
528 |
+
}
|
529 |
+
|
530 |
+
/* ===== ===== */
|
531 |
+
.MI-image { position:relative; padding:0px 0 0 0; /*overflow:hidden;*/ }
|
532 |
+
.MI-image img { border:none; padding:0px; width:100%; height:auto; }
|
533 |
+
.MI-image.Himg img { width:auto; height:100%; }
|
534 |
+
.MI-image.Fimg img { width:auto; height:auto; }
|
535 |
+
.MI-image a:hover img { }
|
536 |
+
|
537 |
+
.MI-image.left-mjp { margin:0 auto 0 0; }
|
538 |
+
.MI-image.centre-mjp { margin: 0 auto; }
|
539 |
+
.MI-image.right-mjp { margin: 0 0 0 auto; }
|
540 |
+
|
541 |
+
|
542 |
+
.unsel-mjp {
|
543 |
+
-moz-user-select: -moz-none;
|
544 |
+
-khtml-user-select: none;
|
545 |
+
-webkit-user-select: none;
|
546 |
+
-ms-user-select: none;
|
547 |
+
user-select: none;
|
548 |
+
}
|
549 |
+
|
css/{images → v1-skins/images}/buttons-popout.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/buttons-popoutE.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/buttons-popoutF.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/case-grad-x.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/case2t-l.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/case2t-r.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/case2t-x.png
RENAMED
File without changes
|
css/v1-skins/images/caseD-l.png
ADDED
Binary file
|
css/v1-skins/images/caseD-r.png
ADDED
Binary file
|
css/v1-skins/images/caseD-x.png
ADDED
Binary file
|
css/{images → v1-skins/images}/fdloadB-x.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/fdloadW-x.png
RENAMED
File without changes
|
css/v1-skins/images/finding-bar1f.gif
ADDED
Binary file
|
css/v1-skins/images/loader-w.gif
ADDED
Binary file
|
css/{images → v1-skins/images}/loader-w2.gif
RENAMED
File without changes
|
css/v1-skins/images/loader.gif
ADDED
Binary file
|
css/{images → v1-skins/images}/mp3t-poshandle.png
RENAMED
File without changes
|
css/v1-skins/images/pl-darken1.png
ADDED
Binary file
|
css/v1-skins/images/pl-gradlong10g.png
ADDED
Binary file
|
css/v1-skins/images/pl-lighten1.png
ADDED
Binary file
|
css/v1-skins/images/pl-lighten2.png
ADDED
Binary file
|
css/{images → v1-skins/images}/play-dark2-b.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/play-dark2-w.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/play-dark2.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/pos-handleALT.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/posbar-darken2-2.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/posbar-soften-2.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/posbar-soften-tipped-2.png
RENAMED
File without changes
|
css/v1-skins/images/pulse.gif
ADDED
Binary file
|
css/{images → v1-skins/images}/stop-dark2-b.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/stop-dark2-w.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/stop-dark2.png
RENAMED
File without changes
|
css/v1-skins/images/t10b.png
ADDED
Binary file
|
css/{images → v1-skins/images}/t10g.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/t15b.png
RENAMED
File without changes
|
css/v1-skins/images/t20b.png
ADDED
Binary file
|
css/{images → v1-skins/images}/t25w.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/t30w.png
RENAMED
File without changes
|
css/v1-skins/images/t40b.png
ADDED
Binary file
|
css/v1-skins/images/t40w.png
ADDED
Binary file
|
css/v1-skins/images/t50b.png
ADDED
Binary file
|
css/v1-skins/images/t50g.png
ADDED
Binary file
|
css/v1-skins/images/t50l.png
ADDED
Binary file
|
css/{images → v1-skins/images}/t5b.png
RENAMED
File without changes
|
css/v1-skins/images/t60w.png
ADDED
Binary file
|
css/v1-skins/images/t75e.png
ADDED
Binary file
|
css/{images → v1-skins/images}/transport-dark.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/transport-darkbg-trans2.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/transport-hard-+trans.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/transport-hard.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/transport-hardK.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/transport-hardW-shiny.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/transport-hardZ.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/transport-outline.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/transport-shard-B.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/transport-shard.png
RENAMED
File without changes
|
css/v1-skins/images/vol-grad60b2.png
ADDED
Binary file
|
css/v1-skins/images/vol-grad60w2.png
ADDED
Binary file
|
css/v1-skins/images/vol-handle.png
ADDED
Binary file
|
css/{images → v1-skins/images}/volhandle-dark2-b.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/volhandle-dark2-w.png
RENAMED
File without changes
|
css/{images → v1-skins/images}/volhandle-dark2.png
RENAMED
File without changes
|
css/v1-skins/v1-dark.css
ADDED
@@ -0,0 +1,854 @@
|
|
Â
|
|
Â
|
|
Â
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
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
/*
|
2 |
+
-------------------------------
|
3 |
+
|
4 |
+
Skin: v1 Dark (Legacy support skin)
|
5 |
+
---
|
6 |
+
Plugin: MP3-jPlayer v2
|
7 |
+
Package: WordPress
|
8 |
+
Desc: Includes legacy css that supports various modifier
|
9 |
+
classes from MP3-jPlayer version 1 that have been
|
10 |
+
superceeded in version 2.
|
11 |
+
Info: http://mp3-jplayer.com
|
12 |
+
http://sjward.org
|
13 |
+
|
14 |
+
-------------------------------
|
15 |
+
*/
|
16 |
+
|
17 |
+
|
18 |
+
/** - - - - - - - - - - - - - - - - - - - - -
|
19 |
+
* Functional CSS, careful with these bits!
|
20 |
+
* - - - - - - - - - - - - - - - - - - - - - */
|
21 |
+
|
22 |
+
/* ===== ===== */
|
23 |
+
.wrap-mjp { /* MAIN WRAPPER (default class) */
|
24 |
+
border: 0;
|
25 |
+
margin: 0;
|
26 |
+
background: none;
|
27 |
+
min-width: 116px;
|
28 |
+
}
|
29 |
+
.wrap-mjp, .wrap-mjp * {
|
30 |
+
-webkit-box-sizing: content-box !important;
|
31 |
+
-moz-box-sizing: content-box !important;
|
32 |
+
box-sizing: content-box !important;
|
33 |
+
}
|
34 |
+
|
35 |
+
/* ===== ===== */
|
36 |
+
.subwrap-MI,
|
37 |
+
.jp-innerwrap,
|
38 |
+
.interface-mjp,
|
39 |
+
.listwrap_mp3j,
|
40 |
+
.wrapper-mjp {
|
41 |
+
position: relative !important;
|
42 |
+
width: 100%;
|
43 |
+
border: 0;
|
44 |
+
margin: 0;
|
45 |
+
padding: 0;
|
46 |
+
cursor: default;
|
47 |
+
}
|
48 |
+
|
49 |
+
.subwrap-MI { overflow: hidden; padding:2px 2px 2px 2px; }
|
50 |
+
.subwrap-MI *,
|
51 |
+
.mjp-s-wrapper {
|
52 |
+
-moz-user-select: -moz-none;
|
53 |
+
-khtml-user-select: none;
|
54 |
+
-webkit-user-select: none;
|
55 |
+
-ms-user-select: none;
|
56 |
+
user-select: none;
|
57 |
+
}
|
58 |
+
|
59 |
+
/* ===== ===== */
|
60 |
+
.mp3j-nosolution {
|
61 |
+
position:absolute;
|
62 |
+
z-index:9999;
|
63 |
+
height:auto;
|
64 |
+
}
|
65 |
+
.s-nosolution {
|
66 |
+
position:relative;
|
67 |
+
display:inline-block;
|
68 |
+
margin-bottom:20px;
|
69 |
+
height:auto;
|
70 |
+
}
|
71 |
+
|
72 |
+
/* ===== ===== */
|
73 |
+
.wrapper-mjp ul {
|
74 |
+
position: static; /* needed in some themes */
|
75 |
+
}
|
76 |
+
.playlist-colour {
|
77 |
+
position:absolute;
|
78 |
+
width:100%;
|
79 |
+
height:100%;
|
80 |
+
left:0px;
|
81 |
+
top:0px;
|
82 |
+
}
|
83 |
+
|
84 |
+
/* ===== playlist grads ===== */
|
85 |
+
ul.lighten1-mjp {
|
86 |
+
background-image: url('images/pl-lighten1.png');
|
87 |
+
background-position: left 0px;
|
88 |
+
background-repeat: repeat-x;
|
89 |
+
}
|
90 |
+
ul.lighten2-mjp {
|
91 |
+
background-image: url('images/pl-lighten2.png');
|
92 |
+
background-position: left 0px;
|
93 |
+
background-repeat: repeat-x;
|
94 |
+
}
|
95 |
+
ul.darken1-mjp {
|
96 |
+
background-image: url('images/pl-gradlong10g.png');
|
97 |
+
background-position: left -130px;
|
98 |
+
background-repeat: repeat-x;
|
99 |
+
}
|
100 |
+
ul.darken2-mjp {
|
101 |
+
background-image: url('images/pl-darken1.png');
|
102 |
+
background-position: left 0px;
|
103 |
+
background-repeat: repeat-x;
|
104 |
+
}
|
105 |
+
|
106 |
+
/* ===== playlist dividers ===== */
|
107 |
+
ul.light-mjp li { background:url('images/t60w.png') repeat-x left bottom !important; }
|
108 |
+
ul.med-mjp li { background:url('images/t75e.png') repeat-x left bottom !important; }
|
109 |
+
ul.dark-mjp li { background:url('images/t50g.png') repeat-x left bottom !important; }
|
110 |
+
|
111 |
+
/* ===== posbar grads ===== */
|
112 |
+
.poscolMI_mp3j.soften-mjp {
|
113 |
+
background-image: url('images/posbar-soften-2.png');
|
114 |
+
background-position: right top;
|
115 |
+
background-repeat: repeat-y;
|
116 |
+
}
|
117 |
+
.poscolMI_mp3j.softenT-mjp {
|
118 |
+
background-image: url('images/posbar-soften-tipped-2.png');
|
119 |
+
background-position: right top;
|
120 |
+
background-repeat: repeat-y;
|
121 |
+
}
|
122 |
+
.poscolMI_mp3j.darken-mjp {
|
123 |
+
background-image: url('images/posbar-darken2-2.png');
|
124 |
+
background-position: right top;
|
125 |
+
background-repeat: repeat-y;
|
126 |
+
}
|
127 |
+
|
128 |
+
|
129 |
+
.left-mjp { text-align:left; }
|
130 |
+
.centre-mjp { text-align:center; }
|
131 |
+
.right-mjp { text-align: right; }
|
132 |
+
|
133 |
+
.bold-mjp,
|
134 |
+
.childBold-mjp * { font-weight:700; }
|
135 |
+
|
136 |
+
.norm-mjp,
|
137 |
+
.childNorm-mjp * { font-weight:500; }
|
138 |
+
|
139 |
+
.italic-mjp,
|
140 |
+
.childItalic-mjp * { font-style:italic; }
|
141 |
+
|
142 |
+
.plain-mjp,
|
143 |
+
.childPlain-mjp * { font-style:normal; }
|
144 |
+
|
145 |
+
|
146 |
+
/* ===== fonts ===== */
|
147 |
+
.arial-mjp,
|
148 |
+
ul.arial-mjp a { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
|
149 |
+
.verdana-mjp,
|
150 |
+
ul.verdana-mjp a { font-family: Verdana, Geneva, sans-serif; }
|
151 |
+
.times-mjp,
|
152 |
+
ul.times-mjp a { font-family: TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif; }
|
153 |
+
.palatino-mjp,
|
154 |
+
ul.palatino-mjp a { font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif; }
|
155 |
+
.courier-mjp,
|
156 |
+
ul.courier-mjp a { font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace; }
|
157 |
+
.lucida-mjp,
|
158 |
+
ul.lucida-mjp a { font-family: "Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace; }
|
159 |
+
.gill-mjp,
|
160 |
+
ul.gill-mjp a { font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif; }
|
161 |
+
|
162 |
+
.player-track-title,
|
163 |
+
.player-track-title div,
|
164 |
+
.a-mjp { line-height: 110% !important; }
|
165 |
+
|
166 |
+
.player-track-title div { font-size:0.7em; }
|
167 |
+
|
168 |
+
.titleHide-mjp { display:none; }
|
169 |
+
|
170 |
+
/* ===== jQuery UI ===== */
|
171 |
+
.ui-state-disabled { cursor:default !important; }
|
172 |
+
.ui-slider {
|
173 |
+
position:relative;
|
174 |
+
text-align:left;
|
175 |
+
}
|
176 |
+
.ui-slider .ui-slider-handle {
|
177 |
+
position:absolute;
|
178 |
+
z-index:200;
|
179 |
+
cursor:default;
|
180 |
+
}
|
181 |
+
.ui-slider .ui-slider-range {
|
182 |
+
position:absolute;
|
183 |
+
z-index:1;
|
184 |
+
font-size:.7em;
|
185 |
+
display:block;
|
186 |
+
border:0;
|
187 |
+
}
|
188 |
+
.ui-slider-horizontal .ui-slider-range { top:0; height:100%; }
|
189 |
+
.ui-slider-horizontal .ui-slider-range-min { left:0; }
|
190 |
+
.ui-slider-horizontal .ui-slider-range-max { right:0; }
|
191 |
+
.ui-state-default,
|
192 |
+
.ui-widget-content .ui-state-default { outline:none; border:0px; }
|
193 |
+
|
194 |
+
/* ===== user style param ===== */
|
195 |
+
.nolistbutton div.playlist-toggle-MI { visibility:hidden; }
|
196 |
+
.nopopoutbutton div.mp3j-popout-MI { display:none; }
|
197 |
+
.nopn div.prev-mjp { display:none; }
|
198 |
+
.nopn div.next-mjp { display:none; }
|
199 |
+
.nostop div.stop-mjp { display:none; }
|
200 |
+
.notitle div.player-track-title { display:none; }
|
201 |
+
.novol div.mjp-volwrap { display:none; }
|
202 |
+
div.wrap-mjp.noplayer { display:none; }
|
203 |
+
|
204 |
+
/* ===== ===== */
|
205 |
+
div.mp3j-dlframe,
|
206 |
+
iframe.mp3j-dlframe {
|
207 |
+
width:1px;
|
208 |
+
height:1px;
|
209 |
+
overflow:hidden;
|
210 |
+
margin:0;
|
211 |
+
padding:0;
|
212 |
+
display:none !important;
|
213 |
+
}
|
214 |
+
|
215 |
+
/* ===== ===== */
|
216 |
+
.MI-image { position:relative; padding:0; }
|
217 |
+
.MI-image img { border:none; padding:0px; width:100%; height:auto; }
|
218 |
+
.MI-image.Himg img { width:auto; height:100%; }
|
219 |
+
.MI-image.Fimg img { width:auto; height:auto; }
|
220 |
+
.MI-image a:hover img { }
|
221 |
+
|
222 |
+
.MI-image.left-mjp { margin:0 auto 0 0; }
|
223 |
+
.MI-image.centre-mjp { margin: 0 auto; }
|
224 |
+
.MI-image.right-mjp { margin: 0 0 0 auto; }
|
225 |
+
|
226 |
+
.unsel-mjp {
|
227 |
+
-moz-user-select: -moz-none;
|
228 |
+
-khtml-user-select: none;
|
229 |
+
-webkit-user-select: none;
|
230 |
+
-ms-user-select: none;
|
231 |
+
user-select: none;
|
232 |
+
}
|
233 |
+
|
234 |
+
.innerExt1 { display:none; }
|
235 |
+
.innerExt2 { display:none; }
|
236 |
+
div.mjp-volwrap { position:absolute; top:0; right:0; }
|
237 |
+
|
238 |
+
/*---------------------
|
239 |
+
[mp3-jplayer] SHORTCODE
|
240 |
+
==================================== */
|
241 |
+
|
242 |
+
/* SUB WRAPPERS */
|
243 |
+
div.jp-innerwrap { background:none; }
|
244 |
+
div.interface-mjp { padding:0 0 39px 0; }
|
245 |
+
div.listwrap_mp3j { margin-top:0px; /* background set from admin */ }
|
246 |
+
|
247 |
+
/* BACKGROUNDS */
|
248 |
+
div.innerx, div.innerleft, div.innerright, div.innertab { position:absolute; }
|
249 |
+
div.innerx { background:url('images/case-grad-x.png') repeat-x left -119px; width:auto; height:38px; left:0px; right:0px; bottom:0px; z-index:10;
|
250 |
+
-webkit-box-shadow: 0px 1px 1px 0px rgba(50, 50, 50, 0.75);
|
251 |
+
-moz-box-shadow: 0px 1px 1px 0px rgba(50, 50, 50, 0.75);
|
252 |
+
box-shadow: 0px 1px 1px 0px rgba(50, 50, 50, 0.75);
|
253 |
+
}
|
254 |
+
div.innerleft { display:block; position: absolute; height: 20px; right: 88px; left: -1px; top: 0px; background: url('images/caseD-x.png') repeat-x left top; z-index:125; }
|
255 |
+
div.innerright { display:block; position: absolute; height: 20px; width: 90px; right: -2px; top: 0px; background: url('images/caseD-r.png') no-repeat right top; z-index:125; }
|
256 |
+
div.innertab { left:0px; top:0px; right:0px; width:100%; bottom:38px; }
|
257 |
+
|
258 |
+
/* PLAYLIST */
|
259 |
+
.ul-mjp { margin:0px !important; padding:0px 0px 0px 0px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; }
|
260 |
+
.li-mjp { margin:0px !important; padding:0px 0px 1px 0px !important; letter-spacing:0px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; list-style-type:none !important; }
|
261 |
+
.li-mjp:before { content:none !important; }
|
262 |
+
.a-mjp {
|
263 |
+
border:0 !important;
|
264 |
+
text-decoration:none !important;
|
265 |
+
display:block !important; width:auto !important;
|
266 |
+
outline:none !important;
|
267 |
+
padding:7px 10px 7px 14px !important;
|
268 |
+
}
|
269 |
+
|
270 |
+
/* SCREEN */
|
271 |
+
div.player-track-title, div.jp-play-time, div.jp-total-time, div.statusMI {
|
272 |
+
position:absolute;
|
273 |
+
z-index:50;
|
274 |
+
}
|
275 |
+
|
276 |
+
div.player-track-title div { position:relative; }
|
277 |
+
|
278 |
+
div.jp-play-time, div.jp-total-time, div.statusMI { font-size:8px; line-height:10px !important; bottom:49px; text-align:left; }
|
279 |
+
div.jp-play-time { right:90px; }
|
280 |
+
div.jp-total-time { right:6px; width:auto; }
|
281 |
+
|
282 |
+
span.mp3-finding, span.mp3-tint { padding:0px 0px 0px 6px !important; font-size:8px !important; line-height:10px !important; height:10px !important; overflow:hidden !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
283 |
+
span.mp3-finding { margin:0px 0px 0px -2px; background:url('images/finding-bar1f.gif') repeat 0px 3px; }
|
284 |
+
span.mp3-tint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); /* background set from admin */ }
|
285 |
+
div.statusMI span.tintmarg { margin:0 2px 0 3px; }
|
286 |
+
|
287 |
+
div.statusMI { right:27px; width:58px !important; height:10px; }
|
288 |
+
.statusMI span.mp3-finding, .statusMI span.mp3-tint, div.statusMI span.mp3-gtint { padding:0px 0px 0px 6px !important; }
|
289 |
+
.statusMI span.mp3-tint, .statusMI span.mp3-gtint { margin:0px 2px 0px -6px; }
|
290 |
+
|
291 |
+
|
292 |
+
/* TRANSPORT BUTTONS */
|
293 |
+
div.transport-MI { position:absolute; width:auto; height:36px; right:2px; bottom:0px; border:0; z-index:20; }
|
294 |
+
div.transport-MI div { background-image: url("images/transport-darkbg-trans2.png"); text-indent:-9999px !important; float:right; cursor:pointer; }
|
295 |
+
|
296 |
+
div.play-mjp { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-110px 0px; }
|
297 |
+
div.play-mjp:hover { background-position:-110px -32px; }
|
298 |
+
|
299 |
+
div.pause-mjp { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-2px 0px; }
|
300 |
+
div.pause-mjp:hover { background-position:-2px -32px; }
|
301 |
+
|
302 |
+
div.prev-mjp { width:22px; height:28px; margin:1px 4px 0px 0px; background-position:-32px -1px; }
|
303 |
+
div.prev-mjp:hover { background-position:-32px -33px; }
|
304 |
+
|
305 |
+
div.next-mjp { width:19px; height:28px; margin:1px 3px 0px 0px; background-position:-57px -1px; }
|
306 |
+
div.next-mjp:hover { background-position:-57px -33px; }
|
307 |
+
|
308 |
+
div.stop-mjp { width:26px; height:32px; margin:1px 3px 0px 0px; background-position:-81px 0px; }
|
309 |
+
div.stop-mjp:hover { background-position:-81px -32px; }
|
310 |
+
|
311 |
+
/* PLAYLIST TOGGLE */
|
312 |
+
div.playlist-toggle-MI { position:absolute; cursor:pointer; z-index:20; font-size:8px; bottom:1px; left:1px; height:12px; background:#505050; color:#aaa; padding:3px 6px 0px 5px; line-height:10px; min-width:24px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; cursor:default; }
|
313 |
+
div.playlist-toggle-MI:hover { background:#585858; color:#bbb; }
|
314 |
+
|
315 |
+
/* DOWNLOAD BUTTON */
|
316 |
+
div.dloadmp3-MI { position:absolute; min-height:11px; cursor:pointer; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; bottom:47px; margin:0px !important; font-size:9px !important; text-align:center; left:0px; width:41%; min-width:75px; max-width:425px; padding:0px 0px 0px 0px !important; border:0px; background:transparent url('images/t10b.png') repeat left top !important; color:#fff; line-height:11px !important; -moz-border-radius-topright:3px; -webkit-border-top-right-radius:3px; overflow:hidden; z-index:150; cursor:default; }
|
317 |
+
div.dloadmp3-MI.whilelinks, div.dloadmp3-MI.logintext { background:transparent url('images/t50b.png') repeat left top !important; }
|
318 |
+
div.dloadmp3-MI.whilelinks:hover { background:transparent url('images/t40b.png') repeat left top !important; }
|
319 |
+
div.dloadmp3-MI a { color:#ececec; display:block; width:auto; padding:2px 5px 1px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; height:100%; border-bottom:none; visibility:hidden; }
|
320 |
+
div.dloadmp3-MI a:hover { outline: none; border-bottom: none; color: #ececec; }
|
321 |
+
div.dloadmp3-MI.whilelinks a { color: #f3f3f3; visibility: inherit; }
|
322 |
+
div.dloadmp3-MI.whilelinks a:hover { color: #fff; }
|
323 |
+
div.dloadmp3-MI p { color:#ececec; display:block; width:auto; padding:2px 5px 1px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; height:100%; border-bottom:none; visibility:visible; }
|
324 |
+
|
325 |
+
/* POPOUT BUTTON */
|
326 |
+
div.mp3j-popout-MI { position:absolute; cursor:pointer; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:16px; left:0px; height:17px; padding:3px 5px 0px 28px; min-width:2px; line-height:11px; border:1px solid #585858; background-color:#aaa; background-image:url('images/buttons-popoutE.png'); background-repeat:no-repeat; background-position:-8px -6px; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; cursor:default;
|
327 |
+
color:#aaa; z-index:20; }
|
328 |
+
div.mp3j-popout-MI:hover { color:#bbb; background-position:-8px -36px; border:1px solid #585858; }
|
329 |
+
|
330 |
+
|
331 |
+
/* VOLUME */
|
332 |
+
div.MIsliderVolume { position:absolute; top:6px; right:10px; width:60px; height:4px !important; background:#606060; border:1px solid #404040; cursor:pointer; font-size:1px; z-index:150; }
|
333 |
+
div.MIsliderVolume .ui-widget-header { background:#707070 url('images/vol-grad60w2.png') repeat-y -15px top; }
|
334 |
+
|
335 |
+
div.MIsliderVolume .ui-slider-handle {
|
336 |
+
height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; z-index:150; overflow:hidden !important; cursor:pointer;
|
337 |
+
|
338 |
+
|
339 |
+
top:-5px; background:transparent url('images/vol-handle.png') no-repeat -41px 0px; border:1px solid #505050; border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px;
|
340 |
+
}
|
341 |
+
|
342 |
+
div.MIsliderVolume .ui-slider-handle:hover { }
|
343 |
+
div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active { outline:none; }
|
344 |
+
|
345 |
+
/* LOADER AND POS SLIDER */
|
346 |
+
div.loadMI_mp3j, div.poscolMI_mp3j, div.posbarMI_mp3j { position:absolute; top:0px; left:0px; }
|
347 |
+
div.bars_holder { position:absolute; left:0px; right:0px; bottom:38px; font-size:1px; cursor:default; background-image: url('images/t40b.png'); background-repeat: repeat-x; background-position: left bottom;
|
348 |
+
top:auto; height:8px; border-top:1px solid #606060; background-color:#808080;
|
349 |
+
|
350 |
+
}
|
351 |
+
|
352 |
+
|
353 |
+
|
354 |
+
div.loadMI_mp3j { bottom:1px; }
|
355 |
+
div.poscolMI_mp3j { bottom:1px; }
|
356 |
+
div.bars_holder .ui-widget-header, div.bars_holder .ui-widget-content { border:0px !important; background:none; }
|
357 |
+
div.bars_holder .ui-slider-horizontal { top:0px; bottom:0px; height:auto; z-index:90; }
|
358 |
+
div.posbarMI_mp3j { bottom:0px; width:100%; }
|
359 |
+
div.posbarMI_mp3j .ui-slider-handle { top:-6px; margin-left:-1px !important; border:0; bottom:-2px; width:2px !important; z-index:100; background:none; cursor:default ; padding:0px !important; }
|
360 |
+
div.posbarMI_mp3j .ui-slider-handle:hover { background:none; z-index:100; }
|
361 |
+
|
362 |
+
|
363 |
+
/* FORCED DOWNLOAD FRAME
|
364 |
+
------------------------ */
|
365 |
+
/* MESSAGES */
|
366 |
+
div.mp3j-finfo {
|
367 |
+
position:absolute !important;
|
368 |
+
top:36px;
|
369 |
+
z-index:9999;
|
370 |
+
width:80%;
|
371 |
+
left:10%;
|
372 |
+
-moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
|
373 |
+
background:url('images/fdloadB-x.png') repeat-x left top;
|
374 |
+
-webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
|
375 |
+
padding:0;
|
376 |
+
min-height:31px;
|
377 |
+
overflow:hidden;
|
378 |
+
min-width:170px;
|
379 |
+
}
|
380 |
+
|
381 |
+
div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
|
382 |
+
div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
|
383 |
+
div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/loader-w2.gif') no-repeat center 37px; width:auto; padding:0px !important; height:100%; }
|
384 |
+
div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
|
385 |
+
div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#999 !important; border-bottom:1px solid #777 !important; border-left:1px solid #777 !important; background:url('images/t40b.png') repeat left top; }
|
386 |
+
div.mp3j-finfo-close:hover { color:#eee !important; }
|
387 |
+
|
388 |
+
div.mp3j-finfo-txt h2 { font-size:15px !important; color:#fff !important; margin:0 0 10px 0 !important; }
|
389 |
+
div.mp3j-finfo-txt h3 { font-size:14px !important; color:#fff !important; margin:0 0 15px 0 !important; }
|
390 |
+
div.mp3j-finfo-txt p { font-size:11px !important; color:#fff !important; line-height:13px !important; margin:0 0 5px 0 !important; }
|
391 |
+
div.mp3j-finfo-txt a { }
|
392 |
+
|
393 |
+
|
394 |
+
|
395 |
+
/* backwards compat
|
396 |
+
------------------- */
|
397 |
+
div.player-track-title.mp3j_widgetmods { font-size: 11px; top: 7px; left:5px; }
|
398 |
+
div.player-track-title.mp3j_widgetmods span { font-size: 9px; }
|
399 |
+
ul.ul-mjp.mp3j_widgetmods li { font-size:10px !important; line-height:14px !important; }
|
400 |
+
ul.ul-mjp.mp3j_widgetmods li a { font-size:10px !important; line-height:14px !important; }
|
401 |
+
|
402 |
+
|
403 |
+
.mp3j-nosolution,
|
404 |
+
.s-nosolution
|
405 |
+
{
|
406 |
+
padding:10px 5% 10px 5%;
|
407 |
+
border:1px solid #c0c0c0;
|
408 |
+
background:#f0f0f0;
|
409 |
+
color:#333;
|
410 |
+
top:4px;
|
411 |
+
left:4px;
|
412 |
+
right:4px;
|
413 |
+
-webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;
|
414 |
+
font-size:13px;
|
415 |
+
-webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
|
416 |
+
}
|
417 |
+
|
418 |
+
|
419 |
+
/*-------------------------
|
420 |
+
[mp3j] & [mp3t] SHORTCODES
|
421 |
+
==================================== */
|
422 |
+
div.mjp-s-wrapper.s-text { padding:0 0 0px 0; line-height:100% !important; margin:0 !important; }
|
423 |
+
div.mjp-s-wrapper.s-graphic { padding:0 0 0px 0; line-height:100% !important; margin:0 !important; }
|
424 |
+
span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
|
425 |
+
span.indi_mp3j { position:relative; padding-left:2px; }
|
426 |
+
|
427 |
+
span.T_mp3j span { font-size:0.7em }
|
428 |
+
|
429 |
+
/* BARS */
|
430 |
+
span.bars_mp3j { position:absolute; width:100%; top:0px; bottom:0px; }
|
431 |
+
span.load_mp3j, span.loadB_mp3j { position:absolute; /* background set from admin */ bottom:-5px; left:0px; min-height:3px; height:12%; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
|
432 |
+
/* mp3t */
|
433 |
+
span.posbar_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0px solid #f77; }
|
434 |
+
span.posbar_mp3j .ui-widget-header { z-index:-500; }
|
435 |
+
span.posbar_mp3j .ui-slider-handle { background:url('images/t50l.png') repeat; top:-1px; margin-left:-4px; border:1px solid #bbb; bottom:-8px; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
436 |
+
span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t50l.png') repeat; border-color:#999; }
|
437 |
+
|
438 |
+
/* mp3j */
|
439 |
+
span.posbarB_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0; cursor:pointer; z-index:499; }
|
440 |
+
span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:-450; height:100%; }
|
441 |
+
span.posbarB_mp3j .ui-slider-handle { background:url('images/t50l.png') repeat 0px 0px; top:-2px; bottom:-8px; margin-left:-4px; border:1px solid #bbb; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
442 |
+
span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t50l.png') repeat 0px 0px; border-color:#999; }
|
443 |
+
|
444 |
+
/* SPAN TRANSPORT */
|
445 |
+
span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; padding:0px; background:none; margin:0 0px 0 0px; }
|
446 |
+
span.group_wrap { position:relative; width:auto; margin:0px; }
|
447 |
+
span.gfxbutton_mp3j.play-mjp, span.gfxbutton_mp3j.pause-mjp {
|
448 |
+
font-size:14px !important; padding:1px 0px 7px 8px; margin:0 5px 0px 2px; background-color:#e0e0e0; background-repeat:no-repeat;
|
449 |
+
}
|
450 |
+
span.gfxbutton_mp3j.play-mjp { background:transparent url('images/transport-shard-B.png') no-repeat -81px -3px; }
|
451 |
+
span.gfxbutton_mp3j.play-mjp:hover { background:transparent url('images/transport-shard-B.png') no-repeat -81px -35px;; }
|
452 |
+
span.gfxbutton_mp3j.pause-mjp { background: transparent url('images/transport-shard-B.png') no-repeat -3px -3px; }
|
453 |
+
span.gfxbutton_mp3j.pause-mjp:hover { background: transparent url('images/transport-shard-B.png') no-repeat -3px -35px; }
|
454 |
+
|
455 |
+
/* VOLUMES */
|
456 |
+
span.vol_mp3t { position:absolute; top:-7px; right:3px; width:90%; max-width:85px; height:3px; }
|
457 |
+
span.vol_mp3j { position:absolute; top:-11px; right:12px; width:85%; max-width:82px; height:3px; }
|
458 |
+
span.vol_mp3j.flipped { right:4px; }
|
459 |
+
span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { z-index:500; height:100%; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; background:#fff url('images/vol-grad60b2.png') repeat-y 0px top; }
|
460 |
+
|
461 |
+
span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle {
|
462 |
+
background: transparent url('images/vol-handle.png') no-repeat -1px 0px;
|
463 |
+
height:11px;
|
464 |
+
width:10px !important;
|
465 |
+
padding:0px;
|
466 |
+
margin-left:-6px;
|
467 |
+
border:0px solid #505050;
|
468 |
+
border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px;
|
469 |
+
z-index:600;
|
470 |
+
overflow:hidden !important;
|
471 |
+
cursor:default;
|
472 |
+
top:-5px;
|
473 |
+
}
|
474 |
+
span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background-color:#575757; background-position:-21px 0px; }
|
475 |
+
span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { outline:none; background-color:#575757; background-position:-21px 0px; }
|
476 |
+
|
477 |
+
span.Smp3-finding,
|
478 |
+
span.mp3-gtint {
|
479 |
+
padding:0px 0px 0px 8px;
|
480 |
+
overflow:hidden;
|
481 |
+
-moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
|
482 |
+
}
|
483 |
+
|
484 |
+
span.Smp3-finding { margin:0px 0px 0px 3px; background:url('images/pulse.gif') repeat 0px 0px; }
|
485 |
+
span.mp3-gtint { margin:0px 2px 0px -8px; opacity:.5; filter:alpha(opacity=50); background:#777; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
486 |
+
span.tintmarg { margin:0 2px 0 3px; }
|
487 |
+
|
488 |
+
span.Smp3-tint { opacity:.5; filter:alpha(opacity=50); padding:0px 0px 0px 8px; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
489 |
+
|
490 |
+
|
491 |
+
|
492 |
+
/*----------------------
|
493 |
+
[popout] SHORTCODE
|
494 |
+
================================================= */
|
495 |
+
.popout-wrap-mjp {
|
496 |
+
cursor:pointer;
|
497 |
+
position:relative;
|
498 |
+
border-width:0px;
|
499 |
+
border-style:solid;
|
500 |
+
background:transparent;
|
501 |
+
padding:5px 10px 5px 0px;
|
502 |
+
|
503 |
+
}
|
504 |
+
.popout-wrap-mjp * { margin:0; padding:0; }
|
505 |
+
.popout-text-mjp { float:left; }
|
506 |
+
.popout-image-mjp {
|
507 |
+
float:left;
|
508 |
+
background-image:url('images/buttons-popout.png');
|
509 |
+
background-repeat:no-repeat;
|
510 |
+
background-position:-10px -62px;
|
511 |
+
min-width:28px;
|
512 |
+
min-height:28px;
|
513 |
+
}
|
514 |
+
.popout-image-mjp-custom { float:left; }
|
515 |
+
.clearL-mjp { clear:left; }
|
516 |
+
|
517 |
+
|
518 |
+
|
519 |
+
/*=================================================
|
520 |
+
|
521 |
+
MODS
|
522 |
+
(via 'style' param in shortcode)
|
523 |
+
================================================= */
|
524 |
+
|
525 |
+
/* ===== "silver" ===== */
|
526 |
+
.silver .innerx { background-position:left -45px; }
|
527 |
+
.silver .transport-MI { height:37px; }
|
528 |
+
.silver .transport-MI div { background-image:url("images/transport-hardW-shiny.png"); }
|
529 |
+
.silver .bars_holder { background:url('images/t60w.png') repeat-x left bottom; }
|
530 |
+
.silver .mp3j-popout-MI { color:#6c6c6c; background-position:-8px -65px; border-color:#b2b2b2; background-color:#aaa; }
|
531 |
+
.silver .mp3j-popout-MI:hover { color:#606060; background-position:-8px -95px; }
|
532 |
+
.silver div.playlist-toggle-MI { background:#bcbcbc; color:#707070; }
|
533 |
+
.silver div.playlist-toggle-MI:hover { background:#c6c6c6; color:#777; }
|
534 |
+
.silver .MI-image img { background-color:#bbb; }
|
535 |
+
|
536 |
+
.silver div.mp3j-finfo { background:url('images/fdloadW-x.png') repeat-x left top; }
|
537 |
+
.silver div.mp3j-finfo-gif { background:url('images/loader.gif') no-repeat center 37px; }
|
538 |
+
.silver div.mp3j-finfo-close { color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
|
539 |
+
.silver div.mp3j-finfo-close:hover { color:#888 !important; }
|
540 |
+
.silver div.mp3j-finfo-txt h2 { color:#333 !important; }
|
541 |
+
.silver div.mp3j-finfo-txt h3 { color:#333 !important; }
|
542 |
+
.silver div.mp3j-finfo-txt p { color:#555 !important; }
|
543 |
+
|
544 |
+
|
545 |
+
/* ===== "text" ===== */
|
546 |
+
div.wrap-mjp.text { /*min-width:300px;*/ }
|
547 |
+
.text div.innerx, .text div.innerleft, .text div.innerright { position: absolute; visibility: hidden; }
|
548 |
+
.text div.innertab { bottom: 38px; }
|
549 |
+
.text div.interface-mjp { background:none; }
|
550 |
+
.text div.player-track-title { font:normal normal 500 16px/18px 'trebuchet ms', Arial, sans-serif; }
|
551 |
+
.text div.player-track-title span { font:italic normal 500 12px/14px 'trebuchet ms', Arial, sans-serif; opacity:0.7; filter:alpha(opacity=70); }
|
552 |
+
.text div.jp-play-time, .text div.jp-total-time, .text div.statusMI { bottom:20px; font-size:11px; font-family: 'trebuchet ms', Arial, sans-serif; }
|
553 |
+
.text div.jp-play-time { width:37px; left:0px; opacity:0.6; filter:alpha(opacity=60); }
|
554 |
+
.text div.jp-total-time { width:37px; left:100px; display:none; }
|
555 |
+
.text div.statusMI { left:37px; width:70px !important; }
|
556 |
+
|
557 |
+
.text div.transport-MI { height:26px; right:2px; bottom:12px; }
|
558 |
+
.text div.transport-MI div { font-family: 'trebuchet ms', Arial, sans-serif; font-weight:700; overflow:hidden !important; background:none !important; white-space:nowrap !important; }
|
559 |
+
.text div.play-mjp { text-indent:6px !important; width:32px; overflow:hidden !important; height: 25px; margin:0 6px 0 0px; background:none !important; line-height:25px !important; font-size:14px; }
|
560 |
+
.text div.pause-mjp { text-indent:0px !important; width:38px; overflow:hidden !important; height: 25px; margin:0 -3px 0 3px; background:none !important; line-height:25px !important; font-size:14px; }
|
561 |
+
.text div.prev-mjp, .text div.next-mjp { text-indent:0px !important; height:23px; line-height:23px !important; font-size:12px; width:36px; margin:2px 0px 0px 0px; }
|
562 |
+
.text div.stop-mjp { text-indent:0px !important; width:31px; height:25px; margin:0px 0px 0px 4px; line-height:25px !important; font-size:14px; }
|
563 |
+
|
564 |
+
|
565 |
+
.text div.playlist-toggle-MI { bottom: 7px; font-family:'trebuchet ms', Arial, sans-serif; background:none; padding:0; opacity:0.6; filter:alpha(opacity=60); }
|
566 |
+
.text div.playlist-toggle-MI:hover { opacity:1.0; filter:alpha(opacity=100); }
|
567 |
+
.text div.dloadmp3-MI { font-size:11px; bottom: 6px; height:auto; right:0px !important; left:auto; margin:0; font-family: 'trebuchet ms', Arial, sans-serif; text-align:right; background:none !important; }
|
568 |
+
.text div.dloadmp3-MI a { color:#888; font-size:inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
|
569 |
+
.text div.dloadmp3-MI a:hover { color:#555; background:none !important; }
|
570 |
+
.text div.dloadmp3-MI.betweenlinks a { display:none; background:none !important; }
|
571 |
+
.text div.dloadmp3-MI.whilelinks a { display:block; background:none !important; }
|
572 |
+
.text div.dloadmp3-MI.whilelinks a:hover { text-decoration:none; background:none !important; }
|
573 |
+
.text div.dloadmp3-MI p { font-size: inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
|
574 |
+
.text div.mp3j-popout-MI { color:#888; font:normal normal 500 11px 'trebuchet ms', 'arial', sans-serif; bottom:15px; right:155px; left:auto; width:auto; opacity:1; filter:alpha(opacity=100); padding:0px; line-height:12px; border:0; background:none; cursor:default; z-index:500; }
|
575 |
+
.text div.mp3j-popout-MI:hover { color:#555; opacity:1.0; filter:alpha(opacity=100); }
|
576 |
+
.text div.MIsliderVolume { position:absolute; bottom:38px; top:auto; right:4px; width:108px !important; height:1px !important; background:transparent; border:0px; font-size:1px; cursor:default; z-index:150; }
|
577 |
+
.text div.MIsliderVolume .ui-slider-handle, .text div.vol_mp3j .ui-slider-handle { height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-7px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -41px 0px; z-index:150; overflow:hidden !important; cursor:default; }
|
578 |
+
.text div.MIsliderVolume .ui-slider-handle:hover, .text div.vol_mp3j .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
|
579 |
+
.text div.MIsliderVolume .ui-state-active, .text div.MIsliderVolume .ui-widget-content .ui-state-active, .text div.vol_mp3j .ui-state-active, .text div.vol_mp3j .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
|
580 |
+
.text div.dloadmp3-MI.whilelinks, .text div.dloadmp3-MI.logintext { background:none !important; }
|
581 |
+
|
582 |
+
.text span.mjp-playing, .text span.mjp-paused, .text span.mjp-ready, .text span.mjp-stopped, .text span.mjp-connecting, .text span.mjp-buffering { display:inline; }
|
583 |
+
|
584 |
+
/* ===== "noscreen" ===== */
|
585 |
+
.noscreen div.interface-mjp { height:0px !important; }
|
586 |
+
.noscreen div.player-track-title { display:none; }
|
587 |
+
.noscreen div.bars_holder { top:auto; bottom:0px; height:7px; }
|
588 |
+
.noscreen div.innertab { bottom: 0px; top:0; display:none; }
|
589 |
+
.noscreen div.dloadmp3-MI { bottom: 11px; }
|
590 |
+
.noscreen div.transport-MI { bottom:17px; }
|
591 |
+
.noscreen div.jp-play-time, .noscreen div.jp-total-time, .noscreen div.statusMI { bottom:25px; }
|
592 |
+
.noscreen div.playlist-toggle-MI { bottom: 12px; }
|
593 |
+
.noscreen div.mp3j-popout-MI { bottom: 20px; }
|
594 |
+
.noscreen div.MIsliderVolume { bottom: 43px; }
|
595 |
+
.noscreen div.MIsliderVolume .ui-widget-header { background:transparent url('images/vol-grad60b2.png') repeat-y 0px top; }
|
596 |
+
.noscreen div.MIsliderVolume .ui-slider-handle { top:-6px; }
|
597 |
+
.noscreen h2 { margin:0 !important; padding:0 0 0px 0 !important; }
|
598 |
+
.noscreen div.posbarMI_mp3j .ui-slider-handle { top:-5px; margin-left:-7px !important; border:0; bottom:0px; width:14px !important; z-index:100; background:none; border:none; cursor:default ; padding:0px !important; }
|
599 |
+
.noscreen div.posbarMI_mp3j .ui-slider-handle:hover { background:none; border:none; }
|
600 |
+
.noscreen .MI-image { top:15px; }
|
601 |
+
|
602 |
+
/* ===== "bars100" ===== */
|
603 |
+
.bars100 div.player-track-title { left:112px; }
|
604 |
+
.bars100 div.dloadmp3-MI { left:102px; width:36%;}
|
605 |
+
.bars100 div.bars_holder { left:102px; width:auto; }
|
606 |
+
.bars100 .MI-image img { padding:1px; }
|
607 |
+
.bars100 div.player-track-title { top:20px; }
|
608 |
+
|
609 |
+
/* ===== "bars150" ===== */
|
610 |
+
.bars150 div.player-track-title { left:162px; }
|
611 |
+
.bars150 div.dloadmp3-MI { left:152px; width:33%;}
|
612 |
+
.bars150 div.bars_holder { left:152px; width:auto; }
|
613 |
+
.bars150 .MI-image img { padding:1px; }
|
614 |
+
.bars150 div.player-track-title { top:20px; }
|
615 |
+
|
616 |
+
/* ===== "bars200" ===== */
|
617 |
+
.bars200 div.player-track-title { left:212px; }
|
618 |
+
.bars200 div.dloadmp3-MI { left:202px; width:30%; }
|
619 |
+
.bars200 div.bars_holder { left:202px; width:auto; }
|
620 |
+
.bars200 .MI-image img { padding:1px; }
|
621 |
+
.bars200 div.player-track-title { top:20px; }
|
622 |
+
|
623 |
+
/* ===== "bars250" ===== */
|
624 |
+
.bars250 div.player-track-title { left:262px; }
|
625 |
+
.bars250 div.dloadmp3-MI { left:252px; width:27%;}
|
626 |
+
.bars250 div.bars_holder { left:252px; width:auto; }
|
627 |
+
.bars250 .MI-image img { padding:1px; }
|
628 |
+
.bars250 div.player-track-title { top:20px; }
|
629 |
+
|
630 |
+
/* ===== "bars300" ===== */
|
631 |
+
.bars300 div.player-track-title { left:312px; }
|
632 |
+
.bars300 div.dloadmp3-MI { left:302px; width:24%; }
|
633 |
+
.bars300 div.bars_holder { left:302px; width:auto; }
|
634 |
+
.bars300 .MI-image img { padding:1px; }
|
635 |
+
.bars300 div.player-track-title { top:20px; }
|
636 |
+
|
637 |
+
/* ===== "bars350" ===== */
|
638 |
+
.bars350 div.player-track-title { left:362px; }
|
639 |
+
.bars350 div.dloadmp3-MI { left:352px; width:21%;}
|
640 |
+
.bars350 div.bars_holder { left:352px; width:auto; }
|
641 |
+
.bars350 .MI-image img { padding:1px; }
|
642 |
+
.bars350 div.player-track-title { top:20px; }
|
643 |
+
|
644 |
+
/* ===== "bars400" ===== */
|
645 |
+
.bars400 div.player-track-title { left:412px; }
|
646 |
+
.bars400 div.dloadmp3-MI { left:402px; width:18%; }
|
647 |
+
.bars400 div.bars_holder { left:402px; width:auto; }
|
648 |
+
.bars400 .MI-image img { padding:1px; }
|
649 |
+
.bars400 div.player-track-title { top:20px; }
|
650 |
+
|
651 |
+
|
652 |
+
|
653 |
+
/* ===== bigger1 ===== */
|
654 |
+
div.bigger1 span { font-size:18px !important; line-height:26px !important; margin:0 !important; }
|
655 |
+
.bigger1 span.load_mp3j .ui-slider-handle,
|
656 |
+
.bigger1 span.posbar_mp3j .ui-slider-handle { top: 3px; height:24px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
657 |
+
.bigger1 span.posbarB_mp3j .ui-slider-handle { top: 3px; margin-left:-3px !important; border:1px solid #999; height:24px; width:6px !important; z-index:500; background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
658 |
+
.bigger1 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; border-color:#aaa; }
|
659 |
+
.bigger1 span.play-mjp { font-size:14px !important; position:relative; margin:0px; margin-left:2px !important; padding:10px 0px 5px 6px; background: transparent url('images/transport-shard-B.png') no-repeat -80px 5px; }
|
660 |
+
.bigger1 span.play-mjp:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -27px; }
|
661 |
+
.bigger1 span.pause-mjp { font-size:14px !important; position:relative; margin:0px; margin-left:2px !important; padding:10px 0px 5px 6px; background: transparent url('images/transport-shard-B.png') no-repeat -2px 5px; }
|
662 |
+
.bigger1 span.pause-mjp:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -27px; }
|
663 |
+
.bigger1 span.vol_mp3j { position:absolute; top:-6px; right:4px; width:85%; max-width:100px; height:2px; }
|
664 |
+
|
665 |
+
.bigger1 span.Smp3-finding,
|
666 |
+
.bigger1 span.mp3-gtint,
|
667 |
+
.bigger1 span.Smp3-tint {
|
668 |
+
padding:0px 0px 0px 10px !important;
|
669 |
+
font-size:10px !important;
|
670 |
+
}
|
671 |
+
.bigger1 span.Smp3-finding { margin:0px 0px 0px 8px !important;}
|
672 |
+
.bigger1 span.mp3-gtint { margin:0px 8px 0px -10px !important; }
|
673 |
+
.bigger1 span.tintmarg { margin:0 8px 0 8px !important; }
|
674 |
+
|
675 |
+
.bigger1 div.player-track-title { font:normal normal 500 18px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
676 |
+
.bigger1 div.player-track-title span { font:normal normal 500 14px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
677 |
+
.bigger1 ul.ul-mjp li a, .bigger1 ul.ul-mjp li { font-size:16px !important; line-height:19px !important; }
|
678 |
+
.bigger1 .indi_mp3j { font-size: 0.6em !important; }
|
679 |
+
|
680 |
+
.bigger1 span.textbutton_mp3j, .bigger1 span.textbutton_mp3j:hover { background:none; }
|
681 |
+
|
682 |
+
/* ===== "bigger2" ===== */
|
683 |
+
.bigger2 div.player-track-title { font:normal normal 500 36px/38px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
684 |
+
.bigger2 div.player-track-title span { font:normal normal 500 20px/22px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
685 |
+
.bigger2 ul.ul-mjp li a, .bigger2 ul.ul-mjp li { font-size:20px !important; line-height:24px !important; }
|
686 |
+
div.bigger2 span { font-size:23px !important; line-height:25px !important; margin:0 !important; }
|
687 |
+
.bigger2 span.posbar_mp3j .ui-slider-handle { top: 0px; height:34px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
688 |
+
.bigger2 span.posbarB_mp3j .ui-slider-handle { top: -1px; margin-left:-3px !important; border:1px solid #999; height:34px; width:8px !important; z-index:500; border-color:#aaa; background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
689 |
+
.bigger2 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; border-color:#999; }
|
690 |
+
.bigger2 span.play-mjp { font-size:14px !important; font-family:Arial, Helvetica, sans-serif !important; padding:13px 0px 4px 5px !important; background:url('images/play-dark2-b.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px !important; }
|
691 |
+
.bigger2 span.play-mjp:hover { background:url('images/play-dark2-b.png') no-repeat -437px center; }
|
692 |
+
.bigger2 span.pause-mjp { font-size:14px !important; font-family:Arial, Helvetica, sans-serif !important; padding:13px 0px 4px 5px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
693 |
+
.bigger2 span.pause-mjp:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
|
694 |
+
.bigger2 span.vol_mp3j { position:absolute; top:-12px; right:4px; width:85%; max-width:100px; height:2px; }
|
695 |
+
.bigger2 span.vol_mp3t { position:absolute; top:-10px; width:85%; max-width:100px; height:2px; }
|
696 |
+
.bigger2 .indi_mp3j { font-size: 0.5em !important; padding-left:0px; }
|
697 |
+
|
698 |
+
.bigger2 span.Smp3-finding,
|
699 |
+
.bigger2 span.mp3-gtint,
|
700 |
+
.bigger2 span.Smp3-tint {
|
701 |
+
padding:0px 0px 0px 12px !important;
|
702 |
+
font-size:12px !important;
|
703 |
+
}
|
704 |
+
.bigger2 span.Smp3-finding { margin:0px 0px 0px 8px !important;}
|
705 |
+
.bigger2 span.mp3-gtint { margin:0px 8px 0px -12px !important; }
|
706 |
+
.bigger2 span.tintmarg { margin:0 8px 0 8px !important; }
|
707 |
+
|
708 |
+
.bigger2.wh .play-mjp { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 20px !important; background:url('images/play-dark2-w.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px; }
|
709 |
+
.bigger2.wh .play-mjp:hover { background:url('images/play-dark2-w.png') no-repeat -437px center; }
|
710 |
+
.bigger2.wh .pause-mjp { font-family:Arial, Helvetica, sans-serif !important; padding:0px 0px 2px 20px !important; background:url('images/stop-dark2-w.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
711 |
+
.bigger2.wh .pause-mjp:hover { background:url('images/stop-dark2-w.png') repeat-y -350px top; }
|
712 |
+
|
713 |
+
.bigger2 span.textbutton_mp3j, .bigger2 span.textbutton_mp3j:hover { background:none; }
|
714 |
+
|
715 |
+
/* ===== bigger3 ===== */
|
716 |
+
div.bigger3 span { font-size:28px !important; line-height:36px !important; margin:0 !important; }
|
717 |
+
.bigger3 .posbar_mp3j .ui-slider-handle, .bigger3 .posbarB_mp3j .ui-slider-handle { top: 0px; border:1px solid #bbb; height:44px; width:12px !important; margin-left:-5px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
718 |
+
.bigger3 .posbar_mp3j .ui-slider-handle:hover, .bigger3 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
|
719 |
+
.bigger3 .indi_mp3j { font-size: 0.5em !important; }
|
720 |
+
.bigger3 span.play-mjp { font-size:17px !important; font-family:Arial, Helvetica, sans-serif !important; padding:11px 5px 9px 0px !important; background:url('images/play-dark2.png') no-repeat -177px center; border:0px solid #bbb; margin-left:12px !important; }
|
721 |
+
.bigger3 span.play-mjp:hover { background:url('images/play-dark2.png') no-repeat -428px center; }
|
722 |
+
.bigger3 span.pause-mjp { font-size:17px !important; font-family:Arial, Helvetica, sans-serif !important; padding:11px 5px 9px 0px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:12px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
723 |
+
.bigger3 span.pause-mjp:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
|
724 |
+
.bigger3 .vol_mp3j { height:1px; max-width:110px; right:64px; top:-8px; }
|
725 |
+
.bigger3 .vol_mp3t { height:1px; max-width:110px; right:16px; top:-5px; }
|
726 |
+
.bigger3 .vol_mp3j .ui-slider-handle, .bigger3 .vol_mp3t .ui-slider-handle { height:14px !important; width:33px !important; margin-left:-16px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-14px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
|
727 |
+
.bigger3 .vol_mp3j .ui-slider-handle:hover, .bigger3 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
|
728 |
+
|
729 |
+
.bigger3 span.Smp3-finding,
|
730 |
+
.bigger3 span.mp3-gtint,
|
731 |
+
.bigger3 span.Smp3-tint {
|
732 |
+
padding:0px 0px 0px 14px !important;
|
733 |
+
font-size:16px !important;
|
734 |
+
}
|
735 |
+
.bigger3 span.Smp3-finding { margin:0px 0px 0px 8px !important;}
|
736 |
+
.bigger3 span.mp3-gtint { margin:0px 8px 0px -14px !important; }
|
737 |
+
.bigger3 span.tintmarg { margin:0 8px 0 8px !important; }
|
738 |
+
|
739 |
+
.bigger3 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
740 |
+
.bigger3 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
741 |
+
.bigger3 ul.ul-mjp li a, .bigger3 ul.ul-mjp li { font-size:28px !important; line-height:30px !important; }
|
742 |
+
|
743 |
+
.bigger3.bl span.play-mjp { background:url('images/play-dark2-b.png') no-repeat -177px center; }
|
744 |
+
.bigger3.bl span.play-mjp:hover { background:url('images/play-dark2-b.png') no-repeat -428px center; }
|
745 |
+
.bigger3.bl span.pause-mjp { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
|
746 |
+
.bigger3.bl span.pause-mjp:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
|
747 |
+
.bigger3.bl span.vol_mp3j .ui-slider-handle, .bigger3.bl span.vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
|
748 |
+
.bigger3.bl span.vol_mp3j .ui-slider-handle:hover, .bigger3.bl span.vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
|
749 |
+
.bigger3 span.textbutton_mp3j, .bigger3 span.textbutton_mp3j:hover { background:none; }
|
750 |
+
|
751 |
+
/* ===== bigger4 ===== */
|
752 |
+
div.bigger4 span { font-size:38px !important; line-height:46px !important; margin:0 !important; }
|
753 |
+
.bigger4 .posbar_mp3j .ui-slider-handle, .bigger4 .posbarB_mp3j .ui-slider-handle { top: -2px; border:1px solid #bbb; height:54px; width:16px !important; margin-left:-8px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
754 |
+
.bigger4 .posbar_mp3j .ui-slider-handle:hover, .bigger4 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
|
755 |
+
.bigger4 .indi_mp3j { font-size: 0.5em !important; }
|
756 |
+
.bigger4 span.play-mjp { font-size:22px !important; font-family:Arial, Helvetica, sans-serif !important; padding:24px 10px 5px 0px !important; background:url('images/play-dark2.png') no-repeat -167px center; border:0px solid #bbb; margin-left:15px !important; }
|
757 |
+
.bigger4 span.play-mjp:hover { background:url('images/play-dark2.png') no-repeat -418px center; }
|
758 |
+
.bigger4 span.pause-mjp { font-size:22px !important; font-family:Arial, Helvetica, sans-serif !important; padding:24px 10px 5px 0px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
759 |
+
.bigger4 span.pause-mjp:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
|
760 |
+
.bigger4 .vol_mp3j { height:1px; max-width:110px; right:86px; top:-8px; }
|
761 |
+
.bigger4 .vol_mp3t { height:1px; max-width:110px; right:20px; top:-5px; }
|
762 |
+
.bigger4 .vol_mp3j .ui-slider-handle, .bigger4 .vol_mp3t .ui-slider-handle { height:20px !important; width:43px !important; margin-left:-21px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-20px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
|
763 |
+
.bigger4 .vol_mp3j .ui-slider-handle:hover, .bigger4 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
|
764 |
+
|
765 |
+
.bigger4 span.Smp3-finding,
|
766 |
+
.bigger4 span.mp3-gtint,
|
767 |
+
.bigger4 span.Smp3-tint {
|
768 |
+
padding:0px 0px 0px 20px !important;
|
769 |
+
font-size:20px !important;
|
770 |
+
}
|
771 |
+
.bigger4 span.Smp3-finding { margin:0px 0px 0px 6px !important;}
|
772 |
+
.bigger4 span.mp3-gtint { margin:0px 6px 0px -20px !important; }
|
773 |
+
.bigger4 span.tintmarg { margin:0 6px 0 6px !important; }
|
774 |
+
|
775 |
+
.bigger4 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
776 |
+
.bigger4 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
777 |
+
.bigger4 ul.ul-mjp li a, .bigger4 ul.ul-mjp li { font-size:28px !important; line-height:30px !important; }
|
778 |
+
|
779 |
+
.bigger4.bl .posbar_mp3j .ui-slider-handle, .bigger4.bl .posbarB_mp3j .ui-slider-handle { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
|
780 |
+
.bigger4.bl .posbar_mp3j .ui-slider-handle:hover, .bigger4.bl .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
|
781 |
+
.bigger4.bl .play-mjp { background:url('images/play-dark2-b.png') no-repeat -167px center; }
|
782 |
+
.bigger4.bl .play-mjp:hover { background:url('images/play-dark2-b.png') no-repeat -418px center; }
|
783 |
+
.bigger4.bl .pause-mjp { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
|
784 |
+
.bigger4.bl .pause-mjp:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
|
785 |
+
.bigger4.bl .vol_mp3j .ui-slider-handle, .bigger4.bl .vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
|
786 |
+
.bigger4.bl .vol_mp3j .ui-slider-handle:hover, .bigger4.bl .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
|
787 |
+
.bigger4 span.textbutton_mp3j, .bigger4 span.textbutton_mp3j:hover { background:none; }
|
788 |
+
|
789 |
+
/* ===== bigger5 ===== */
|
790 |
+
div.bigger5 span { font-size:48px !important; line-height:66px !important; margin:0 !important; }
|
791 |
+
.bigger5 .posbar_mp3j .ui-slider-handle, .bigger5 .posbarB_mp3j .ui-slider-handle { top: -1px; border:1px solid #bbb; height:69px; width:20px !important; margin-left:-10px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
792 |
+
.bigger5 .posbar_mp3j .ui-slider-handle:hover, .bigger5 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y -10px top; border:1px solid #aaa; }
|
793 |
+
.bigger5 .indi_mp3j { font-size: 0.5em !important; }
|
794 |
+
.bigger5 span.play-mjp { font-size:28px !important; font-family:Arial, Helvetica, sans-serif !important; padding:25px 10px 5px 0px !important; background:url('images/play-dark2.png') no-repeat -160px center; border:0px solid #bbb; margin-left:10px !important; }
|
795 |
+
.bigger5 span.play-mjp:hover { background:url('images/play-dark2.png') no-repeat -411px center; }
|
796 |
+
.bigger5 span.pause-mjp { font-size:28px !important; font-family:Arial, Helvetica, sans-serif !important; padding:25px 10px 5px 0px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
797 |
+
.bigger5 span.pause-mjp:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
|
798 |
+
.bigger5 .vol_mp3j { height:1px; max-width:170px; right:103px; top:-10px; }
|
799 |
+
.bigger5 .vol_mp3t { height:1px; max-width:170px; right:33px; top:-5px; }
|
800 |
+
.bigger5 .vol_mp3j .ui-slider-handle, .bigger5 .vol_mp3t .ui-slider-handle { height:30px !important; width:55px !important; margin-left:-21px; border-bottom:1px solid #aaa !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-30px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
|
801 |
+
.bigger5 .vol_mp3j .ui-slider-handle:hover, .bigger5 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
|
802 |
+
.bigger5 span.Smp3-finding,
|
803 |
+
.bigger5 span.mp3-gtint,
|
804 |
+
.bigger5 span.Smp3-tint {
|
805 |
+
padding:0px 0px 0px 24px !important;
|
806 |
+
font-size:22px !important;
|
807 |
+
}
|
808 |
+
.bigger5 span.Smp3-finding { margin:0px 0px 0px 10px !important;}
|
809 |
+
.bigger5 span.mp3-gtint { margin:0px 10px 0px -24px !important; }
|
810 |
+
.bigger5 span.tintmarg { margin:0 10px 0 10px !important; }
|
811 |
+
|
812 |
+
|
813 |
+
|
814 |
+
/* ===== smaller ===== */
|
815 |
+
.smaller div.player-track-title { font:normal normal 500 11px/13px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; left:5px; right:5px; }
|
816 |
+
.smaller div.player-track-title span { font:normal normal 500 10px/10px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; padding:0; }
|
817 |
+
.smaller ul.ul-mjp li a, .smaller ul.ul-mjp li { font-size:10px !important; font-family:'verdana', Helvetica, sans-serif !important; line-height:13px !important; }
|
818 |
+
|
819 |
+
/* ===== outline ==== */
|
820 |
+
.outline span.vol_mp3j { position:absolute; top:-9px; right:6px; width:85%; max-width:100px; height:2px; background: transparent; }
|
821 |
+
.outline span.play-mjp { padding:2px 0px 5px 9px !important; background: transparent url('images/transport-outline.png') no-repeat -80px -1px; border:0; margin:0; }
|
822 |
+
.outline span.play-mjp:hover { background:transparent url('images/transport-outline.png') no-repeat -80px -33px; }
|
823 |
+
.outline span.pause-mjp { padding:2px 0px 5px 9px !important; background: transparent url('images/transport-outline.png') no-repeat 1px -1px; border:0; margin:0; }
|
824 |
+
.outline span.pause-mjp:hover { background:transparent url('images/transport-outline.png') no-repeat 1px -33px; }
|
825 |
+
.outline span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
|
826 |
+
.outline span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:0px; border:1px solid #aaa; height:23px; width:5px !important; z-index:500; background:url('images/t10b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
827 |
+
.outline span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t20b.png') repeat; border-color:#777; }
|
828 |
+
.outline div.transport-MI div { background-image: url("images/transport-hardZ.png"); }
|
829 |
+
.outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
|
830 |
+
.dark.outline div.transport-MI div { background-image: url("images/transport-hardK.png"); }
|
831 |
+
.dark.outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
|
832 |
+
|
833 |
+
/* ===== wtransbars ==== */
|
834 |
+
.wtransbars div.loadMI_mp3j { background:#fff; opacity:0.2; filter:alpha(opacity=20); }
|
835 |
+
.wtransbars div.poscolMI_mp3j { background:#fff url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
|
836 |
+
|
837 |
+
/* ===== btransbars ==== */
|
838 |
+
.btransbars div.loadMI_mp3j { background:#000; opacity:0.2; filter:alpha(opacity=20); }
|
839 |
+
.btransbars div.poscolMI_mp3j { background:#000 url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
|
840 |
+
|
841 |
+
/* ===== fullbars === */
|
842 |
+
.fullbars div.innerleft { display:none; }
|
843 |
+
.fullbars div.innerright { display:none; }
|
844 |
+
.fullbars div.MIsliderVolume { top:0px; right:4px; width:108px; height:6px !important; background:transparent; border:0px; }
|
845 |
+
.fullbars div.MIsliderVolume .ui-widget-header { background:transparent url('images/vol-grad60b2.png') repeat-y 0px top; }
|
846 |
+
.fullbars div.dloadmp3-MI { bottom:39px; }
|
847 |
+
.fullbars div.bars_holder { left:0px; right:0px; bottom:38px; top:0px; height:auto; background-image: url('images/t40b.png'); background-repeat: repeat-x; background-position: left bottom; background-color:transparent; border:none; }
|
848 |
+
.fullbars div.jp-play-time, .fullbars div.jp-total-time, .fullbars div.statusMI { bottom:42px;}
|
849 |
+
.fullbars div.MIsliderVolume .ui-slider-handle { border:0px !important; top:-2px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -1px 0px; }
|
850 |
+
.fullbars div.MIsliderVolume .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
|
851 |
+
.fullbars div.MIsliderVolume .ui-state-active, .fullbars div.MIsliderVolume .ui-widget-content .ui-state-active { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
|
852 |
+
|
853 |
+
|
854 |
+
|
css/v1-skins/v1-silver.css
ADDED
@@ -0,0 +1,857 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
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
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
/*
|
2 |
+
-------------------------------
|
3 |
+
|
4 |
+
Skin: v1 Silver
|
5 |
+
---
|
6 |
+
Plugin: MP3-jPlayer v2 (Legacy support skin)
|
7 |
+
Package: WordPress
|
8 |
+
Desc: Includes legacy css that supports various modifier
|
9 |
+
classes from MP3-jPlayer version 1 that have been
|
10 |
+
superceeded in version 2.
|
11 |
+
Info: http://mp3-jplayer.com
|
12 |
+
http://sjward.org
|
13 |
+
|
14 |
+
-------------------------------
|
15 |
+
*/
|
16 |
+
|
17 |
+
|
18 |
+
/** - - - - - - - - - - - - - - - - - - - - -
|
19 |
+
* Functional CSS, careful with these bits!
|
20 |
+
* - - - - - - - - - - - - - - - - - - - - - */
|
21 |
+
|
22 |
+
/* ===== ===== */
|
23 |
+
.wrap-mjp { /* MAIN WRAPPER (default class) */
|
24 |
+
border: 0;
|
25 |
+
margin: 0;
|
26 |
+
background: none;
|
27 |
+
min-width: 116px;
|
28 |
+
}
|
29 |
+
.wrap-mjp, .wrap-mjp * {
|
30 |
+
-webkit-box-sizing: content-box !important;
|
31 |
+
-moz-box-sizing: content-box !important;
|
32 |
+
box-sizing: content-box !important;
|
33 |
+
}
|
34 |
+
|
35 |
+
.subwrap-MI,
|
36 |
+
.jp-innerwrap,
|
37 |
+
.interface-mjp,
|
38 |
+
.listwrap_mp3j,
|
39 |
+
.wrapper-mjp {
|
40 |
+
position: relative !important;
|
41 |
+
width: 100%;
|
42 |
+
border: 0;
|
43 |
+
margin: 0;
|
44 |
+
padding: 0;
|
45 |
+
cursor: default;
|
46 |
+
}
|
47 |
+
|
48 |
+
.subwrap-MI { overflow: hidden; padding:2px 2px 2px 2px; }
|
49 |
+
.subwrap-MI *,
|
50 |
+
.mjp-s-wrapper {
|
51 |
+
-moz-user-select: -moz-none;
|
52 |
+
-khtml-user-select: none;
|
53 |
+
-webkit-user-select: none;
|
54 |
+
-ms-user-select: none;
|
55 |
+
user-select: none;
|
56 |
+
}
|
57 |
+
|
58 |
+
/* === */
|
59 |
+
.mp3j-nosolution {
|
60 |
+
position:absolute;
|
61 |
+
z-index:9999;
|
62 |
+
height:auto;
|
63 |
+
}
|
64 |
+
.s-nosolution {
|
65 |
+
position:relative;
|
66 |
+
display:inline-block;
|
67 |
+
margin-bottom:20px;
|
68 |
+
height:auto;
|
69 |
+
}
|
70 |
+
|
71 |
+
/* === */
|
72 |
+
.wrapper-mjp ul {
|
73 |
+
position: static; /* needed in some themes */
|
74 |
+
}
|
75 |
+
.playlist-colour {
|
76 |
+
position:absolute;
|
77 |
+
width:100%;
|
78 |
+
height:100%;
|
79 |
+
left:0px;
|
80 |
+
top:0px;
|
81 |
+
}
|
82 |
+
|
83 |
+
/* ===== playlist grads ===== */
|
84 |
+
ul.lighten1-mjp {
|
85 |
+
background-image: url('images/pl-lighten1.png');
|
86 |
+
background-position: left 0px;
|
87 |
+
background-repeat: repeat-x;
|
88 |
+
}
|
89 |
+
ul.lighten2-mjp {
|
90 |
+
background-image: url('images/pl-lighten2.png');
|
91 |
+
background-position: left 0px;
|
92 |
+
background-repeat: repeat-x;
|
93 |
+
}
|
94 |
+
ul.darken1-mjp {
|
95 |
+
background-image: url('images/pl-gradlong10g.png');
|
96 |
+
background-position: left -130px;
|
97 |
+
background-repeat: repeat-x;
|
98 |
+
}
|
99 |
+
ul.darken2-mjp {
|
100 |
+
background-image: url('images/pl-darken1.png');
|
101 |
+
background-position: left 0px;
|
102 |
+
background-repeat: repeat-x;
|
103 |
+
}
|
104 |
+
|
105 |
+
/* ===== playlist dividers ===== */
|
106 |
+
ul.light-mjp li { background:url('images/t60w.png') repeat-x left bottom !important; }
|
107 |
+
ul.med-mjp li { background:url('images/t75e.png') repeat-x left bottom !important; }
|
108 |
+
ul.dark-mjp li { background:url('images/t50g.png') repeat-x left bottom !important; }
|
109 |
+
|
110 |
+
/* ===== posbar grads ===== */
|
111 |
+
.poscolMI_mp3j.soften-mjp {
|
112 |
+
background-image: url('images/posbar-soften-2.png');
|
113 |
+
background-position: right top;
|
114 |
+
background-repeat: repeat-y;
|
115 |
+
}
|
116 |
+
.poscolMI_mp3j.softenT-mjp {
|
117 |
+
background-image: url('images/posbar-soften-tipped-2.png');
|
118 |
+
background-position: right top;
|
119 |
+
background-repeat: repeat-y;
|
120 |
+
}
|
121 |
+
.poscolMI_mp3j.darken-mjp {
|
122 |
+
background-image: url('images/posbar-darken2-2.png');
|
123 |
+
background-position: right top;
|
124 |
+
background-repeat: repeat-y;
|
125 |
+
}
|
126 |
+
|
127 |
+
|
128 |
+
.left-mjp { text-align:left; }
|
129 |
+
.centre-mjp { text-align:center; }
|
130 |
+
.right-mjp { text-align: right; }
|
131 |
+
|
132 |
+
.bold-mjp,
|
133 |
+
.childBold-mjp * { font-weight:700; }
|
134 |
+
|
135 |
+
.norm-mjp,
|
136 |
+
.childNorm-mjp * { font-weight:500; }
|
137 |
+
|
138 |
+
.italic-mjp,
|
139 |
+
.childItalic-mjp * { font-style:italic; }
|
140 |
+
|
141 |
+
.plain-mjp,
|
142 |
+
.childPlain-mjp * { font-style:normal; }
|
143 |
+
|
144 |
+
|
145 |
+
/* ===== fonts ===== */
|
146 |
+
.arial-mjp,
|
147 |
+
ul.arial-mjp a { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
|
148 |
+
.verdana-mjp,
|
149 |
+
ul.verdana-mjp a { font-family: Verdana, Geneva, sans-serif; }
|
150 |
+
.times-mjp,
|
151 |
+
ul.times-mjp a { font-family: TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif; }
|
152 |
+
.palatino-mjp,
|
153 |
+
ul.palatino-mjp a { font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif; }
|
154 |
+
.courier-mjp,
|
155 |
+
ul.courier-mjp a { font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace; }
|
156 |
+
.lucida-mjp,
|
157 |
+
ul.lucida-mjp a { font-family: "Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace; }
|
158 |
+
.gill-mjp,
|
159 |
+
ul.gill-mjp a { font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif; }
|
160 |
+
|
161 |
+
.player-track-title,
|
162 |
+
.player-track-title div,
|
163 |
+
.a-mjp { line-height: 110% !important; }
|
164 |
+
|
165 |
+
.player-track-title div { font-size:0.7em; }
|
166 |
+
|
167 |
+
.titleHide-mjp { display:none; }
|
168 |
+
|
169 |
+
/* ===== jQuery UI ===== */
|
170 |
+
.ui-state-disabled { cursor:default !important; }
|
171 |
+
.ui-slider {
|
172 |
+
position:relative;
|
173 |
+
text-align:left;
|
174 |
+
}
|
175 |
+
.ui-slider .ui-slider-handle {
|
176 |
+
position:absolute;
|
177 |
+
z-index:200;
|
178 |
+
cursor:default;
|
179 |
+
}
|
180 |
+
.ui-slider .ui-slider-range {
|
181 |
+
position:absolute;
|
182 |
+
z-index:1;
|
183 |
+
font-size:.7em;
|
184 |
+
display:block;
|
185 |
+
border:0;
|
186 |
+
}
|
187 |
+
.ui-slider-horizontal .ui-slider-range { top:0; height:100%; }
|
188 |
+
.ui-slider-horizontal .ui-slider-range-min { left:0; }
|
189 |
+
.ui-slider-horizontal .ui-slider-range-max { right:0; }
|
190 |
+
.ui-state-default,
|
191 |
+
.ui-widget-content .ui-state-default { outline:none; border:0px; }
|
192 |
+
|
193 |
+
/* ===== user style param ===== */
|
194 |
+
.nolistbutton div.playlist-toggle-MI { visibility:hidden; }
|
195 |
+
.nopopoutbutton div.mp3j-popout-MI { display:none; }
|
196 |
+
.nopn div.prev-mjp { display:none; }
|
197 |
+
.nopn div.next-mjp { display:none; }
|
198 |
+
.nostop div.stop-mjp { display:none; }
|
199 |
+
.notitle div.player-track-title { display:none; }
|
200 |
+
.novol div.mjp-volwrap { display:none; }
|
201 |
+
div.wrap-mjp.noplayer { display:none; }
|
202 |
+
|
203 |
+
/* ===== ===== */
|
204 |
+
div.mp3j-dlframe,
|
205 |
+
iframe.mp3j-dlframe {
|
206 |
+
width:1px;
|
207 |
+
height:1px;
|
208 |
+
overflow:hidden;
|
209 |
+
margin:0;
|
210 |
+
padding:0;
|
211 |
+
display:none !important;
|
212 |
+
}
|
213 |
+
|
214 |
+
/* ===== ===== */
|
215 |
+
.MI-image { position:relative; padding:0; }
|
216 |
+
.MI-image img { border:none; padding:0px; width:100%; height:auto; }
|
217 |
+
.MI-image.Himg img { width:auto; height:100%; }
|
218 |
+
.MI-image.Fimg img { width:auto; height:auto; }
|
219 |
+
.MI-image a:hover img { }
|
220 |
+
|
221 |
+
.MI-image.left-mjp { margin:0 auto 0 0; }
|
222 |
+
.MI-image.centre-mjp { margin: 0 auto; }
|
223 |
+
.MI-image.right-mjp { margin: 0 0 0 auto; }
|
224 |
+
|
225 |
+
|
226 |
+
.unsel-mjp {
|
227 |
+
-moz-user-select: -moz-none;
|
228 |
+
-khtml-user-select: none;
|
229 |
+
-webkit-user-select: none;
|
230 |
+
-ms-user-select: none;
|
231 |
+
user-select: none;
|
232 |
+
}
|
233 |
+
|
234 |
+
.innerExt1 { display:none; }
|
235 |
+
.innerExt2 { display:none; }
|
236 |
+
div.mjp-volwrap { position:absolute; top:0; right:0; }
|
237 |
+
|
238 |
+
|
239 |
+
/*---------------------
|
240 |
+
[mp3-jplayer] SHORTCODE
|
241 |
+
==================================== */
|
242 |
+
|
243 |
+
/* SUB WRAPPERS */
|
244 |
+
div.jp-innerwrap { background:none; }
|
245 |
+
div.interface-mjp { padding:0 0 39px 0; }
|
246 |
+
div.listwrap_mp3j { margin-top:0px; }
|
247 |
+
|
248 |
+
/* BACKGROUNDS */
|
249 |
+
div.innerx, div.innerleft, div.innerright, div.innertab, div.innertab2 { position:absolute; }
|
250 |
+
div.innerx { background:url('images/case-grad-x.png') repeat-x left -45px; width:auto; height:38px; left:0px; right:0px; bottom:0px; z-index:10;
|
251 |
+
-webkit-box-shadow: 0px 1px 1px 0px rgba(50, 50, 50, 0.75);
|
252 |
+
-moz-box-shadow: 0px 1px 1px 0px rgba(50, 50, 50, 0.75);
|
253 |
+
box-shadow: 0px 1px 1px 0px rgba(50, 50, 50, 0.75);
|
254 |
+
|
255 |
+
}
|
256 |
+
div.innerleft { display:block; position: absolute; height: 20px; right: 88px; left: -1px; top: 0px; background: url('images/case2t-x.png') repeat-x left top; z-index:125; }
|
257 |
+
div.innerright { display:block; position: absolute; height: 20px; width: 90px; right: -2px; top: 0px; background: url('images/case2t-r.png') no-repeat right top; z-index:125; }
|
258 |
+
div.innertab { left:0px; top:0px; right:0px; width:100%; bottom:38px; }
|
259 |
+
div.innertab2 { display:none; }
|
260 |
+
|
261 |
+
/* PLAYLIST */
|
262 |
+
.ul-mjp { margin:0px !important; padding:3px 0px 0px 0px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; }
|
263 |
+
.li-mjp { margin:0px !important; padding:0px 0px 1px 0px !important; letter-spacing:0px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; list-style-type:none !important; }
|
264 |
+
.li-mjp:before { content:none !important; }
|
265 |
+
.a-mjp {
|
266 |
+
border:0 !important;
|
267 |
+
text-decoration:none !important;
|
268 |
+
display:block !important; width:auto !important;
|
269 |
+
outline:none !important;
|
270 |
+
padding:7px 10px 7px 14px !important;
|
271 |
+
}
|
272 |
+
|
273 |
+
/* SCREEN */
|
274 |
+
div.player-track-title, div.jp-play-time, div.jp-total-time, div.statusMI {
|
275 |
+
position:absolute;
|
276 |
+
z-index:50;
|
277 |
+
}
|
278 |
+
|
279 |
+
div.player-track-title div { position:relative; }
|
280 |
+
|
281 |
+
div.jp-play-time, div.jp-total-time, div.statusMI { font-size:8px; line-height:10px !important; bottom:49px; text-align:left; }
|
282 |
+
div.jp-play-time { right:90px; }
|
283 |
+
div.jp-total-time { right:6px; width:auto; }
|
284 |
+
|
285 |
+
span.mp3-finding, span.mp3-tint { padding:0px 0px 0px 6px !important; font-size:8px !important; line-height:10px !important; height:10px !important; overflow:hidden !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
286 |
+
span.mp3-finding { margin:0px 0px 0px -2px; background:url('images/finding-bar1f.gif') repeat 0px 3px; }
|
287 |
+
span.mp3-tint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); /* background set from admin */ }
|
288 |
+
div.statusMI span.tintmarg { margin:0 2px 0 3px; }
|
289 |
+
|
290 |
+
div.statusMI { right:27px; width:58px !important; height:10px; }
|
291 |
+
.statusMI span.mp3-finding, .statusMI span.mp3-tint, div.statusMI span.mp3-gtint { padding:0px 0px 0px 6px !important; }
|
292 |
+
.statusMI span.mp3-tint, .statusMI span.mp3-gtint { margin:0px 2px 0px -6px; }
|
293 |
+
|
294 |
+
|
295 |
+
/* TRANSPORT BUTTONS */
|
296 |
+
div.transport-MI { position:absolute; width:auto; height:36px; right:2px; bottom:0px; border:0; z-index:20; }
|
297 |
+
div.transport-MI div { background-image: url("images/transport-hardW-shiny.png"); text-indent:-9999px !important; float:right; cursor:pointer; }
|
298 |
+
|
299 |
+
div.play-mjp { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-110px 0px; }
|
300 |
+
div.play-mjp:hover { background-position:-110px -32px; }
|
301 |
+
|
302 |
+
div.pause-mjp { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-2px 0px; }
|
303 |
+
div.pause-mjp:hover { background-position:-2px -32px; }
|
304 |
+
|
305 |
+
div.prev-mjp { width:22px; height:28px; margin:1px 4px 0px 0px; background-position:-32px -1px; }
|
306 |
+
div.prev-mjp:hover { background-position:-32px -33px; }
|
307 |
+
|
308 |
+
div.next-mjp { width:19px; height:28px; margin:1px 3px 0px 0px; background-position:-57px -1px; }
|
309 |
+
div.next-mjp:hover { background-position:-57px -33px; }
|
310 |
+
|
311 |
+
div.stop-mjp { width:26px; height:32px; margin:1px 3px 0px 0px; background-position:-81px 0px; }
|
312 |
+
div.stop-mjp:hover { background-position:-81px -32px; }
|
313 |
+
|
314 |
+
|
315 |
+
/* PLAYLIST TOGGLE */
|
316 |
+
div.playlist-toggle-MI { position:absolute; cursor:pointer; z-index:20; font-size:8px; bottom:1px; left:1px; color:#707070; padding:4px 6px 2px 5px; line-height:9px; min-width:24px; background:#bcbcbc; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; cursor:default; }
|
317 |
+
div.playlist-toggle-MI:hover { background:#c6c6c6; color:#777; }
|
318 |
+
|
319 |
+
/* DOWNLOAD BUTTON */
|
320 |
+
div.dloadmp3-MI { position:absolute; min-height:11px; cursor:pointer; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; bottom:47px; margin:0px !important; font-size:9px !important; text-align:center; left:0px; width:41%; min-width:75px; max-width:425px; padding:0px 0px 0px 0px !important; border:0px; background:transparent url('images/t10b.png') repeat left top !important; color:#fff; line-height:11px !important; -moz-border-radius-topright:3px; -webkit-border-top-right-radius:3px; overflow:hidden; z-index:150; cursor:default; }
|
321 |
+
div.dloadmp3-MI.whilelinks, div.dloadmp3-MI.logintext { background:transparent url('images/t50b.png') repeat left top !important; }
|
322 |
+
div.dloadmp3-MI.whilelinks:hover { background:transparent url('images/t40b.png') repeat left top !important; }
|
323 |
+
div.dloadmp3-MI a { color:#ececec; display:block; width:auto; padding:2px 5px 1px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; height:100%; border-bottom:none; visibility:hidden; }
|
324 |
+
div.dloadmp3-MI a:hover { outline: none; border-bottom: none; color: #ececec; }
|
325 |
+
div.dloadmp3-MI.whilelinks a { color: #f3f3f3; visibility: inherit; }
|
326 |
+
div.dloadmp3-MI.whilelinks a:hover { color: #fff; }
|
327 |
+
div.dloadmp3-MI p { color:#ececec; display:block; width:auto; padding:2px 5px 1px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; height:100%; border-bottom:none; visibility:visible; }
|
328 |
+
|
329 |
+
/* POPOUT BUTTON */
|
330 |
+
div.mp3j-popout-MI { position:absolute; cursor:pointer; z-index:20; font-size:9px; bottom:16px; left:0px; height:16px; color:#6c6c6c; padding:3px 5px 0px 28px; min-width:2px; line-height:11px; border:1px solid #b2b2b2; background-color:#aaa; background-image:url('images/buttons-popoutE.png'); background-repeat:no-repeat; background-position:-8px -65px; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; cursor:default; }
|
331 |
+
div.mp3j-popout-MI:hover { color:#606060; border:1px solid #b2b2b2; background-position:-8px -95px; }
|
332 |
+
|
333 |
+
|
334 |
+
/* VOLUME */
|
335 |
+
div.MIsliderVolume { position:absolute; position:absolute; top:6px; right:10px; width:60px; height:4px !important; background:#808080; border:1px solid #c0c0c0; font-size:1px; cursor:pointer; z-index:150; }
|
336 |
+
div.MIsliderVolume .ui-widget-header { background:transparent url('images/vol-grad60w2.png') repeat-y -15px top; cursor:pointer; }
|
337 |
+
div.MIsliderVolume .ui-slider-handle { border:0px; height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-4px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -1px 0px; z-index:150; overflow:hidden !important; cursor:pointer; }
|
338 |
+
div.MIsliderVolume .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
|
339 |
+
div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
|
340 |
+
|
341 |
+
/* LOADER AND POS SLIDER */
|
342 |
+
div.loadMI_mp3j, div.poscolMI_mp3j, div.posbarMI_mp3j { position:absolute; top:0px; left:0px; }
|
343 |
+
div.bars_holder { position:absolute; left:0px; right:0px; bottom:38px; font-size:1px; cursor:default; background-image: url('images/t60w.png'); background-repeat: repeat-x; background-position: left bottom;
|
344 |
+
|
345 |
+
top:auto; height:8px; border-top:1px solid #b0b0b0; background-color:#888;
|
346 |
+
|
347 |
+
}
|
348 |
+
|
349 |
+
|
350 |
+
div.loadMI_mp3j { bottom:1px; }
|
351 |
+
div.poscolMI_mp3j { bottom:1px; }
|
352 |
+
div.bars_holder .ui-widget-header, div.bars_holder .ui-widget-content { border:0px !important; background:none; }
|
353 |
+
div.bars_holder .ui-slider-horizontal { top:0px; bottom:0px; height:auto; z-index:90; }
|
354 |
+
div.posbarMI_mp3j { bottom:0px; width:100%; }
|
355 |
+
div.posbarMI_mp3j .ui-slider-handle { top:-6px; margin-left:-1px !important; border:0; bottom:-2px; width:2px !important; z-index:100; background:none; cursor:default ; padding:0px !important; }
|
356 |
+
div.posbarMI_mp3j .ui-slider-handle:hover { background:none; z-index:100; }
|
357 |
+
|
358 |
+
|
359 |
+
/* FORCED DOWNLOAD FRAME
|
360 |
+
------------------------ */
|
361 |
+
/* MESSAGES */
|
362 |
+
div.mp3j-finfo {
|
363 |
+
position:absolute;
|
364 |
+
top:36px;
|
365 |
+
z-index:9999 !important;
|
366 |
+
width:80%;
|
367 |
+
left:10%;
|
368 |
+
-moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
|
369 |
+
background:url('images/fdloadW-x.png') repeat-x left top;
|
370 |
+
-webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
|
371 |
+
padding:0;
|
372 |
+
min-height:31px;
|
373 |
+
overflow:hidden;
|
374 |
+
min-width:170px;
|
375 |
+
}
|
376 |
+
|
377 |
+
div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
|
378 |
+
div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
|
379 |
+
div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/loader.gif') no-repeat center 37px; width:auto; padding:0px; height:100%; }
|
380 |
+
div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
|
381 |
+
div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
|
382 |
+
div.mp3j-finfo-close:hover { color:#888 !important; }
|
383 |
+
|
384 |
+
div.mp3j-finfo-txt h2 { font-size:15px !important; color:#333 !important; margin:0 0 10px 0 !important; }
|
385 |
+
div.mp3j-finfo-txt h3 { font-size:14px !important; color:#333 !important; margin:0 0 15px 0 !important; }
|
386 |
+
div.mp3j-finfo-txt p { font-size:11px !important; color:#555 !important; line-height:13px !important; margin:0 0 5px 0; }
|
387 |
+
div.mp3j-finfo-txt a { }
|
388 |
+
|
389 |
+
/* backwards compat
|
390 |
+
------------------- */
|
391 |
+
div.player-track-title.mp3j_widgetmods { font-size: 11px; top: 7px; left:5px; }
|
392 |
+
div.player-track-title.mp3j_widgetmods span { font-size: 9px; }
|
393 |
+
ul.ul-mjp.mp3j_widgetmods li { font-size:10px !important; line-height:14px !important; }
|
394 |
+
ul.ul-mjp.mp3j_widgetmods li a { font-size:10px !important; line-height:14px !important; }
|
395 |
+
|
396 |
+
|
397 |
+
.mp3j-nosolution,
|
398 |
+
.s-nosolution
|
399 |
+
{
|
400 |
+
padding:10px 5% 10px 5%;
|
401 |
+
border:1px solid #c0c0c0;
|
402 |
+
background:#f0f0f0;
|
403 |
+
color:#333;
|
404 |
+
top:4px;
|
405 |
+
left:4px;
|
406 |
+
right:4px;
|
407 |
+
-webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;
|
408 |
+
font-size:13px;
|
409 |
+
-webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
|
410 |
+
}
|
411 |
+
|
412 |
+
/*-------------------------
|
413 |
+
[mp3j] & [mp3t] SHORTCODES
|
414 |
+
==================================== */
|
415 |
+
|
416 |
+
div.mjp-s-wrapper.s-text { padding:0 0 0px 0; line-height:100% !important; margin:0 !important; }
|
417 |
+
div.mjp-s-wrapper.s-graphic { padding:0 0 0px 0; line-height:100% !important; margin:0 !important; }
|
418 |
+
span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
|
419 |
+
span.indi_mp3j { position:relative; padding-left:2px; }
|
420 |
+
|
421 |
+
span.T_mp3j span { font-size:0.7em }
|
422 |
+
|
423 |
+
/* BARS */
|
424 |
+
span.bars_mp3j { position:absolute; width:100%; top:0px; bottom:0px; }
|
425 |
+
span.load_mp3j, span.loadB_mp3j { position:absolute; /* background set from admin */ bottom:-5px; left:0px; min-height:3px; height:12%; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
|
426 |
+
/* mp3t */
|
427 |
+
span.posbar_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0px solid #f77; }
|
428 |
+
span.posbar_mp3j .ui-widget-header { z-index:-500; }
|
429 |
+
span.posbar_mp3j .ui-slider-handle { background:url('images/t50l.png') repeat; top:-1px; margin-left:-4px; border:1px solid #bbb; bottom:-8px; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
430 |
+
span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t50l.png') repeat; border-color:#999; }
|
431 |
+
|
432 |
+
/* mp3j */
|
433 |
+
span.posbarB_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0; cursor:pointer; z-index:499; }
|
434 |
+
span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:-450; height:100%; }
|
435 |
+
span.posbarB_mp3j .ui-slider-handle { background:url('images/t50l.png') repeat 0px 0px; top:-2px; bottom:-8px; margin-left:-4px; border:1px solid #bbb; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
436 |
+
span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t50l.png') repeat 0px 0px; border-color:#999; }
|
437 |
+
|
438 |
+
/* SPAN TRANSPORT */
|
439 |
+
span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; padding:0px; background:none; margin:0 0px 0 0px; }
|
440 |
+
span.group_wrap { position:relative; width:auto; margin:0px; }
|
441 |
+
span.gfxbutton_mp3j.play-mjp, span.gfxbutton_mp3j.pause-mjp {
|
442 |
+
font-size:14px !important; padding:1px 0px 7px 8px; margin:0 5px 0px 2px; background-color:#e0e0e0; background-repeat:no-repeat;
|
443 |
+
}
|
444 |
+
span.gfxbutton_mp3j.play-mjp { background:transparent url('images/transport-shard-B.png') no-repeat -81px -3px; }
|
445 |
+
span.gfxbutton_mp3j.play-mjp:hover { background:transparent url('images/transport-shard-B.png') no-repeat -81px -35px;; }
|
446 |
+
span.gfxbutton_mp3j.pause-mjp { background: transparent url('images/transport-shard-B.png') no-repeat -3px -3px; }
|
447 |
+
span.gfxbutton_mp3j.pause-mjp:hover { background: transparent url('images/transport-shard-B.png') no-repeat -3px -35px; }
|
448 |
+
|
449 |
+
/* VOLUMES */
|
450 |
+
span.vol_mp3t { position:absolute; top:-7px; right:3px; width:90%; max-width:85px; height:3px; }
|
451 |
+
span.vol_mp3j { position:absolute; top:-11px; right:12px; width:85%; max-width:82px; height:3px; }
|
452 |
+
span.vol_mp3j.flipped { right:4px; }
|
453 |
+
span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { z-index:500; height:100%; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; background:#fff url('images/vol-grad60b2.png') repeat-y 0px top; }
|
454 |
+
|
455 |
+
span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle {
|
456 |
+
background: transparent url('images/vol-handle.png') no-repeat -1px 0px;
|
457 |
+
height:11px;
|
458 |
+
width:10px !important;
|
459 |
+
padding:0px;
|
460 |
+
margin-left:-6px;
|
461 |
+
border:0px solid #505050;
|
462 |
+
border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px;
|
463 |
+
z-index:600;
|
464 |
+
overflow:hidden !important;
|
465 |
+
cursor:default;
|
466 |
+
top:-5px;
|
467 |
+
}
|
468 |
+
span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background-color:#575757; background-position:-21px 0px; }
|
469 |
+
span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { outline:none; background-color:#575757; background-position:-21px 0px; }
|
470 |
+
|
471 |
+
span.Smp3-finding,
|
472 |
+
span.mp3-gtint {
|
473 |
+
padding:0px 0px 0px 8px;
|
474 |
+
overflow:hidden;
|
475 |
+
-moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
|
476 |
+
}
|
477 |
+
|
478 |
+
span.Smp3-finding { margin:0px 0px 0px 3px; background:url('images/pulse.gif') repeat 0px 0px; }
|
479 |
+
span.mp3-gtint { margin:0px 2px 0px -8px; opacity:.5; filter:alpha(opacity=50); background:#777; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
480 |
+
span.tintmarg { margin:0 2px 0 3px; }
|
481 |
+
|
482 |
+
span.Smp3-tint { opacity:.5; filter:alpha(opacity=50); padding:0px 0px 0px 8px; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
483 |
+
|
484 |
+
|
485 |
+
|
486 |
+
/*----------------------
|
487 |
+
[popout] SHORTCODE
|
488 |
+
================================================= */
|
489 |
+
.popout-wrap-mjp {
|
490 |
+
cursor:pointer;
|
491 |
+
position:relative;
|
492 |
+
border-width:0px;
|
493 |
+
border-style:solid;
|
494 |
+
background:transparent;
|
495 |
+
padding:5px 10px 5px 0px;
|
496 |
+
|
497 |
+
}
|
498 |
+
.popout-wrap-mjp * { margin:0; padding:0; }
|
499 |
+
.popout-text-mjp { float:left; }
|
500 |
+
.popout-image-mjp {
|
501 |
+
float:left;
|
502 |
+
background-image:url('images/buttons-popout.png');
|
503 |
+
background-repeat:no-repeat;
|
504 |
+
background-position:-10px -62px;
|
505 |
+
min-width:28px;
|
506 |
+
min-height:28px;
|
507 |
+
}
|
508 |
+
.popout-image-mjp-custom { float:left; }
|
509 |
+
.clearL-mjp { clear:left; }
|
510 |
+
|
511 |
+
|
512 |
+
/*
|
513 |
+
MODS (via 'style' param in shortcode)
|
514 |
+
================================================= */
|
515 |
+
|
516 |
+
/* ===== "dark" ===== */
|
517 |
+
.dark .innerx { background-position:left -119px; }
|
518 |
+
.dark .transport-MI { height:38px; }
|
519 |
+
.dark .transport-MI div { background-image:url("images/transport-darkbg-trans2.png"); }
|
520 |
+
.dark .bars_holder { background:url('images/t40b.png') repeat-x left bottom; }
|
521 |
+
.dark .mp3j-popout-MI { color:#a2a2a2; background-position:-8px -6px; border-color:#585858; background-color:#aaa; }
|
522 |
+
.dark .mp3j-popout-MI:hover { color:#aaa; background-position:-8px -36px; }
|
523 |
+
.dark div.playlist-toggle-MI { background:#505050; color:#a2a2a2; }
|
524 |
+
.dark div.playlist-toggle-MI:hover { background:#585858; color:#aaa; }
|
525 |
+
.dark .MI-image img { background-color:#777; }
|
526 |
+
|
527 |
+
.dark div.mp3j-finfo { background:url('images/fdloadB-x.png') repeat-x left top; }
|
528 |
+
.dark div.mp3j-finfo-gif { background:url('images/loader-w2.gif') no-repeat center 37px; }
|
529 |
+
.dark div.mp3j-finfo-close { color:#999 !important; border-bottom:1px solid #777 !important; border-left:1px solid #777 !important; background:url('images/t40b.png') repeat left top !important; }
|
530 |
+
.dark div.mp3j-finfo-close:hover { color:#eee !important; }
|
531 |
+
.dark div.mp3j-finfo-txt h2 { color:#fff !important; }
|
532 |
+
.dark div.mp3j-finfo-txt h3 { color:#fff !important; }
|
533 |
+
.dark div.mp3j-finfo-txt p { color:#fff !important; }
|
534 |
+
|
535 |
+
|
536 |
+
/* ===== "text" ===== */
|
537 |
+
div.wrap-mjp.text { /*min-width:300px;*/ }
|
538 |
+
.text div.innerx, .text div.innerleft, .text div.innerright { position: absolute; visibility: hidden; }
|
539 |
+
.text div.innertab { bottom: 38px; }
|
540 |
+
.text div.interface-mjp { background:none; }
|
541 |
+
.text div.player-track-title { font:normal normal 500 16px/18px 'trebuchet ms', Arial, sans-serif; }
|
542 |
+
.text div.player-track-title span { font:italic normal 500 12px/14px 'trebuchet ms', Arial, sans-serif; opacity:0.7; filter:alpha(opacity=70); }
|
543 |
+
.text div.jp-play-time, .text div.jp-total-time, .text div.statusMI { bottom:20px; font-size:11px; font-family: 'trebuchet ms', Arial, sans-serif; }
|
544 |
+
.text div.jp-play-time { width:37px; left:0px; right:auto; opacity:0.6; filter:alpha(opacity=60); }
|
545 |
+
.text div.jp-total-time { width:37px; left:100px; display:none; }
|
546 |
+
.text div.statusMI { left:37px; width:70px !important; }
|
547 |
+
.text div.transport-MI { height:26px; right:2px; bottom:12px; }
|
548 |
+
.text div.transport-MI div { font-family: 'trebuchet ms', Arial, sans-serif; font-weight:700; overflow:hidden !important; background:none !important; white-space:nowrap !important; }
|
549 |
+
.text div.play-mjp { text-indent:6px !important; width:32px; overflow:hidden !important; height: 25px; margin:0 6px 0 0px; background:none !important; line-height:25px !important; font-size:14px; }
|
550 |
+
.text div.pause-mjp { text-indent:0px !important; width:38px; overflow:hidden !important; height: 25px; margin:0 -3px 0 3px; background:none !important; line-height:25px !important; font-size:14px; }
|
551 |
+
.text div.prev-mjp, .text div.next-mjp { text-indent:0px !important; height:23px; line-height:23px !important; font-size:12px; width:36px; margin:2px 0px 0px 0px; }
|
552 |
+
.text div.stop-mjp { text-indent:0px !important; width:31px; height:25px; margin:0px 0px 0px 4px; line-height:25px !important; font-size:14px; }
|
553 |
+
.text div.playlist-toggle-MI { bottom: 7px; font-family:'trebuchet ms', Arial, sans-serif; background:none; padding:0; opacity:0.6; filter:alpha(opacity=60); }
|
554 |
+
.text div.playlist-toggle-MI:hover { opacity:1.0; filter:alpha(opacity=100); }
|
555 |
+
.text div.dloadmp3-MI { font-size:11px; bottom: 6px; height:auto; right:0px !important; left:auto; margin:0; font-family: 'trebuchet ms', Arial, sans-serif; text-align:right; background:none !important; }
|
556 |
+
.text div.dloadmp3-MI a { color:#888; font-size:inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
|
557 |
+
.text div.dloadmp3-MI a:hover { color:#555; background:none !important; }
|
558 |
+
.text div.dloadmp3-MI.betweenlinks a { display:none; background:none !important; }
|
559 |
+
.text div.dloadmp3-MI.whilelinks a { display:block; background:none !important; }
|
560 |
+
.text div.dloadmp3-MI.whilelinks a:hover { text-decoration:none; background:none !important; }
|
561 |
+
.text div.dloadmp3-MI p { font-size: inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
|
562 |
+
.text div.mp3j-popout-MI { color:#888; font:normal normal 500 11px 'trebuchet ms', 'arial', sans-serif; bottom:15px; right:155px; left:auto; width:auto; opacity:1; filter:alpha(opacity=100); padding:0px; line-height:12px; border:0; background:none; cursor:default; z-index:500; }
|
563 |
+
.text div.mp3j-popout-MI:hover { color:#555; opacity:1.0; filter:alpha(opacity=100); }
|
564 |
+
|
565 |
+
|
566 |
+
|
567 |
+
.text div.dloadmp3-MI.whilelinks, .text div.dloadmp3-MI.logintext { background:none !important; }
|
568 |
+
|
569 |
+
.text span.mjp-playing, .text span.mjp-paused, .text span.mjp-ready, .text span.mjp-stopped, .text span.mjp-connecting, .text span.mjp-buffering { display:inline; }
|
570 |
+
|
571 |
+
|
572 |
+
/* ===== !Backwards compat "noscreen" ===== */
|
573 |
+
.noscreen div.interface-mjp { height:10px !important; }
|
574 |
+
.noscreen div.player-track-title { display:none; }
|
575 |
+
.noscreen div.bars_holder { top:auto; bottom:0px; height:7px; }
|
576 |
+
.noscreen div.innertab { bottom: 0px; top:0; display:none; }
|
577 |
+
.noscreen div.dloadmp3-MI { bottom: 11px; }
|
578 |
+
.noscreen div.transport-MI { bottom:17px; }
|
579 |
+
.noscreen div.jp-play-time, .noscreen div.jp-total-time, .noscreen div.statusMI { bottom:25px; }
|
580 |
+
.noscreen div.playlist-toggle-MI { bottom: 12px; }
|
581 |
+
.noscreen div.mp3j-popout-MI { bottom: 20px; }
|
582 |
+
|
583 |
+
|
584 |
+
.noscreen div.mjp-volwrap { bottom:43px !important; top:auto; height:5px; width:100px; }
|
585 |
+
.noscreen h2 { margin:0 !important; padding:0 0 0px 0 !important; }
|
586 |
+
.noscreen div.posbarMI_mp3j .ui-slider-handle { top:-5px; margin-left:-7px !important; border:0; bottom:0px; width:14px !important; z-index:100; background:none; border:none; cursor:default ; padding:0px !important; }
|
587 |
+
.noscreen div.posbarMI_mp3j .ui-slider-handle:hover { background:none; border:none; }
|
588 |
+
.noscreen .MI-image { top:15px; }
|
589 |
+
|
590 |
+
|
591 |
+
/* ===== "headless" ===== */
|
592 |
+
.headless div.interface-mjp { height:20px; }
|
593 |
+
.headless div.player-track-title { display:none; }
|
594 |
+
.headless .MI-image { display:none; }
|
595 |
+
.headless div.innertab { display:none; }
|
596 |
+
.headless div.bars_holder { height:7px; }
|
597 |
+
.headless div.MIsliderVolume { bottom: 43px; }
|
598 |
+
.headless div.MIsliderVolume .ui-widget-header { background:transparent url('images/vol-grad60b2.png') repeat-y 0px top; }
|
599 |
+
.headless div.MIsliderVolume .ui-slider-handle { top:-6px; }
|
600 |
+
.headless h2 { margin:0 !important; padding:0 0 0px 0 !important; }
|
601 |
+
.headless div.posbarMI_mp3j .ui-slider-handle { top:-5px; margin-left:-7px !important; border:0; bottom:-5px; width:14px !important; z-index:100; background:none; border:none; cursor:default ; padding:0px !important; }
|
602 |
+
.headless div.posbarMI_mp3j .ui-slider-handle:hover { background:none; border:none; }
|
603 |
+
|
604 |
+
/* ===== "bars100" ===== */
|
605 |
+
.bars100 div.player-track-title { left:112px; }
|
606 |
+
.bars100 div.dloadmp3-MI { left:102px; width:36%;}
|
607 |
+
.bars100 div.bars_holder { left:102px; width:auto; }
|
608 |
+
.bars100 .MI-image img { padding:1px; }
|
609 |
+
.bars100 div.player-track-title { top:20px; }
|
610 |
+
|
611 |
+
/* ===== "bars150" ===== */
|
612 |
+
.bars150 div.player-track-title { left:162px; }
|
613 |
+
.bars150 div.dloadmp3-MI { left:152px; width:33%;}
|
614 |
+
.bars150 div.bars_holder { left:152px; width:auto; }
|
615 |
+
.bars150 .MI-image img { padding:1px; }
|
616 |
+
.bars150 div.player-track-title { top:20px; }
|
617 |
+
|
618 |
+
/* ===== "bars200" ===== */
|
619 |
+
.bars200 div.player-track-title { left:212px; }
|
620 |
+
.bars200 div.dloadmp3-MI { left:202px; width:30%; }
|
621 |
+
.bars200 div.bars_holder { left:202px; width:auto; }
|
622 |
+
.bars200 .MI-image img { padding:1px; }
|
623 |
+
.bars200 div.player-track-title { top:20px; }
|
624 |
+
|
625 |
+
/* ===== "bars250" ===== */
|
626 |
+
.bars250 div.player-track-title { left:262px; }
|
627 |
+
.bars250 div.dloadmp3-MI { left:252px; width:27%;}
|
628 |
+
.bars250 div.bars_holder { left:252px; width:auto; }
|
629 |
+
.bars250 .MI-image img { padding:1px; }
|
630 |
+
.bars250 div.player-track-title { top:20px; }
|
631 |
+
|
632 |
+
/* ===== "bars300" ===== */
|
633 |
+
.bars300 div.player-track-title { left:312px; }
|
634 |
+
.bars300 div.dloadmp3-MI { left:302px; width:24%; }
|
635 |
+
.bars300 div.bars_holder { left:302px; width:auto; }
|
636 |
+
.bars300 .MI-image img { padding:1px; }
|
637 |
+
.bars300 div.player-track-title { top:20px; }
|
638 |
+
|
639 |
+
/* ===== "bars350" ===== */
|
640 |
+
.bars350 div.player-track-title { left:362px; }
|
641 |
+
.bars350 div.dloadmp3-MI { left:352px; width:21%;}
|
642 |
+
.bars350 div.bars_holder { left:352px; width:auto; }
|
643 |
+
.bars350 .MI-image img { padding:1px; }
|
644 |
+
.bars350 div.player-track-title { top:20px; }
|
645 |
+
|
646 |
+
/* ===== "bars400" ===== */
|
647 |
+
.bars400 div.player-track-title { left:412px; }
|
648 |
+
.bars400 div.dloadmp3-MI { left:402px; width:18%; }
|
649 |
+
.bars400 div.bars_holder { left:402px; width:auto; }
|
650 |
+
.bars400 .MI-image img { padding:1px; }
|
651 |
+
.bars400 div.player-track-title { top:20px; }
|
652 |
+
|
653 |
+
/* ===== bigger1 ===== */
|
654 |
+
div.bigger1 span { font-size:18px !important; line-height:26px !important; margin:0 !important; }
|
655 |
+
.bigger1 span.load_mp3j .ui-slider-handle,
|
656 |
+
.bigger1 span.posbar_mp3j .ui-slider-handle { top: 3px; height:24px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
657 |
+
.bigger1 span.posbarB_mp3j .ui-slider-handle { top: 3px; margin-left:-3px !important; border:1px solid #999; height:24px; width:6px !important; z-index:500; background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
658 |
+
.bigger1 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; border-color:#aaa; }
|
659 |
+
.bigger1 span.play-mjp { font-size:14px !important; position:relative; margin:0px; margin-left:2px !important; padding:10px 0px 5px 6px; background: transparent url('images/transport-shard-B.png') no-repeat -80px 5px; }
|
660 |
+
.bigger1 span.play-mjp:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -27px; }
|
661 |
+
.bigger1 span.pause-mjp { font-size:14px !important; position:relative; margin:0px; margin-left:2px !important; padding:10px 0px 5px 6px; background: transparent url('images/transport-shard-B.png') no-repeat -2px 5px; }
|
662 |
+
.bigger1 span.pause-mjp:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -27px; }
|
663 |
+
.bigger1 span.vol_mp3j { position:absolute; top:-6px; right:4px; width:85%; max-width:100px; height:2px; }
|
664 |
+
|
665 |
+
.bigger1 span.Smp3-finding,
|
666 |
+
.bigger1 span.mp3-gtint,
|
667 |
+
.bigger1 span.Smp3-tint {
|
668 |
+
padding:0px 0px 0px 10px !important;
|
669 |
+
font-size:10px !important;
|
670 |
+
}
|
671 |
+
.bigger1 span.Smp3-finding { margin:0px 0px 0px 8px !important;}
|
672 |
+
.bigger1 span.mp3-gtint { margin:0px 8px 0px -10px !important; }
|
673 |
+
.bigger1 span.tintmarg { margin:0 8px 0 8px !important; }
|
674 |
+
|
675 |
+
.bigger1 div.player-track-title { font:normal normal 500 18px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
676 |
+
.bigger1 div.player-track-title span { font:normal normal 500 14px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
677 |
+
.bigger1 ul.ul-mjp li a, .bigger1 ul.ul-mjp li { font-size:16px !important; line-height:19px !important; }
|
678 |
+
.bigger1 .indi_mp3j { font-size: 0.6em !important; }
|
679 |
+
|
680 |
+
.bigger1 span.textbutton_mp3j, .bigger1 span.textbutton_mp3j:hover { background:none; }
|
681 |
+
|
682 |
+
/* ===== "bigger2" ===== */
|
683 |
+
.bigger2 div.player-track-title { font:normal normal 500 36px/38px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
684 |
+
.bigger2 div.player-track-title span { font:normal normal 500 20px/22px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
685 |
+
.bigger2 ul.ul-mjp li a, .bigger2 ul.ul-mjp li { font-size:20px !important; line-height:24px !important; }
|
686 |
+
div.bigger2 span { font-size:23px !important; line-height:25px !important; margin:0 !important; }
|
687 |
+
.bigger2 span.posbar_mp3j .ui-slider-handle { top: 0px; height:34px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
688 |
+
.bigger2 span.posbarB_mp3j .ui-slider-handle { top: -1px; margin-left:-3px !important; border:1px solid #999; height:34px; width:8px !important; z-index:500; border-color:#aaa; background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
689 |
+
.bigger2 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; border-color:#999; }
|
690 |
+
.bigger2 span.play-mjp { font-size:14px !important; font-family:Arial, Helvetica, sans-serif !important; padding:13px 0px 4px 5px !important; background:url('images/play-dark2-b.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px !important; }
|
691 |
+
.bigger2 span.play-mjp:hover { background:url('images/play-dark2-b.png') no-repeat -437px center; }
|
692 |
+
.bigger2 span.pause-mjp { font-size:14px !important; font-family:Arial, Helvetica, sans-serif !important; padding:13px 0px 4px 5px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
693 |
+
.bigger2 span.pause-mjp:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
|
694 |
+
.bigger2 span.vol_mp3j { position:absolute; top:-12px; right:4px; width:85%; max-width:100px; height:2px; }
|
695 |
+
.bigger2 span.vol_mp3t { position:absolute; top:-10px; width:85%; max-width:100px; height:2px; }
|
696 |
+
.bigger2 .indi_mp3j { font-size: 0.5em !important; padding-left:0px; }
|
697 |
+
|
698 |
+
.bigger2 span.Smp3-finding,
|
699 |
+
.bigger2 span.mp3-gtint,
|
700 |
+
.bigger2 span.Smp3-tint {
|
701 |
+
padding:0px 0px 0px 12px !important;
|
702 |
+
font-size:12px !important;
|
703 |
+
}
|
704 |
+
.bigger2 span.Smp3-finding { margin:0px 0px 0px 8px !important;}
|
705 |
+
.bigger2 span.mp3-gtint { margin:0px 8px 0px -12px !important; }
|
706 |
+
.bigger2 span.tintmarg { margin:0 8px 0 8px !important; }
|
707 |
+
|
708 |
+
.bigger2.wh .play-mjp { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 20px !important; background:url('images/play-dark2-w.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px; }
|
709 |
+
.bigger2.wh .play-mjp:hover { background:url('images/play-dark2-w.png') no-repeat -437px center; }
|
710 |
+
.bigger2.wh .pause-mjp { font-family:Arial, Helvetica, sans-serif !important; padding:0px 0px 2px 20px !important; background:url('images/stop-dark2-w.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
711 |
+
.bigger2.wh .pause-mjp:hover { background:url('images/stop-dark2-w.png') repeat-y -350px top; }
|
712 |
+
|
713 |
+
.bigger2 span.textbutton_mp3j, .bigger2 span.textbutton_mp3j:hover { background:none; }
|
714 |
+
|
715 |
+
/* ===== bigger3 ===== */
|
716 |
+
div.bigger3 span { font-size:28px !important; line-height:36px !important; margin:0 !important; }
|
717 |
+
.bigger3 .posbar_mp3j .ui-slider-handle, .bigger3 .posbarB_mp3j .ui-slider-handle { top: 0px; border:1px solid #bbb; height:44px; width:12px !important; margin-left:-5px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
718 |
+
.bigger3 .posbar_mp3j .ui-slider-handle:hover, .bigger3 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
|
719 |
+
.bigger3 .indi_mp3j { font-size: 0.5em !important; }
|
720 |
+
.bigger3 span.play-mjp { font-size:17px !important; font-family:Arial, Helvetica, sans-serif !important; padding:11px 5px 9px 0px !important; background:url('images/play-dark2.png') no-repeat -177px center; border:0px solid #bbb; margin-left:12px !important; }
|
721 |
+
.bigger3 span.play-mjp:hover { background:url('images/play-dark2.png') no-repeat -428px center; }
|
722 |
+
.bigger3 span.pause-mjp { font-size:17px !important; font-family:Arial, Helvetica, sans-serif !important; padding:11px 5px 9px 0px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:12px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
723 |
+
.bigger3 span.pause-mjp:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
|
724 |
+
.bigger3 .vol_mp3j { height:1px; max-width:110px; right:64px; top:-8px; }
|
725 |
+
.bigger3 .vol_mp3t { height:1px; max-width:110px; right:16px; top:-5px; }
|
726 |
+
.bigger3 .vol_mp3j .ui-slider-handle, .bigger3 .vol_mp3t .ui-slider-handle { height:14px !important; width:33px !important; margin-left:-16px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-14px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
|
727 |
+
.bigger3 .vol_mp3j .ui-slider-handle:hover, .bigger3 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
|
728 |
+
|
729 |
+
.bigger3 span.Smp3-finding,
|
730 |
+
.bigger3 span.mp3-gtint,
|
731 |
+
.bigger3 span.Smp3-tint {
|
732 |
+
padding:0px 0px 0px 14px !important;
|
733 |
+
font-size:16px !important;
|
734 |
+
}
|
735 |
+
.bigger3 span.Smp3-finding { margin:0px 0px 0px 8px !important;}
|
736 |
+
.bigger3 span.mp3-gtint { margin:0px 8px 0px -14px !important; }
|
737 |
+
.bigger3 span.tintmarg { margin:0 8px 0 8px !important; }
|
738 |
+
|
739 |
+
.bigger3 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
740 |
+
.bigger3 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
741 |
+
.bigger3 ul.ul-mjp li a, .bigger3 ul.ul-mjp li { font-size:28px !important; line-height:30px !important; }
|
742 |
+
|
743 |
+
.bigger3.bl span.play-mjp { background:url('images/play-dark2-b.png') no-repeat -177px center; }
|
744 |
+
.bigger3.bl span.play-mjp:hover { background:url('images/play-dark2-b.png') no-repeat -428px center; }
|
745 |
+
.bigger3.bl span.pause-mjp { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
|
746 |
+
.bigger3.bl span.pause-mjp:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
|
747 |
+
.bigger3.bl span.vol_mp3j .ui-slider-handle, .bigger3.bl span.vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
|
748 |
+
.bigger3.bl span.vol_mp3j .ui-slider-handle:hover, .bigger3.bl span.vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
|
749 |
+
.bigger3 span.textbutton_mp3j, .bigger3 span.textbutton_mp3j:hover { background:none; }
|
750 |
+
|
751 |
+
/* ===== bigger4 ===== */
|
752 |
+
div.bigger4 span { font-size:38px !important; line-height:46px !important; margin:0 !important; }
|
753 |
+
.bigger4 .posbar_mp3j .ui-slider-handle, .bigger4 .posbarB_mp3j .ui-slider-handle { top: -2px; border:1px solid #bbb; height:54px; width:16px !important; margin-left:-8px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
754 |
+
.bigger4 .posbar_mp3j .ui-slider-handle:hover, .bigger4 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
|
755 |
+
.bigger4 .indi_mp3j { font-size: 0.5em !important; }
|
756 |
+
.bigger4 span.play-mjp { font-size:22px !important; font-family:Arial, Helvetica, sans-serif !important; padding:24px 10px 5px 0px !important; background:url('images/play-dark2.png') no-repeat -167px center; border:0px solid #bbb; margin-left:15px !important; }
|
757 |
+
.bigger4 span.play-mjp:hover { background:url('images/play-dark2.png') no-repeat -418px center; }
|
758 |
+
.bigger4 span.pause-mjp { font-size:22px !important; font-family:Arial, Helvetica, sans-serif !important; padding:24px 10px 5px 0px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
759 |
+
.bigger4 span.pause-mjp:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
|
760 |
+
.bigger4 .vol_mp3j { height:1px; max-width:110px; right:86px; top:-8px; }
|
761 |
+
.bigger4 .vol_mp3t { height:1px; max-width:110px; right:20px; top:-5px; }
|
762 |
+
.bigger4 .vol_mp3j .ui-slider-handle, .bigger4 .vol_mp3t .ui-slider-handle { height:20px !important; width:43px !important; margin-left:-21px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-20px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
|
763 |
+
.bigger4 .vol_mp3j .ui-slider-handle:hover, .bigger4 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
|
764 |
+
|
765 |
+
.bigger4 span.Smp3-finding,
|
766 |
+
.bigger4 span.mp3-gtint,
|
767 |
+
.bigger4 span.Smp3-tint {
|
768 |
+
padding:0px 0px 0px 20px !important;
|
769 |
+
font-size:20px !important;
|
770 |
+
}
|
771 |
+
.bigger4 span.Smp3-finding { margin:0px 0px 0px 6px !important;}
|
772 |
+
.bigger4 span.mp3-gtint { margin:0px 6px 0px -20px !important; }
|
773 |
+
.bigger4 span.tintmarg { margin:0 6px 0 6px !important; }
|
774 |
+
|
775 |
+
.bigger4 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
776 |
+
.bigger4 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
|
777 |
+
.bigger4 ul.ul-mjp li a, .bigger4 ul.ul-mjp li { font-size:28px !important; line-height:30px !important; }
|
778 |
+
|
779 |
+
.bigger4.bl .posbar_mp3j .ui-slider-handle, .bigger4.bl .posbarB_mp3j .ui-slider-handle { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
|
780 |
+
.bigger4.bl .posbar_mp3j .ui-slider-handle:hover, .bigger4.bl .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
|
781 |
+
.bigger4.bl .play-mjp { background:url('images/play-dark2-b.png') no-repeat -167px center; }
|
782 |
+
.bigger4.bl .play-mjp:hover { background:url('images/play-dark2-b.png') no-repeat -418px center; }
|
783 |
+
.bigger4.bl .pause-mjp { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
|
784 |
+
.bigger4.bl .pause-mjp:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
|
785 |
+
.bigger4.bl .vol_mp3j .ui-slider-handle, .bigger4.bl .vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
|
786 |
+
.bigger4.bl .vol_mp3j .ui-slider-handle:hover, .bigger4.bl .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
|
787 |
+
.bigger4 span.textbutton_mp3j, .bigger4 span.textbutton_mp3j:hover { background:none; }
|
788 |
+
|
789 |
+
/* ===== bigger5 ===== */
|
790 |
+
div.bigger5 span { font-size:48px !important; line-height:66px !important; margin:0 !important; }
|
791 |
+
.bigger5 .posbar_mp3j .ui-slider-handle, .bigger5 .posbarB_mp3j .ui-slider-handle { top: -1px; border:1px solid #bbb; height:69px; width:20px !important; margin-left:-10px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
792 |
+
.bigger5 .posbar_mp3j .ui-slider-handle:hover, .bigger5 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y -10px top; border:1px solid #aaa; }
|
793 |
+
.bigger5 .indi_mp3j { font-size: 0.5em !important; }
|
794 |
+
.bigger5 span.play-mjp { font-size:28px !important; font-family:Arial, Helvetica, sans-serif !important; padding:25px 10px 5px 0px !important; background:url('images/play-dark2.png') no-repeat -160px center; border:0px solid #bbb; margin-left:10px !important; }
|
795 |
+
.bigger5 span.play-mjp:hover { background:url('images/play-dark2.png') no-repeat -411px center; }
|
796 |
+
.bigger5 span.pause-mjp { font-size:28px !important; font-family:Arial, Helvetica, sans-serif !important; padding:25px 10px 5px 0px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
797 |
+
.bigger5 span.pause-mjp:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
|
798 |
+
.bigger5 .vol_mp3j { height:1px; max-width:170px; right:103px; top:-10px; }
|
799 |
+
.bigger5 .vol_mp3t { height:1px; max-width:170px; right:33px; top:-5px; }
|
800 |
+
.bigger5 .vol_mp3j .ui-slider-handle, .bigger5 .vol_mp3t .ui-slider-handle { height:30px !important; width:55px !important; margin-left:-21px; border-bottom:1px solid #aaa !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-30px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
|
801 |
+
.bigger5 .vol_mp3j .ui-slider-handle:hover, .bigger5 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
|
802 |
+
.bigger5 span.Smp3-finding,
|
803 |
+
.bigger5 span.mp3-gtint,
|
804 |
+
.bigger5 span.Smp3-tint {
|
805 |
+
padding:0px 0px 0px 24px !important;
|
806 |
+
font-size:22px !important;
|
807 |
+
}
|
808 |
+
.bigger5 span.Smp3-finding { margin:0px 0px 0px 10px !important;}
|
809 |
+
.bigger5 span.mp3-gtint { margin:0px 10px 0px -24px !important; }
|
810 |
+
.bigger5 span.tintmarg { margin:0 10px 0 10px !important; }
|
811 |
+
|
812 |
+
|
813 |
+
/* ===== smaller ===== */
|
814 |
+
.smaller div.player-track-title { font:normal normal 500 11px/13px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; left:5px; right:5px; }
|
815 |
+
.smaller div.player-track-title span { font:normal normal 500 10px/10px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; padding:0; }
|
816 |
+
.smaller ul.ul-mjp li a, .smaller ul.ul-mjp li { font-size:10px !important; font-family:'verdana', Helvetica, sans-serif !important; line-height:13px !important; }
|
817 |
+
|
818 |
+
/* ===== outline ==== */
|
819 |
+
.outline span.vol_mp3j { position:absolute; top:-9px; right:6px; width:85%; max-width:100px; height:2px; background: transparent; }
|
820 |
+
.outline span.play-mjp { padding:2px 0px 5px 9px !important; background: transparent url('images/transport-outline.png') no-repeat -80px -1px; border:0; margin:0; }
|
821 |
+
.outline span.play-mjp:hover { background:transparent url('images/transport-outline.png') no-repeat -80px -33px; }
|
822 |
+
.outline span.pause-mjp { padding:2px 0px 5px 9px !important; background: transparent url('images/transport-outline.png') no-repeat 1px -1px; border:0; margin:0; }
|
823 |
+
.outline span.pause-mjp:hover { background:transparent url('images/transport-outline.png') no-repeat 1px -33px; }
|
824 |
+
.outline span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
|
825 |
+
.outline span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:0px; border:1px solid #aaa; height:23px; width:5px !important; z-index:500; background:url('images/t10b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
|
826 |
+
.outline span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t20b.png') repeat; border-color:#777; }
|
827 |
+
.outline div.transport-MI div { background-image: url("images/transport-hardZ.png"); }
|
828 |
+
.outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
|
829 |
+
.dark.outline div.transport-MI div { background-image: url("images/transport-hardK.png"); }
|
830 |
+
.dark.outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
|
831 |
+
|
832 |
+
/* ===== wtransbars ==== */
|
833 |
+
.wtransbars div.loadMI_mp3j { background:#fff; opacity:0.2; filter:alpha(opacity=20); }
|
834 |
+
.wtransbars div.poscolMI_mp3j { background:#fff url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
|
835 |
+
|
836 |
+
/* ===== btransbars ==== */
|
837 |
+
.btransbars div.loadMI_mp3j { background:#000; opacity:0.2; filter:alpha(opacity=20); }
|
838 |
+
.btransbars div.poscolMI_mp3j { background:#000 url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
|
839 |
+
|
840 |
+
|
841 |
+
/* ===== fullbars === */
|
842 |
+
.fullbars div.dloadmp3-MI { bottom:39px; }
|
843 |
+
.fullbars div.MIsliderVolume { top:0px; right:4px; width:108px; height:6px !important; background:transparent; border:0px; }
|
844 |
+
.fullbars div.MIsliderVolume .ui-widget-header { background:transparent url('images/vol-grad60w2.png') repeat-y -15px top; }
|
845 |
+
.fullbars div.MIsliderVolume .ui-slider-handle { border:0px; height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-2px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -1px 0px; z-index:150; overflow:hidden !important; cursor:pointer; }
|
846 |
+
.fullbars div.MIsliderVolume .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
|
847 |
+
.fullbars div.MIsliderVolume .ui-state-active, .fullbars div.MIsliderVolume .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
|
848 |
+
|
849 |
+
.fullbars div.jp-play-time, .fullbars div.jp-total-time, .fullbars div.statusMI { bottom:42px; }
|
850 |
+
.fullbars div.innerleft { display:none; }
|
851 |
+
.fullbars div.innerright { display:none; }
|
852 |
+
|
853 |
+
.fullbars div.bars_holder { left:0px; right:0px; height:auto; bottom:38px; top:0px; background-image: url('images/t60w.png'); background-repeat: repeat-x; background-position: left bottom; background-color:transparent; border:0; }
|
854 |
+
|
855 |
+
|
856 |
+
|
857 |
+
|
download.php
CHANGED
@@ -1,106 +1,145 @@
|
|
1 |
-
<?php
|
2 |
-
/*
|
3 |
-
MP3-jPlayer
|
4 |
-
www.sjward.org
|
5 |
-
*/
|
6 |
-
|
7 |
-
$
|
8 |
-
|
9 |
-
$
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
$
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
106 |
Â
</html>
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
MP3-jPlayer 2.0
|
4 |
+
www.sjward.org
|
5 |
+
*/
|
6 |
+
|
7 |
+
function strip_scripts ( $field )
|
8 |
+
{
|
9 |
+
$search = array(
|
10 |
+
'@<script[^>]*?>.*?</script>@si', // Strip out javascript
|
11 |
+
'@<style[^>]*?>.*?</style>@siU', // Strip style tags properly
|
12 |
+
'@<![\s\S]*?--[ \t\n\r]*>@' // Strip multi-line comments including CDATA
|
13 |
+
);
|
14 |
+
|
15 |
+
$text = preg_replace( $search, '', $field );
|
16 |
+
return $text;
|
17 |
+
}
|
18 |
+
|
19 |
+
|
20 |
+
|
21 |
+
$mp3 = false;
|
22 |
+
$playerID = "";
|
23 |
+
$fp = "";
|
24 |
+
$file = "";
|
25 |
+
$dbug = "";
|
26 |
+
$sent = "";
|
27 |
+
$pagetext = '';
|
28 |
+
$js_pagetext = '';
|
29 |
+
$rooturl = preg_replace("/^www\./i", "", $_SERVER['HTTP_HOST']);
|
30 |
+
|
31 |
+
|
32 |
+
|
33 |
+
if ( isset($_GET['mp3']) ) {
|
34 |
+
|
35 |
+
|
36 |
+
$mp3 = strip_tags($_GET['mp3']);
|
37 |
+
$mp3 = rawurldecode( $mp3 );
|
38 |
+
$mp3 = strip_scripts( $mp3 );
|
39 |
+
|
40 |
+
$playerID = ( isset($_GET['pID']) ) ? strip_tags($_GET['pID']) : "";
|
41 |
+
$playerID = strip_scripts( $playerID );
|
42 |
+
|
43 |
+
$matches = array();
|
44 |
+
if ( preg_match("!\.(mp3|mp4|m4a|ogg|oga|wav|webm)$!i", $mp3, $matches) ) {
|
45 |
+
|
46 |
+
$fileExtension = $matches[0];
|
47 |
+
if ( $fileExtension === 'mp3' || $fileExtension === 'mp4' || $fileExtension === 'm4a' ) {
|
48 |
+
$mimeType = 'audio/mpeg';
|
49 |
+
}
|
50 |
+
elseif( $fileExtension === 'ogg' || $fileExtension === 'oga' ) {
|
51 |
+
$mimeType = 'audio/ogg';
|
52 |
+
}
|
53 |
+
else {
|
54 |
+
$mimeType = 'audio/' . ( str_replace('.', '', $fileExtension) );
|
55 |
+
}
|
56 |
+
|
57 |
+
|
58 |
+
$sent = substr($mp3, 3);
|
59 |
+
$file = substr(strrchr($sent, "/"), 1);
|
60 |
+
|
61 |
+
if ( ($lp = strpos($sent, $rooturl)) || preg_match("!^/!", $sent) ) { //if local
|
62 |
+
|
63 |
+
if ( $lp !== false ) { //url
|
64 |
+
|
65 |
+
$fp = str_replace($rooturl, "", $sent);
|
66 |
+
$fp = str_replace("www.", "", $fp);
|
67 |
+
$fp = str_replace("http://", "", $fp);
|
68 |
+
$fp = str_replace("https://", "", $fp);
|
69 |
+
|
70 |
+
} else { //folder path
|
71 |
+
|
72 |
+
$fp = $sent;
|
73 |
+
}
|
74 |
+
|
75 |
+
if ( ($fsize = @filesize($_SERVER['DOCUMENT_ROOT'] . $fp)) !== false ) { //if file can be read then set headers and cookie
|
76 |
+
|
77 |
+
header('Content-Type: ' . $mimeType);
|
78 |
+
$cookiename = 'mp3Download' . $playerID;
|
79 |
+
setcookie($cookiename, "true", 0, '/', '', '', false);
|
80 |
+
header('Accept-Ranges: bytes'); // download resume
|
81 |
+
header('Content-Disposition: attachment; filename=' . $file);
|
82 |
+
|
83 |
+
header('Content-Length: ' . $fsize);
|
84 |
+
|
85 |
+
readfile($_SERVER['DOCUMENT_ROOT'] . $fp);
|
86 |
+
|
87 |
+
|
88 |
+
$dbug .= "#read failed"; //if past readfile() then something went wrong
|
89 |
+
|
90 |
+
} else {
|
91 |
+
|
92 |
+
$dbug .= "#no file";
|
93 |
+
}
|
94 |
+
|
95 |
+
} else {
|
96 |
+
|
97 |
+
$dbug .= "#unreadable";
|
98 |
+
}
|
99 |
+
|
100 |
+
} else {
|
101 |
+
|
102 |
+
$dbug .= "#unsupported format";
|
103 |
+
}
|
104 |
+
|
105 |
+
} else {
|
106 |
+
|
107 |
+
$dbug .= "#no get param";
|
108 |
+
}
|
109 |
+
|
110 |
+
?>
|
111 |
+
<!DOCTYPE html>
|
112 |
+
<html>
|
113 |
+
<head>
|
114 |
+
<title>Download Audio</title>
|
115 |
+
</head>
|
116 |
+
<body>
|
117 |
+
|
118 |
+
<?php
|
119 |
+
echo $js_pagetext;
|
120 |
+
$info = "<p>
|
121 |
+
Get: " . $mp3 . "<br />
|
122 |
+
Sent: " . $sent . "<br />
|
123 |
+
File: " . $file . "<br />
|
124 |
+
Open: " . $_SERVER['DOCUMENT_ROOT'] . $fp . "<br />
|
125 |
+
Root: " . $rooturl . "<br />
|
126 |
+
pID: " . $playerID . "<br />
|
127 |
+
Dbug: " . $dbug . "<br />
|
128 |
+
extension: " . $fileExtension . "</p>";
|
129 |
+
echo $info;
|
130 |
+
|
131 |
+
if ( $playerID != "" ) {
|
132 |
+
?>
|
133 |
+
|
134 |
+
<script type="text/javascript">
|
135 |
+
if ( typeof window.parent.MP3_JPLAYER.dl_dialogs !== 'undefined' ) {
|
136 |
+
window.parent.MP3_JPLAYER.dl_dialogs[<?php echo $playerID; ?>] = window.parent.MP3_JPLAYER.vars.message_fail;
|
137 |
+
}
|
138 |
+
</script>
|
139 |
+
|
140 |
+
<?php
|
141 |
+
}
|
142 |
+
?>
|
143 |
+
|
144 |
+
</body>
|
145 |
Â
</html>
|
frontend.php
ADDED
@@ -0,0 +1,1040 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
if ( !class_exists("MP3j_Front") && class_exists("MP3j_Main") ) { class MP3j_Front extends MP3j_Main {
|
3 |
+
|
4 |
+
/* Called on deactivation, deletes settings if 'remember' option unticked. */
|
5 |
+
function uninitFox()
|
6 |
+
{
|
7 |
+
$theOptions = get_option($this->adminOptionsName);
|
8 |
+
if ( $theOptions['remember_settings'] == "false" ) {
|
9 |
+
delete_option($this->adminOptionsName);
|
10 |
+
}
|
11 |
+
}
|
12 |
+
|
13 |
+
|
14 |
+
/** Flags for scripts via template tag mp3j_addscripts() */
|
15 |
+
function scripts_tag_handler( $style = "" )
|
16 |
+
{
|
17 |
+
// Since 1.7 - convert old option name to new
|
18 |
+
if ( $style == "styleA" || $style == "styleE" ) { $style = "styleF"; }
|
19 |
+
if ( $style == "styleB" ) { $style = "styleG"; }
|
20 |
+
if ( $style == "styleC" ) { $style = "styleH"; }
|
21 |
+
if ( $style == "styleD" ) { $style = "styleI"; }
|
22 |
+
|
23 |
+
$this->stylesheet = ( $style == "" ) ? $this->theSettings['player_theme'] : $style;
|
24 |
+
$this->scriptsflag = "true";
|
25 |
+
return;
|
26 |
+
}
|
27 |
+
|
28 |
+
|
29 |
+
/** Returns library via template tag mp3j_grab_library(). */
|
30 |
+
function grablibrary_handler( $x )
|
31 |
+
{
|
32 |
+
return $this->grab_library_info( $x );
|
33 |
+
}
|
34 |
+
|
35 |
+
|
36 |
+
/**
|
37 |
+
* Provides support for WP versions below 3.3 that can't late enqueue. Labourious
|
38 |
+
* checking of active widgets, and loose checking post content for shortcodes and extensions
|
39 |
+
* so as to avoid unecessary script addition.
|
40 |
+
*/
|
41 |
+
function header_scripts_handler()
|
42 |
+
{
|
43 |
+
$scripts = false;
|
44 |
+
$allowed_widget = $this->has_allowed_widget( "mp3-jplayer-widget" );
|
45 |
+
$allowed_widget_B = $this->has_allowed_widget( "mp3mi-widget" );
|
46 |
+
|
47 |
+
//Flagged in template
|
48 |
+
//if ( $this->scriptsflag == "true" && $this->theSettings['disable_template_tag'] == "false" ) {
|
49 |
+
if ( $this->scriptsflag == "true" ) {
|
50 |
+
$scripts = true;
|
51 |
+
}
|
52 |
+
|
53 |
+
//On page types
|
54 |
+
if ( is_home() || is_archive() || is_search() ) {
|
55 |
+
if ( $allowed_widget || $allowed_widget_B || $this->theSettings['player_onblog'] == "true" ) {
|
56 |
+
$scripts = true;
|
57 |
+
}
|
58 |
+
}
|
59 |
+
if ( is_singular() ) {
|
60 |
+
if ( $allowed_widget || $allowed_widget_B || $this->has_shortcodes() || $this->post_has_string() ) {
|
61 |
+
$scripts = true;
|
62 |
+
}
|
63 |
+
}
|
64 |
+
|
65 |
+
if ( $scripts ) { //Add the scripts
|
66 |
+
$style = ( $this->stylesheet == "" ) ? $this->theSettings['player_theme'] : $this->stylesheet;
|
67 |
+
$this->add_Scripts( $style );
|
68 |
+
}
|
69 |
+
|
70 |
+
return;
|
71 |
+
}
|
72 |
+
|
73 |
+
|
74 |
+
//#############
|
75 |
+
function checkAddScripts ()
|
76 |
+
{
|
77 |
+
if ( $this->Player_ID > 0 && $this->SCRIPT_CALL === false )
|
78 |
+
{
|
79 |
+
$style = ( $this->stylesheet == "" ) ? $this->theSettings['player_theme'] : $this->stylesheet;
|
80 |
+
$this->add_Scripts( $style );
|
81 |
+
|
82 |
+
$version = substr( get_bloginfo('version'), 0, 3);
|
83 |
+
if ( $version < 3.3 ) {
|
84 |
+
$this->dbug['str'] .= "\nFAIL Warning: Can't recover because this version of WordPress is too old (below 3.3). Possible causes:\n- Using do_shortcode without adding the scripts first (see plugin help)\n- A genuine bug, please report.\n";
|
85 |
+
}
|
86 |
+
}
|
87 |
+
}
|
88 |
+
|
89 |
+
|
90 |
+
/** Writes js playlists, startup, and debug info. */
|
91 |
+
function footercode_handler()
|
92 |
+
{
|
93 |
+
$O = $this->theSettings;
|
94 |
+
$JS = '';
|
95 |
+
if ( $this->Player_ID > 0 )
|
96 |
+
{
|
97 |
+
$JS .= "\n<script type=\"text/javascript\">\njQuery(document).ready(function () {";
|
98 |
+
$JS .= "\n\tif (typeof MP3_JPLAYER !== 'undefined') {";
|
99 |
+
|
100 |
+
$JS .= ( $this->FIRST_FORMATS !== 'mp3' ) ? "\n\t\tMP3_JPLAYER.lastformats = '" . $this->FIRST_FORMATS . "';" : "";
|
101 |
+
$JS .= "\n\t\tMP3_JPLAYER.plugin_path = '" . $this->PluginFolder . "';";
|
102 |
+
|
103 |
+
$JS .= ( $O['allowRangeRequests'] !== 'true' ) ? "\n\t\tMP3_JPLAYER.allowRanges = " . $O['allowRangeRequests'] . ";" : "";
|
104 |
+
$JS .= "\n\t\tMP3_JPLAYER.pl_info = MP3jPLAYERS;";
|
105 |
+
$JS .= ( $O['encode_files'] !== 'true' ) ? "\n\t\tMP3_JPLAYER.vars.play_f = " . $O['encode_files'] . ";" : "";
|
106 |
+
$JS .= ( $O['force_browser_dload'] !== 'true' ) ? "\n\t\tMP3_JPLAYER.vars.force_dload = " . $O['force_browser_dload'] . ";" : "";
|
107 |
+
$JS .= "\n\t\tMP3_JPLAYER.vars.dload_text = '" . $O['dload_text'] . "';";
|
108 |
+
$JS .= "\n\t\tMP3_JPLAYER.vars.stylesheet_url = '" . $this->PP_css_url . "';";
|
109 |
+
|
110 |
+
if ( $O['force_browser_dload'] == "true" && $O['dloader_remote_path'] !== "" ) {
|
111 |
+
$JS .= "\n\t\tMP3_JPLAYER.vars.dl_remote_path = '" . $O['dloader_remote_path'] . "';";
|
112 |
+
}
|
113 |
+
|
114 |
+
//$JS .= "\n\t\tMP3_JPLAYER.popout_css = {\n";
|
115 |
+
//$JS .= $this->PP_css_settings;
|
116 |
+
//$JS .= "\n\t\t};";
|
117 |
+
|
118 |
+
$JS .= "\n\t\tMP3_JPLAYER.init();"; //close if MP3_JPLAYER exists
|
119 |
+
$JS .= "\n\t}";
|
120 |
+
$JS .= "\n});\n</script>\n";
|
121 |
+
echo $JS;
|
122 |
+
}
|
123 |
+
|
124 |
+
// Write debug
|
125 |
+
if ( $O['echo_debug'] == "true" ) {
|
126 |
+
$this->debug_info();
|
127 |
+
}
|
128 |
+
return;
|
129 |
+
}
|
130 |
+
|
131 |
+
|
132 |
+
/* Work out playlist for single players. */
|
133 |
+
function decide_S_playlist( $track, $caption, $counterpart = '', $ids = '' )
|
134 |
+
{
|
135 |
+
$TRACKS = false;
|
136 |
+
$trackNumber = '';
|
137 |
+
$listJS = '';
|
138 |
+
|
139 |
+
global $post;
|
140 |
+
$currentID = $post->ID;
|
141 |
+
if ( $currentID !== $this->currentID ) {
|
142 |
+
$this->S_arb = 1;
|
143 |
+
$this->currentID = $currentID;
|
144 |
+
}
|
145 |
+
//$this->S_arb = ( $currentID === $this->currentID ) ? $this->S_arb : 1;
|
146 |
+
|
147 |
+
if ( $ids !== '' ) //came via [audio] shortcode, has 1 attachment
|
148 |
+
{
|
149 |
+
$TRACKS = $this->IDsToTracks( $ids, 'false' );
|
150 |
+
if ( ! $TRACKS ) {
|
151 |
+
return false;
|
152 |
+
}
|
153 |
+
$track = 1;
|
154 |
+
$playername = "inline_" . $this->S_no++;
|
155 |
+
//TODO: track numbering issue
|
156 |
+
$trackNumber = ( $this->theSettings['add_track_numbering'] == "true" ) ? $this->S_arb . '. ' : '';
|
157 |
+
$listJS = $this->writePlaylistJS( $TRACKS, $playername, $this->S_arb++ );
|
158 |
+
}
|
159 |
+
else
|
160 |
+
{
|
161 |
+
if ( $track == "" ) // Auto increment
|
162 |
+
{
|
163 |
+
if ( ! $this->checkGrabFields() || $this->Caller == "widget" || $this->F_listlength <= $this->S_autotrack ) {
|
164 |
+
return false;
|
165 |
+
}
|
166 |
+
$track = ++$this->S_autotrack;
|
167 |
+
$playername = $this->F_listname;
|
168 |
+
//TODO: track numbering issue
|
169 |
+
$trackNumber = ( $this->theSettings['add_track_numbering'] == "true" ) ? $track . '. ' : '';
|
170 |
+
$TRACKS = $this->F_LISTS[ $playername ];
|
171 |
+
}
|
172 |
+
elseif ( is_numeric($track) ) // Has a track number
|
173 |
+
{
|
174 |
+
if ( ! $this->checkGrabFields() || $this->Caller == "widget" || $this->F_listlength < $track ) {
|
175 |
+
return false;
|
176 |
+
}
|
177 |
+
$playername = $this->F_listname;
|
178 |
+
//TODO: track numbering issue
|
179 |
+
$trackNumber = ( $this->theSettings['add_track_numbering'] == "true" ) ? $track . '. ' : '';
|
180 |
+
$TRACKS = $this->F_LISTS[$playername];
|
181 |
+
}
|
182 |
+
else // Has arbitrary file/uri
|
183 |
+
{
|
184 |
+
$TRACKS = $this->stringsToTracks( $track, $counterpart, $caption );
|
185 |
+
if ( !$TRACKS ) {
|
186 |
+
return false;
|
187 |
+
}
|
188 |
+
$track = 1;
|
189 |
+
$playername = "inline_" . $this->S_no++;
|
190 |
+
//TODO: track numbering issue
|
191 |
+
$trackNumber = ( $this->theSettings['add_track_numbering'] == "true" ) ? $this->S_arb . '. ' : '';
|
192 |
+
$listJS = $this->writePlaylistJS( $TRACKS, $playername, $this->S_arb++ );
|
193 |
+
}
|
194 |
+
}
|
195 |
+
|
196 |
+
return array(
|
197 |
+
'track' => $track,
|
198 |
+
'playername' => $playername,
|
199 |
+
'playlist' => $TRACKS,
|
200 |
+
'trackNumber' => $trackNumber,
|
201 |
+
'listJS' => $listJS
|
202 |
+
);
|
203 |
+
}
|
204 |
+
|
205 |
+
|
206 |
+
/* Handles [mp3t] shortcodes
|
207 |
+
single players with text buttons. */
|
208 |
+
function inline_play_handler( $atts, $content = null ) {
|
209 |
+
|
210 |
+
$this->dbug['str'] .= "\n### Checking [mp3t]...";
|
211 |
+
if ( !$this->Caller && (is_home() || is_archive() || is_search()) && $this->theSettings['player_onblog'] == "false" ) {
|
212 |
+
$this->dbug['str'] .= "\nExiting (player_onblog is unticked)";
|
213 |
+
return;
|
214 |
+
}
|
215 |
+
|
216 |
+
$C = $this->theSettings['colour_settings'];
|
217 |
+
|
218 |
+
$id = $this->Player_ID;
|
219 |
+
extract( shortcode_atts( array( // Defaults
|
220 |
+
'bold' => 'y',
|
221 |
+
'play' => 'Play',
|
222 |
+
'track' => '',
|
223 |
+
'tracks' => '',
|
224 |
+
'caption' => '',
|
225 |
+
'flip' => 'l',
|
226 |
+
'title' => '#USE#',
|
227 |
+
'stop' => 'Stop',
|
228 |
+
'ind' => 'y',
|
229 |
+
'autoplay' => $this->theSettings['auto_play'],
|
230 |
+
'loop' => $this->theSettings['playlist_repeat'],
|
231 |
+
'vol' => $this->theSettings['initial_vol'],
|
232 |
+
'flow' => 'n',
|
233 |
+
'volslider' => $this->theSettings['volslider_on_singles'],
|
234 |
+
'style' => '',
|
235 |
+
'counterpart' => '',
|
236 |
+
'counterparts' => '',
|
237 |
+
'ids' => '',
|
238 |
+
'fontsize' => $this->theSettings['font_size_mp3t']
|
239 |
+
), $atts ) );
|
240 |
+
|
241 |
+
//Alias some params
|
242 |
+
if ( $track == '' && $tracks != '' ) {
|
243 |
+
$track = $tracks;
|
244 |
+
}
|
245 |
+
if ( $counterpart == '' && $counterparts != '' ) {
|
246 |
+
$counterpart = $counterparts;
|
247 |
+
}
|
248 |
+
$cssclass = $style;
|
249 |
+
|
250 |
+
//Try make a playlist
|
251 |
+
$tn = $this->decide_S_playlist( $track, $caption, $counterpart, $ids );
|
252 |
+
if ( !$tn ) {
|
253 |
+
$this->dbug['str'] .= "\nExiting (no track here)";
|
254 |
+
return;
|
255 |
+
}
|
256 |
+
|
257 |
+
$CSSext = '-mjp';
|
258 |
+
$font1Class = ( $C['font_family_1'] === 'theme' ) ? '' : ' ' . $C['font_family_1'] . $CSSext;
|
259 |
+
|
260 |
+
|
261 |
+
$divO = '<span class="unsel-mjp ' . $cssclass . $font1Class . '">';
|
262 |
+
$divC = "</span>";
|
263 |
+
$b = "";
|
264 |
+
if ( $flow == "n" || $this->Caller == "widget" ) {
|
265 |
+
$divO = ( $cssclass == "" ) ? '<div class="mjp-s-wrapper s-text unsel-mjp' . $font1Class . '" style="font-size:' .$fontsize. ';">' : '<div class="unsel-mjp ' . $cssclass . $font1Class . '" style="font-size:' .$fontsize. ';">';
|
266 |
+
$divC = "</div>";
|
267 |
+
}
|
268 |
+
|
269 |
+
|
270 |
+
|
271 |
+
// Set font weight
|
272 |
+
$b = ( $bold == "false" || $bold == "0" || $bold == "n" ) ? " style=\"font-weight:500;\"" : " style=\"font-weight:700;\"";
|
273 |
+
|
274 |
+
// Set spacer between elements depending on play/stop/title
|
275 |
+
if ( $play != "" && $title != "" ){
|
276 |
+
$spacer = " ";
|
277 |
+
} else {
|
278 |
+
$spacer = "";
|
279 |
+
if ( $play == "" && $stop != "" ) { $stop = " " . $stop; }
|
280 |
+
}
|
281 |
+
|
282 |
+
// Prep title
|
283 |
+
if ( $title === '' ) { //user specifically has blanked it
|
284 |
+
$outputTitle = '';
|
285 |
+
}
|
286 |
+
else {
|
287 |
+
if ( $title == "#USE#" ) { //get the one from the playlist
|
288 |
+
$outputTitle = $tn['trackNumber'] . $tn['playlist'][($tn['track'] -1)]['title'] . ( ! empty($tn['playlist'][($tn['track'] -1)]['caption'] ) ? '<span> - ' . $tn['playlist'][($tn['track'] -1)]['caption'] . '</span>' : '' );
|
289 |
+
}
|
290 |
+
else { //user entered one, use it
|
291 |
+
$outputTitle = $tn['trackNumber'] . $title;
|
292 |
+
}
|
293 |
+
}
|
294 |
+
|
295 |
+
// Make id'd span elements
|
296 |
+
$openWrap = $divO . "<span id=\"playpause_wrap_mp3j_" . $id . "\" class=\"wrap_inline_mp3j\"" . $b . ">";
|
297 |
+
$vol_h = ( $volslider == 'true' || $volslider == 'Y' || $volslider == 'y' ) ? "<span class=\"vol_mp3t\" id=\"vol_mp3j_" . $id . "\"></span>" : "";
|
298 |
+
$pos = "<span class=\"bars_mp3j\"><span class=\"load_mp3j\" id=\"load_mp3j_" . $id . "\"></span><span class=\"posbar_mp3j\" id=\"posbar_mp3j_" . $id. "\"></span>" . $vol_h . "</span>";
|
299 |
+
$play_h = "<span class=\"textbutton_mp3j play-mjp\" style=\"font-size:" .$fontsize. ";\" id=\"playpause_mp3j_" . $id . "\">" . $play . "</span>";
|
300 |
+
|
301 |
+
//$title_h = ( $title == "#USE#" || $title != "" ) ? "<span class=\"T_mp3j\" id=\"T_mp3j_" . $id . "\">" . $outputTitle . "</span>" : "";
|
302 |
+
$title_h = ( $title != "" ) ? "<span class=\"T_mp3j\" style=\"font-size:" .$fontsize. ";\" id=\"T_mp3j_" . $id . "\">" . $outputTitle . "</span>" : "";
|
303 |
+
|
304 |
+
$closeWrap = ( $ind != "y" ) ? "<span style=\"display:none;\" id=\"statusMI_" . $id . "\"></span></span>" . $divC : "<span class=\"indi_mp3j\" style=\"font-size:" .(intval($fontsize)*0.7) . "px;\" id=\"statusMI_" . $id . "\"></span></span>" . $divC;
|
305 |
+
|
306 |
+
|
307 |
+
$errorMsg = "<span class=\"s-nosolution\" id=\"mp3j_nosolution_" . $id . "\" style=\"display:none;\"></span>";
|
308 |
+
|
309 |
+
|
310 |
+
|
311 |
+
// Assemble them
|
312 |
+
$html = ( $flip != "l" ) ? $openWrap . $pos . $title_h . $spacer . $play_h . $closeWrap . $errorMsg : $openWrap . $pos . $play_h . $spacer . $title_h . $closeWrap . $errorMsg;
|
313 |
+
|
314 |
+
// Add info to js info array
|
315 |
+
$autoplay = ( $autoplay == "true" || $autoplay == "y" || $autoplay == "1" ) ? "true" : "false";
|
316 |
+
$loop = ( $loop == "true" || $loop == "y" || $loop == "1" ) ? "true" : "false";
|
317 |
+
|
318 |
+
$this->defineJSvars();
|
319 |
+
$playerInfo = "{ list: MP3jPLAYLISTS." . $tn['playername'] . ", tr: " . ($tn['track']-1) . ", type: 'single', lstate: '', loop: " . $loop . ", play_txt: '" . $play . "', pause_txt: '" . $stop . "', pp_title: '', autoplay:" . $autoplay . ", download: false, vol: " . $vol . ", height: '' }";
|
320 |
+
$playerJS = "<script>MP3jPLAYERS.push(" . $playerInfo . ");</script>";
|
321 |
+
|
322 |
+
$this->dbug['str'] .= "\nOK (id " . $this->Player_ID . ")";
|
323 |
+
$this->Player_ID++;
|
324 |
+
return $html . $tn['listJS'] . $playerJS;
|
325 |
+
}
|
326 |
+
|
327 |
+
|
328 |
+
/* Handles [mp3j] shortcodes.
|
329 |
+
single players with button graphic */
|
330 |
+
function inline_play_graphic( $atts, $content = null ) {
|
331 |
+
|
332 |
+
$this->dbug['str'] .= "\n### Checking [mp3j]...";
|
333 |
+
if ( !$this->Caller && (is_home() || is_archive() || is_search()) && $this->theSettings['player_onblog'] == "false" ) {
|
334 |
+
$this->dbug['str'] .= "\nExiting (player_onblog is unticked)";
|
335 |
+
return;
|
336 |
+
}
|
337 |
+
|
338 |
+
$C = $this->theSettings['colour_settings'];
|
339 |
+
|
340 |
+
$id = $this->Player_ID;
|
341 |
+
extract(shortcode_atts(array( // Defaults
|
342 |
+
'bold' => 'y',
|
343 |
+
'track' => '',
|
344 |
+
'tracks' => '',
|
345 |
+
'caption' => '',
|
346 |
+
'flip' => 'r',
|
347 |
+
'title' => '#USE#',
|
348 |
+
'ind' => 'y',
|
349 |
+
'autoplay' => $this->theSettings['auto_play'],
|
350 |
+
'loop' => $this->theSettings['playlist_repeat'],
|
351 |
+
'vol' => $this->theSettings['initial_vol'],
|
352 |
+
'flow' => 'n',
|
353 |
+
'volslider' => $this->theSettings['volslider_on_mp3j'],
|
354 |
+
'style' => '',
|
355 |
+
'counterpart' => '',
|
356 |
+
'counterparts' => '',
|
357 |
+
'ids' => '',
|
358 |
+
'fontsize' => $this->theSettings['font_size_mp3j']
|
359 |
+
), $atts));
|
360 |
+
|
361 |
+
if ( $track == '' && $tracks != '' ) {
|
362 |
+
$track = $tracks;
|
363 |
+
}
|
364 |
+
if ( $counterpart == '' && $counterparts != '' ) {
|
365 |
+
$counterpart = $counterparts;
|
366 |
+
}
|
367 |
+
$cssclass = $style;
|
368 |
+
|
369 |
+
|
370 |
+
$tn = $this->decide_S_playlist( $track, $caption, $counterpart, $ids );
|
371 |
+
if ( !$tn ) {
|
372 |
+
$this->dbug['str'] .= "\nExiting (no track here)";
|
373 |
+
return;
|
374 |
+
}
|
375 |
+
|
376 |
+
$CSSext = '-mjp';
|
377 |
+
$font1Class = ( $C['font_family_1'] === 'theme' ) ? '' : ' ' . $C['font_family_1'] . $CSSext;
|
378 |
+
|
379 |
+
$divO = '<span class="' . $cssclass . $font1Class . '">';
|
380 |
+
$divC = "</span>";
|
381 |
+
$b = "";
|
382 |
+
if ( $flow == "n" || $this->Caller == "widget" ) {
|
383 |
+
$divO = ( $cssclass == "" ) ? '<div class="mjp-s-wrapper s-graphic unsel-mjp' . $font1Class . '" style="font-size:' .$fontsize. ';">' : '<div class="unsel-mjp ' . $cssclass . $font1Class . '" style="font-size:' .$fontsize. ';">';
|
384 |
+
$divC = "</div>";
|
385 |
+
}
|
386 |
+
|
387 |
+
// Set font weight
|
388 |
+
$b = ( $bold == "false" || $bold == "N" || $bold == "n" ) ? " style=\"font-weight:500;\"" : " style=\"font-weight:700;\"";
|
389 |
+
|
390 |
+
// Prep title
|
391 |
+
if ( $title === '' ) { //user specifically has blanked it
|
392 |
+
$outputTitle = '';
|
393 |
+
}
|
394 |
+
else {
|
395 |
+
if ( $title == "#USE#" ) { //get the one from the playlist
|
396 |
+
$outputTitle = $tn['trackNumber'] . $tn['playlist'][($tn['track'] -1)]['title'] . ( ! empty($tn['playlist'][($tn['track'] -1)]['caption'] ) ? '<span> - ' . $tn['playlist'][($tn['track'] -1)]['caption'] . '</span>' : '' );
|
397 |
+
}
|
398 |
+
else { //user entered one, use it
|
399 |
+
$outputTitle = $tn['trackNumber'] . $title;
|
400 |
+
}
|
401 |
+
}
|
402 |
+
|
403 |
+
// tell js it's graphics buttons
|
404 |
+
//$play = "#USE_G#";
|
405 |
+
|
406 |
+
// Make id'd span elements
|
407 |
+
$flippedcss = ( $flip == "r" ) ? "" : " flipped";
|
408 |
+
$openWrap = $divO . "<span id=\"playpause_wrap_mp3j_" . $id . "\" class=\"wrap_inline_mp3j\"" . $b . ">";
|
409 |
+
$vol_h = ( $volslider == 'true' || $volslider == 'y' || $volslider == 'Y' ) ? "<span class=\"vol_mp3j" . $flippedcss . "\" id=\"vol_mp3j_" . $id . "\"></span>" : "";
|
410 |
+
$pos = "<span class=\"bars_mp3j\"><span class=\"loadB_mp3j\" id=\"load_mp3j_" . $id . "\"></span><span class=\"posbarB_mp3j\" id=\"posbar_mp3j_" . $id . "\"></span></span>";
|
411 |
+
//$play_h = "<span class=\"play-mjp\" id=\"playpause_mp3j_" . $id . "\"> </span>";
|
412 |
+
$play_h = "<span class=\"gfxbutton_mp3j play-mjp\" id=\"playpause_mp3j_" . $id . "\" style=\"font-size:" .$fontsize. ";\"> </span>";
|
413 |
+
$spacer = "";
|
414 |
+
|
415 |
+
$title_h = ( $title != "" ) ? "<span class=\"T_mp3j\" id=\"T_mp3j_" . $id . "\" style=\"font-size:" .$fontsize. ";\">" . $outputTitle . "</span>" : "";
|
416 |
+
$indi_h = ( $ind != "y" ) ? "<span style=\"display:none;\" id=\"statusMI_" . $id . "\"></span>" : "<span class=\"indi_mp3j\" style=\"font-size:" .(intval($fontsize)*0.7) . "px;\" id=\"statusMI_" . $id . "\"></span>";
|
417 |
+
$errorMsg = "<span class=\"s-nosolution\" id=\"mp3j_nosolution_" . $id . "\" style=\"display:none;\"></span>";
|
418 |
+
// Assemble them
|
419 |
+
$html = ( $flip == "r" ) ? $openWrap . "<span class=\"group_wrap\">" . $pos . $title_h . $indi_h . "</span>" . $play_h . $vol_h . "</span>" . $divC . $errorMsg : $openWrap . $play_h . " <span class=\"group_wrap\">" . $pos . $title_h . $indi_h . "</span>" . $vol_h . "</span>" . $divC . $errorMsg;
|
420 |
+
|
421 |
+
// Add info to js info array
|
422 |
+
$autoplay = ( $autoplay == "true" || $autoplay == "y" || $autoplay == "1" ) ? "true" : "false";
|
423 |
+
$loop = ( $loop == "true" || $loop == "y" || $loop == "1" ) ? "true" : "false";
|
424 |
+
|
425 |
+
$this->defineJSvars();
|
426 |
+
$playerInfo = "{ list: MP3jPLAYLISTS." . $tn['playername'] . ", tr:" . ($tn['track']-1) . ", type:'single', lstate:'', loop:" . $loop . ", play_txt:' ', pause_txt:' ', pp_title:'', autoplay:" . $autoplay . ", download:false, vol:" . $vol . ", height:'' }";
|
427 |
+
$playerJS = "<script>MP3jPLAYERS.push(" . $playerInfo . ");</script>";
|
428 |
+
|
429 |
+
$this->dbug['str'] .= "\nOK (id " . $this->Player_ID . ")";
|
430 |
+
$this->Player_ID++;
|
431 |
+
return $html . $tn['listJS'] . $playerJS;
|
432 |
+
}
|
433 |
+
|
434 |
+
|
435 |
+
//###############
|
436 |
+
function getPostImageUrl ( $postID )
|
437 |
+
{
|
438 |
+
$thumb_id = get_post_thumbnail_id( $postID );
|
439 |
+
if ( ! empty( $thumb_id ) ) {
|
440 |
+
$size = ( $this->theSettings['imageSize'] === 'autoW' || $this->theSettings['imageSize'] === 'autoH' ) ? 'large' : $this->theSettings['imageSize'];
|
441 |
+
$imageInfo = wp_get_attachment_image_src( $thumb_id, $size );
|
442 |
+
$url = $imageInfo[0];
|
443 |
+
} else {
|
444 |
+
//$url = wp_mime_type_icon( $postID ); //default WP image
|
445 |
+
//$url = $this->PluginFolder . '/css/images/music-default-2.png';
|
446 |
+
$url = 'false';
|
447 |
+
}
|
448 |
+
return $url;
|
449 |
+
}
|
450 |
+
|
451 |
+
|
452 |
+
//###############
|
453 |
+
function getPostAttachedAudio ( $postID )
|
454 |
+
{
|
455 |
+
$args = array(
|
456 |
+
'post_type' => 'attachment',
|
457 |
+
'numberposts' => -1,
|
458 |
+
'post_status' => 'any',
|
459 |
+
'post_parent' => $postID
|
460 |
+
);
|
461 |
+
|
462 |
+
$attachments = get_posts( $args );
|
463 |
+
$audio = array();
|
464 |
+
|
465 |
+
if ( $attachments ) {
|
466 |
+
foreach ( $attachments as $attachment ) {
|
467 |
+
if ( $this->isAllowedMimeType( $attachment->post_mime_type ) ) {
|
468 |
+
$audio[] = $attachment;
|
469 |
+
}
|
470 |
+
}
|
471 |
+
}
|
472 |
+
return ( ( ! empty($audio) && is_array($audio) ) ? $audio : false );
|
473 |
+
}
|
474 |
+
|
475 |
+
|
476 |
+
//###############
|
477 |
+
function isAllowedMimeType ( $mimeType )
|
478 |
+
{
|
479 |
+
return ( (stripos($mimeType, 'audio') === 0) ? true : false );
|
480 |
+
}
|
481 |
+
|
482 |
+
|
483 |
+
//#### Work out playlist for playlist players
|
484 |
+
function decide_M_playlist( $ATTS )
|
485 |
+
{
|
486 |
+
extract( $ATTS );
|
487 |
+
|
488 |
+
//TODO: do support this still
|
489 |
+
$this->folder_order = $fsort;
|
490 |
+
|
491 |
+
$TRACKS = $this->stringsToTracks( $tracks, $counterparts, $captions, $images, $imglinks );
|
492 |
+
if ( ! $TRACKS )
|
493 |
+
{
|
494 |
+
if ( $tracks != "" && $id == "" && $ids == "" ) { //if tracks was the specified param, then don't fallback
|
495 |
+
return false;
|
496 |
+
}
|
497 |
+
if ( $id == "" && $ids == "" && (is_home() || is_archive() || is_search()) && $this->Caller == "widget" ) { //dont allow widgets to try mode 1 on index pages
|
498 |
+
return false;
|
499 |
+
}
|
500 |
+
|
501 |
+
if ( $ids !== '' ) { //got media item id list (post ids)
|
502 |
+
$TRACKS = $this->IDsToTracks( $ids, $images );
|
503 |
+
if ( ! $TRACKS ) {
|
504 |
+
return false;
|
505 |
+
}
|
506 |
+
}
|
507 |
+
else {
|
508 |
+
//Try pick up fields either from another id or this post if id is empty. Do
|
509 |
+
//this before attachments for backwards compatibility!
|
510 |
+
$TRACKS = $this->customFieldsToTracks( $id );
|
511 |
+
if ( ! $TRACKS ) {
|
512 |
+
//Possible last resort - could look for attachments here too so that
|
513 |
+
//users using the [mp3-jplayer] name can also pick them up?..
|
514 |
+
//
|
515 |
+
//..Not for the mo, keeping it so that attachments must be in
|
516 |
+
// a pre-built param (either 'ids' or 'tracks') which is done by
|
517 |
+
// the ui-widget(mode 0) or replaceAudioShortcode handler.
|
518 |
+
return false;
|
519 |
+
}
|
520 |
+
}
|
521 |
+
}
|
522 |
+
|
523 |
+
if ( $pick != "" && $pick >= 1 ) {
|
524 |
+
$TRACKS = $this->pickTracks( $pick, $TRACKS );
|
525 |
+
}
|
526 |
+
if ( $shuffle && is_array( $TRACKS ) ) {
|
527 |
+
shuffle( $TRACKS );
|
528 |
+
}
|
529 |
+
return $TRACKS;
|
530 |
+
}
|
531 |
+
|
532 |
+
|
533 |
+
//#############
|
534 |
+
function replaceAudioShortcode ( $attr, $content = '' )
|
535 |
+
{
|
536 |
+
/* WP 4.0 [audio] shortcode attributes:
|
537 |
+
* ---
|
538 |
+
* @type string $src URL to the source of the audio file. Default empty.
|
539 |
+
* @type string $loop The 'loop' attribute for the `<audio>` element. Default empty.
|
540 |
+
* @type string $autoplay The 'autoplay' attribute for the `<audio>` element. Default empty.
|
541 |
+
* @type string $preload The 'preload' attribute for the `<audio>` element. Default empty.
|
542 |
+
* @type string $class The 'class' attribute for the `<audio>` element. Default 'wp-audio-shortcode'.
|
543 |
+
* @type string $id The 'id' attribute for the `<audio>` element. Default 'audio-{$post_id}-{$instances}'.
|
544 |
+
* @type string $style The 'style' attribute for the `<audio>` element. Default 'width: 100%'.
|
545 |
+
*/
|
546 |
+
|
547 |
+
$ops = $this->theSettings;
|
548 |
+
$passToWP = true;
|
549 |
+
$url = '';
|
550 |
+
$i = 0;
|
551 |
+
$output = '';
|
552 |
+
|
553 |
+
if ( ! empty($attr['src']) ) //url text or embed shortcode
|
554 |
+
{
|
555 |
+
if ( $ops['replace_WP_embedded'] === 'true' ) {
|
556 |
+
$url = $attr['src'];
|
557 |
+
$passToWP = false;
|
558 |
+
}
|
559 |
+
}
|
560 |
+
else //direct audio shortcode
|
561 |
+
{
|
562 |
+
if ( $ops['replace_WP_audio'] === 'true' )
|
563 |
+
{
|
564 |
+
if ( ! empty($attr['mp3']) ) {
|
565 |
+
$url = $attr['mp3'];
|
566 |
+
$passToWP = false;
|
567 |
+
}
|
568 |
+
elseif ( ! empty($attr['mp4']) ) {
|
569 |
+
$url = $attr['mp4'];
|
570 |
+
$passToWP = false;
|
571 |
+
}
|
572 |
+
elseif ( ! empty($attr['m4a']) ) {
|
573 |
+
$url = $attr['m4a'];
|
574 |
+
$passToWP = false;
|
575 |
+
}
|
576 |
+
elseif ( ! empty($attr['ogg']) ) {
|
577 |
+
$url = $attr['ogg'];
|
578 |
+
$passToWP = false;
|
579 |
+
}
|
580 |
+
elseif ( ! empty($attr['oga']) ) {
|
581 |
+
$url = $attr['oga'];
|
582 |
+
$passToWP = false;
|
583 |
+
}
|
584 |
+
elseif ( ! empty($attr['wav']) ) {
|
585 |
+
$url = $attr['wav'];
|
586 |
+
$passToWP = false;
|
587 |
+
}
|
588 |
+
elseif ( ! empty($attr['webm']) ) {
|
589 |
+
$url = $attr['webm'];
|
590 |
+
$passToWP = false;
|
591 |
+
}
|
592 |
+
elseif ( ! empty($attr['track']) || ! empty($attr['tracks']) ) { //support user added 'track' param
|
593 |
+
$url = ( ! empty($attr['track']) ) ? $attr['track'] : $attr['tracks'];
|
594 |
+
$passToWP = false;
|
595 |
+
}
|
596 |
+
else {
|
597 |
+
//nothing specified - will fallback to attachments, then custom fields (it's ok to fallback to
|
598 |
+
//fields last as new users are unlikely to use them and old users may want the functionality).
|
599 |
+
}
|
600 |
+
}
|
601 |
+
|
602 |
+
if ( $url === '' && $ops['replace_WP_attached'] === 'true' )
|
603 |
+
{
|
604 |
+
global $post;
|
605 |
+
$attachments = $this->getPostAttachedAudio( $post->ID );
|
606 |
+
|
607 |
+
$images = '';
|
608 |
+
$ids = '';
|
609 |
+
if ( $attachments !== false ) {
|
610 |
+
$images = 'true';
|
611 |
+
foreach ( $attachments as $a ) {
|
612 |
+
$ids .= $a->ID . ',';
|
613 |
+
$i++;
|
614 |
+
}
|
615 |
+
}
|
616 |
+
$attr['ids'] = $ids;
|
617 |
+
if ( empty($attr['images']) || $attr['images'] !== 'false' ) {
|
618 |
+
$attr['images'] = $images;
|
619 |
+
}
|
620 |
+
$passToWP = false;
|
621 |
+
}
|
622 |
+
}
|
623 |
+
|
624 |
+
if ( $passToWP ) { //bailout
|
625 |
+
$output = $content;
|
626 |
+
if ( function_exists('wp_audio_shortcode') ) { //let WP process it
|
627 |
+
$output = wp_audio_shortcode( $attr, $content );
|
628 |
+
}
|
629 |
+
return $output;
|
630 |
+
}
|
631 |
+
|
632 |
+
//alias the params
|
633 |
+
$attr['track'] = $url;
|
634 |
+
$attr['loop'] = ( empty($attr['loop']) ) ? 'n' : 'y';
|
635 |
+
$attr['autoplay'] = ( empty($attr['autoplay']) ) ? 'n' : 'y';
|
636 |
+
$attr['text'] = ( ! empty($attr['title']) && empty($attr['text']) ) ? $attr['title'] : ( empty($attr['text']) ? '' : $attr['text'] ); //popout link text
|
637 |
+
|
638 |
+
//process it
|
639 |
+
$ops = $this->theSettings;
|
640 |
+
if ( $i > 1 )
|
641 |
+
{
|
642 |
+
$output = ( $ops['replacerShortcode_playlist'] === 'player' ) ? $this->primary_player( $attr, $content ) : $this->popout_link_player( $attr, $content );
|
643 |
+
}
|
644 |
+
else
|
645 |
+
{
|
646 |
+
if ( $ops['replacerShortcode_single'] === 'mp3j' ) {
|
647 |
+
$output = $this->inline_play_graphic( $attr, $content );
|
648 |
+
}
|
649 |
+
elseif ( $ops['replacerShortcode_single'] === 'mp3t' ) {
|
650 |
+
$output = $this->inline_play_handler( $attr, $content );
|
651 |
+
}
|
652 |
+
elseif ( $ops['replacerShortcode_single'] === 'popout' ) {
|
653 |
+
$output = $this->popout_link_player( $attr, $content );
|
654 |
+
}
|
655 |
+
else {
|
656 |
+
$output = $this->primary_player( $attr, $content );
|
657 |
+
}
|
658 |
+
}
|
659 |
+
//return ( $i > 1 ? $this->primary_player( $attr, $content ) : $this->inline_play_graphic( $attr ) );
|
660 |
+
return $output;
|
661 |
+
}
|
662 |
+
|
663 |
+
|
664 |
+
//##############
|
665 |
+
function replacePlaylistShortcode ( $attr, $content = '' )
|
666 |
+
{
|
667 |
+
/* WP 4.0 [playlist] shortcode attributes:
|
668 |
+
* ---
|
669 |
+
* @type string $type Type of playlist to display. Accepts 'audio' or 'video'. Default 'audio'.
|
670 |
+
* @type string $order Designates ascending or descending order of items in the playlist.
|
671 |
+
* Accepts 'ASC', 'DESC', or 'RAND'. Default 'ASC'.
|
672 |
+
* @type string $orderby Any column, or columns, to sort the playlist. If $ids are
|
673 |
+
* passed, this defaults to the order of the $ids array ('post__in').
|
674 |
+
* Otherwise default is 'menu_order ID'.
|
675 |
+
* @type int $id If an explicit $ids array is not present, this parameter
|
676 |
+
* will determine which attachments are used for the playlist.
|
677 |
+
* Default is the current post ID.
|
678 |
+
* @type array $ids Create a playlist out of these explicit attachment IDs. If empty,
|
679 |
+
* a playlist will be created from all $type attachments of $id.
|
680 |
+
* Default empty.
|
681 |
+
* @type array $exclude List of specific attachment IDs to exclude from the playlist. Default empty.
|
682 |
+
* @type string $style Playlist style to use. Accepts 'light' or 'dark'. Default 'light'.
|
683 |
+
* @type bool $tracklist Whether to show or hide the playlist. Default true.
|
684 |
+
* @type bool $tracknumbers Whether to show or hide the numbers next to entries in the playlist. Default true.
|
685 |
+
* @type bool $images Show or hide the video or audio thumbnail (Featured Image/post
|
686 |
+
* thumbnail). Default true.
|
687 |
+
* @type bool $artists Whether to show or hide artist name in the playlist. Default true.
|
688 |
+
*/
|
689 |
+
|
690 |
+
if ( isset($attr['type']) && 'video' === $attr['type'] ) //bailout
|
691 |
+
{
|
692 |
+
$output = $content;
|
693 |
+
if ( function_exists('wp_playlist_shortcode') ) //let WP process video
|
694 |
+
{
|
695 |
+
$output = wp_playlist_shortcode( $attr );
|
696 |
+
}
|
697 |
+
return $output;
|
698 |
+
}
|
699 |
+
|
700 |
+
//alias the params
|
701 |
+
if ( ! isset( $attr['list'] ) ) {
|
702 |
+
$attr['list'] = ( isset($attr['tracklist']) && $attr['tracklist'] === 'false' ) ? 'n' : 'y';
|
703 |
+
}
|
704 |
+
if ( ! isset( $attr['captions'] ) ) {
|
705 |
+
$attr['captions'] = ( isset($attr['artists']) && $attr['artists'] === 'false' ) ? false : '';
|
706 |
+
}
|
707 |
+
//$attr['images'] = ( isset($attr['images']) && $attr['images'] === 'false' ) ? '' : 'true';
|
708 |
+
$attr['images'] = ( !isset($attr['images']) ) ? 'true' : $attr['images'];
|
709 |
+
$attr['text'] = ( ! empty($attr['title']) && empty($attr['text']) ) ? $attr['title'] : ( empty($attr['text']) ? '' : $attr['text'] ); //popout link text
|
710 |
+
|
711 |
+
//process it
|
712 |
+
$ops = $this->theSettings;
|
713 |
+
return ( $ops['replacerShortcode_playlist'] === 'player' ? $this->primary_player( $attr, $content ) : $this->popout_link_player( $attr, $content ) );
|
714 |
+
}
|
715 |
+
|
716 |
+
|
717 |
+
//##### Handles [mp3-jplayer] playlist player shortcodes
|
718 |
+
function primary_player ( $atts, $content = null )
|
719 |
+
{
|
720 |
+
//Bailout
|
721 |
+
$this->dbug['str'] .= "\n### Checking [mp3-jplayer]...";
|
722 |
+
if ( !$this->Caller && (is_home() || is_archive() || is_search()) && $this->theSettings['player_onblog'] == "false" ) {
|
723 |
+
$this->dbug['str'] .= "\nExiting (player_onblog is unticked)";
|
724 |
+
return;
|
725 |
+
}
|
726 |
+
|
727 |
+
|
728 |
+
|
729 |
+
$O = $this->theSettings;
|
730 |
+
$pID = $this->Player_ID;
|
731 |
+
$ATTS = shortcode_atts( array( // Defaults
|
732 |
+
'tracks' => '',
|
733 |
+
'track' => '',
|
734 |
+
'captions' => '',
|
735 |
+
'dload' => $O['show_downloadmp3'],
|
736 |
+
'title' => '',
|
737 |
+
'list' => $O['playlist_show'],
|
738 |
+
'pn' => 'y',
|
739 |
+
'width' => '',
|
740 |
+
'pos' => $O['player_float'],
|
741 |
+
'stop' => 'y',
|
742 |
+
'shuffle' => false,
|
743 |
+
'pick' => '',
|
744 |
+
'id' => '',
|
745 |
+
'loop' => $O['playlist_repeat'],
|
746 |
+
'autoplay' => $O['auto_play'],
|
747 |
+
'vol' => $O['initial_vol'],
|
748 |
+
'height' => $O['playerHeight'],
|
749 |
+
'fsort' => 'asc',
|
750 |
+
'style' => '',
|
751 |
+
'images' => 'true',
|
752 |
+
'imglinks' => '',
|
753 |
+
'imagesize' => $O['imageSize'],
|
754 |
+
'ids' => '',
|
755 |
+
'counterparts' => '',
|
756 |
+
'counterpart' => '',
|
757 |
+
'font_size_1' => $O['colour_settings']['font_size_1'],
|
758 |
+
'font_size_2' => $O['colour_settings']['font_size_2'],
|
759 |
+
'font_family_1' => $O['colour_settings']['font_family_1'],
|
760 |
+
'font_family_2' => $O['colour_settings']['font_family_2'],
|
761 |
+
'titlealign' => $O['colour_settings']['titleAlign'],
|
762 |
+
'titleoffset' => $O['colour_settings']['titleOffset'],
|
763 |
+
'titleoffsetr' => $O['colour_settings']['titleOffsetR'],
|
764 |
+
'titlebold' => $O['colour_settings']['titleBold'],
|
765 |
+
'titleitalic' => $O['colour_settings']['titleItalic'],
|
766 |
+
'captionbold' => $O['colour_settings']['captionBold'],
|
767 |
+
'captionitalic' => $O['colour_settings']['captionItalic'],
|
768 |
+
'listbold' => $O['colour_settings']['listBold'],
|
769 |
+
'listitalic' => $O['colour_settings']['listItalic'],
|
770 |
+
'listalign' => $O['colour_settings']['listAlign'],
|
771 |
+
'imagealign' => $O['colour_settings']['imageAlign'],
|
772 |
+
'imgoverflow' => $O['colour_settings']['imgOverflow'],
|
773 |
+
'titletop' => $O['colour_settings']['titleTop'],
|
774 |
+
'titlecol' => '',
|
775 |
+
'fontsize' => '',
|
776 |
+
'pptext' => $this->theSettings['popout_button_title']
|
777 |
+
), $atts );
|
778 |
+
|
779 |
+
|
780 |
+
//Alias params
|
781 |
+
if ( $ATTS['tracks'] == '' && $ATTS['track'] != '' ) {
|
782 |
+
$ATTS['tracks'] = $ATTS['track'];
|
783 |
+
}
|
784 |
+
if ( $ATTS['counterparts'] == '' && $ATTS['counterpart'] != '' ) {
|
785 |
+
$ATTS['counterparts'] = $ATTS['counterpart'];
|
786 |
+
}
|
787 |
+
$ATTS['userClasses'] = $O['colour_settings']['userClasses'] . ' ' . $ATTS['style'];
|
788 |
+
|
789 |
+
|
790 |
+
//Try build a playlist
|
791 |
+
$TRACKS = $this->decide_M_playlist( $ATTS );
|
792 |
+
if ( !$TRACKS ) {
|
793 |
+
$this->dbug['str'] .= "\nExiting (no tracks here)";
|
794 |
+
return;
|
795 |
+
}
|
796 |
+
$ATTS['trackCount'] = count( $TRACKS );
|
797 |
+
|
798 |
+
//Make js list
|
799 |
+
$PlayerName = "MI_" . $this->M_no;
|
800 |
+
$listJS = $this->writePlaylistJS( $TRACKS, $PlayerName );
|
801 |
+
|
802 |
+
//Make settings..
|
803 |
+
$trnum = 0;
|
804 |
+
$pp_height = (int)$ATTS['height'];
|
805 |
+
$pp_height = ( empty($pp_height) || $pp_height === 0 ) ? 'false' : $pp_height;
|
806 |
+
//$play = "#USE_G#";
|
807 |
+
$pp_title = ( $ATTS['title'] == "" ) ? get_bloginfo('name') : $ATTS['title'] . " | " . get_bloginfo('name');
|
808 |
+
$pp_title = str_replace("'", "\'", $pp_title);
|
809 |
+
$pp_title = str_replace("'", "\'", $pp_title);
|
810 |
+
$ATTS['list'] = ( $ATTS['list'] == "true" || $ATTS['list'] == "y" || $ATTS['list'] == "1" ) ? "true" : "false";
|
811 |
+
|
812 |
+
if ( $ATTS['dload'] == "true" || $ATTS['dload'] == "y" || $ATTS['dload'] == "1" ) {
|
813 |
+
$dload_info = "true";
|
814 |
+
$ATTS['dload_html'] = "<div id=\"download_mp3j_" . $pID . "\" class=\"dloadmp3-MI\"></div>";
|
815 |
+
} elseif ( $ATTS['dload'] == "loggedin" ) {
|
816 |
+
if ( is_user_logged_in() ) {
|
817 |
+
$dload_info = "true";
|
818 |
+
$ATTS['dload_html'] = "<div id=\"download_mp3j_" . $pID . "\" class=\"dloadmp3-MI\"></div>";
|
819 |
+
} else {
|
820 |
+
$dload_info = "false";
|
821 |
+
if ( $O['loggedout_dload_text'] == "" ) {
|
822 |
+
$ATTS['dload_html'] = "";
|
823 |
+
} else {
|
824 |
+
if ( $O['loggedout_dload_link'] != "" ) {
|
825 |
+
$ATTS['dload_html'] = "<div id=\"download_mp3j_" . $pID . "\" class=\"dloadmp3-MI whilelinks\"><a href=\"" . $O['loggedout_dload_link'] . "\">" . $O['loggedout_dload_text'] . "</a></div>";
|
826 |
+
} else {
|
827 |
+
$ATTS['dload_html'] = "<div id=\"download_mp3j_" . $pID . "\" class=\"dloadmp3-MI logintext\"><p>" . $O['loggedout_dload_text'] . "</p></div>";
|
828 |
+
}
|
829 |
+
}
|
830 |
+
}
|
831 |
+
} else {
|
832 |
+
$dload_info = "false";
|
833 |
+
$ATTS['dload_html'] = "";
|
834 |
+
}
|
835 |
+
|
836 |
+
$ATTS['autoplay'] = ( $ATTS['autoplay'] == "true" || $ATTS['autoplay'] == "y" || $ATTS['autoplay'] == "1" ) ? "true" : "false";
|
837 |
+
$ATTS['loop'] = ( $ATTS['loop'] == "true" || $ATTS['loop'] == "y" || $ATTS['loop'] == "1" ) ? "true" : "false";
|
838 |
+
|
839 |
+
|
840 |
+
//Make transport buttons
|
841 |
+
$ATTS['prevnext'] = ( $ATTS['trackCount'] > 1 && $ATTS['pn'] == "y" ) ? "<div class=\"next-mjp\" id=\"Next_mp3j_" . $pID . "\">Next»</div><div class=\"prev-mjp\" id=\"Prev_mp3j_" . $pID . "\">«Prev</div>" : "";
|
842 |
+
$ATTS['play_h'] = "<div class=\"play-mjp\" id=\"playpause_mp3j_" . $pID . "\">Play</div>";
|
843 |
+
$ATTS['stop_h'] = ( $ATTS['stop'] == "y" ) ? "<div class=\"stop-mjp\" id=\"stop_mp3j_" . $pID . "\">Stop</div>" : "";
|
844 |
+
|
845 |
+
//Build player html
|
846 |
+
$ATTS['width'] = ( $this->Caller && $ATTS['width'] == "" ) ? "100%" : $ATTS['width']; //set a default width when called by tag/sc-widget and it wasn't specified
|
847 |
+
$player = $this->drawPlaylistPlayer( $ATTS );
|
848 |
+
|
849 |
+
//js player info
|
850 |
+
$playerInfo = "{ list:MP3jPLAYLISTS." .$PlayerName. ", tr:" .$trnum. ", type:'MI', lstate:" .$ATTS['list']. ", loop:" .$ATTS['loop']. ", play_txt:'Play', pause_txt:'Pause', pp_title:'" .$pp_title. "', autoplay:" .$ATTS['autoplay']. ", download:" .$dload_info. ", vol:" .$ATTS['vol']. ", height:" .$pp_height. ", cssclass:'" .$ATTS['userClasses']. "', popout_css:{" .$player['js']. "} }";
|
851 |
+
$playerJS = "<script>MP3jPLAYERS.push(" . $playerInfo . ");</script>\n\n";
|
852 |
+
|
853 |
+
|
854 |
+
|
855 |
+
//Finish up
|
856 |
+
$this->dbug['str'] .= "\nOK (id " . $this->Player_ID . ")";
|
857 |
+
$this->M_no++;
|
858 |
+
$this->Player_ID++;
|
859 |
+
|
860 |
+
return $player['html'] . $listJS . $playerJS;
|
861 |
+
}
|
862 |
+
|
863 |
+
|
864 |
+
/* Handles [mp3-popout] shortcode
|
865 |
+
link to popout player. */
|
866 |
+
function popout_link_player ( $atts, $content = null )
|
867 |
+
{
|
868 |
+
//bailout conditions
|
869 |
+
$this->dbug['str'] .= "\n### Checking [mp3-popout]...";
|
870 |
+
if ( !$this->Caller && (is_home() || is_archive() || is_search()) && $this->theSettings['player_onblog'] == "false" ) {
|
871 |
+
$this->dbug['str'] .= "\nExiting (player_onblog is unticked)";
|
872 |
+
return;
|
873 |
+
}
|
874 |
+
|
875 |
+
$O = $this->theSettings;
|
876 |
+
$pID = $this->Player_ID;
|
877 |
+
$ATTS = shortcode_atts( array( // Defaults
|
878 |
+
'tracks' => '',
|
879 |
+
'track' => '',
|
880 |
+
'captions' => '',
|
881 |
+
'dload' => $this->theSettings['show_downloadmp3'],
|
882 |
+
'title' => '',
|
883 |
+
'text' => $this->theSettings['popout_button_title'],
|
884 |
+
'stop' => 'y',
|
885 |
+
'pn' => 'y',
|
886 |
+
'list' => $this->theSettings['playlist_show'],
|
887 |
+
'width' => '',
|
888 |
+
'pos' => $this->theSettings['player_float'],
|
889 |
+
'shuffle' => false,
|
890 |
+
'pick' => '',
|
891 |
+
'id' => '',
|
892 |
+
'loop' => $this->theSettings['playlist_repeat'],
|
893 |
+
'autoplay' => $this->theSettings['auto_play'],
|
894 |
+
'vol' => $this->theSettings['initial_vol'],
|
895 |
+
'height' => $this->theSettings['playerHeight'],
|
896 |
+
'tag' => 'p',
|
897 |
+
'image' => '',
|
898 |
+
'fsort' => 'asc',
|
899 |
+
'style' => '',
|
900 |
+
'images' => 'true',
|
901 |
+
'imagesize' => $O['imageSize'],
|
902 |
+
'imglinks' => '',
|
903 |
+
'ids' => '',
|
904 |
+
'counterparts' => '',
|
905 |
+
'counterpart' => '',
|
906 |
+
'font_size_1' => $O['colour_settings']['font_size_1'],
|
907 |
+
'font_size_2' => $O['colour_settings']['font_size_2'],
|
908 |
+
'font_family_1' => $O['colour_settings']['font_family_1'],
|
909 |
+
'font_family_2' => $O['colour_settings']['font_family_2'],
|
910 |
+
'titlealign' => $O['colour_settings']['titleAlign'],
|
911 |
+
'titleoffset' => $O['colour_settings']['titleOffset'],
|
912 |
+
'titleoffsetr' => $O['colour_settings']['titleOffsetR'],
|
913 |
+
'titlebold' => $O['colour_settings']['titleBold'],
|
914 |
+
'titleitalic' => $O['colour_settings']['titleItalic'],
|
915 |
+
'captionbold' => $O['colour_settings']['captionBold'],
|
916 |
+
'captionitalic' => $O['colour_settings']['captionItalic'],
|
917 |
+
'listbold' => $O['colour_settings']['listBold'],
|
918 |
+
'listitalic' => $O['colour_settings']['listItalic'],
|
919 |
+
'listalign' => $O['colour_settings']['listAlign'],
|
920 |
+
'imagealign' => $O['colour_settings']['imageAlign'],
|
921 |
+
'imgoverflow' => $O['colour_settings']['imgOverflow'],
|
922 |
+
'titletop' => $O['colour_settings']['titleTop'],
|
923 |
+
'titlecol' => '',
|
924 |
+
'fontsize' => ''
|
925 |
+
), $atts );
|
926 |
+
|
927 |
+
//Alias some params
|
928 |
+
if ( $ATTS['tracks'] == '' && $ATTS['track'] != '' ) {
|
929 |
+
$ATTS['tracks'] = $ATTS['track'];
|
930 |
+
}
|
931 |
+
if ( $ATTS['counterparts'] == '' && $ATTS['counterpart'] != '' ) {
|
932 |
+
$ATTS['counterparts'] = $ATTS['counterpart'];
|
933 |
+
}
|
934 |
+
$ATTS['userClasses'] = $O['colour_settings']['userClasses'] . ' ' . $ATTS['style'];
|
935 |
+
|
936 |
+
$ATTS['pptext'] = $ATTS['text'];
|
937 |
+
|
938 |
+
//Try build a playlist
|
939 |
+
$TRACKS = $this->decide_M_playlist( $ATTS );
|
940 |
+
if ( !$TRACKS ) {
|
941 |
+
$this->dbug['str'] .= "\nExiting (no tracks here)";
|
942 |
+
return;
|
943 |
+
}
|
944 |
+
//$trackCount = count( $TRACKS );
|
945 |
+
$ATTS['trackCount'] = count( $TRACKS );
|
946 |
+
|
947 |
+
extract( $ATTS );
|
948 |
+
//$ATTS['cssclass'] = $ATTS['style'];
|
949 |
+
|
950 |
+
//Make js list
|
951 |
+
$PlayerName = "popout_" . $this->M_no;
|
952 |
+
$listJS = $this->writePlaylistJS( $TRACKS, $PlayerName );
|
953 |
+
|
954 |
+
//Make settings..
|
955 |
+
//$ATTS['cssclass'] = ( $ATTS['cssclass'] == "" ) ? "wrap-mjp" : $ATTS['cssclass'];
|
956 |
+
$pp_height = (int)$height;
|
957 |
+
$pp_height = ( empty($pp_height) || $pp_height === 0 ) ? 'false' : $pp_height;
|
958 |
+
//$play = "#USE_G#";
|
959 |
+
$pp_title = ( $title == "" ) ? get_bloginfo('name') : $title;
|
960 |
+
$pp_title = str_replace("'", "\'", $pp_title);
|
961 |
+
$pp_title = str_replace("'", "\'", $pp_title);
|
962 |
+
$list = ( $list == "true" || $list == "y" || $list == "1" ) ? "true" : "false";
|
963 |
+
$dload_info = ( $dload == "true" || $dload == "y" || $dload == "1" ) ? "true" : "false";
|
964 |
+
$autoplay = ( $autoplay == "true" || $autoplay == "y" || $autoplay == "1" ) ? "true" : "false";
|
965 |
+
$loop = ( $loop == "true" || $loop == "y" || $loop == "1" ) ? "true" : "false";
|
966 |
+
|
967 |
+
|
968 |
+
//Make player
|
969 |
+
//$image_h = ( $image == "" ) ? "<div class=\"mp3j-popout-link\"></div>" : "<img class=\"mp3j-popout-link-image\" src=\"" . $image . "\" />";
|
970 |
+
//$player = '<div class="mp3j-popout-link-wrap unsel-mjp" id="mp3j_popout_' . $pID . '">' . $image_h . '<'.$tag.'>' . $text . '</'.$tag.'></div>';
|
971 |
+
$image_h = ( $image === "" ) ? '<div class="popout-image-mjp"></div>' : '<img class="popout-image-mjp-custom" src="' . $image . '" />';
|
972 |
+
$text_h = ( $text !== "" ) ? '<div class="popout-text-mjp"><'.$tag.'>' . $text . '</'.$tag.'></div>' : '';
|
973 |
+
|
974 |
+
$player = '<div class="popout-wrap-mjp unsel-mjp" id="mp3j_popout_' . $pID . '">';
|
975 |
+
$player .= $image_h . $text_h;
|
976 |
+
//$player .= '<br class="clearL-mjp">';
|
977 |
+
$player .= '</div>';
|
978 |
+
|
979 |
+
|
980 |
+
////
|
981 |
+
$output = $this->drawPlaylistPlayer( $ATTS, true );
|
982 |
+
//js player info
|
983 |
+
$playerInfo = "{ list: MP3jPLAYLISTS." . $PlayerName . ", tr:0, type:'popout', lstate:" . $list . ", loop:" . $loop . ", play_txt:'Play', pause_txt:'Pause', pp_title:'" . $pp_title . "', autoplay:" . $autoplay . ", download:" . $dload_info . ", vol:" . $vol . ", height:" . $pp_height . ", cssclass: '" . $ATTS['userClasses'] . "', popout_css:{" .$output['js']. "} }";
|
984 |
+
$playerJS = "<script>MP3jPLAYERS.push(" . $playerInfo . ");</script>\n\n";
|
985 |
+
|
986 |
+
|
987 |
+
|
988 |
+
|
989 |
+
//Finish up
|
990 |
+
$this->dbug['str'] .= "\nOK (id " . $this->Player_ID . ")";
|
991 |
+
$this->M_no++;
|
992 |
+
$this->Player_ID++;
|
993 |
+
|
994 |
+
return $player . $listJS . $playerJS;
|
995 |
+
}
|
996 |
+
|
997 |
+
|
998 |
+
//###########################
|
999 |
+
function template_tag_handler( $stuff = "" ) {
|
1000 |
+
//if ( $this->theSettings['disable_template_tag'] == "true" ) {
|
1001 |
+
// return;
|
1002 |
+
//}
|
1003 |
+
if ( !empty($stuff) ) {
|
1004 |
+
$this->checkGrabFields(); //for singles
|
1005 |
+
$this->Caller = "tag";
|
1006 |
+
$players = do_shortcode( $stuff );
|
1007 |
+
$this->Caller = false;
|
1008 |
+
echo $players;
|
1009 |
+
}
|
1010 |
+
return;
|
1011 |
+
}
|
1012 |
+
|
1013 |
+
|
1014 |
+
//###########################
|
1015 |
+
function checkGrabFields ()
|
1016 |
+
{
|
1017 |
+
global $post;
|
1018 |
+
if ( $post->ID != "" && $post->ID != $this->postID )
|
1019 |
+
{
|
1020 |
+
$this->postID = $post->ID;
|
1021 |
+
$this->F_listname = false;
|
1022 |
+
$this->F_listlength = false;
|
1023 |
+
$this->S_autotrack = 0;
|
1024 |
+
$this->dbug['str'] .= "\nLooking in custom fields on post id " . $this->postID . " - ";
|
1025 |
+
|
1026 |
+
$TRACKS = $this->customFieldsToTracks( $post->ID );
|
1027 |
+
if ( $TRACKS ) {
|
1028 |
+
$count = count( $TRACKS );
|
1029 |
+
$this->F_listname = "fields_" . $this->F_no++;
|
1030 |
+
echo $this->writePlaylistJS( $TRACKS, $this->F_listname );
|
1031 |
+
$this->F_listlength = $count;
|
1032 |
+
$this->F_LISTS[ $this->F_listname ] = $TRACKS;
|
1033 |
+
$this->dbug['str'] .= "\nDone, " . $this->F_listlength . " track(s) found.";
|
1034 |
+
}
|
1035 |
+
}
|
1036 |
+
return $this->F_listname;
|
1037 |
+
}
|
1038 |
+
|
1039 |
+
}} // Close class, close if.
|
1040 |
+
?>
|
help.php
DELETED
@@ -1,190 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
function mp3j_print_help_page() {
|
3 |
-
|
4 |
-
global $mp3_fox;
|
5 |
-
$O = $mp3_fox->getAdminOptions();
|
6 |
-
$colours_array = array();
|
7 |
-
$openTab = '0';
|
8 |
-
?>
|
9 |
-
|
10 |
-
|
11 |
-
<div class="wrap">
|
12 |
-
|
13 |
-
|
14 |
-
<h2> </h2>
|
15 |
-
<h1>Help
|
16 |
-
<span class="description" style="font-size:10px;"> MP3-jPlayer | Version <?php echo $mp3_fox->version_of_plugin; ?></span>
|
17 |
-
<?php
|
18 |
-
if ( $O['disable_jquery_libs'] == "yes" )
|
19 |
-
{
|
20 |
-
echo ' <span style="font-size: 11px; font-weight:700; color:#f66;">(jQuery and UI scripts are turned off)</span>';
|
21 |
-
}
|
22 |
-
?>
|
23 |
-
</h1>
|
24 |
-
<p> </p>
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
<p>Add players using <code>[mp3j]</code> <code>[mp3t]</code> <code>[mp3-jplayer]</code> <code>[mp3-popout]</code> shortcodes, links to mp3s, <a href="widgets.php">widgets</a>, and <a href="<?php echo $mp3_fox->PluginFolder; ?>/template-tag-help.htm">Template Tags</a>.</p>
|
29 |
-
|
30 |
-
<br />
|
31 |
-
<h3 style="margin-left:0;">Shortcode Parameters</h3>
|
32 |
-
<div class="Ahelp1">
|
33 |
-
|
34 |
-
<h4><code>[mp3-jplayer]</code> <span class="description">Playlist player</span></h4>
|
35 |
-
|
36 |
-
<h5>Parameters:</h5>
|
37 |
-
<p><code>tracks</code> <span class="description">filenames/URIs/FEEDs (<code>,</code> separated)</span><br />
|
38 |
-
<code>captions</code> <span class="description">caption text (<code>;</code> separated)</span><br />
|
39 |
-
<code>vol</code> <span class="description">0 - 100</span><br />
|
40 |
-
<code>autoplay</code> <span class="description">y/n</span><br />
|
41 |
-
<code>loop</code> <span class="description">y/n</span><br />
|
42 |
-
<code>dload</code> <span class="description">y / n / loggedin (show download link)</span><br />
|
43 |
-
<code>list</code> <span class="description">y/n (show playlist)</span><br />
|
44 |
-
<code>pick</code> <span class="description">a number (picks random selection)</span><br />
|
45 |
-
<code>shuffle</code> <span class="description">y/n (shuffle track order)</span><br />
|
46 |
-
<code>title</code> <span class="description">text above player</span><br />
|
47 |
-
<code>pos</code> <span class="description">rel-L, rel-C, rel-R, left, right</span><br />
|
48 |
-
<code>width</code> <span class="description">in px or %</span><br />
|
49 |
-
<code>height</code> <span class="description">in px (player height excluding list)</span><br />
|
50 |
-
<code>pn</code> <span class="description">y/n (show prev/next buttons)</span><br />
|
51 |
-
<code>stop</code> <span class="description">y/n (show stop button)</span><br />
|
52 |
-
<code>id</code> <span class="description">a page id (to read the custom fields from)</span><br />
|
53 |
-
<code>images</code> <span class="description">comma separated list of track image urls</span><br />
|
54 |
-
<!--<code>imglinks</code> <span class="description">comma separated list of arbitrary links</span><br />-->
|
55 |
-
<code>fsort</code> <span class="description">asc/desc (folder feed direction)</span><br />
|
56 |
-
<code>style</code> <span class="description">modify player style</span> <strong><a href="<?php echo $mp3_fox->PluginFolder; ?>/style-param-help.htm">Help</a></strong></p>
|
57 |
-
|
58 |
-
</div>
|
59 |
-
|
60 |
-
<div class="Ahelp1">
|
61 |
-
<h4><code>[mp3j]</code> & <code>[mp3t]</code> <span class="description">Single-track players</span></h4>
|
62 |
-
|
63 |
-
<h5>Parameters:</h5>
|
64 |
-
<p><code>track</code> <span class="description">filename or URI</span><br />
|
65 |
-
<code>caption</code> <span class="description">caption text (right of title)</span><br />
|
66 |
-
<code>vol</code> <span class="description">0 - 100</span><br />
|
67 |
-
<code>volslider</code> <span class="description">y/n</span><br />
|
68 |
-
<code>autoplay</code> <span class="description">y/n</span><br />
|
69 |
-
<code>loop</code> <span class="description">y/n</span><br />
|
70 |
-
<code>title</code> <span class="description">text (replaces both title and caption)</span><br />
|
71 |
-
<code>bold</code> <span class="description">y/n</span><br />
|
72 |
-
<code>flip</code> <span class="description">y/n (play/pause)</span><br />
|
73 |
-
<code>ind</code> <span class="description">y/n (hide indicator and time)</span><br />
|
74 |
-
<code>flow</code> <span class="description">y/n (don't line break)</span><br />
|
75 |
-
<code>style</code> <span class="description">modify player style</span> <strong><a href="<?php echo $mp3_fox->PluginFolder; ?>/style-param-help.htm">Help</a></strong></p>
|
76 |
-
|
77 |
-
<h5>Also for <code>[mp3t]</code></h5>
|
78 |
-
<p><code>play</code> play button text<br /><code>stop</code> pause button text</p>
|
79 |
-
|
80 |
-
</div>
|
81 |
-
|
82 |
-
<div class="Ahelp1">
|
83 |
-
<h4><code>[mp3-popout]</code> <span class="description">Link to pop-out player</span></h4>
|
84 |
-
|
85 |
-
<h5>Parameters:</h5>
|
86 |
-
<p><code>tracks</code> <span class="description">files/URIs/FEEDs (<code>,</code> separated)</span><br />
|
87 |
-
<code>captions</code> <span class="description">caption text (<code>;</code> separated)</span><br />
|
88 |
-
<code>vol</code> <span class="description">0 - 100</span><br />
|
89 |
-
<code>autoplay</code> <span class="description">y / n</span><br />
|
90 |
-
<code>loop</code> <span class="description">y / n</span><br />
|
91 |
-
<code>dload</code> <span class="description">y / n / loggedin (show download link)</span><br />
|
92 |
-
<code>list</code> <span class="description">y/n (show popout playlist)</span><br />
|
93 |
-
<code>pick</code> <span class="description">number (pick random selection)</span><br />
|
94 |
-
<code>shuffle</code> <span class="description">y/n (shuffle track order)</span><br />
|
95 |
-
<code>title</code> <span class="description">title for the popout window</span><br />
|
96 |
-
<code>pos</code> <span class="description">rel-L, rel-C, rel-R, left, right (link position)</span><br />
|
97 |
-
<code>text</code> <span class="description">text for the link</span><br />
|
98 |
-
<code>height</code> <span class="description">px (popout player height excluding it's list)</span><br />
|
99 |
-
<code>id</code> <span class="description">a page id (to read the custom fields from)</span><br />
|
100 |
-
<code>tag</code> <span class="description">html tag for text (eg. <code>h2</code>, Default is <code>p</code>)</span><br />
|
101 |
-
<code>image</code> <span class="description">image for the popout link</span><br />
|
102 |
-
<code>images</code> <span class="description">comma separated list of track image urls</span><br />
|
103 |
-
<!--<code>imglinks</code> <span class="description">comma separated list of arbitrary links</span><br />-->
|
104 |
-
<code>fsort</code> <span class="description">asc/desc (folder feed direction)</span><br />
|
105 |
-
<code>style</code> <span class="description">modify player style</span> <strong><a href="<?php echo $mp3_fox->PluginFolder; ?>/style-param-help.htm">Help</a></strong></p>
|
106 |
-
</div>
|
107 |
-
|
108 |
-
<!-- Not in this release
|
109 |
-
<div class="Ahelp1">
|
110 |
-
<h5><code>[mp3-link]</code> Play from a playlist player</h5>
|
111 |
-
<p><code>player</code> number of the player to operate<br /><code>track</code> the track number<br /><code>text</code> link text, defaults to <code>Play</code><br /><code>bold</code> y/n</p>
|
112 |
-
</div>
|
113 |
-
-->
|
114 |
-
|
115 |
-
<br class="clearB" /><br />
|
116 |
-
|
117 |
-
<p><strong>Eg</strong>. <span class="description">Play a url:</span> <code>[mp3j track="http://somedomain.com/myfile.mp3"]</code><br />
|
118 |
-
<strong>Eg</strong>. <span class="description">Play a file from default folder (set below) or library:</span> <code>[mp3j track="myfile.mp3"]</code><br />
|
119 |
-
<strong>Eg</strong>. <span class="description">Make a playlist player:</span> <code>[mp3-jplayer tracks="fileA.mp3, http://somedomain.com/fileB.mp3, fileC.mp3"]</code><br />
|
120 |
-
<strong>Eg</strong>. <span class="description">Add titles:</span> <code>[mp3-jplayer tracks="My Title@fileA.mp3, My Title@fileB.mp3, My Title@fileC.mp3"]</code><br />
|
121 |
-
<strong>Eg</strong>. <span class="description">Add captions:</span> <code>[mp3-jplayer tracks="fileA.mp3, fileB.mp3" captions="Caption A; Caption B"]</code></p>
|
122 |
-
<p><a href="http://sjward.org/jplayer-for-wordpress" target="_blank">More shortcode examples</a></p>
|
123 |
-
<br />
|
124 |
-
|
125 |
-
<p><strong>Use these commands with [mp3-jplayer] in the <code>tracks</code> parameter to playlist entire folders or the library:</strong></p>
|
126 |
-
<p><code>FEED:LIB</code> playlists all mp3s in the library.<br />
|
127 |
-
<code>FEED:DF</code> playlists your default folder.<br />
|
128 |
-
<code>FEED:/my/music</code> playlists a folder or subfolder (relative to root of domain, not the WP install)</p>
|
129 |
-
<p><strong>Eg</strong>. Play 5 random tracks from the library: <code>[mp3-jplayer tracks="FEED:LIB" pick="5"]</code><br />
|
130 |
-
<strong>Eg</strong>. Play everything in the folder called 'tunes': <code>[mp3-jplayer tracks="FEED:/tunes"]</code></p>
|
131 |
-
|
132 |
-
<p>The <code>tracks</code> parameter can contain a mix of FEEDs and filenames/urls, eg. <code>[mp3-jplayer tracks="myfileA.mp3, FEED:/tunes, Title@myfileB.mp3, FEED:DF"]</code>.
|
133 |
-
When just a filename is used the file must be in either your media library or in the default folder (set on this page). You can also specify a file in a sub
|
134 |
-
directory in the default folder eg. <code>tracks="subfolder/file.mp3"</code>.</p>
|
135 |
-
|
136 |
-
<br />
|
137 |
-
|
138 |
-
<h3 style="margin-left:0;">Custom Fields</h3>
|
139 |
-
<p>You can write playlists into the custom fields that are on page and post edit screens (check your 'screen options' at top-right
|
140 |
-
if they're not visible). They can be picked up with any of the shortcodes (from any page/post, or with the template tag, or by the widgets). See below for how
|
141 |
-
to set them up and some example uses:</p>
|
142 |
-
|
143 |
-
<p class="description">1. Enter <code>mp3</code> into the left hand box (the 'key' box).<br />2. Write the filename, URI, or 'FEED' (see above) into the right hand box (the 'value' box) and hit 'add custom field'</p>
|
144 |
-
<p>Add each track or 'FEED' in a new field pair.</p>
|
145 |
-
<p>To add titles and captions in the custom fields use the following format:</p>
|
146 |
-
<p class="description">1. Add a dot, then the caption in the left hand box, eg: <code>mp3.My Caption</code>
|
147 |
-
<br />2. Add the title, then an '@' before the filename in the right box, eg: <code>My Title@filename</code></p>
|
148 |
-
<p>The keys (left boxes) can be numbered, eg:<code>1 mp3</code> will be first on the playlist.</p>
|
149 |
-
|
150 |
-
<p><strong>Eg</strong>. If a custom field key / value pair is set as <code>mp3</code> / <code>FEED:LIB</code>, then the library is available to any shortcodes, so:<br />
|
151 |
-
|
152 |
-
<code>[mp3j]</code> or <code>[mp3t]</code> <span class="description">plays the next track from the library in a single player</span> <br />
|
153 |
-
<code>[mp3j track="3"]</code> or <code>[mp3t track="3"]</code> <span class="description">plays track 3 from the library in a single player</span> <br />
|
154 |
-
<code>[mp3-jplayer]</code> <span class="description">playlists all the custom fields in a playlist player</span><br /></p>
|
155 |
-
|
156 |
-
<br />
|
157 |
-
|
158 |
-
|
159 |
-
<h3 style="margin-left:0;">Widgets</h3>
|
160 |
-
<p class="description">
|
161 |
-
MP3j-sh - <span class="description">Adds players by writing shortcodes.</span><br />
|
162 |
-
MP3j-ui - <span class="description">Adds a playlist player by using tick boxes and modes. Note that some features such as manually written captions, and additional style (css classes) cannot be set with this widget, use the mp3j-sh widget instead.</span>
|
163 |
-
</p>
|
164 |
-
<br />
|
165 |
-
<h3 style="margin-left:0;">Template Tags</h3>
|
166 |
-
<p class="description">For use in theme files, See <a href="<?php echo $mp3_fox->PluginFolder; ?>/template-tag-help.htm">Template Tag Help</a> for more details.</p>
|
167 |
-
<p style="line-height:22px;"><code style="font-size:13px;">mp3j_addscripts( $style )</code><br /><code style="font-size:13px;">mp3j_put( $shortcodes )</code><br /><code style="font-size:13px;">mp3j_grab_library( $format )</code><br/><code style="font-size:13px;">mp3j_debug()</code></p>
|
168 |
-
|
169 |
-
<br />
|
170 |
-
|
171 |
-
<h3 style="margin-left:0;">Testing</h3>
|
172 |
-
<p><strong>Make sure you're using default plugin settings for these tests.</strong></p>
|
173 |
-
<p>You can test the plugin with a valid mp3 by copy/pasting the following shortcode into a page or post:<br />
|
174 |
-
<code>[mp3-jplayer tracks="http://sjward.org/seven.mp3"]</code></p>
|
175 |
-
|
176 |
-
<p>To test link replacement copy/paste one of these links, if you're not sure which one then paste them both (one of them should work):</p>
|
177 |
-
<p>If you use the visual (default) editor: <code><a href="http://sjward.org/seven.mp3">Test link</a></code><br />
|
178 |
-
If you use the text editor: <code><a href="http://sjward.org/seven.mp3">Test link</a></code></p>
|
179 |
-
|
180 |
-
<p><br />Links to info:<br /><a href="http://sjward.org/jplayer-for-wordpress">Demo page</a><br /><a href="<?php echo $mp3_fox->PluginFolder; ?>/style-param-help.htm">Style Parameter Help</a><br /><a href="<?php echo $mp3_fox->PluginFolder; ?>/remote/help.txt">Forcing Remote Downloads</a><br /><a href="<?php echo $mp3_fox->PluginFolder; ?>/template-tag-help.htm">Template Tag Help</a></p>
|
181 |
-
<br /><br />
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
</div>
|
186 |
-
|
187 |
-
|
188 |
-
<?php
|
189 |
-
}
|
190 |
-
?>
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|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
Â
|
js/admin-1.8.js
DELETED
@@ -1,235 +0,0 @@
|
|
1 |
-
/* MP3-jPlayer 1.8 - admin js */
|
2 |
-
|
3 |
-
var MP3J_ADMIN = {
|
4 |
-
toggle_states: [
|
5 |
-
{ fox_library: false },
|
6 |
-
{ fox_folder: false }
|
7 |
-
],
|
8 |
-
showhideit: function ( id, label ) {
|
9 |
-
if (this.toggle_states[id]) {
|
10 |
-
jQuery("#" + id + "-list").fadeOut(100);
|
11 |
-
jQuery("#" + id + "-toggle").empty().append('Show '+label).blur();
|
12 |
-
this.toggle_states[id] = false;
|
13 |
-
} else {
|
14 |
-
jQuery("#" + id + "-list").fadeIn(200);
|
15 |
-
jQuery("#" + id + "-toggle").empty().append('Hide '+label).blur();
|
16 |
-
this.toggle_states[id] = true;
|
17 |
-
}
|
18 |
-
}
|
19 |
-
}
|
20 |
-
|
21 |
-
|
22 |
-
/* Form select event on player style dropdown */
|
23 |
-
var player_select=document.getElementById("player-select");
|
24 |
-
player_select.onchange=function(){
|
25 |
-
var chosen=this.options[this.selectedIndex];
|
26 |
-
if (chosen.value=="styleF" || chosen.value=="styleG" || chosen.value=="styleH"){
|
27 |
-
$S('mp3fcss').color="#d6d6d6";
|
28 |
-
$S('mp3fcss').backgroundColor="#fcfcfc";
|
29 |
-
$S('mp3fcss').borderColor="#f0f0f0";
|
30 |
-
$S('player-csssheet').color="#d6d6d6";
|
31 |
-
}
|
32 |
-
if (chosen.value=="styleI"){
|
33 |
-
$S('mp3fcss').color="#000";
|
34 |
-
$S('mp3fcss').backgroundColor="#fff";
|
35 |
-
$S('mp3fcss').borderColor="#dfdfdf";
|
36 |
-
$S('player-csssheet').color="#444";
|
37 |
-
}
|
38 |
-
};
|
39 |
-
|
40 |
-
|
41 |
-
/* Admin/Picker interaction */
|
42 |
-
var curcol="";
|
43 |
-
var initcolour = "#6d9dde";
|
44 |
-
var red = 0; // between 0 and 1
|
45 |
-
var green = 0;
|
46 |
-
var blue = 0;
|
47 |
-
var hue = 0; // between 0 and 360
|
48 |
-
var saturation = 0; // between 0 and 1
|
49 |
-
var value = 0;
|
50 |
-
|
51 |
-
function putfcolour(fID,blID) {
|
52 |
-
$woof(fID).value='#'+curcol;
|
53 |
-
$S(blID).background='#'+curcol;
|
54 |
-
}
|
55 |
-
function udfcol(fID, blID) {
|
56 |
-
$S(blID).background=$woof(fID).value;
|
57 |
-
}
|
58 |
-
function sendfcolour(fID) {
|
59 |
-
hval=$woof(fID).value;
|
60 |
-
initpicker(hval);
|
61 |
-
}
|
62 |
-
function initpicker(hval){
|
63 |
-
HextoRGB(hval);
|
64 |
-
RGBtoHSV();
|
65 |
-
sendHSV={H:hue, S:saturation*100, V:value*100};
|
66 |
-
HSVupdate(sendHSV);
|
67 |
-
$S('SVslide').left = Math.round(saturation*100*1.62)-1 + "px";
|
68 |
-
$S('SVslide').top = 161-Math.round((value*100*1.62)) + "px";
|
69 |
-
$S('Hslide').top = 159-Math.round((165/360)*hue) + "px";
|
70 |
-
$S('SV').backgroundColor='#'+color.HSV_HEX({H:hue, S:100, V:100});
|
71 |
-
}
|
72 |
-
function HextoRGB(hexString) {
|
73 |
-
if(hexString === null || typeof(hexString) != "string") {
|
74 |
-
SetRGB(0,0,0);
|
75 |
-
return;
|
76 |
-
}
|
77 |
-
if (hexString.substr(0, 1) == '#')
|
78 |
-
hexString = hexString.substr(1);
|
79 |
-
if(hexString.length != 6) {
|
80 |
-
SetRGB(0,0,0);
|
81 |
-
return;
|
82 |
-
}
|
83 |
-
var r = parseInt(hexString.substr(0, 2), 16);
|
84 |
-
var g = parseInt(hexString.substr(2, 2), 16);
|
85 |
-
var b = parseInt(hexString.substr(4, 2), 16);
|
86 |
-
if (isNaN(r) || isNaN(g) || isNaN(b)) {
|
87 |
-
SetRGB(0,0,0);
|
88 |
-
return;
|
89 |
-
}
|
90 |
-
SetRGB(r,g,b);
|
91 |
-
}
|
92 |
-
function SetRGB(r, g, b){
|
93 |
-
red = r/255.0;
|
94 |
-
green = g/255.0;
|
95 |
-
blue = b/255.0;
|
96 |
-
}
|
97 |
-
function RGBtoHSV(){
|
98 |
-
var max = Math.max(Math.max(red, green), blue);
|
99 |
-
var min = Math.min(Math.min(red, green), blue);
|
100 |
-
value = max;
|
101 |
-
saturation = 0;
|
102 |
-
if(max !== 0)
|
103 |
-
saturation = 1 - min/max;
|
104 |
-
hue = 0;
|
105 |
-
if(min == max)
|
106 |
-
return;
|
107 |
-
|
108 |
-
var delta = (max - min);
|
109 |
-
if (red == max)
|
110 |
-
hue = (green - blue) / delta;
|
111 |
-
else if (green == max)
|
112 |
-
hue = 2 + ((blue - red) / delta);
|
113 |
-
else
|
114 |
-
hue = 4 + ((red - green) / delta);
|
115 |
-
hue = hue * 60;
|
116 |
-
if(hue < 0)
|
117 |
-
hue += 360;
|
118 |
-
}
|
119 |
-
|
120 |
-
/* Colour picker (modified DHTML Color Square by ColorJack) */
|
121 |
-
function $woof(v,o) { return((typeof(o)=='object'?o:document).getElementById(v)); }
|
122 |
-
function $S(o) { o=$woof(o); if(o) return(o.style); }
|
123 |
-
function abPos(o) { var o=(typeof(o)=='object'?o:$woof(o)), z={X:0,Y:0}; while(o!==null) { z.X+=o.offsetLeft; z.Y+=o.offsetTop; o=o.offsetParent; } return(z); }
|
124 |
-
function agent(v) { return(Math.max(navigator.userAgent.toLowerCase().indexOf(v),0)); }
|
125 |
-
function toggle(v) { $S(v).display=($S(v).display=='none'?'block':'none'); }
|
126 |
-
function within(v,a,z) { return((v>=a && v<=z)?true:false); }
|
127 |
-
function XY(e,v) { var o=agent('msie')?{'X':event.clientX+document.documentElement.scrollLeft,'Y':event.clientY+document.documentElement.scrollTop}:{'X':e.pageX,'Y':e.pageY}; return(v?o[v]:o); }
|
128 |
-
function zero(v) { v=parseInt(v); return(!isNaN(v)?v:0); }
|
129 |
-
|
130 |
-
var maxValue={'H':360,'S':100,'V':100}, HSV={H:360, S:100, V:100};
|
131 |
-
var slideHSV={H:360, S:100, V:100}, zINDEX=15, stop=1;
|
132 |
-
function HSVslide(d,o,e) {
|
133 |
-
function tXY(e) { tY=XY(e).Y-ab.Y; tX=XY(e).X-ab.X; }
|
134 |
-
function mkHSV(a,b,c) { return(Math.min(a,Math.max(0,Math.ceil((parseInt(c)/b)*a)))); }
|
135 |
-
function ckHSV(a,b) { if(within(a,0,b)) return(a); else if(a>b) return(b); else if(a<0) return('-'+oo); }
|
136 |
-
function drag(e) {
|
137 |
-
if(!stop) {
|
138 |
-
if(d!='drag') tXY(e);
|
139 |
-
if(d=='SVslide') {
|
140 |
-
ds.left=ckHSV(tX-oo,162)+'px';
|
141 |
-
ds.top=ckHSV(tY-oo,162)+'px';
|
142 |
-
slideHSV.S=mkHSV(100,162,ds.left);
|
143 |
-
slideHSV.V=100-mkHSV(100,162,ds.top);
|
144 |
-
HSVupdate();
|
145 |
-
}
|
146 |
-
else if(d=='Hslide') {
|
147 |
-
var ck=ckHSV(tY-oo,163), r=['H','S','V'], z={};
|
148 |
-
ds.top=(ck-5)+'px';
|
149 |
-
slideHSV.H=mkHSV(360,163,ck);
|
150 |
-
for(var i in r) {
|
151 |
-
i=r[i];
|
152 |
-
z[i]=(i=='H')?maxValue[i]-mkHSV(maxValue[i],163,ck):HSV[i];
|
153 |
-
}
|
154 |
-
HSVupdate(z);
|
155 |
-
$S('SV').backgroundColor='#'+color.HSV_HEX({H:HSV.H, S:100, V:100});
|
156 |
-
}
|
157 |
-
}}
|
158 |
-
if(stop) {
|
159 |
-
stop='';
|
160 |
-
var ds=$S(d!='drag'?d:o);
|
161 |
-
var ab=abPos($woof(o)), tX, tY, oo=(d=='Hslide')?2:4;
|
162 |
-
ab.X+=10; ab.Y+=22;
|
163 |
-
if(d=='SVslide') slideHSV.H=HSV.H;
|
164 |
-
document.onmousemove=drag;
|
165 |
-
document.onmouseup=function(){
|
166 |
-
stop=1;
|
167 |
-
document.onmousemove='';
|
168 |
-
document.onmouseup='';
|
169 |
-
};
|
170 |
-
drag(e);
|
171 |
-
}
|
172 |
-
}
|
173 |
-
function HSVupdate(v) {
|
174 |
-
v=color.HSV_HEX(HSV=v?v:slideHSV);
|
175 |
-
$woof('plugHEX').innerHTML='#'+v;
|
176 |
-
$S('plugCUR').background='#'+v;
|
177 |
-
curcol=v;
|
178 |
-
return(v);
|
179 |
-
}
|
180 |
-
function loadSV() {
|
181 |
-
var z='';
|
182 |
-
for(var i=165; i>=0; i--) {
|
183 |
-
z+="<div style=\"BACKGROUND: #"+color.HSV_HEX({H:Math.round((360/165)*i), S:100, V:100})+";\"><br /><\/div>";
|
184 |
-
}
|
185 |
-
}
|
186 |
-
|
187 |
-
/* Colour library */
|
188 |
-
color={};
|
189 |
-
color.cords=function(W) {
|
190 |
-
var W2=W/2, rad=(hsv.H/360)*(Math.PI*2), hyp=(hsv.S+(100-hsv.V))/100*(W2/2);
|
191 |
-
$S('mCur').left=Math.round(Math.abs(Math.round(Math.sin(rad)*hyp)+W2+3))+'px';
|
192 |
-
$S('mCur').top=Math.round(Math.abs(Math.round(Math.cos(rad)*hyp)-W2-21))+'px';
|
193 |
-
};
|
194 |
-
color.HEX=function(o) { o=Math.round(Math.min(Math.max(0,o),255));
|
195 |
-
return("0123456789ABCDEF".charAt((o-o%16)/16)+"0123456789ABCDEF".charAt(o%16));
|
196 |
-
};
|
197 |
-
color.RGB_HEX=function(o) { var fu=color.HEX; return(fu(o.R)+fu(o.G)+fu(o.B)); };
|
198 |
-
color.HSV_RGB=function(o) {
|
199 |
-
|
200 |
-
var R, G, A, B, C, S=o.S/100, V=o.V/100, H=o.H/360;
|
201 |
-
if(S>0) { if(H>=1) H=0;
|
202 |
-
H=6*H; F=H-Math.floor(H);
|
203 |
-
A=Math.round(255*V*(1-S));
|
204 |
-
B=Math.round(255*V*(1-(S*F)));
|
205 |
-
C=Math.round(255*V*(1-(S*(1-F))));
|
206 |
-
V=Math.round(255*V);
|
207 |
-
|
208 |
-
switch(Math.floor(H)) {
|
209 |
-
case 0: R=V; G=C; B=A; break;
|
210 |
-
case 1: R=B; G=V; B=A; break;
|
211 |
-
case 2: R=A; G=V; B=C; break;
|
212 |
-
case 3: R=A; G=B; B=V; break;
|
213 |
-
case 4: R=C; G=A; B=V; break;
|
214 |
-
case 5: R=V; G=A; B=B; break;
|
215 |
-
}
|
216 |
-
return({'R':R?R:0, 'G':G?G:0, 'B':B?B:0, 'A':1});
|
217 |
-
}
|
218 |
-
else return({'R':(V=Math.round(V*255)), 'G':V, 'B':V, 'A':1});
|
219 |
-
};
|
220 |
-
color.HSV_HEX=function(o) { return(color.RGB_HEX(color.HSV_RGB(o))); };
|
221 |
-
|
222 |
-
/* Startup */
|
223 |
-
jQuery("#tog_0-list").css( "display" , "none" );
|
224 |
-
jQuery("#tog_1-list").css( "display" , "none" );
|
225 |
-
jQuery("#fox_library-list").css( "display" , "none" );
|
226 |
-
jQuery("#fox_folder-list").css( "display" , "none" );
|
227 |
-
jQuery("#fox_op1-list").css( "display" , "none" );
|
228 |
-
jQuery("#fox_op5-list").css( "display" , "none" );
|
229 |
-
jQuery("#fox_op2-list").css( "display" , "none" );
|
230 |
-
jQuery("#fox_op3-list").css( "display" , "none" );
|
231 |
-
jQuery("#fox_op4-list").css( "display" , "none" );
|
232 |
-
|
233 |
-
$S('plugin').display='block';
|
234 |
-
loadSV();
|
235 |
-
initpicker(initcolour);
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
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abs */
|
10 |
+
openTab: 0,
|
11 |
+
addTabListener: function ( j ) {
|
12 |
+
jQuery('#mp3j_tabbutton_' + j).click( function (e) {
|
13 |
+
MP3jP.changeTab( j );
|
14 |
+
});
|
15 |
+
},
|
16 |
+
changeTab: function ( j ) {
|
17 |
+
if ( j !== this.openTab ) {
|
18 |
+
if ( this.pickID !== false ) { //clear active picking
|
19 |
+
this.clickPlus( this.pickID );
|
20 |
+
}
|
21 |
+
jQuery('#mp3j_tab_' + this.openTab).hide();
|
22 |
+
jQuery('#mp3j_tabbutton_' + this.openTab).removeClass('active-tab');
|
23 |
+
jQuery('#mp3j_tab_' + j).show();
|
24 |
+
jQuery('#mp3j_tabbutton_' + j).addClass('active-tab');
|
25 |
+
this.openTab = j;
|
26 |
+
}
|
27 |
+
},
|
28 |
+
|
29 |
+
|
30 |
+
|
31 |
+
|
32 |
+
|
33 |
+
/** Colour Picking */
|
34 |
+
pickID: false,
|
35 |
+
CSSprop: false,
|
36 |
+
partID: false,
|
37 |
+
clickPatch: function ( ID, handle ) {
|
38 |
+
var colour = jQuery('#'+ID).val();
|
39 |
+
this.setPicker( colour, handle );
|
40 |
+
if ( this.pickID !== ID ) {
|
41 |
+
this.updateColours( colour, this.pickID );
|
42 |
+
}
|
43 |
+
},
|
44 |
+
setPicker: function ( colour, handle ) {
|
45 |
+
if ( colour !== 'transparent' && colour !== 'inherit' ) {
|
46 |
+
jQuery( '#spectrumPicker' + handle ).spectrum( "set", colour );
|
47 |
+
}
|
48 |
+
},
|
49 |
+
clickMinus: function ( ID, property, partID ) {
|
50 |
+
var value = ( 'color' === property ) ? 'inherit' : 'transparent';
|
51 |
+
jQuery('#'+ID).val( value ); //field
|
52 |
+
jQuery('#patch'+ID).css({ 'background-color' : 'transparent' }); //patch
|
53 |
+
var style = {};
|
54 |
+
style[ property ] = value;
|
55 |
+
jQuery('#player' + partID).css( style ); //player
|
56 |
+
},
|
57 |
+
clickPlus: function ( ID, property, partID ) {
|
58 |
+
if ( ID === this.pickID ) {
|
59 |
+
jQuery( '#plus' + this.pickID ).removeClass('activePicker');
|
60 |
+
this.pickID = false;
|
61 |
+
this.CSSprop = false;
|
62 |
+
this.partID = false;
|
63 |
+
} else {
|
64 |
+
if ( this.pickID !== false ) {
|
65 |
+
jQuery( '#plus' + this.pickID ).removeClass('activePicker');
|
66 |
+
}
|
67 |
+
var handle = ( this.openTab === 1 ) ? 'Alpha' : '';
|
68 |
+
var colour = jQuery('#'+ID).val();
|
69 |
+
this.setPicker( colour, handle );
|
70 |
+
|
71 |
+
jQuery( '#plus' + ID).addClass('activePicker');
|
72 |
+
this.pickID = ID;
|
73 |
+
this.CSSprop = property;
|
74 |
+
if ( typeof partID !== 'undefined' ) {
|
75 |
+
this.partID = partID;
|
76 |
+
}
|
77 |
+
}
|
78 |
+
},
|
79 |
+
updateColours: function ( colour, pickID ) {
|
80 |
+
if ( pickID !== false ) {
|
81 |
+
jQuery( '#' + pickID ).val( colour ); //field
|
82 |
+
jQuery('#patch' + pickID ).css({ 'background-color': colour }); //patch
|
83 |
+
var partid = ( this.partID === false ) ? pickID : this.partID;
|
84 |
+
var style = {};
|
85 |
+
style[this.CSSprop] = colour;
|
86 |
+
jQuery('#player' + partid ).css( style ); //player
|
87 |
+
}
|
88 |
+
},
|
89 |
+
|
90 |
+
|
91 |
+
|
92 |
+
|
93 |
+
|
94 |
+
|
95 |
+
|
96 |
+
|
97 |
+
|
98 |
+
|
99 |
+
/** stylesheet */
|
100 |
+
stylesheetControls: function () {
|
101 |
+
jQuery('#player-select').on('change', function ( e ) {
|
102 |
+
var value = jQuery( this ).val();
|
103 |
+
var url = '';
|
104 |
+
|
105 |
+
MP3jP.showhideCustomCSS( value );
|
106 |
+
|
107 |
+
if ( value === "styleI" ) {
|
108 |
+
jQuery('#mp3fcss').removeClass('quietInput');
|
109 |
+
jQuery('#player-csssheet, #reload_stylesheet_button').removeClass('quietText');
|
110 |
+
//url = styleI;
|
111 |
+
|
112 |
+
} else {
|
113 |
+
jQuery('#mp3fcss').addClass('quietInput');
|
114 |
+
jQuery('#player-csssheet, #reload_stylesheet_button').addClass('quietText');
|
115 |
+
//if ( value === "styleF" ) { url = styleF; }
|
116 |
+
//if ( value === "styleG" ) { url = styleG; }
|
117 |
+
//if ( value === "styleH" ) { url = styleH; }
|
118 |
+
}
|
119 |
+
url = SKINDATA[ value ];
|
120 |
+
MP3jP.reload_stylesheet( url );
|
121 |
+
});
|
122 |
+
jQuery('#reload_stylesheet_button').click( function ( e ) {
|
123 |
+
var field_val = jQuery('#mp3fcss').val();
|
124 |
+
var select_val = jQuery('#player-select').val();
|
125 |
+
if ( field_val !== MP3J_THEME_PATH && select_val === 'styleI' ) {
|
126 |
+
MP3jP.reload_stylesheet( field_val );
|
127 |
+
}
|
128 |
+
});
|
129 |
+
jQuery('#mp3fcss').on('keyup', function ( e ) {
|
130 |
+
styleI = jQuery( this ).val();
|
131 |
+
});
|
132 |
+
},
|
133 |
+
reload_stylesheet: function ( url ) {
|
134 |
+
jQuery( 'link[rel=stylesheet][href~="' + MP3J_THEME_PATH + '"]' ).remove();
|
135 |
+
jQuery( 'head' ).append( '<link rel="stylesheet" type="text/css" href="' + url + '" />' );
|
136 |
+
MP3J_THEME_PATH = url;
|
137 |
+
},
|
138 |
+
showhideCustomCSS: function ( value ) {
|
139 |
+
if ( value === "styleI" ) {
|
140 |
+
jQuery( '#customCSSrow' ).fadeIn( 400 );
|
141 |
+
} else {
|
142 |
+
jQuery( '#customCSSrow' ).fadeOut( 400 );
|
143 |
+
}
|
144 |
+
},
|
145 |
+
|
146 |
+
/** fonts */
|
147 |
+
families: {
|
148 |
+
arial: 'Arial, "Helvetica Neue", Helvetica, sans-serif',
|
149 |
+
verdana: 'Verdana, Geneva, sans-serif',
|
150 |
+
times: 'TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif',
|
151 |
+
palatino: 'Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif',
|
152 |
+
lucida: '"Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace',
|
153 |
+
courier: '"Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace',
|
154 |
+
gill: '"Gill Sans", "Gill Sans MT", Calibri, sans-serif',
|
155 |
+
theme: 'inherit'
|
156 |
+
},
|
157 |
+
initFontSlider: function ( j ) {
|
158 |
+
var val = jQuery('#font_size_' + j).val();
|
159 |
+
jQuery( '#fontSlider_' + j ).slider({
|
160 |
+
value : val,
|
161 |
+
max: 70,
|
162 |
+
min: 8,
|
163 |
+
range: 'min',
|
164 |
+
animate: false,
|
165 |
+
slide: function (event, ui) {
|
166 |
+
jQuery('#font_size_' + j).val( ui.value );
|
167 |
+
MP3jP.setFontSize( j, ui.value );
|
168 |
+
}
|
169 |
+
});
|
170 |
+
this.setFontSize( j, val );
|
171 |
+
},
|
172 |
+
setFontSize: function ( j, val ) {
|
173 |
+
if ( val !== 'auto' ) {
|
174 |
+
if ( j == 1 ) {
|
175 |
+
jQuery('#trackTitles').css({ 'font-size' : val + 'px' });
|
176 |
+
jQuery('#trackTitles div').css({ 'font-size' : (val*0.7) + 'px' });
|
177 |
+
}
|
178 |
+
if ( j == 2 ) {
|
179 |
+
jQuery('a.a-mjp').css({ 'font-size' : val + 'px' });
|
180 |
+
}
|
181 |
+
} else {
|
182 |
+
if ( j == 1 ) {
|
183 |
+
jQuery('#trackTitles').css({ 'font-size' : '100%' });
|
184 |
+
jQuery('#trackTitles div').css({ 'font-size' : '85%' });
|
185 |
+
}
|
186 |
+
if ( j == 2 ) {
|
187 |
+
jQuery('a.a-mjp').css({ 'font-size' : '100%' });
|
188 |
+
}
|
189 |
+
|
190 |
+
}
|
191 |
+
},
|
192 |
+
setFontFamily: function ( j, selector ) {
|
193 |
+
var selected = jQuery('#font_family_' + j).val();
|
194 |
+
jQuery( selector ).css({ 'font-family': MP3jP.families[ selected ] });
|
195 |
+
},
|
196 |
+
fontCheckers: function ( ID, selector, onClass, offClass ) {
|
197 |
+
var ext = '-mjp';
|
198 |
+
var isChecked = jQuery( ID ).prop('checked');
|
199 |
+
console.log(isChecked);
|
200 |
+
if ( isChecked ) {
|
201 |
+
jQuery( selector ).removeClass( offClass + ext ).addClass( onClass + ext );
|
202 |
+
jQuery( ID + '_label').addClass('formatOn');
|
203 |
+
} else {
|
204 |
+
jQuery( selector ).removeClass( onClass + ext ).addClass( offClass + ext );
|
205 |
+
jQuery( ID + '_label').removeClass('formatOn');
|
206 |
+
}
|
207 |
+
},
|
208 |
+
|
209 |
+
|
210 |
+
/** selects */
|
211 |
+
dividersSelect: function () {
|
212 |
+
jQuery('#list_divider').on('change', function ( e ) {
|
213 |
+
var value = jQuery(this).val();
|
214 |
+
jQuery('.ul-mjp').removeClass('light-mjp med-mjp dark-mjp');
|
215 |
+
if ( 'none' !== value ) {
|
216 |
+
jQuery('.ul-mjp').addClass( value + '-mjp' );
|
217 |
+
}
|
218 |
+
});
|
219 |
+
},
|
220 |
+
listgradSelect: function () {
|
221 |
+
jQuery('#playlist_tint').on('change', function ( e ) {
|
222 |
+
var value = jQuery(this).val();
|
223 |
+
jQuery('.ul-mjp').removeClass('lighten1-mjp darken1-mjp lighten2-mjp darken2-mjp');
|
224 |
+
if ( 'none' !== value ) {
|
225 |
+
jQuery('.ul-mjp').addClass( value + '-mjp' );
|
226 |
+
}
|
227 |
+
});
|
228 |
+
},
|
229 |
+
posgradSelect: function () {
|
230 |
+
jQuery('#posbar_tint').on('change', function ( e ) {
|
231 |
+
var value = jQuery(this).val();
|
232 |
+
jQuery('.poscolMI_mp3j').removeClass('soften-mjp softenT-mjp darken-mjp');
|
233 |
+
if ( 'none' !== value ) {
|
234 |
+
jQuery('.poscolMI_mp3j').addClass( value + '-mjp' );
|
235 |
+
}
|
236 |
+
});
|
237 |
+
},
|
238 |
+
alignmentSelect: function ( ID, partID ) {
|
239 |
+
jQuery( ID ).on('change', function ( e ) {
|
240 |
+
var value = jQuery(this).val();
|
241 |
+
jQuery( partID ).removeClass('left-mjp centre-mjp right-mjp').addClass( value + '-mjp' );;
|
242 |
+
});
|
243 |
+
},
|
244 |
+
|
245 |
+
|
246 |
+
/** test image */
|
247 |
+
imageControls: function () {
|
248 |
+
jQuery('#adminCheckerIMG').on('change', function ( e ) {
|
249 |
+
jQuery('#image-mjp').empty();
|
250 |
+
if ( jQuery( this ).is(':checked') ) {
|
251 |
+
MP3jP.updateTestImg();
|
252 |
+
}
|
253 |
+
});
|
254 |
+
jQuery('#reloadIMG').click( function ( e ) {
|
255 |
+
jQuery('#image-mjp').empty();
|
256 |
+
jQuery('#adminCheckerIMG').prop( 'checked', true );
|
257 |
+
MP3jP.updateTestImg();
|
258 |
+
});
|
259 |
+
if ( jQuery('#adminCheckerIMG').is(':checked') ) {
|
260 |
+
this.updateTestImg();
|
261 |
+
}
|
262 |
+
},
|
263 |
+
updateTestImg: function () {
|
264 |
+
var url = jQuery('#adminIMG').val();
|
265 |
+
if ( url !== '' ) {
|
266 |
+
jQuery('#image-mjp').append('<img id="i-mjp" src="' + url + '"/>');
|
267 |
+
}
|
268 |
+
},
|
269 |
+
|
270 |
+
|
271 |
+
/** offset sliders */
|
272 |
+
offsetSlider: function ( sliderID, fieldID, partID, HV ) {
|
273 |
+
var max = 500;
|
274 |
+
var field1 = jQuery(fieldID + '1').val().replace( /px|%/, '');
|
275 |
+
var field2 = max - (this.toInt( jQuery(fieldID + '2').val().replace( /px|%/, '') ));
|
276 |
+
var orientation = ( HV === 'V' ) ? 'vertical' : 'horizontal';
|
277 |
+
jQuery( sliderID ).slider({
|
278 |
+
values : [field1, field2],
|
279 |
+
max: max,
|
280 |
+
min: 0,
|
281 |
+
orientation: orientation,
|
282 |
+
range: true,
|
283 |
+
animate: false,
|
284 |
+
slide: function ( event, ui ) {
|
285 |
+
var j = jQuery(ui.handle).index();
|
286 |
+
var fieldCurrent = jQuery( fieldID + j ).val();
|
287 |
+
var fieldInt = ( j == 2 ) ? max - ui.values[(j-1)] : ui.values[(j-1)]; //ui handles are indexed from 1, but values from 0!
|
288 |
+
var fieldNew = fieldCurrent.replace( /[0-9]+/, fieldInt );
|
289 |
+
jQuery( fieldID + j ).val( fieldNew );
|
290 |
+
var style = {};
|
291 |
+
var prop = ( j == 1 ) ? ( HV=='V' ? 'height':'left' ) : ( HV=='V' ? 'bottom':'right' );
|
292 |
+
style[ prop ] = fieldNew;
|
293 |
+
jQuery( partID ).css( style );
|
294 |
+
}
|
295 |
+
});
|
296 |
+
},
|
297 |
+
|
298 |
+
|
299 |
+
vSlider: function ( sliderID, fieldID, partID, property ) {
|
300 |
+
var max = 250;
|
301 |
+
var field = jQuery( fieldID ).val().replace( /px|%/, '');
|
302 |
+
jQuery( sliderID ).slider({
|
303 |
+
value: field,
|
304 |
+
max: max,
|
305 |
+
min: 0,
|
306 |
+
range: 'min',
|
307 |
+
//orientation: 'vertical',
|
308 |
+
slide: function ( event, ui ) {
|
309 |
+
var fieldCurrent = jQuery( fieldID ).val();
|
310 |
+
var fieldInt = ui.value;
|
311 |
+
var fieldNew = fieldCurrent.replace( /[0-9]+/, fieldInt );
|
312 |
+
jQuery( fieldID).val( fieldNew );
|
313 |
+
var style = {};
|
314 |
+
if ( fieldID === '#barsOffsetVT' ) { //choose top or height
|
315 |
+
property = jQuery('input[name=barsTopOrHeight]:checked').val();
|
316 |
+
console.log(property);
|
317 |
+
if ( 'top' === property ) {
|
318 |
+
jQuery('#bars-mjp').css({ 'height': 'auto' });
|
319 |
+
} else {
|
320 |
+
jQuery('#bars-mjp').css({ 'top': 'auto' });
|
321 |
+
}
|
322 |
+
}
|
323 |
+
if ( fieldID === '#playerHeight' ) {
|
324 |
+
var ph = jQuery('#imageSize').val();
|
325 |
+
if ( 'autoW' === ph || 'autoH' === ph || 'full' === ph ) {
|
326 |
+
var h = jQuery( fieldID ).val();
|
327 |
+
jQuery('#playerT1').css({ 'height' : h });
|
328 |
+
jQuery('#image-mjp').css({ 'height' : h });
|
329 |
+
}
|
330 |
+
}
|
331 |
+
style[ property ] = fieldNew;
|
332 |
+
jQuery( partID ).css( style );
|
333 |
+
}
|
334 |
+
});
|
335 |
+
},
|
336 |
+
|
337 |
+
|
338 |
+
|
339 |
+
showhideTitle: function () {
|
340 |
+
if ( jQuery('#titleHide').is(':checked') ) {
|
341 |
+
jQuery('#trackTitles').css({'display':'none'});
|
342 |
+
} else {
|
343 |
+
jQuery('#trackTitles').css({'display':'block'});
|
344 |
+
}
|
345 |
+
},
|
346 |
+
|
347 |
+
|
348 |
+
/** helpers */
|
349 |
+
isWithin: function ( x, lo, hi ) {
|
350 |
+
return ( ( lo <= x && x <= hi ) ? true : false );
|
351 |
+
},
|
352 |
+
toInt: function ( s ) {
|
353 |
+
s = parseInt( s, 10 );
|
354 |
+
return ( ! isNaN( s ) ? s : 0 );
|
355 |
+
},
|
356 |
+
|
357 |
+
|
358 |
+
/** Initialise */
|
359 |
+
init: function () {
|
360 |
+
|
361 |
+
//# pickers
|
362 |
+
jQuery("#spectrumPicker").spectrum({
|
363 |
+
flat: true,
|
364 |
+
preferredFormat: "hex",
|
365 |
+
containerClassName: 'sp-buttons-disabled',
|
366 |
+
clickoutFiresChange: true,
|
367 |
+
//showInput: true,
|
368 |
+
//showInitial: true,
|
369 |
+
move: function( color ) {
|
370 |
+
MP3jP.updateColours( color, MP3jP.pickID );
|
371 |
+
},
|
372 |
+
change: function(color) {}
|
373 |
+
});
|
374 |
+
jQuery("#spectrumPickerAlpha").spectrum({
|
375 |
+
flat: true,
|
376 |
+
showAlpha: true,
|
377 |
+
preferredFormat: "rgb",
|
378 |
+
//showInput: true,
|
379 |
+
containerClassName: 'sp-buttons-disabled',
|
380 |
+
clickoutFiresChange: true,
|
381 |
+
//showInitial: true,
|
382 |
+
move: function( color ) {
|
383 |
+
MP3jP.updateColours( color, MP3jP.pickID );
|
384 |
+
},
|
385 |
+
change: function(color) {}
|
386 |
+
});
|
387 |
+
jQuery("#adminBG").spectrum({
|
388 |
+
preferredFormat: "hex",
|
389 |
+
clickoutFiresChange: true,
|
390 |
+
containerClassName: 'sp-buttons-disabled mini',
|
391 |
+
move: function( color ) {
|
392 |
+
jQuery('#sizer').css({ 'background-color': color });
|
393 |
+
jQuery('#adminBG').val( color );
|
394 |
+
},
|
395 |
+
change: function( color ) { }
|
396 |
+
});
|
397 |
+
|
398 |
+
|
399 |
+
|
400 |
+
|
401 |
+
//# preset
|
402 |
+
//jQuery('#presetSelect').on('change', function ( e ) {
|
403 |
+
// this.changePreset( jQuery( this ).val() );
|
404 |
+
//});
|
405 |
+
|
406 |
+
//# sizeable
|
407 |
+
jQuery('#sizer').resizable({
|
408 |
+
resize: function ( event, ui ) {
|
409 |
+
jQuery('#adminSizer_w').val(ui.size.width + 'px');
|
410 |
+
jQuery('#adminSizer_h').val(ui.size.height + 'px');
|
411 |
+
}
|
412 |
+
});
|
413 |
+
|
414 |
+
//# tabs
|
415 |
+
jQuery( '.mp3j-tabbutton').each( function ( j ) {
|
416 |
+
MP3jP.addTabListener( j );
|
417 |
+
if ( j !== MP3jP.openTab ) {
|
418 |
+
jQuery('#mp3j_tab_' + j ).hide();
|
419 |
+
}
|
420 |
+
});
|
421 |
+
jQuery('#mp3j_tabbutton_' + this.openTab ).addClass('active-tab');
|
422 |
+
|
423 |
+
//# overflow
|
424 |
+
jQuery('#imgOverflow').on('change', function ( e ) {
|
425 |
+
var value = 'hidden';
|
426 |
+
if ( jQuery( this ).is(':checked') ) {
|
427 |
+
value = 'visible';
|
428 |
+
}
|
429 |
+
jQuery('#image-mjp').css({'overflow' : value });
|
430 |
+
});
|
431 |
+
|
432 |
+
//# hide title
|
433 |
+
jQuery('#titleHide').on('change', function ( e ) {
|
434 |
+
//if ( jQuery( this ).is(':checked') ) {
|
435 |
+
// jQuery('#trackTitles').css({'display':'none'});
|
436 |
+
//} else {
|
437 |
+
// jQuery('#trackTitles').css({'display':'block'});
|
438 |
+
//}
|
439 |
+
MP3jP.showhideTitle();
|
440 |
+
});
|
441 |
+
this.showhideTitle();
|
442 |
+
|
443 |
+
jQuery('#listtog-mjp').click( function ( e ) {
|
444 |
+
jQuery('#listwrap-mjp').toggle();
|
445 |
+
});
|
446 |
+
|
447 |
+
|
448 |
+
//# test image
|
449 |
+
this.imageControls();
|
450 |
+
|
451 |
+
//# selects
|
452 |
+
this.dividersSelect();
|
453 |
+
this.listgradSelect();
|
454 |
+
this.posgradSelect();
|
455 |
+
this.alignmentSelect( '#titleAlign', '#trackTitles' ); //titles alignment
|
456 |
+
this.alignmentSelect( '#listAlign', '#ul-mjp' ); //playlist alignment
|
457 |
+
this.alignmentSelect( '#imageAlign', '#image-mjp' ); //image alignment
|
458 |
+
|
459 |
+
//# sliders
|
460 |
+
//offsets (2 handle)
|
461 |
+
this.offsetSlider( '#offsetSlider_1', '#titleOffset', '#trackTitles' );
|
462 |
+
//this.offsetSlider( '#offsetSlider_2', '#barsOffsetH', '#bars-mjp' );
|
463 |
+
|
464 |
+
//this.vSlider('#offsetSlider_3', '#barsOffsetVB', '#bars-mjp', 'bottom');
|
465 |
+
//this.vSlider('#offsetSlider_4', '#barsOffsetVT', '#bars-mjp', 'height');
|
466 |
+
this.vSlider('#offsetSlider_5', '#playerHeight', '#playerT1', 'height');
|
467 |
+
this.vSlider('#offsetSlider_6', '#titleTop', '#trackTitles', 'top');
|
468 |
+
|
469 |
+
this.initFontSlider( 1 );
|
470 |
+
this.initFontSlider( 2 );
|
471 |
+
|
472 |
+
//# font family onchange
|
473 |
+
this.setFontFamily( 1, '.interface-mjp' );
|
474 |
+
jQuery('#font_family_1').on('change', function ( e ) {
|
475 |
+
MP3jP.setFontFamily( 1, '.interface-mjp' );
|
476 |
+
});
|
477 |
+
|
478 |
+
this.setFontFamily( 2, 'a.a-mjp' );
|
479 |
+
//this.setFontFamily( 2, '#ul-mjp' );
|
480 |
+
jQuery('#font_family_2').on('change', function ( e ) {
|
481 |
+
MP3jP.setFontFamily( 2, 'a.a-mjp' );
|
482 |
+
//MP3jP.setFontFamily( 2, '#ul-mjp' );
|
483 |
+
});
|
484 |
+
|
485 |
+
//# imageSize onchange
|
486 |
+
jQuery('#imageSize').on('change', function ( e ) {
|
487 |
+
var value = jQuery(this).val();
|
488 |
+
var Pcss = {};
|
489 |
+
var IWcss = {};
|
490 |
+
if ( value === "thumbnail" || value === "medium" || value === "large" ) {
|
491 |
+
jQuery('#playerHeight').addClass('quietInput');
|
492 |
+
jQuery('#playerHeightWrap1, #playerHeightWrap2').addClass('quietText');
|
493 |
+
Pcss['height'] = imgDimsWP[ value + '_h'] + 'px';
|
494 |
+
IWcss['width'] = imgDimsWP[ value + '_w'] + 'px';
|
495 |
+
IWcss['height'] = Pcss.height;
|
496 |
+
jQuery('#image-mjp').removeClass('Himg Fimg');
|
497 |
+
jQuery('#offsetSlider_5').slider( "disable" );
|
498 |
+
} else {
|
499 |
+
jQuery('#playerHeight').removeClass('quietInput');
|
500 |
+
jQuery('#playerHeightWrap1, #playerHeightWrap2').removeClass('quietText');
|
501 |
+
Pcss['height'] = jQuery('#playerHeight').val();
|
502 |
+
IWcss['width'] = ( value === 'autoW' ) ? '100%' : 'auto';
|
503 |
+
if ( 'autoH' === value ) {
|
504 |
+
jQuery('#image-mjp').removeClass('Fimg').addClass('Himg');
|
505 |
+
} else if ( 'full' === value ) {
|
506 |
+
jQuery('#image-mjp').removeClass('Himg').addClass('Fimg');
|
507 |
+
} else {
|
508 |
+
jQuery('#image-mjp').removeClass('Himg Fimg');
|
509 |
+
}
|
510 |
+
IWcss['height'] = Pcss.height;
|
511 |
+
jQuery('#offsetSlider_5').slider( "enable" );
|
512 |
+
}
|
513 |
+
jQuery('#playerT1').css( Pcss );
|
514 |
+
jQuery('#image-mjp').css( IWcss );
|
515 |
+
});
|
516 |
+
|
517 |
+
|
518 |
+
|
519 |
+
//# stylesheet
|
520 |
+
if ( MP3J_THEME_PATH !== false ) {
|
521 |
+
MP3jP.reload_stylesheet( MP3J_THEME_PATH );
|
522 |
+
}
|
523 |
+
this.stylesheetControls();
|
524 |
+
}
|
525 |
+
};
|
526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,
|
9 |
+
|
10 |
+
add_tab_listener: function ( j ) {
|
11 |
+
var that = this;
|
12 |
+
jQuery('#mp3j_tabbutton_' + j).click( function (e) {
|
13 |
+
that.changeTab( j );
|
14 |
+
});
|
15 |
+
},
|
16 |
+
|
17 |
+
changeTab: function ( j ) {
|
18 |
+
if ( j !== this.openTab ) {
|
19 |
+
jQuery('#mp3j_tab_' + this.openTab).hide();
|
20 |
+
jQuery('#mp3j_tabbutton_' + this.openTab).removeClass('active-tab');
|
21 |
+
jQuery('#mp3j_tab_' + j).show();
|
22 |
+
jQuery('#mp3j_tabbutton_' + j).addClass('active-tab');
|
23 |
+
this.openTab = j;
|
24 |
+
}
|
25 |
+
},
|
26 |
+
|
27 |
+
counterpartsFeedback: function () {
|
28 |
+
var noCP = [ 'ogg', 'webm', 'wav' ],
|
29 |
+
isTicked = false,
|
30 |
+
message = 'Auto-counterparting is switched off.',
|
31 |
+
l = noCP.length,
|
32 |
+
j;
|
33 |
+
|
34 |
+
for ( j = 0; j < l; j += 1 ) {
|
35 |
+
if ( jQuery('#audioFormats_' + noCP[j]).prop( 'checked' ) === true ) {
|
36 |
+
isTicked = true;
|
37 |
+
break;
|
38 |
+
}
|
39 |
+
}
|
40 |
+
|
41 |
+
if ( jQuery('#autoCounterpart').prop( 'checked' ) ) {
|
42 |
+
if ( isTicked ) {
|
43 |
+
message = 'Bulk auto-counterparting is not available with this format selection.';
|
44 |
+
} else {
|
45 |
+
message = '<span class="tick"> </span>Bulk auto-counterparting is active.';
|
46 |
+
}
|
47 |
+
}
|
48 |
+
jQuery('#feedCounterpartInfo').empty().append( message );
|
49 |
+
},
|
50 |
+
|
51 |
+
init: function () {
|
52 |
+
jQuery( '.mp3j-tabbutton').each( function ( j ) {
|
53 |
+
MP3jP.add_tab_listener( j );
|
54 |
+
if ( j !== MP3jP.openTab ) {
|
55 |
+
jQuery('#mp3j_tab_' + j ).hide();
|
56 |
+
}
|
57 |
+
});
|
58 |
+
jQuery('#mp3j_tabbutton_' + this.openTab ).addClass('active-tab');
|
59 |
+
|
60 |
+
jQuery('.formatChecker, #autoCounterpart').on( 'change', function ( e ) {
|
61 |
+
MP3jP.counterpartsFeedback();
|
62 |
+
});
|
63 |
+
MP3jP.counterpartsFeedback();
|
64 |
+
}
|
65 |
+
};
|
66 |
+
|
67 |
+
|
68 |
+
|
69 |
+
function HextoRGB(hexString) {
|
70 |
+
if(hexString === null || typeof(hexString) != "string") {
|
71 |
+
SetRGB(0,0,0);
|
72 |
+
return;
|
73 |
+
}
|
74 |
+
if (hexString.substr(0, 1) == '#')
|
75 |
+
hexString = hexString.substr(1);
|
76 |
+
if(hexString.length != 6) {
|
77 |
+
SetRGB(0,0,0);
|
78 |
+
return;
|
79 |
+
}
|
80 |
+
var r = parseInt(hexString.substr(0, 2), 16);
|
81 |
+
var g = parseInt(hexString.substr(2, 2), 16);
|
82 |
+
var b = parseInt(hexString.substr(4, 2), 16);
|
83 |
+
if (isNaN(r) || isNaN(g) || isNaN(b)) {
|
84 |
+
SetRGB(0,0,0);
|
85 |
+
return;
|
86 |
+
}
|
87 |
+
SetRGB(r,g,b);
|
88 |
+
}
|
89 |
+
function SetRGB(r, g, b){
|
90 |
+
red = r/255.0;
|
91 |
+
green = g/255.0;
|
92 |
+
blue = b/255.0;
|
93 |
+
}
|
94 |
+
function RGBtoHSV(){
|
95 |
+
var max = Math.max(Math.max(red, green), blue);
|
96 |
+
var min = Math.min(Math.min(red, green), blue);
|
97 |
+
value = max;
|
98 |
+
saturation = 0;
|
99 |
+
if(max !== 0)
|
100 |
+
saturation = 1 - min/max;
|
101 |
+
hue = 0;
|
102 |
+
if(min == max)
|
103 |
+
return;
|
104 |
+
|
105 |
+
var delta = (max - min);
|
106 |
+
if (red == max)
|
107 |
+
hue = (green - blue) / delta;
|
108 |
+
else if (green == max)
|
109 |
+
hue = 2 + ((blue - red) / delta);
|
110 |
+
else
|
111 |
+
hue = 4 + ((red - green) / delta);
|
112 |
+
hue = hue * 60;
|
113 |
+
if(hue < 0)
|
114 |
+
hue += 360;
|
115 |
+
}
|
116 |
+
|
117 |
+
|
118 |
+
|
119 |
+
|
120 |
+
jQuery(document).ready( function () {
|
121 |
+
MP3jP.init();
|
122 |
+
});
|
123 |
+
|
124 |
+
|
125 |
+
|
js/jquery.jplayer.2.7.1.js
DELETED
@@ -1,3198 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* jPlayer Plugin for jQuery JavaScript Library
|
3 |
-
* http://www.jplayer.org
|
4 |
-
*
|
5 |
-
* Copyright (c) 2009 - 2014 Happyworm Ltd
|
6 |
-
* Licensed under the MIT license.
|
7 |
-
* http://opensource.org/licenses/MIT
|
8 |
-
*
|
9 |
-
* Author: Mark J Panaghiston
|
10 |
-
* Version: 2.7.1
|
11 |
-
* Date: 19th September 2014
|
12 |
-
*/
|
13 |
-
|
14 |
-
/* Code verified using http://www.jshint.com/ */
|
15 |
-
/*jshint asi:false, bitwise:false, boss:false, browser:true, curly:true, debug:false, eqeqeq:true, eqnull:false, evil:false, forin:false, immed:false, jquery:true, laxbreak:false, newcap:true, noarg:true, noempty:true, nonew:true, onevar:false, passfail:false, plusplus:false, regexp:false, undef:true, sub:false, strict:false, white:false, smarttabs:true */
|
16 |
-
/*global define:false, ActiveXObject:false, alert:false */
|
17 |
-
|
18 |
-
/* Support for Zepto 1.0 compiled with optional data module.
|
19 |
-
* For AMD support, you will need to manually switch the 2 lines in the code below.
|
20 |
-
* Search terms: "jQuery Switch" and "Zepto Switch"
|
21 |
-
*/
|
22 |
-
|
23 |
-
(function (root, factory) {
|
24 |
-
if (typeof define === 'function' && define.amd) {
|
25 |
-
// AMD. Register as an anonymous module.
|
26 |
-
define(['jquery'], factory); // jQuery Switch
|
27 |
-
// define(['zepto'], factory); // Zepto Switch
|
28 |
-
} else {
|
29 |
-
// Browser globals
|
30 |
-
if(root.jQuery) { // Use jQuery if available
|
31 |
-
factory(root.jQuery);
|
32 |
-
} else { // Otherwise, use Zepto
|
33 |
-
factory(root.Zepto);
|
34 |
-
}
|
35 |
-
}
|
36 |
-
}(this, function ($, undefined) {
|
37 |
-
|
38 |
-
// Adapted from jquery.ui.widget.js (1.8.7): $.widget.bridge - Tweaked $.data(this,XYZ) to $(this).data(XYZ) for Zepto
|
39 |
-
$.fn.jPlayer = function( options ) {
|
40 |
-
var name = "jPlayer";
|
41 |
-
var isMethodCall = typeof options === "string",
|
42 |
-
args = Array.prototype.slice.call( arguments, 1 ),
|
43 |
-
returnValue = this;
|
44 |
-
|
45 |
-
// allow multiple hashes to be passed on init
|
46 |
-
options = !isMethodCall && args.length ?
|
47 |
-
$.extend.apply( null, [ true, options ].concat(args) ) :
|
48 |
-
options;
|
49 |
-
|
50 |
-
// prevent calls to internal methods
|
51 |
-
if ( isMethodCall && options.charAt( 0 ) === "_" ) {
|
52 |
-
return returnValue;
|
53 |
-
}
|
54 |
-
|
55 |
-
if ( isMethodCall ) {
|
56 |
-
this.each(function() {
|
57 |
-
var instance = $(this).data( name ),
|
58 |
-
methodValue = instance && $.isFunction( instance[options] ) ?
|
59 |
-
instance[ options ].apply( instance, args ) :
|
60 |
-
instance;
|
61 |
-
if ( methodValue !== instance && methodValue !== undefined ) {
|
62 |
-
returnValue = methodValue;
|
63 |
-
return false;
|
64 |
-
}
|
65 |
-
});
|
66 |
-
} else {
|
67 |
-
this.each(function() {
|
68 |
-
var instance = $(this).data( name );
|
69 |
-
if ( instance ) {
|
70 |
-
// instance.option( options || {} )._init(); // Orig jquery.ui.widget.js code: Not recommend for jPlayer. ie., Applying new options to an existing instance (via the jPlayer constructor) and performing the _init(). The _init() is what concerns me. It would leave a lot of event handlers acting on jPlayer instance and the interface.
|
71 |
-
instance.option( options || {} ); // The new constructor only changes the options. Changing options only has basic support atm.
|
72 |
-
} else {
|
73 |
-
$(this).data( name, new $.jPlayer( options, this ) );
|
74 |
-
}
|
75 |
-
});
|
76 |
-
}
|
77 |
-
|
78 |
-
return returnValue;
|
79 |
-
};
|
80 |
-
|
81 |
-
$.jPlayer = function( options, element ) {
|
82 |
-
// allow instantiation without initializing for simple inheritance
|
83 |
-
if ( arguments.length ) {
|
84 |
-
this.element = $(element);
|
85 |
-
this.options = $.extend(true, {},
|
86 |
-
this.options,
|
87 |
-
options
|
88 |
-
);
|
89 |
-
var self = this;
|
90 |
-
this.element.bind( "remove.jPlayer", function() {
|
91 |
-
self.destroy();
|
92 |
-
});
|
93 |
-
this._init();
|
94 |
-
}
|
95 |
-
};
|
96 |
-
// End of: (Adapted from jquery.ui.widget.js (1.8.7))
|
97 |
-
|
98 |
-
// Zepto is missing one of the animation methods.
|
99 |
-
if(typeof $.fn.stop !== 'function') {
|
100 |
-
$.fn.stop = function() {};
|
101 |
-
}
|
102 |
-
|
103 |
-
// Emulated HTML5 methods and properties
|
104 |
-
$.jPlayer.emulateMethods = "load play pause";
|
105 |
-
$.jPlayer.emulateStatus = "src readyState networkState currentTime duration paused ended playbackRate";
|
106 |
-
$.jPlayer.emulateOptions = "muted volume";
|
107 |
-
|
108 |
-
// Reserved event names generated by jPlayer that are not part of the HTML5 Media element spec
|
109 |
-
$.jPlayer.reservedEvent = "ready flashreset resize repeat error warning";
|
110 |
-
|
111 |
-
// Events generated by jPlayer
|
112 |
-
$.jPlayer.event = {};
|
113 |
-
$.each(
|
114 |
-
[
|
115 |
-
'ready',
|
116 |
-
'setmedia', // Fires when the media is set
|
117 |
-
'flashreset', // Similar to the ready event if the Flash solution is set to display:none and then shown again or if it's reloaded for another reason by the browser. For example, using CSS position:fixed on Firefox for the full screen feature.
|
118 |
-
'resize', // Occurs when the size changes through a full/restore screen operation or if the size/sizeFull options are changed.
|
119 |
-
'repeat', // Occurs when the repeat status changes. Usually through clicks on the repeat button of the interface.
|
120 |
-
'click', // Occurs when the user clicks on one of the following: poster image, html video, flash video.
|
121 |
-
'error', // Event error code in event.jPlayer.error.type. See $.jPlayer.error
|
122 |
-
'warning', // Event warning code in event.jPlayer.warning.type. See $.jPlayer.warning
|
123 |
-
|
124 |
-
// Other events match HTML5 spec.
|
125 |
-
'loadstart',
|
126 |
-
'progress',
|
127 |
-
'suspend',
|
128 |
-
'abort',
|
129 |
-
'emptied',
|
130 |
-
'stalled',
|
131 |
-
'play',
|
132 |
-
'pause',
|
133 |
-
'loadedmetadata',
|
134 |
-
'loadeddata',
|
135 |
-
'waiting',
|
136 |
-
'playing',
|
137 |
-
'canplay',
|
138 |
-
'canplaythrough',
|
139 |
-
'seeking',
|
140 |
-
'seeked',
|
141 |
-
'timeupdate',
|
142 |
-
'ended',
|
143 |
-
'ratechange',
|
144 |
-
'durationchange',
|
145 |
-
'volumechange'
|
146 |
-
],
|
147 |
-
function() {
|
148 |
-
$.jPlayer.event[ this ] = 'jPlayer_' + this;
|
149 |
-
}
|
150 |
-
);
|
151 |
-
|
152 |
-
$.jPlayer.htmlEvent = [ // These HTML events are bubbled through to the jPlayer event, without any internal action.
|
153 |
-
"loadstart",
|
154 |
-
// "progress", // jPlayer uses internally before bubbling.
|
155 |
-
// "suspend", // jPlayer uses internally before bubbling.
|
156 |
-
"abort",
|
157 |
-
// "error", // jPlayer uses internally before bubbling.
|
158 |
-
"emptied",
|
159 |
-
"stalled",
|
160 |
-
// "play", // jPlayer uses internally before bubbling.
|
161 |
-
// "pause", // jPlayer uses internally before bubbling.
|
162 |
-
"loadedmetadata",
|
163 |
-
// "loadeddata", // jPlayer uses internally before bubbling.
|
164 |
-
// "waiting", // jPlayer uses internally before bubbling.
|
165 |
-
// "playing", // jPlayer uses internally before bubbling.
|
166 |
-
"canplay",
|
167 |
-
"canplaythrough"
|
168 |
-
// "seeking", // jPlayer uses internally before bubbling.
|
169 |
-
// "seeked", // jPlayer uses internally before bubbling.
|
170 |
-
// "timeupdate", // jPlayer uses internally before bubbling.
|
171 |
-
// "ended", // jPlayer uses internally before bubbling.
|
172 |
-
// "ratechange" // jPlayer uses internally before bubbling.
|
173 |
-
// "durationchange" // jPlayer uses internally before bubbling.
|
174 |
-
// "volumechange" // jPlayer uses internally before bubbling.
|
175 |
-
];
|
176 |
-
|
177 |
-
$.jPlayer.pause = function() {
|
178 |
-
$.each($.jPlayer.prototype.instances, function(i, element) {
|
179 |
-
if(element.data("jPlayer").status.srcSet) { // Check that media is set otherwise would cause error event.
|
180 |
-
element.jPlayer("pause");
|
181 |
-
}
|
182 |
-
});
|
183 |
-
};
|
184 |
-
|
185 |
-
// Default for jPlayer option.timeFormat
|
186 |
-
$.jPlayer.timeFormat = {
|
187 |
-
showHour: false,
|
188 |
-
showMin: true,
|
189 |
-
showSec: true,
|
190 |
-
padHour: false,
|
191 |
-
padMin: true,
|
192 |
-
padSec: true,
|
193 |
-
sepHour: ":",
|
194 |
-
sepMin: ":",
|
195 |
-
sepSec: ""
|
196 |
-
};
|
197 |
-
var ConvertTime = function() {
|
198 |
-
this.init();
|
199 |
-
};
|
200 |
-
ConvertTime.prototype = {
|
201 |
-
init: function() {
|
202 |
-
this.options = {
|
203 |
-
timeFormat: $.jPlayer.timeFormat
|
204 |
-
};
|
205 |
-
},
|
206 |
-
time: function(s) { // function used on jPlayer.prototype._convertTime to enable per instance options.
|
207 |
-
s = (s && typeof s === 'number') ? s : 0;
|
208 |
-
|
209 |
-
var myTime = new Date(s * 1000),
|
210 |
-
hour = myTime.getUTCHours(),
|
211 |
-
min = this.options.timeFormat.showHour ? myTime.getUTCMinutes() : myTime.getUTCMinutes() + hour * 60,
|
212 |
-
sec = this.options.timeFormat.showMin ? myTime.getUTCSeconds() : myTime.getUTCSeconds() + min * 60,
|
213 |
-
strHour = (this.options.timeFormat.padHour && hour < 10) ? "0" + hour : hour,
|
214 |
-
strMin = (this.options.timeFormat.padMin && min < 10) ? "0" + min : min,
|
215 |
-
strSec = (this.options.timeFormat.padSec && sec < 10) ? "0" + sec : sec,
|
216 |
-
strTime = "";
|
217 |
-
|
218 |
-
strTime += this.options.timeFormat.showHour ? strHour + this.options.timeFormat.sepHour : "";
|
219 |
-
strTime += this.options.timeFormat.showMin ? strMin + this.options.timeFormat.sepMin : "";
|
220 |
-
strTime += this.options.timeFormat.showSec ? strSec + this.options.timeFormat.sepSec : "";
|
221 |
-
|
222 |
-
return strTime;
|
223 |
-
}
|
224 |
-
};
|
225 |
-
var myConvertTime = new ConvertTime();
|
226 |
-
$.jPlayer.convertTime = function(s) {
|
227 |
-
return myConvertTime.time(s);
|
228 |
-
};
|
229 |
-
|
230 |
-
// Adapting jQuery 1.4.4 code for jQuery.browser. Required since jQuery 1.3.2 does not detect Chrome as webkit.
|
231 |
-
$.jPlayer.uaBrowser = function( userAgent ) {
|
232 |
-
var ua = userAgent.toLowerCase();
|
233 |
-
|
234 |
-
// Useragent RegExp
|
235 |
-
var rwebkit = /(webkit)[ \/]([\w.]+)/;
|
236 |
-
var ropera = /(opera)(?:.*version)?[ \/]([\w.]+)/;
|
237 |
-
var rmsie = /(msie) ([\w.]+)/;
|
238 |
-
var rmozilla = /(mozilla)(?:.*? rv:([\w.]+))?/;
|
239 |
-
|
240 |
-
var match = rwebkit.exec( ua ) ||
|
241 |
-
ropera.exec( ua ) ||
|
242 |
-
rmsie.exec( ua ) ||
|
243 |
-
ua.indexOf("compatible") < 0 && rmozilla.exec( ua ) ||
|
244 |
-
[];
|
245 |
-
|
246 |
-
return { browser: match[1] || "", version: match[2] || "0" };
|
247 |
-
};
|
248 |
-
|
249 |
-
// Platform sniffer for detecting mobile devices
|
250 |
-
$.jPlayer.uaPlatform = function( userAgent ) {
|
251 |
-
var ua = userAgent.toLowerCase();
|
252 |
-
|
253 |
-
// Useragent RegExp
|
254 |
-
var rplatform = /(ipad|iphone|ipod|android|blackberry|playbook|windows ce|webos)/;
|
255 |
-
var rtablet = /(ipad|playbook)/;
|
256 |
-
var randroid = /(android)/;
|
257 |
-
var rmobile = /(mobile)/;
|
258 |
-
|
259 |
-
var platform = rplatform.exec( ua ) || [];
|
260 |
-
var tablet = rtablet.exec( ua ) ||
|
261 |
-
!rmobile.exec( ua ) && randroid.exec( ua ) ||
|
262 |
-
[];
|
263 |
-
|
264 |
-
if(platform[1]) {
|
265 |
-
platform[1] = platform[1].replace(/\s/g, "_"); // Change whitespace to underscore. Enables dot notation.
|
266 |
-
}
|
267 |
-
|
268 |
-
return { platform: platform[1] || "", tablet: tablet[1] || "" };
|
269 |
-
};
|
270 |
-
|
271 |
-
$.jPlayer.browser = {
|
272 |
-
};
|
273 |
-
$.jPlayer.platform = {
|
274 |
-
};
|
275 |
-
|
276 |
-
var browserMatch = $.jPlayer.uaBrowser(navigator.userAgent);
|
277 |
-
if ( browserMatch.browser ) {
|
278 |
-
$.jPlayer.browser[ browserMatch.browser ] = true;
|
279 |
-
$.jPlayer.browser.version = browserMatch.version;
|
280 |
-
}
|
281 |
-
var platformMatch = $.jPlayer.uaPlatform(navigator.userAgent);
|
282 |
-
if ( platformMatch.platform ) {
|
283 |
-
$.jPlayer.platform[ platformMatch.platform ] = true;
|
284 |
-
$.jPlayer.platform.mobile = !platformMatch.tablet;
|
285 |
-
$.jPlayer.platform.tablet = !!platformMatch.tablet;
|
286 |
-
}
|
287 |
-
|
288 |
-
// Internet Explorer (IE) Browser Document Mode Sniffer. Based on code at:
|
289 |
-
// http://msdn.microsoft.com/en-us/library/cc288325%28v=vs.85%29.aspx#GetMode
|
290 |
-
$.jPlayer.getDocMode = function() {
|
291 |
-
var docMode;
|
292 |
-
if ($.jPlayer.browser.msie) {
|
293 |
-
if (document.documentMode) { // IE8 or later
|
294 |
-
docMode = document.documentMode;
|
295 |
-
} else { // IE 5-7
|
296 |
-
docMode = 5; // Assume quirks mode unless proven otherwise
|
297 |
-
if (document.compatMode) {
|
298 |
-
if (document.compatMode === "CSS1Compat") {
|
299 |
-
docMode = 7; // standards mode
|
300 |
-
}
|
301 |
-
}
|
302 |
-
}
|
303 |
-
}
|
304 |
-
return docMode;
|
305 |
-
};
|
306 |
-
$.jPlayer.browser.documentMode = $.jPlayer.getDocMode();
|
307 |
-
|
308 |
-
$.jPlayer.nativeFeatures = {
|
309 |
-
init: function() {
|
310 |
-
|
311 |
-
/* Fullscreen function naming influenced by W3C naming.
|
312 |
-
* No support for: Mozilla Proposal: https://wiki.mozilla.org/Gecko:FullScreenAPI
|
313 |
-
*/
|
314 |
-
|
315 |
-
var d = document,
|
316 |
-
v = d.createElement('video'),
|
317 |
-
spec = {
|
318 |
-
// http://www.w3.org/TR/fullscreen/
|
319 |
-
w3c: [
|
320 |
-
'fullscreenEnabled',
|
321 |
-
'fullscreenElement',
|
322 |
-
'requestFullscreen',
|
323 |
-
'exitFullscreen',
|
324 |
-
'fullscreenchange',
|
325 |
-
'fullscreenerror'
|
326 |
-
],
|
327 |
-
// https://developer.mozilla.org/en-US/docs/DOM/Using_fullscreen_mode
|
328 |
-
moz: [
|
329 |
-
'mozFullScreenEnabled',
|
330 |
-
'mozFullScreenElement',
|
331 |
-
'mozRequestFullScreen',
|
332 |
-
'mozCancelFullScreen',
|
333 |
-
'mozfullscreenchange',
|
334 |
-
'mozfullscreenerror'
|
335 |
-
],
|
336 |
-
// http://developer.apple.com/library/safari/#documentation/WebKit/Reference/ElementClassRef/Element/Element.html
|
337 |
-
// http://developer.apple.com/library/safari/#documentation/UserExperience/Reference/DocumentAdditionsReference/DocumentAdditions/DocumentAdditions.html
|
338 |
-
webkit: [
|
339 |
-
'',
|
340 |
-
'webkitCurrentFullScreenElement',
|
341 |
-
'webkitRequestFullScreen',
|
342 |
-
'webkitCancelFullScreen',
|
343 |
-
'webkitfullscreenchange',
|
344 |
-
''
|
345 |
-
],
|
346 |
-
// http://developer.apple.com/library/safari/#documentation/AudioVideo/Reference/HTMLVideoElementClassReference/HTMLVideoElement/HTMLVideoElement.html
|
347 |
-
// https://developer.apple.com/library/safari/samplecode/HTML5VideoEventFlow/Listings/events_js.html#//apple_ref/doc/uid/DTS40010085-events_js-DontLinkElementID_5
|
348 |
-
// Events: 'webkitbeginfullscreen' and 'webkitendfullscreen'
|
349 |
-
webkitVideo: [
|
350 |
-
'webkitSupportsFullscreen',
|
351 |
-
'webkitDisplayingFullscreen',
|
352 |
-
'webkitEnterFullscreen',
|
353 |
-
'webkitExitFullscreen',
|
354 |
-
'',
|
355 |
-
''
|
356 |
-
]
|
357 |
-
},
|
358 |
-
specOrder = [
|
359 |
-
'w3c',
|
360 |
-
'moz',
|
361 |
-
'webkit',
|
362 |
-
'webkitVideo'
|
363 |
-
],
|
364 |
-
fs, i, il;
|
365 |
-
|
366 |
-
this.fullscreen = fs = {
|
367 |
-
support: {
|
368 |
-
w3c: !!d[spec.w3c[0]],
|
369 |
-
moz: !!d[spec.moz[0]],
|
370 |
-
webkit: typeof d[spec.webkit[3]] === 'function',
|
371 |
-
webkitVideo: typeof v[spec.webkitVideo[2]] === 'function'
|
372 |
-
},
|
373 |
-
used: {}
|
374 |
-
};
|
375 |
-
|
376 |
-
// Store the name of the spec being used and as a handy boolean.
|
377 |
-
for(i = 0, il = specOrder.length; i < il; i++) {
|
378 |
-
var n = specOrder[i];
|
379 |
-
if(fs.support[n]) {
|
380 |
-
fs.spec = n;
|
381 |
-
fs.used[n] = true;
|
382 |
-
break;
|
383 |
-
}
|
384 |
-
}
|
385 |
-
|
386 |
-
if(fs.spec) {
|
387 |
-
var s = spec[fs.spec];
|
388 |
-
fs.api = {
|
389 |
-
fullscreenEnabled: true,
|
390 |
-
fullscreenElement: function(elem) {
|
391 |
-
elem = elem ? elem : d; // Video element required for webkitVideo
|
392 |
-
return elem[s[1]];
|
393 |
-
},
|
394 |
-
requestFullscreen: function(elem) {
|
395 |
-
return elem[s[2]]();
|
396 |
-
},
|
397 |
-
exitFullscreen: function(elem) {
|
398 |
-
elem = elem ? elem : d; // Video element required for webkitVideo
|
399 |
-
return elem[s[3]]();
|
400 |
-
}
|
401 |
-
};
|
402 |
-
fs.event = {
|
403 |
-
fullscreenchange: s[4],
|
404 |
-
fullscreenerror: s[5]
|
405 |
-
};
|
406 |
-
} else {
|
407 |
-
fs.api = {
|
408 |
-
fullscreenEnabled: false,
|
409 |
-
fullscreenElement: function() {
|
410 |
-
return null;
|
411 |
-
},
|
412 |
-
requestFullscreen: function() {},
|
413 |
-
exitFullscreen: function() {}
|
414 |
-
};
|
415 |
-
fs.event = {};
|
416 |
-
}
|
417 |
-
}
|
418 |
-
};
|
419 |
-
$.jPlayer.nativeFeatures.init();
|
420 |
-
|
421 |
-
// The keyboard control system.
|
422 |
-
|
423 |
-
// The current jPlayer instance in focus.
|
424 |
-
$.jPlayer.focus = null;
|
425 |
-
|
426 |
-
// (fallback) The list of element node names to ignore with key controls.
|
427 |
-
$.jPlayer.keyIgnoreElementNames = "A INPUT TEXTAREA SELECT BUTTON";
|
428 |
-
|
429 |
-
// The function that deals with key presses.
|
430 |
-
var keyBindings = function(event) {
|
431 |
-
|
432 |
-
var f = $.jPlayer.focus,
|
433 |
-
pageFocus = document.activeElement,
|
434 |
-
ignoreKey;
|
435 |
-
|
436 |
-
// A jPlayer instance must be in focus. ie., keyEnabled and the last one played.
|
437 |
-
if(f) {
|
438 |
-
// What generated the key press?
|
439 |
-
if(typeof pageFocus !== 'undefined') {
|
440 |
-
if(pageFocus !== null && pageFocus.nodeName.toUpperCase() !== "BODY") {
|
441 |
-
ignoreKey = true;
|
442 |
-
}
|
443 |
-
} else {
|
444 |
-
// Fallback for no document.activeElement support.
|
445 |
-
$.each( $.jPlayer.keyIgnoreElementNames.split(/\s+/g), function(i, name) {
|
446 |
-
// The strings should already be uppercase.
|
447 |
-
if(event.target.nodeName.toUpperCase() === name.toUpperCase()) {
|
448 |
-
ignoreKey = true;
|
449 |
-
return false; // exit each.
|
450 |
-
}
|
451 |
-
});
|
452 |
-
}
|
453 |
-
if(!ignoreKey) {
|
454 |
-
// See if the key pressed matches any of the bindings.
|
455 |
-
$.each(f.options.keyBindings, function(action, binding) {
|
456 |
-
// The binding could be a null when the default has been disabled. ie., 1st clause in if()
|
457 |
-
if(binding && event.which === binding.key && $.isFunction(binding.fn)) {
|
458 |
-
event.preventDefault(); // Key being used by jPlayer, so prevent default operation.
|
459 |
-
binding.fn(f);
|
460 |
-
return false; // exit each.
|
461 |
-
}
|
462 |
-
});
|
463 |
-
}
|
464 |
-
}
|
465 |
-
};
|
466 |
-
|
467 |
-
$.jPlayer.keys = function(en) {
|
468 |
-
var event = "keydown.jPlayer";
|
469 |
-
// Remove any binding, just in case enabled more than once.
|
470 |
-
$(document.documentElement).unbind(event);
|
471 |
-
if(en) {
|
472 |
-
$(document.documentElement).bind(event, keyBindings);
|
473 |
-
}
|
474 |
-
};
|
475 |
-
|
476 |
-
// Enable the global key control handler ready for any jPlayer instance with the keyEnabled option enabled.
|
477 |
-
$.jPlayer.keys(true);
|
478 |
-
|
479 |
-
$.jPlayer.prototype = {
|
480 |
-
count: 0, // Static Variable: Change it via prototype.
|
481 |
-
version: { // Static Object
|
482 |
-
script: "2.7.1",
|
483 |
-
needFlash: "2.7.0",
|
484 |
-
flash: "unknown"
|
485 |
-
},
|
486 |
-
options: { // Instanced in $.jPlayer() constructor
|
487 |
-
swfPath: "js", // Path to Jplayer.swf. Can be relative, absolute or server root relative.
|
488 |
-
solution: "html, flash", // Valid solutions: html, flash. Order defines priority. 1st is highest,
|
489 |
-
supplied: "mp3", // Defines which formats jPlayer will try and support and the priority by the order. 1st is highest,
|
490 |
-
preload: 'metadata', // HTML5 Spec values: none, metadata, auto.
|
491 |
-
volume: 0.8, // The volume. Number 0 to 1.
|
492 |
-
muted: false,
|
493 |
-
remainingDuration: false, // When true, the remaining time is shown in the duration GUI element.
|
494 |
-
toggleDuration: false, // When true, clicks on the duration toggle between the duration and remaining display.
|
495 |
-
captureDuration: true, // When true, clicks on the duration are captured and no longer propagate up the DOM.
|
496 |
-
playbackRate: 1,
|
497 |
-
defaultPlaybackRate: 1,
|
498 |
-
minPlaybackRate: 0.5,
|
499 |
-
maxPlaybackRate: 4,
|
500 |
-
wmode: "opaque", // Valid wmode: window, transparent, opaque, direct, gpu.
|
501 |
-
backgroundColor: "#000000", // To define the jPlayer div and Flash background color.
|
502 |
-
cssSelectorAncestor: "#jp_container_1",
|
503 |
-
cssSelector: { // * denotes properties that should only be required when video media type required. _cssSelector() would require changes to enable splitting these into Audio and Video defaults.
|
504 |
-
videoPlay: ".jp-video-play", // *
|
505 |
-
play: ".jp-play",
|
506 |
-
pause: ".jp-pause",
|
507 |
-
stop: ".jp-stop",
|
508 |
-
seekBar: ".jp-seek-bar",
|
509 |
-
playBar: ".jp-play-bar",
|
510 |
-
mute: ".jp-mute",
|
511 |
-
unmute: ".jp-unmute",
|
512 |
-
volumeBar: ".jp-volume-bar",
|
513 |
-
volumeBarValue: ".jp-volume-bar-value",
|
514 |
-
volumeMax: ".jp-volume-max",
|
515 |
-
playbackRateBar: ".jp-playback-rate-bar",
|
516 |
-
playbackRateBarValue: ".jp-playback-rate-bar-value",
|
517 |
-
currentTime: ".jp-current-time",
|
518 |
-
duration: ".jp-duration",
|
519 |
-
title: ".jp-title",
|
520 |
-
fullScreen: ".jp-full-screen", // *
|
521 |
-
restoreScreen: ".jp-restore-screen", // *
|
522 |
-
repeat: ".jp-repeat",
|
523 |
-
repeatOff: ".jp-repeat-off",
|
524 |
-
gui: ".jp-gui", // The interface used with autohide feature.
|
525 |
-
noSolution: ".jp-no-solution" // For error feedback when jPlayer cannot find a solution.
|
526 |
-
},
|
527 |
-
stateClass: { // Classes added to the cssSelectorAncestor to indicate the state.
|
528 |
-
playing: "jp-state-playing",
|
529 |
-
seeking: "jp-state-seeking",
|
530 |
-
muted: "jp-state-muted",
|
531 |
-
looped: "jp-state-looped",
|
532 |
-
fullScreen: "jp-state-full-screen"
|
533 |
-
},
|
534 |
-
useStateClassSkin: false, // A state class skin relies on the state classes to change the visual appearance. The single control toggles the effect, for example: play then pause, mute then unmute.
|
535 |
-
autoBlur: true, // GUI control handlers will drop focus after clicks.
|
536 |
-
smoothPlayBar: false, // Smooths the play bar transitions, which affects clicks and short media with big changes per second.
|
537 |
-
fullScreen: false, // Native Full Screen
|
538 |
-
fullWindow: false,
|
539 |
-
autohide: {
|
540 |
-
restored: false, // Controls the interface autohide feature.
|
541 |
-
full: true, // Controls the interface autohide feature.
|
542 |
-
fadeIn: 200, // Milliseconds. The period of the fadeIn anim.
|
543 |
-
fadeOut: 600, // Milliseconds. The period of the fadeOut anim.
|
544 |
-
hold: 1000 // Milliseconds. The period of the pause before autohide beings.
|
545 |
-
},
|
546 |
-
loop: false,
|
547 |
-
repeat: function(event) { // The default jPlayer repeat event handler
|
548 |
-
if(event.jPlayer.options.loop) {
|
549 |
-
$(this).unbind(".jPlayerRepeat").bind($.jPlayer.event.ended + ".jPlayer.jPlayerRepeat", function() {
|
550 |
-
$(this).jPlayer("play");
|
551 |
-
});
|
552 |
-
} else {
|
553 |
-
$(this).unbind(".jPlayerRepeat");
|
554 |
-
}
|
555 |
-
},
|
556 |
-
nativeVideoControls: {
|
557 |
-
// Works well on standard browsers.
|
558 |
-
// Phone and tablet browsers can have problems with the controls disappearing.
|
559 |
-
},
|
560 |
-
noFullWindow: {
|
561 |
-
msie: /msie [0-6]\./,
|
562 |
-
ipad: /ipad.*?os [0-4]\./,
|
563 |
-
iphone: /iphone/,
|
564 |
-
ipod: /ipod/,
|
565 |
-
android_pad: /android [0-3]\.(?!.*?mobile)/,
|
566 |
-
android_phone: /android.*?mobile/,
|
567 |
-
blackberry: /blackberry/,
|
568 |
-
windows_ce: /windows ce/,
|
569 |
-
iemobile: /iemobile/,
|
570 |
-
webos: /webos/
|
571 |
-
},
|
572 |
-
noVolume: {
|
573 |
-
ipad: /ipad/,
|
574 |
-
iphone: /iphone/,
|
575 |
-
ipod: /ipod/,
|
576 |
-
android_pad: /android(?!.*?mobile)/,
|
577 |
-
android_phone: /android.*?mobile/,
|
578 |
-
blackberry: /blackberry/,
|
579 |
-
windows_ce: /windows ce/,
|
580 |
-
iemobile: /iemobile/,
|
581 |
-
webos: /webos/,
|
582 |
-
playbook: /playbook/
|
583 |
-
},
|
584 |
-
timeFormat: {
|
585 |
-
// Specific time format for this instance. The supported options are defined in $.jPlayer.timeFormat
|
586 |
-
// For the undefined options we use the default from $.jPlayer.timeFormat
|
587 |
-
},
|
588 |
-
keyEnabled: false, // Enables keyboard controls.
|
589 |
-
audioFullScreen: false, // Enables keyboard controls to enter full screen with audio media.
|
590 |
-
keyBindings: { // The key control object, defining the key codes and the functions to execute.
|
591 |
-
// The parameter, f = $.jPlayer.focus, will be checked truethy before attempting to call any of these functions.
|
592 |
-
// Properties may be added to this object, in key/fn pairs, to enable other key controls. EG, for the playlist add-on.
|
593 |
-
play: {
|
594 |
-
key: 32, // space
|
595 |
-
fn: function(f) {
|
596 |
-
if(f.status.paused) {
|
597 |
-
f.play();
|
598 |
-
} else {
|
599 |
-
f.pause();
|
600 |
-
}
|
601 |
-
}
|
602 |
-
},
|
603 |
-
fullScreen: {
|
604 |
-
key: 13, // enter
|
605 |
-
fn: function(f) {
|
606 |
-
if(f.status.video || f.options.audioFullScreen) {
|
607 |
-
f._setOption("fullScreen", !f.options.fullScreen);
|
608 |
-
}
|
609 |
-
}
|
610 |
-
},
|
611 |
-
muted: {
|
612 |
-
key: 8, // backspace
|
613 |
-
fn: function(f) {
|
614 |
-
f._muted(!f.options.muted);
|
615 |
-
}
|
616 |
-
},
|
617 |
-
volumeUp: {
|
618 |
-
key: 38, // UP
|
619 |
-
fn: function(f) {
|
620 |
-
f.volume(f.options.volume + 0.1);
|
621 |
-
}
|
622 |
-
},
|
623 |
-
volumeDown: {
|
624 |
-
key: 40, // DOWN
|
625 |
-
fn: function(f) {
|
626 |
-
f.volume(f.options.volume - 0.1);
|
627 |
-
}
|
628 |
-
}
|
629 |
-
},
|
630 |
-
verticalVolume: false, // Calculate volume from the bottom of the volume bar. Default is from the left. Also volume affects either width or height.
|
631 |
-
verticalPlaybackRate: false,
|
632 |
-
globalVolume: false, // Set to make volume and muted changes affect all jPlayer instances with this option enabled
|
633 |
-
idPrefix: "jp", // Prefix for the ids of html elements created by jPlayer. For flash, this must not include characters: . - + * / \
|
634 |
-
noConflict: "jQuery",
|
635 |
-
emulateHtml: false, // Emulates the HTML5 Media element on the jPlayer element.
|
636 |
-
consoleAlerts: true, // Alerts are sent to the console.log() instead of alert().
|
637 |
-
errorAlerts: false,
|
638 |
-
warningAlerts: false
|
639 |
-
},
|
640 |
-
optionsAudio: {
|
641 |
-
size: {
|
642 |
-
width: "0px",
|
643 |
-
height: "0px",
|
644 |
-
cssClass: ""
|
645 |
-
},
|
646 |
-
sizeFull: {
|
647 |
-
width: "0px",
|
648 |
-
height: "0px",
|
649 |
-
cssClass: ""
|
650 |
-
}
|
651 |
-
},
|
652 |
-
optionsVideo: {
|
653 |
-
size: {
|
654 |
-
width: "480px",
|
655 |
-
height: "270px",
|
656 |
-
cssClass: "jp-video-270p"
|
657 |
-
},
|
658 |
-
sizeFull: {
|
659 |
-
width: "100%",
|
660 |
-
height: "100%",
|
661 |
-
cssClass: "jp-video-full"
|
662 |
-
}
|
663 |
-
},
|
664 |
-
instances: {}, // Static Object
|
665 |
-
status: { // Instanced in _init()
|
666 |
-
src: "",
|
667 |
-
media: {},
|
668 |
-
paused: true,
|
669 |
-
format: {},
|
670 |
-
formatType: "",
|
671 |
-
waitForPlay: true, // Same as waitForLoad except in case where preloading.
|
672 |
-
waitForLoad: true,
|
673 |
-
srcSet: false,
|
674 |
-
video: false, // True if playing a video
|
675 |
-
seekPercent: 0,
|
676 |
-
currentPercentRelative: 0,
|
677 |
-
currentPercentAbsolute: 0,
|
678 |
-
currentTime: 0,
|
679 |
-
duration: 0,
|
680 |
-
remaining: 0,
|
681 |
-
videoWidth: 0, // Intrinsic width of the video in pixels.
|
682 |
-
videoHeight: 0, // Intrinsic height of the video in pixels.
|
683 |
-
readyState: 0,
|
684 |
-
networkState: 0,
|
685 |
-
playbackRate: 1, // Warning - Now both an option and a status property
|
686 |
-
ended: 0
|
687 |
-
|
688 |
-
/* Persistant status properties created dynamically at _init():
|
689 |
-
width
|
690 |
-
height
|
691 |
-
cssClass
|
692 |
-
nativeVideoControls
|
693 |
-
noFullWindow
|
694 |
-
noVolume
|
695 |
-
playbackRateEnabled // Warning - Technically, we can have both Flash and HTML, so this might not be correct if the Flash is active. That is a niche case.
|
696 |
-
*/
|
697 |
-
},
|
698 |
-
|
699 |
-
internal: { // Instanced in _init()
|
700 |
-
ready: false
|
701 |
-
// instance: undefined
|
702 |
-
// domNode: undefined
|
703 |
-
// htmlDlyCmdId: undefined
|
704 |
-
// autohideId: undefined
|
705 |
-
// cmdsIgnored
|
706 |
-
},
|
707 |
-
solution: { // Static Object: Defines the solutions built in jPlayer.
|
708 |
-
html: true,
|
709 |
-
flash: true
|
710 |
-
},
|
711 |
-
// 'MPEG-4 support' : canPlayType('video/mp4; codecs="mp4v.20.8"')
|
712 |
-
format: { // Static Object
|
713 |
-
mp3: {
|
714 |
-
codec: 'audio/mpeg',
|
715 |
-
flashCanPlay: true,
|
716 |
-
media: 'audio'
|
717 |
-
},
|
718 |
-
m4a: { // AAC / MP4
|
719 |
-
codec: 'audio/mp4; codecs="mp4a.40.2"',
|
720 |
-
flashCanPlay: true,
|
721 |
-
media: 'audio'
|
722 |
-
},
|
723 |
-
m3u8a: { // AAC / MP4 / Apple HLS
|
724 |
-
codec: 'application/vnd.apple.mpegurl; codecs="mp4a.40.2"',
|
725 |
-
flashCanPlay: false,
|
726 |
-
media: 'audio'
|
727 |
-
},
|
728 |
-
m3ua: { // M3U
|
729 |
-
codec: 'audio/mpegurl',
|
730 |
-
flashCanPlay: false,
|
731 |
-
media: 'audio'
|
732 |
-
},
|
733 |
-
oga: { // OGG
|
734 |
-
codec: 'audio/ogg; codecs="vorbis, opus"',
|
735 |
-
flashCanPlay: false,
|
736 |
-
media: 'audio'
|
737 |
-
},
|
738 |
-
flac: { // FLAC
|
739 |
-
codec: 'audio/x-flac',
|
740 |
-
flashCanPlay: false,
|
741 |
-
media: 'audio'
|
742 |
-
},
|
743 |
-
wav: { // PCM
|
744 |
-
codec: 'audio/wav; codecs="1"',
|
745 |
-
flashCanPlay: false,
|
746 |
-
media: 'audio'
|
747 |
-
},
|
748 |
-
webma: { // WEBM
|
749 |
-
codec: 'audio/webm; codecs="vorbis"',
|
750 |
-
flashCanPlay: false,
|
751 |
-
media: 'audio'
|
752 |
-
},
|
753 |
-
fla: { // FLV / F4A
|
754 |
-
codec: 'audio/x-flv',
|
755 |
-
flashCanPlay: true,
|
756 |
-
media: 'audio'
|
757 |
-
},
|
758 |
-
rtmpa: { // RTMP AUDIO
|
759 |
-
codec: 'audio/rtmp; codecs="rtmp"',
|
760 |
-
flashCanPlay: true,
|
761 |
-
media: 'audio'
|
762 |
-
},
|
763 |
-
m4v: { // H.264 / MP4
|
764 |
-
codec: 'video/mp4; codecs="avc1.42E01E, mp4a.40.2"',
|
765 |
-
flashCanPlay: true,
|
766 |
-
media: 'video'
|
767 |
-
},
|
768 |
-
m3u8v: { // H.264 / AAC / MP4 / Apple HLS
|
769 |
-
codec: 'application/vnd.apple.mpegurl; codecs="avc1.42E01E, mp4a.40.2"',
|
770 |
-
flashCanPlay: false,
|
771 |
-
media: 'video'
|
772 |
-
},
|
773 |
-
m3uv: { // M3U
|
774 |
-
codec: 'audio/mpegurl',
|
775 |
-
flashCanPlay: false,
|
776 |
-
media: 'video'
|
777 |
-
},
|
778 |
-
ogv: { // OGG
|
779 |
-
codec: 'video/ogg; codecs="theora, vorbis"',
|
780 |
-
flashCanPlay: false,
|
781 |
-
media: 'video'
|
782 |
-
},
|
783 |
-
webmv: { // WEBM
|
784 |
-
codec: 'video/webm; codecs="vorbis, vp8"',
|
785 |
-
flashCanPlay: false,
|
786 |
-
media: 'video'
|
787 |
-
},
|
788 |
-
flv: { // FLV / F4V
|
789 |
-
codec: 'video/x-flv',
|
790 |
-
flashCanPlay: true,
|
791 |
-
media: 'video'
|
792 |
-
},
|
793 |
-
rtmpv: { // RTMP VIDEO
|
794 |
-
codec: 'video/rtmp; codecs="rtmp"',
|
795 |
-
flashCanPlay: true,
|
796 |
-
media: 'video'
|
797 |
-
}
|
798 |
-
},
|
799 |
-
_init: function() {
|
800 |
-
var self = this;
|
801 |
-
|
802 |
-
this.element.empty();
|
803 |
-
|
804 |
-
this.status = $.extend({}, this.status); // Copy static to unique instance.
|
805 |
-
this.internal = $.extend({}, this.internal); // Copy static to unique instance.
|
806 |
-
|
807 |
-
// Initialize the time format
|
808 |
-
this.options.timeFormat = $.extend({}, $.jPlayer.timeFormat, this.options.timeFormat);
|
809 |
-
|
810 |
-
// On iOS, assume commands will be ignored before user initiates them.
|
811 |
-
this.internal.cmdsIgnored = $.jPlayer.platform.ipad || $.jPlayer.platform.iphone || $.jPlayer.platform.ipod;
|
812 |
-
|
813 |
-
this.internal.domNode = this.element.get(0);
|
814 |
-
|
815 |
-
// Add key bindings focus to 1st jPlayer instanced with key control enabled.
|
816 |
-
if(this.options.keyEnabled && !$.jPlayer.focus) {
|
817 |
-
$.jPlayer.focus = this;
|
818 |
-
}
|
819 |
-
|
820 |
-
// A fix for Android where older (2.3) and even some 4.x devices fail to work when changing the *audio* SRC and then playing immediately.
|
821 |
-
this.androidFix = {
|
822 |
-
setMedia: false, // True when media set
|
823 |
-
play: false, // True when a progress event will instruct the media to play
|
824 |
-
pause: false, // True when a progress event will instruct the media to pause at a time.
|
825 |
-
time: NaN // The play(time) parameter
|
826 |
-
};
|
827 |
-
if($.jPlayer.platform.android) {
|
828 |
-
this.options.preload = this.options.preload !== 'auto' ? 'metadata' : 'auto'; // Default to metadata, but allow auto.
|
829 |
-
}
|
830 |
-
|
831 |
-
this.formats = []; // Array based on supplied string option. Order defines priority.
|
832 |
-
this.solutions = []; // Array based on solution string option. Order defines priority.
|
833 |
-
this.require = {}; // Which media types are required: video, audio.
|
834 |
-
|
835 |
-
this.htmlElement = {}; // DOM elements created by jPlayer
|
836 |
-
this.html = {}; // In _init()'s this.desired code and setmedia(): Accessed via this[solution], where solution from this.solutions array.
|
837 |
-
this.html.audio = {};
|
838 |
-
this.html.video = {};
|
839 |
-
this.flash = {}; // In _init()'s this.desired code and setmedia(): Accessed via this[solution], where solution from this.solutions array.
|
840 |
-
|
841 |
-
this.css = {};
|
842 |
-
this.css.cs = {}; // Holds the css selector strings
|
843 |
-
this.css.jq = {}; // Holds jQuery selectors. ie., $(css.cs.method)
|
844 |
-
|
845 |
-
this.ancestorJq = []; // Holds jQuery selector of cssSelectorAncestor. Init would use $() instead of [], but it is only 1.4+
|
846 |
-
|
847 |
-
this.options.volume = this._limitValue(this.options.volume, 0, 1); // Limit volume value's bounds.
|
848 |
-
|
849 |
-
// Create the formats array, with prority based on the order of the supplied formats string
|
850 |
-
$.each(this.options.supplied.toLowerCase().split(","), function(index1, value1) {
|
851 |
-
var format = value1.replace(/^\s+|\s+$/g, ""); //trim
|
852 |
-
if(self.format[format]) { // Check format is valid.
|
853 |
-
var dupFound = false;
|
854 |
-
$.each(self.formats, function(index2, value2) { // Check for duplicates
|
855 |
-
if(format === value2) {
|
856 |
-
dupFound = true;
|
857 |
-
return false;
|
858 |
-
}
|
859 |
-
});
|
860 |
-
if(!dupFound) {
|
861 |
-
self.formats.push(format);
|
862 |
-
}
|
863 |
-
}
|
864 |
-
});
|
865 |
-
|
866 |
-
// Create the solutions array, with prority based on the order of the solution string
|
867 |
-
$.each(this.options.solution.toLowerCase().split(","), function(index1, value1) {
|
868 |
-
var solution = value1.replace(/^\s+|\s+$/g, ""); //trim
|
869 |
-
if(self.solution[solution]) { // Check solution is valid.
|
870 |
-
var dupFound = false;
|
871 |
-
$.each(self.solutions, function(index2, value2) { // Check for duplicates
|
872 |
-
if(solution === value2) {
|
873 |
-
dupFound = true;
|
874 |
-
return false;
|
875 |
-
}
|
876 |
-
});
|
877 |
-
if(!dupFound) {
|
878 |
-
self.solutions.push(solution);
|
879 |
-
}
|
880 |
-
}
|
881 |
-
});
|
882 |
-
|
883 |
-
this.internal.instance = "jp_" + this.count;
|
884 |
-
this.instances[this.internal.instance] = this.element;
|
885 |
-
|
886 |
-
// Check the jPlayer div has an id and create one if required. Important for Flash to know the unique id for comms.
|
887 |
-
if(!this.element.attr("id")) {
|
888 |
-
this.element.attr("id", this.options.idPrefix + "_jplayer_" + this.count);
|
889 |
-
}
|
890 |
-
|
891 |
-
this.internal.self = $.extend({}, {
|
892 |
-
id: this.element.attr("id"),
|
893 |
-
jq: this.element
|
894 |
-
});
|
895 |
-
this.internal.audio = $.extend({}, {
|
896 |
-
id: this.options.idPrefix + "_audio_" + this.count,
|
897 |
-
jq: undefined
|
898 |
-
});
|
899 |
-
this.internal.video = $.extend({}, {
|
900 |
-
id: this.options.idPrefix + "_video_" + this.count,
|
901 |
-
jq: undefined
|
902 |
-
});
|
903 |
-
this.internal.flash = $.extend({}, {
|
904 |
-
id: this.options.idPrefix + "_flash_" + this.count,
|
905 |
-
jq: undefined,
|
906 |
-
swf: this.options.swfPath + (this.options.swfPath.toLowerCase().slice(-4) !== ".swf" ? (this.options.swfPath && this.options.swfPath.slice(-1) !== "/" ? "/" : "") + "Jplayer.swf" : "")
|
907 |
-
});
|
908 |
-
this.internal.poster = $.extend({}, {
|
909 |
-
id: this.options.idPrefix + "_poster_" + this.count,
|
910 |
-
jq: undefined
|
911 |
-
});
|
912 |
-
|
913 |
-
// Register listeners defined in the constructor
|
914 |
-
$.each($.jPlayer.event, function(eventName,eventType) {
|
915 |
-
if(self.options[eventName] !== undefined) {
|
916 |
-
self.element.bind(eventType + ".jPlayer", self.options[eventName]); // With .jPlayer namespace.
|
917 |
-
self.options[eventName] = undefined; // Destroy the handler pointer copy on the options. Reason, events can be added/removed in other ways so this could be obsolete and misleading.
|
918 |
-
}
|
919 |
-
});
|
920 |
-
|
921 |
-
// Determine if we require solutions for audio, video or both media types.
|
922 |
-
this.require.audio = false;
|
923 |
-
this.require.video = false;
|
924 |
-
$.each(this.formats, function(priority, format) {
|
925 |
-
self.require[self.format[format].media] = true;
|
926 |
-
});
|
927 |
-
|
928 |
-
// Now required types are known, finish the options default settings.
|
929 |
-
if(this.require.video) {
|
930 |
-
this.options = $.extend(true, {},
|
931 |
-
this.optionsVideo,
|
932 |
-
this.options
|
933 |
-
);
|
934 |
-
} else {
|
935 |
-
this.options = $.extend(true, {},
|
936 |
-
this.optionsAudio,
|
937 |
-
this.options
|
938 |
-
);
|
939 |
-
}
|
940 |
-
this._setSize(); // update status and jPlayer element size
|
941 |
-
|
942 |
-
// Determine the status for Blocklisted options.
|
943 |
-
this.status.nativeVideoControls = this._uaBlocklist(this.options.nativeVideoControls);
|
944 |
-
this.status.noFullWindow = this._uaBlocklist(this.options.noFullWindow);
|
945 |
-
this.status.noVolume = this._uaBlocklist(this.options.noVolume);
|
946 |
-
|
947 |
-
// Create event handlers if native fullscreen is supported
|
948 |
-
if($.jPlayer.nativeFeatures.fullscreen.api.fullscreenEnabled) {
|
949 |
-
this._fullscreenAddEventListeners();
|
950 |
-
}
|
951 |
-
|
952 |
-
// The native controls are only for video and are disabled when audio is also used.
|
953 |
-
this._restrictNativeVideoControls();
|
954 |
-
|
955 |
-
// Create the poster image.
|
956 |
-
this.htmlElement.poster = document.createElement('img');
|
957 |
-
this.htmlElement.poster.id = this.internal.poster.id;
|
958 |
-
this.htmlElement.poster.onload = function() { // Note that this did not work on Firefox 3.6: poster.addEventListener("onload", function() {}, false); Did not investigate x-browser.
|
959 |
-
if(!self.status.video || self.status.waitForPlay) {
|
960 |
-
self.internal.poster.jq.show();
|
961 |
-
}
|
962 |
-
};
|
963 |
-
this.element.append(this.htmlElement.poster);
|
964 |
-
this.internal.poster.jq = $("#" + this.internal.poster.id);
|
965 |
-
this.internal.poster.jq.css({'width': this.status.width, 'height': this.status.height});
|
966 |
-
this.internal.poster.jq.hide();
|
967 |
-
this.internal.poster.jq.bind("click.jPlayer", function() {
|
968 |
-
self._trigger($.jPlayer.event.click);
|
969 |
-
});
|
970 |
-
|
971 |
-
// Generate the required media elements
|
972 |
-
this.html.audio.available = false;
|
973 |
-
if(this.require.audio) { // If a supplied format is audio
|
974 |
-
this.htmlElement.audio = document.createElement('audio');
|
975 |
-
this.htmlElement.audio.id = this.internal.audio.id;
|
976 |
-
this.html.audio.available = !!this.htmlElement.audio.canPlayType && this._testCanPlayType(this.htmlElement.audio); // Test is for IE9 on Win Server 2008.
|
977 |
-
}
|
978 |
-
this.html.video.available = false;
|
979 |
-
if(this.require.video) { // If a supplied format is video
|
980 |
-
this.htmlElement.video = document.createElement('video');
|
981 |
-
this.htmlElement.video.id = this.internal.video.id;
|
982 |
-
this.html.video.available = !!this.htmlElement.video.canPlayType && this._testCanPlayType(this.htmlElement.video); // Test is for IE9 on Win Server 2008.
|
983 |
-
}
|
984 |
-
|
985 |
-
this.flash.available = this._checkForFlash(10.1);
|
986 |
-
|
987 |
-
this.html.canPlay = {};
|
988 |
-
this.flash.canPlay = {};
|
989 |
-
$.each(this.formats, function(priority, format) {
|
990 |
-
self.html.canPlay[format] = self.html[self.format[format].media].available && "" !== self.htmlElement[self.format[format].media].canPlayType(self.format[format].codec);
|
991 |
-
self.flash.canPlay[format] = self.format[format].flashCanPlay && self.flash.available;
|
992 |
-
});
|
993 |
-
this.html.desired = false;
|
994 |
-
this.flash.desired = false;
|
995 |
-
$.each(this.solutions, function(solutionPriority, solution) {
|
996 |
-
if(solutionPriority === 0) {
|
997 |
-
self[solution].desired = true;
|
998 |
-
} else {
|
999 |
-
var audioCanPlay = false;
|
1000 |
-
var videoCanPlay = false;
|
1001 |
-
$.each(self.formats, function(formatPriority, format) {
|
1002 |
-
if(self[self.solutions[0]].canPlay[format]) { // The other solution can play
|
1003 |
-
if(self.format[format].media === 'video') {
|
1004 |
-
videoCanPlay = true;
|
1005 |
-
} else {
|
1006 |
-
audioCanPlay = true;
|
1007 |
-
}
|
1008 |
-
}
|
1009 |
-
});
|
1010 |
-
self[solution].desired = (self.require.audio && !audioCanPlay) || (self.require.video && !videoCanPlay);
|
1011 |
-
}
|
1012 |
-
});
|
1013 |
-
// This is what jPlayer will support, based on solution and supplied.
|
1014 |
-
this.html.support = {};
|
1015 |
-
this.flash.support = {};
|
1016 |
-
$.each(this.formats, function(priority, format) {
|
1017 |
-
self.html.support[format] = self.html.canPlay[format] && self.html.desired;
|
1018 |
-
self.flash.support[format] = self.flash.canPlay[format] && self.flash.desired;
|
1019 |
-
});
|
1020 |
-
// If jPlayer is supporting any format in a solution, then the solution is used.
|
1021 |
-
this.html.used = false;
|
1022 |
-
this.flash.used = false;
|
1023 |
-
$.each(this.solutions, function(solutionPriority, solution) {
|
1024 |
-
$.each(self.formats, function(formatPriority, format) {
|
1025 |
-
if(self[solution].support[format]) {
|
1026 |
-
self[solution].used = true;
|
1027 |
-
return false;
|
1028 |
-
}
|
1029 |
-
});
|
1030 |
-
});
|
1031 |
-
|
1032 |
-
// Init solution active state and the event gates to false.
|
1033 |
-
this._resetActive();
|
1034 |
-
this._resetGate();
|
1035 |
-
|
1036 |
-
// Set up the css selectors for the control and feedback entities.
|
1037 |
-
this._cssSelectorAncestor(this.options.cssSelectorAncestor);
|
1038 |
-
|
1039 |
-
// If neither html nor flash are being used by this browser, then media playback is not possible. Trigger an error event.
|
1040 |
-
if(!(this.html.used || this.flash.used)) {
|
1041 |
-
this._error( {
|
1042 |
-
type: $.jPlayer.error.NO_SOLUTION,
|
1043 |
-
context: "{solution:'" + this.options.solution + "', supplied:'" + this.options.supplied + "'}",
|
1044 |
-
message: $.jPlayer.errorMsg.NO_SOLUTION,
|
1045 |
-
hint: $.jPlayer.errorHint.NO_SOLUTION
|
1046 |
-
});
|
1047 |
-
if(this.css.jq.noSolution.length) {
|
1048 |
-
this.css.jq.noSolution.show();
|
1049 |
-
}
|
1050 |
-
} else {
|
1051 |
-
if(this.css.jq.noSolution.length) {
|
1052 |
-
this.css.jq.noSolution.hide();
|
1053 |
-
}
|
1054 |
-
}
|
1055 |
-
|
1056 |
-
// Add the flash solution if it is being used.
|
1057 |
-
if(this.flash.used) {
|
1058 |
-
var htmlObj,
|
1059 |
-
flashVars = 'jQuery=' + encodeURI(this.options.noConflict) + '&id=' + encodeURI(this.internal.self.id) + '&vol=' + this.options.volume + '&muted=' + this.options.muted;
|
1060 |
-
|
1061 |
-
// Code influenced by SWFObject 2.2: http://code.google.com/p/swfobject/
|
1062 |
-
// Non IE browsers have an initial Flash size of 1 by 1 otherwise the wmode affected the Flash ready event.
|
1063 |
-
|
1064 |
-
if($.jPlayer.browser.msie && (Number($.jPlayer.browser.version) < 9 || $.jPlayer.browser.documentMode < 9)) {
|
1065 |
-
var objStr = '<object id="' + this.internal.flash.id + '" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="0" height="0" tabindex="-1"></object>';
|
1066 |
-
|
1067 |
-
var paramStr = [
|
1068 |
-
'<param name="movie" value="' + this.internal.flash.swf + '" />',
|
1069 |
-
'<param name="FlashVars" value="' + flashVars + '" />',
|
1070 |
-
'<param name="allowScriptAccess" value="always" />',
|
1071 |
-
'<param name="bgcolor" value="' + this.options.backgroundColor + '" />',
|
1072 |
-
'<param name="wmode" value="' + this.options.wmode + '" />'
|
1073 |
-
];
|
1074 |
-
|
1075 |
-
htmlObj = document.createElement(objStr);
|
1076 |
-
for(var i=0; i < paramStr.length; i++) {
|
1077 |
-
htmlObj.appendChild(document.createElement(paramStr[i]));
|
1078 |
-
}
|
1079 |
-
} else {
|
1080 |
-
var createParam = function(el, n, v) {
|
1081 |
-
var p = document.createElement("param");
|
1082 |
-
p.setAttribute("name", n);
|
1083 |
-
p.setAttribute("value", v);
|
1084 |
-
el.appendChild(p);
|
1085 |
-
};
|
1086 |
-
|
1087 |
-
htmlObj = document.createElement("object");
|
1088 |
-
htmlObj.setAttribute("id", this.internal.flash.id);
|
1089 |
-
htmlObj.setAttribute("name", this.internal.flash.id);
|
1090 |
-
htmlObj.setAttribute("data", this.internal.flash.swf);
|
1091 |
-
htmlObj.setAttribute("type", "application/x-shockwave-flash");
|
1092 |
-
htmlObj.setAttribute("width", "1"); // Non-zero
|
1093 |
-
htmlObj.setAttribute("height", "1"); // Non-zero
|
1094 |
-
htmlObj.setAttribute("tabindex", "-1");
|
1095 |
-
createParam(htmlObj, "flashvars", flashVars);
|
1096 |
-
createParam(htmlObj, "allowscriptaccess", "always");
|
1097 |
-
createParam(htmlObj, "bgcolor", this.options.backgroundColor);
|
1098 |
-
createParam(htmlObj, "wmode", this.options.wmode);
|
1099 |
-
}
|
1100 |
-
|
1101 |
-
this.element.append(htmlObj);
|
1102 |
-
this.internal.flash.jq = $(htmlObj);
|
1103 |
-
}
|
1104 |
-
|
1105 |
-
// Setup playbackRate ability before using _addHtmlEventListeners()
|
1106 |
-
if(this.html.used && !this.flash.used) { // If only HTML
|
1107 |
-
// Using the audio element capabilities for playbackRate. ie., Assuming video element is the same.
|
1108 |
-
this.status.playbackRateEnabled = this._testPlaybackRate('audio');
|
1109 |
-
} else {
|
1110 |
-
this.status.playbackRateEnabled = false;
|
1111 |
-
}
|
1112 |
-
|
1113 |
-
this._updatePlaybackRate();
|
1114 |
-
|
1115 |
-
// Add the HTML solution if being used.
|
1116 |
-
if(this.html.used) {
|
1117 |
-
|
1118 |
-
// The HTML Audio handlers
|
1119 |
-
if(this.html.audio.available) {
|
1120 |
-
this._addHtmlEventListeners(this.htmlElement.audio, this.html.audio);
|
1121 |
-
this.element.append(this.htmlElement.audio);
|
1122 |
-
this.internal.audio.jq = $("#" + this.internal.audio.id);
|
1123 |
-
}
|
1124 |
-
|
1125 |
-
// The HTML Video handlers
|
1126 |
-
if(this.html.video.available) {
|
1127 |
-
this._addHtmlEventListeners(this.htmlElement.video, this.html.video);
|
1128 |
-
this.element.append(this.htmlElement.video);
|
1129 |
-
this.internal.video.jq = $("#" + this.internal.video.id);
|
1130 |
-
if(this.status.nativeVideoControls) {
|
1131 |
-
this.internal.video.jq.css({'width': this.status.width, 'height': this.status.height});
|
1132 |
-
} else {
|
1133 |
-
this.internal.video.jq.css({'width':'0px', 'height':'0px'}); // Using size 0x0 since a .hide() causes issues in iOS
|
1134 |
-
}
|
1135 |
-
this.internal.video.jq.bind("click.jPlayer", function() {
|
1136 |
-
self._trigger($.jPlayer.event.click);
|
1137 |
-
});
|
1138 |
-
}
|
1139 |
-
}
|
1140 |
-
|
1141 |
-
// Create the bridge that emulates the HTML Media element on the jPlayer DIV
|
1142 |
-
if( this.options.emulateHtml ) {
|
1143 |
-
this._emulateHtmlBridge();
|
1144 |
-
}
|
1145 |
-
|
1146 |
-
if(this.html.used && !this.flash.used) { // If only HTML, then emulate flash ready() call after 100ms.
|
1147 |
-
setTimeout( function() {
|
1148 |
-
self.internal.ready = true;
|
1149 |
-
self.version.flash = "n/a";
|
1150 |
-
self._trigger($.jPlayer.event.repeat); // Trigger the repeat event so its handler can initialize itself with the loop option.
|
1151 |
-
self._trigger($.jPlayer.event.ready);
|
1152 |
-
}, 100);
|
1153 |
-
}
|
1154 |
-
|
1155 |
-
// Initialize the interface components with the options.
|
1156 |
-
this._updateNativeVideoControls();
|
1157 |
-
// The other controls are now setup in _cssSelectorAncestor()
|
1158 |
-
if(this.css.jq.videoPlay.length) {
|
1159 |
-
this.css.jq.videoPlay.hide();
|
1160 |
-
}
|
1161 |
-
|
1162 |
-
$.jPlayer.prototype.count++; // Change static variable via prototype.
|
1163 |
-
},
|
1164 |
-
destroy: function() {
|
1165 |
-
// MJP: The background change remains. Would need to store the original to restore it correctly.
|
1166 |
-
// MJP: The jPlayer element's size change remains.
|
1167 |
-
|
1168 |
-
// Clear the media to reset the GUI and stop any downloads. Streams on some browsers had persited. (Chrome)
|
1169 |
-
this.clearMedia();
|
1170 |
-
// Remove the size/sizeFull cssClass from the cssSelectorAncestor
|
1171 |
-
this._removeUiClass();
|
1172 |
-
// Remove the times from the GUI
|
1173 |
-
if(this.css.jq.currentTime.length) {
|
1174 |
-
this.css.jq.currentTime.text("");
|
1175 |
-
}
|
1176 |
-
if(this.css.jq.duration.length) {
|
1177 |
-
this.css.jq.duration.text("");
|
1178 |
-
}
|
1179 |
-
// Remove any bindings from the interface controls.
|
1180 |
-
$.each(this.css.jq, function(fn, jq) {
|
1181 |
-
// Check selector is valid before trying to execute method.
|
1182 |
-
if(jq.length) {
|
1183 |
-
jq.unbind(".jPlayer");
|
1184 |
-
}
|
1185 |
-
});
|
1186 |
-
// Remove the click handlers for $.jPlayer.event.click
|
1187 |
-
this.internal.poster.jq.unbind(".jPlayer");
|
1188 |
-
if(this.internal.video.jq) {
|
1189 |
-
this.internal.video.jq.unbind(".jPlayer");
|
1190 |
-
}
|
1191 |
-
// Remove the fullscreen event handlers
|
1192 |
-
this._fullscreenRemoveEventListeners();
|
1193 |
-
// Remove key bindings
|
1194 |
-
if(this === $.jPlayer.focus) {
|
1195 |
-
$.jPlayer.focus = null;
|
1196 |
-
}
|
1197 |
-
// Destroy the HTML bridge.
|
1198 |
-
if(this.options.emulateHtml) {
|
1199 |
-
this._destroyHtmlBridge();
|
1200 |
-
}
|
1201 |
-
this.element.removeData("jPlayer"); // Remove jPlayer data
|
1202 |
-
this.element.unbind(".jPlayer"); // Remove all event handlers created by the jPlayer constructor
|
1203 |
-
this.element.empty(); // Remove the inserted child elements
|
1204 |
-
|
1205 |
-
delete this.instances[this.internal.instance]; // Clear the instance on the static instance object
|
1206 |
-
},
|
1207 |
-
enable: function() { // Plan to implement
|
1208 |
-
// options.disabled = false
|
1209 |
-
},
|
1210 |
-
disable: function () { // Plan to implement
|
1211 |
-
// options.disabled = true
|
1212 |
-
},
|
1213 |
-
_testCanPlayType: function(elem) {
|
1214 |
-
// IE9 on Win Server 2008 did not implement canPlayType(), but it has the property.
|
1215 |
-
try {
|
1216 |
-
elem.canPlayType(this.format.mp3.codec); // The type is irrelevant.
|
1217 |
-
return true;
|
1218 |
-
} catch(err) {
|
1219 |
-
return false;
|
1220 |
-
}
|
1221 |
-
},
|
1222 |
-
_testPlaybackRate: function(type) {
|
1223 |
-
// type: String 'audio' or 'video'
|
1224 |
-
var el, rate = 0.5;
|
1225 |
-
type = typeof type === 'string' ? type : 'audio';
|
1226 |
-
el = document.createElement(type);
|
1227 |
-
// Wrapping in a try/catch, just in case older HTML5 browsers throw and error.
|
1228 |
-
try {
|
1229 |
-
if('playbackRate' in el) {
|
1230 |
-
el.playbackRate = rate;
|
1231 |
-
return el.playbackRate === rate;
|
1232 |
-
} else {
|
1233 |
-
return false;
|
1234 |
-
}
|
1235 |
-
} catch(err) {
|
1236 |
-
return false;
|
1237 |
-
}
|
1238 |
-
},
|
1239 |
-
_uaBlocklist: function(list) {
|
1240 |
-
// list : object with properties that are all regular expressions. Property names are irrelevant.
|
1241 |
-
// Returns true if the user agent is matched in list.
|
1242 |
-
var ua = navigator.userAgent.toLowerCase(),
|
1243 |
-
block = false;
|
1244 |
-
|
1245 |
-
$.each(list, function(p, re) {
|
1246 |
-
if(re && re.test(ua)) {
|
1247 |
-
block = true;
|
1248 |
-
return false; // exit $.each.
|
1249 |
-
}
|
1250 |
-
});
|
1251 |
-
return block;
|
1252 |
-
},
|
1253 |
-
_restrictNativeVideoControls: function() {
|
1254 |
-
// Fallback to noFullWindow when nativeVideoControls is true and audio media is being used. Affects when both media types are used.
|
1255 |
-
if(this.require.audio) {
|
1256 |
-
if(this.status.nativeVideoControls) {
|
1257 |
-
this.status.nativeVideoControls = false;
|
1258 |
-
this.status.noFullWindow = true;
|
1259 |
-
}
|
1260 |
-
}
|
1261 |
-
},
|
1262 |
-
_updateNativeVideoControls: function() {
|
1263 |
-
if(this.html.video.available && this.html.used) {
|
1264 |
-
// Turn the HTML Video controls on/off
|
1265 |
-
this.htmlElement.video.controls = this.status.nativeVideoControls;
|
1266 |
-
// Show/hide the jPlayer GUI.
|
1267 |
-
this._updateAutohide();
|
1268 |
-
// For when option changed. The poster image is not updated, as it is dealt with in setMedia(). Acceptable degradation since seriously doubt these options will change on the fly. Can again review later.
|
1269 |
-
if(this.status.nativeVideoControls && this.require.video) {
|
1270 |
-
this.internal.poster.jq.hide();
|
1271 |
-
this.internal.video.jq.css({'width': this.status.width, 'height': this.status.height});
|
1272 |
-
} else if(this.status.waitForPlay && this.status.video) {
|
1273 |
-
this.internal.poster.jq.show();
|
1274 |
-
this.internal.video.jq.css({'width': '0px', 'height': '0px'});
|
1275 |
-
}
|
1276 |
-
}
|
1277 |
-
},
|
1278 |
-
_addHtmlEventListeners: function(mediaElement, entity) {
|
1279 |
-
var self = this;
|
1280 |
-
mediaElement.preload = this.options.preload;
|
1281 |
-
mediaElement.muted = this.options.muted;
|
1282 |
-
mediaElement.volume = this.options.volume;
|
1283 |
-
|
1284 |
-
if(this.status.playbackRateEnabled) {
|
1285 |
-
mediaElement.defaultPlaybackRate = this.options.defaultPlaybackRate;
|
1286 |
-
mediaElement.playbackRate = this.options.playbackRate;
|
1287 |
-
}
|
1288 |
-
|
1289 |
-
// Create the event listeners
|
1290 |
-
// Only want the active entity to affect jPlayer and bubble events.
|
1291 |
-
// Using entity.gate so that object is referenced and gate property always current
|
1292 |
-
|
1293 |
-
mediaElement.addEventListener("progress", function() {
|
1294 |
-
if(entity.gate) {
|
1295 |
-
if(self.internal.cmdsIgnored && this.readyState > 0) { // Detect iOS executed the command
|
1296 |
-
self.internal.cmdsIgnored = false;
|
1297 |
-
}
|
1298 |
-
self._getHtmlStatus(mediaElement);
|
1299 |
-
self._updateInterface();
|
1300 |
-
self._trigger($.jPlayer.event.progress);
|
1301 |
-
}
|
1302 |
-
}, false);
|
1303 |
-
mediaElement.addEventListener("loadeddata", function() {
|
1304 |
-
if(entity.gate) {
|
1305 |
-
self.androidFix.setMedia = false; // Disable the fix after the first progress event.
|
1306 |
-
if(self.androidFix.play) { // Play Android audio - performing the fix.
|
1307 |
-
self.androidFix.play = false;
|
1308 |
-
self.play(self.androidFix.time);
|
1309 |
-
}
|
1310 |
-
if(self.androidFix.pause) { // Pause Android audio at time - performing the fix.
|
1311 |
-
self.androidFix.pause = false;
|
1312 |
-
self.pause(self.androidFix.time);
|
1313 |
-
}
|
1314 |
-
self._trigger($.jPlayer.event.loadeddata);
|
1315 |
-
}
|
1316 |
-
}, false);
|
1317 |
-
mediaElement.addEventListener("timeupdate", function() {
|
1318 |
-
if(entity.gate) {
|
1319 |
-
self._getHtmlStatus(mediaElement);
|
1320 |
-
self._updateInterface();
|
1321 |
-
self._trigger($.jPlayer.event.timeupdate);
|
1322 |
-
}
|
1323 |
-
}, false);
|
1324 |
-
mediaElement.addEventListener("durationchange", function() {
|
1325 |
-
if(entity.gate) {
|
1326 |
-
self._getHtmlStatus(mediaElement);
|
1327 |
-
self._updateInterface();
|
1328 |
-
self._trigger($.jPlayer.event.durationchange);
|
1329 |
-
}
|
1330 |
-
}, false);
|
1331 |
-
mediaElement.addEventListener("play", function() {
|
1332 |
-
if(entity.gate) {
|
1333 |
-
self._updateButtons(true);
|
1334 |
-
self._html_checkWaitForPlay(); // So the native controls update this variable and puts the hidden interface in the correct state. Affects toggling native controls.
|
1335 |
-
self._trigger($.jPlayer.event.play);
|
1336 |
-
}
|
1337 |
-
}, false);
|
1338 |
-
mediaElement.addEventListener("playing", function() {
|
1339 |
-
if(entity.gate) {
|
1340 |
-
self._updateButtons(true);
|
1341 |
-
self._seeked();
|
1342 |
-
self._trigger($.jPlayer.event.playing);
|
1343 |
-
}
|
1344 |
-
}, false);
|
1345 |
-
mediaElement.addEventListener("pause", function() {
|
1346 |
-
if(entity.gate) {
|
1347 |
-
self._updateButtons(false);
|
1348 |
-
self._trigger($.jPlayer.event.pause);
|
1349 |
-
}
|
1350 |
-
}, false);
|
1351 |
-
mediaElement.addEventListener("waiting", function() {
|
1352 |
-
if(entity.gate) {
|
1353 |
-
self._seeking();
|
1354 |
-
self._trigger($.jPlayer.event.waiting);
|
1355 |
-
}
|
1356 |
-
}, false);
|
1357 |
-
mediaElement.addEventListener("seeking", function() {
|
1358 |
-
if(entity.gate) {
|
1359 |
-
self._seeking();
|
1360 |
-
self._trigger($.jPlayer.event.seeking);
|
1361 |
-
}
|
1362 |
-
}, false);
|
1363 |
-
mediaElement.addEventListener("seeked", function() {
|
1364 |
-
if(entity.gate) {
|
1365 |
-
self._seeked();
|
1366 |
-
self._trigger($.jPlayer.event.seeked);
|
1367 |
-
}
|
1368 |
-
}, false);
|
1369 |
-
mediaElement.addEventListener("volumechange", function() {
|
1370 |
-
if(entity.gate) {
|
1371 |
-
// Read the values back from the element as the Blackberry PlayBook shares the volume with the physical buttons master volume control.
|
1372 |
-
// However, when tested 6th July 2011, those buttons do not generate an event. The physical play/pause button does though.
|
1373 |
-
self.options.volume = mediaElement.volume;
|
1374 |
-
self.options.muted = mediaElement.muted;
|
1375 |
-
self._updateMute();
|
1376 |
-
self._updateVolume();
|
1377 |
-
self._trigger($.jPlayer.event.volumechange);
|
1378 |
-
}
|
1379 |
-
}, false);
|
1380 |
-
mediaElement.addEventListener("ratechange", function() {
|
1381 |
-
if(entity.gate) {
|
1382 |
-
self.options.defaultPlaybackRate = mediaElement.defaultPlaybackRate;
|
1383 |
-
self.options.playbackRate = mediaElement.playbackRate;
|
1384 |
-
self._updatePlaybackRate();
|
1385 |
-
self._trigger($.jPlayer.event.ratechange);
|
1386 |
-
}
|
1387 |
-
}, false);
|
1388 |
-
mediaElement.addEventListener("suspend", function() { // Seems to be the only way of capturing that the iOS4 browser did not actually play the media from the page code. ie., It needs a user gesture.
|
1389 |
-
if(entity.gate) {
|
1390 |
-
self._seeked();
|
1391 |
-
self._trigger($.jPlayer.event.suspend);
|
1392 |
-
}
|
1393 |
-
}, false);
|
1394 |
-
mediaElement.addEventListener("ended", function() {
|
1395 |
-
if(entity.gate) {
|
1396 |
-
// Order of the next few commands are important. Change the time and then pause.
|
1397 |
-
// Solves a bug in Firefox, where issuing pause 1st causes the media to play from the start. ie., The pause is ignored.
|
1398 |
-
if(!$.jPlayer.browser.webkit) { // Chrome crashes if you do this in conjunction with a setMedia command in an ended event handler. ie., The playlist demo.
|
1399 |
-
self.htmlElement.media.currentTime = 0; // Safari does not care about this command. ie., It works with or without this line. (Both Safari and Chrome are Webkit.)
|
1400 |
-
}
|
1401 |
-
self.htmlElement.media.pause(); // Pause otherwise a click on the progress bar will play from that point, when it shouldn't, since it stopped playback.
|
1402 |
-
self._updateButtons(false);
|
1403 |
-
self._getHtmlStatus(mediaElement, true); // With override true. Otherwise Chrome leaves progress at full.
|
1404 |
-
self._updateInterface();
|
1405 |
-
self._trigger($.jPlayer.event.ended);
|
1406 |
-
}
|
1407 |
-
}, false);
|
1408 |
-
mediaElement.addEventListener("error", function() {
|
1409 |
-
if(entity.gate) {
|
1410 |
-
self._updateButtons(false);
|
1411 |
-
self._seeked();
|
1412 |
-
if(self.status.srcSet) { // Deals with case of clearMedia() causing an error event.
|
1413 |
-
clearTimeout(self.internal.htmlDlyCmdId); // Clears any delayed commands used in the HTML solution.
|
1414 |
-
self.status.waitForLoad = true; // Allows the load operation to try again.
|
1415 |
-
self.status.waitForPlay = true; // Reset since a play was captured.
|
1416 |
-
if(self.status.video && !self.status.nativeVideoControls) {
|
1417 |
-
self.internal.video.jq.css({'width':'0px', 'height':'0px'});
|
1418 |
-
}
|
1419 |
-
if(self._validString(self.status.media.poster) && !self.status.nativeVideoControls) {
|
1420 |
-
self.internal.poster.jq.show();
|
1421 |
-
}
|
1422 |
-
if(self.css.jq.videoPlay.length) {
|
1423 |
-
self.css.jq.videoPlay.show();
|
1424 |
-
}
|
1425 |
-
self._error( {
|
1426 |
-
type: $.jPlayer.error.URL,
|
1427 |
-
context: self.status.src, // this.src shows absolute urls. Want context to show the url given.
|
1428 |
-
message: $.jPlayer.errorMsg.URL,
|
1429 |
-
hint: $.jPlayer.errorHint.URL
|
1430 |
-
});
|
1431 |
-
}
|
1432 |
-
}
|
1433 |
-
}, false);
|
1434 |
-
// Create all the other event listeners that bubble up to a jPlayer event from html, without being used by jPlayer.
|
1435 |
-
$.each($.jPlayer.htmlEvent, function(i, eventType) {
|
1436 |
-
mediaElement.addEventListener(this, function() {
|
1437 |
-
if(entity.gate) {
|
1438 |
-
self._trigger($.jPlayer.event[eventType]);
|
1439 |
-
}
|
1440 |
-
}, false);
|
1441 |
-
});
|
1442 |
-
},
|
1443 |
-
_getHtmlStatus: function(media, override) {
|
1444 |
-
var ct = 0, cpa = 0, sp = 0, cpr = 0;
|
1445 |
-
|
1446 |
-
// Fixes the duration bug in iOS, where the durationchange event occurs when media.duration is not always correct.
|
1447 |
-
// Fixes the initial duration bug in BB OS7, where the media.duration is infinity and displays as NaN:NaN due to Date() using inifity.
|
1448 |
-
if(isFinite(media.duration)) {
|
1449 |
-
this.status.duration = media.duration;
|
1450 |
-
}
|
1451 |
-
|
1452 |
-
ct = media.currentTime;
|
1453 |
-
cpa = (this.status.duration > 0) ? 100 * ct / this.status.duration : 0;
|
1454 |
-
if((typeof media.seekable === "object") && (media.seekable.length > 0)) {
|
1455 |
-
sp = (this.status.duration > 0) ? 100 * media.seekable.end(media.seekable.length-1) / this.status.duration : 100;
|
1456 |
-
cpr = (this.status.duration > 0) ? 100 * media.currentTime / media.seekable.end(media.seekable.length-1) : 0; // Duration conditional for iOS duration bug. ie., seekable.end is a NaN in that case.
|
1457 |
-
} else {
|
1458 |
-
sp = 100;
|
1459 |
-
cpr = cpa;
|
1460 |
-
}
|
1461 |
-
|
1462 |
-
if(override) {
|
1463 |
-
ct = 0;
|
1464 |
-
cpr = 0;
|
1465 |
-
cpa = 0;
|
1466 |
-
}
|
1467 |
-
|
1468 |
-
this.status.seekPercent = sp;
|
1469 |
-
this.status.currentPercentRelative = cpr;
|
1470 |
-
this.status.currentPercentAbsolute = cpa;
|
1471 |
-
this.status.currentTime = ct;
|
1472 |
-
|
1473 |
-
this.status.remaining = this.status.duration - this.status.currentTime;
|
1474 |
-
|
1475 |
-
this.status.videoWidth = media.videoWidth;
|
1476 |
-
this.status.videoHeight = media.videoHeight;
|
1477 |
-
|
1478 |
-
this.status.readyState = media.readyState;
|
1479 |
-
this.status.networkState = media.networkState;
|
1480 |
-
this.status.playbackRate = media.playbackRate;
|
1481 |
-
this.status.ended = media.ended;
|
1482 |
-
},
|
1483 |
-
_resetStatus: function() {
|
1484 |
-
this.status = $.extend({}, this.status, $.jPlayer.prototype.status); // Maintains the status properties that persist through a reset.
|
1485 |
-
},
|
1486 |
-
_trigger: function(eventType, error, warning) { // eventType always valid as called using $.jPlayer.event.eventType
|
1487 |
-
var event = $.Event(eventType);
|
1488 |
-
event.jPlayer = {};
|
1489 |
-
event.jPlayer.version = $.extend({}, this.version);
|
1490 |
-
event.jPlayer.options = $.extend(true, {}, this.options); // Deep copy
|
1491 |
-
event.jPlayer.status = $.extend(true, {}, this.status); // Deep copy
|
1492 |
-
event.jPlayer.html = $.extend(true, {}, this.html); // Deep copy
|
1493 |
-
event.jPlayer.flash = $.extend(true, {}, this.flash); // Deep copy
|
1494 |
-
if(error) {
|
1495 |
-
event.jPlayer.error = $.extend({}, error);
|
1496 |
-
}
|
1497 |
-
if(warning) {
|
1498 |
-
event.jPlayer.warning = $.extend({}, warning);
|
1499 |
-
}
|
1500 |
-
this.element.trigger(event);
|
1501 |
-
},
|
1502 |
-
jPlayerFlashEvent: function(eventType, status) { // Called from Flash
|
1503 |
-
if(eventType === $.jPlayer.event.ready) {
|
1504 |
-
if(!this.internal.ready) {
|
1505 |
-
this.internal.ready = true;
|
1506 |
-
this.internal.flash.jq.css({'width':'0px', 'height':'0px'}); // Once Flash generates the ready event, minimise to zero as it is not affected by wmode anymore.
|
1507 |
-
|
1508 |
-
this.version.flash = status.version;
|
1509 |
-
if(this.version.needFlash !== this.version.flash) {
|
1510 |
-
this._error( {
|
1511 |
-
type: $.jPlayer.error.VERSION,
|
1512 |
-
context: this.version.flash,
|
1513 |
-
message: $.jPlayer.errorMsg.VERSION + this.version.flash,
|
1514 |
-
hint: $.jPlayer.errorHint.VERSION
|
1515 |
-
});
|
1516 |
-
}
|
1517 |
-
this._trigger($.jPlayer.event.repeat); // Trigger the repeat event so its handler can initialize itself with the loop option.
|
1518 |
-
this._trigger(eventType);
|
1519 |
-
} else {
|
1520 |
-
// This condition occurs if the Flash is hidden and then shown again.
|
1521 |
-
// Firefox also reloads the Flash if the CSS position changes. position:fixed is used for full screen.
|
1522 |
-
|
1523 |
-
// Only do this if the Flash is the solution being used at the moment. Affects Media players where both solution may be being used.
|
1524 |
-
if(this.flash.gate) {
|
1525 |
-
|
1526 |
-
// Send the current status to the Flash now that it is ready (available) again.
|
1527 |
-
if(this.status.srcSet) {
|
1528 |
-
|
1529 |
-
// Need to read original status before issuing the setMedia command.
|
1530 |
-
var currentTime = this.status.currentTime,
|
1531 |
-
paused = this.status.paused;
|
1532 |
-
|
1533 |
-
this.setMedia(this.status.media);
|
1534 |
-
this.volumeWorker(this.options.volume);
|
1535 |
-
if(currentTime > 0) {
|
1536 |
-
if(paused) {
|
1537 |
-
this.pause(currentTime);
|
1538 |
-
} else {
|
1539 |
-
this.play(currentTime);
|
1540 |
-
}
|
1541 |
-
}
|
1542 |
-
}
|
1543 |
-
this._trigger($.jPlayer.event.flashreset);
|
1544 |
-
}
|
1545 |
-
}
|
1546 |
-
}
|
1547 |
-
if(this.flash.gate) {
|
1548 |
-
switch(eventType) {
|
1549 |
-
case $.jPlayer.event.progress:
|
1550 |
-
this._getFlashStatus(status);
|
1551 |
-
this._updateInterface();
|
1552 |
-
this._trigger(eventType);
|
1553 |
-
break;
|
1554 |
-
case $.jPlayer.event.timeupdate:
|
1555 |
-
this._getFlashStatus(status);
|
1556 |
-
this._updateInterface();
|
1557 |
-
this._trigger(eventType);
|
1558 |
-
break;
|
1559 |
-
case $.jPlayer.event.play:
|
1560 |
-
this._seeked();
|
1561 |
-
this._updateButtons(true);
|
1562 |
-
this._trigger(eventType);
|
1563 |
-
break;
|
1564 |
-
case $.jPlayer.event.pause:
|
1565 |
-
this._updateButtons(false);
|
1566 |
-
this._trigger(eventType);
|
1567 |
-
break;
|
1568 |
-
case $.jPlayer.event.ended:
|
1569 |
-
this._updateButtons(false);
|
1570 |
-
this._trigger(eventType);
|
1571 |
-
break;
|
1572 |
-
case $.jPlayer.event.click:
|
1573 |
-
this._trigger(eventType); // This could be dealt with by the default
|
1574 |
-
break;
|
1575 |
-
case $.jPlayer.event.error:
|
1576 |
-
this.status.waitForLoad = true; // Allows the load operation to try again.
|
1577 |
-
this.status.waitForPlay = true; // Reset since a play was captured.
|
1578 |
-
if(this.status.video) {
|
1579 |
-
this.internal.flash.jq.css({'width':'0px', 'height':'0px'});
|
1580 |
-
}
|
1581 |
-
if(this._validString(this.status.media.poster)) {
|
1582 |
-
this.internal.poster.jq.show();
|
1583 |
-
}
|
1584 |
-
if(this.css.jq.videoPlay.length && this.status.video) {
|
1585 |
-
this.css.jq.videoPlay.show();
|
1586 |
-
}
|
1587 |
-
if(this.status.video) { // Set up for another try. Execute before error event.
|
1588 |
-
this._flash_setVideo(this.status.media);
|
1589 |
-
} else {
|
1590 |
-
this._flash_setAudio(this.status.media);
|
1591 |
-
}
|
1592 |
-
this._updateButtons(false);
|
1593 |
-
this._error( {
|
1594 |
-
type: $.jPlayer.error.URL,
|
1595 |
-
context:status.src,
|
1596 |
-
message: $.jPlayer.errorMsg.URL,
|
1597 |
-
hint: $.jPlayer.errorHint.URL
|
1598 |
-
});
|
1599 |
-
break;
|
1600 |
-
case $.jPlayer.event.seeking:
|
1601 |
-
this._seeking();
|
1602 |
-
this._trigger(eventType);
|
1603 |
-
break;
|
1604 |
-
case $.jPlayer.event.seeked:
|
1605 |
-
this._seeked();
|
1606 |
-
this._trigger(eventType);
|
1607 |
-
break;
|
1608 |
-
case $.jPlayer.event.ready:
|
1609 |
-
// The ready event is handled outside the switch statement.
|
1610 |
-
// Captured here otherwise 2 ready events would be generated if the ready event handler used setMedia.
|
1611 |
-
break;
|
1612 |
-
default:
|
1613 |
-
this._trigger(eventType);
|
1614 |
-
}
|
1615 |
-
}
|
1616 |
-
return false;
|
1617 |
-
},
|
1618 |
-
_getFlashStatus: function(status) {
|
1619 |
-
this.status.seekPercent = status.seekPercent;
|
1620 |
-
this.status.currentPercentRelative = status.currentPercentRelative;
|
1621 |
-
this.status.currentPercentAbsolute = status.currentPercentAbsolute;
|
1622 |
-
this.status.currentTime = status.currentTime;
|
1623 |
-
this.status.duration = status.duration;
|
1624 |
-
this.status.remaining = status.duration - status.currentTime;
|
1625 |
-
|
1626 |
-
this.status.videoWidth = status.videoWidth;
|
1627 |
-
this.status.videoHeight = status.videoHeight;
|
1628 |
-
|
1629 |
-
// The Flash does not generate this information in this release
|
1630 |
-
this.status.readyState = 4; // status.readyState;
|
1631 |
-
this.status.networkState = 0; // status.networkState;
|
1632 |
-
this.status.playbackRate = 1; // status.playbackRate;
|
1633 |
-
this.status.ended = false; // status.ended;
|
1634 |
-
},
|
1635 |
-
_updateButtons: function(playing) {
|
1636 |
-
if(playing === undefined) {
|
1637 |
-
playing = !this.status.paused;
|
1638 |
-
} else {
|
1639 |
-
this.status.paused = !playing;
|
1640 |
-
}
|
1641 |
-
// Apply the state classes. (For the useStateClassSkin:true option)
|
1642 |
-
if(playing) {
|
1643 |
-
this.addStateClass('playing');
|
1644 |
-
} else {
|
1645 |
-
this.removeStateClass('playing');
|
1646 |
-
}
|
1647 |
-
if(!this.status.noFullWindow && this.options.fullWindow) {
|
1648 |
-
this.addStateClass('fullScreen');
|
1649 |
-
} else {
|
1650 |
-
this.removeStateClass('fullScreen');
|
1651 |
-
}
|
1652 |
-
if(this.options.loop) {
|
1653 |
-
this.addStateClass('looped');
|
1654 |
-
} else {
|
1655 |
-
this.removeStateClass('looped');
|
1656 |
-
}
|
1657 |
-
// Toggle the GUI element pairs. (For the useStateClassSkin:false option)
|
1658 |
-
if(this.css.jq.play.length && this.css.jq.pause.length) {
|
1659 |
-
if(playing) {
|
1660 |
-
this.css.jq.play.hide();
|
1661 |
-
this.css.jq.pause.show();
|
1662 |
-
} else {
|
1663 |
-
this.css.jq.play.show();
|
1664 |
-
this.css.jq.pause.hide();
|
1665 |
-
}
|
1666 |
-
}
|
1667 |
-
if(this.css.jq.restoreScreen.length && this.css.jq.fullScreen.length) {
|
1668 |
-
if(this.status.noFullWindow) {
|
1669 |
-
this.css.jq.fullScreen.hide();
|
1670 |
-
this.css.jq.restoreScreen.hide();
|
1671 |
-
} else if(this.options.fullWindow) {
|
1672 |
-
this.css.jq.fullScreen.hide();
|
1673 |
-
this.css.jq.restoreScreen.show();
|
1674 |
-
} else {
|
1675 |
-
this.css.jq.fullScreen.show();
|
1676 |
-
this.css.jq.restoreScreen.hide();
|
1677 |
-
}
|
1678 |
-
}
|
1679 |
-
if(this.css.jq.repeat.length && this.css.jq.repeatOff.length) {
|
1680 |
-
if(this.options.loop) {
|
1681 |
-
this.css.jq.repeat.hide();
|
1682 |
-
this.css.jq.repeatOff.show();
|
1683 |
-
} else {
|
1684 |
-
this.css.jq.repeat.show();
|
1685 |
-
this.css.jq.repeatOff.hide();
|
1686 |
-
}
|
1687 |
-
}
|
1688 |
-
},
|
1689 |
-
_updateInterface: function() {
|
1690 |
-
if(this.css.jq.seekBar.length) {
|
1691 |
-
this.css.jq.seekBar.width(this.status.seekPercent+"%");
|
1692 |
-
}
|
1693 |
-
if(this.css.jq.playBar.length) {
|
1694 |
-
if(this.options.smoothPlayBar) {
|
1695 |
-
this.css.jq.playBar.stop().animate({
|
1696 |
-
width: this.status.currentPercentAbsolute+"%"
|
1697 |
-
}, 250, "linear");
|
1698 |
-
} else {
|
1699 |
-
this.css.jq.playBar.width(this.status.currentPercentRelative+"%");
|
1700 |
-
}
|
1701 |
-
}
|
1702 |
-
var currentTimeText = '';
|
1703 |
-
if(this.css.jq.currentTime.length) {
|
1704 |
-
currentTimeText = this._convertTime(this.status.currentTime);
|
1705 |
-
if(currentTimeText !== this.css.jq.currentTime.text()) {
|
1706 |
-
this.css.jq.currentTime.text(this._convertTime(this.status.currentTime));
|
1707 |
-
}
|
1708 |
-
}
|
1709 |
-
var durationText = '',
|
1710 |
-
duration = this.status.duration,
|
1711 |
-
remaining = this.status.remaining;
|
1712 |
-
if(this.css.jq.duration.length) {
|
1713 |
-
if(typeof this.status.media.duration === 'string') {
|
1714 |
-
durationText = this.status.media.duration;
|
1715 |
-
} else {
|
1716 |
-
if(typeof this.status.media.duration === 'number') {
|
1717 |
-
duration = this.status.media.duration;
|
1718 |
-
remaining = duration - this.status.currentTime;
|
1719 |
-
}
|
1720 |
-
if(this.options.remainingDuration) {
|
1721 |
-
durationText = (remaining > 0 ? '-' : '') + this._convertTime(remaining);
|
1722 |
-
} else {
|
1723 |
-
durationText = this._convertTime(duration);
|
1724 |
-
}
|
1725 |
-
}
|
1726 |
-
if(durationText !== this.css.jq.duration.text()) {
|
1727 |
-
this.css.jq.duration.text(durationText);
|
1728 |
-
}
|
1729 |
-
}
|
1730 |
-
},
|
1731 |
-
_convertTime: ConvertTime.prototype.time,
|
1732 |
-
_seeking: function() {
|
1733 |
-
if(this.css.jq.seekBar.length) {
|
1734 |
-
this.css.jq.seekBar.addClass("jp-seeking-bg");
|
1735 |
-
}
|
1736 |
-
this.addStateClass('seeking');
|
1737 |
-
},
|
1738 |
-
_seeked: function() {
|
1739 |
-
if(this.css.jq.seekBar.length) {
|
1740 |
-
this.css.jq.seekBar.removeClass("jp-seeking-bg");
|
1741 |
-
}
|
1742 |
-
this.removeStateClass('seeking');
|
1743 |
-
},
|
1744 |
-
_resetGate: function() {
|
1745 |
-
this.html.audio.gate = false;
|
1746 |
-
this.html.video.gate = false;
|
1747 |
-
this.flash.gate = false;
|
1748 |
-
},
|
1749 |
-
_resetActive: function() {
|
1750 |
-
this.html.active = false;
|
1751 |
-
this.flash.active = false;
|
1752 |
-
},
|
1753 |
-
_escapeHtml: function(s) {
|
1754 |
-
return s.split('&').join('&').split('<').join('<').split('>').join('>').split('"').join('"');
|
1755 |
-
},
|
1756 |
-
_qualifyURL: function(url) {
|
1757 |
-
var el = document.createElement('div');
|
1758 |
-
el.innerHTML= '<a href="' + this._escapeHtml(url) + '">x</a>';
|
1759 |
-
return el.firstChild.href;
|
1760 |
-
},
|
1761 |
-
_absoluteMediaUrls: function(media) {
|
1762 |
-
var self = this;
|
1763 |
-
$.each(media, function(type, url) {
|
1764 |
-
if(url && self.format[type]) {
|
1765 |
-
media[type] = self._qualifyURL(url);
|
1766 |
-
}
|
1767 |
-
});
|
1768 |
-
return media;
|
1769 |
-
},
|
1770 |
-
addStateClass: function(state) {
|
1771 |
-
if(this.ancestorJq.length) {
|
1772 |
-
this.ancestorJq.addClass(this.options.stateClass[state]);
|
1773 |
-
}
|
1774 |
-
},
|
1775 |
-
removeStateClass: function(state) {
|
1776 |
-
if(this.ancestorJq.length) {
|
1777 |
-
this.ancestorJq.removeClass(this.options.stateClass[state]);
|
1778 |
-
}
|
1779 |
-
},
|
1780 |
-
setMedia: function(media) {
|
1781 |
-
|
1782 |
-
/* media[format] = String: URL of format. Must contain all of the supplied option's video or audio formats.
|
1783 |
-
* media.poster = String: Video poster URL.
|
1784 |
-
* media.track = Array: Of objects defining the track element: kind, src, srclang, label, def.
|
1785 |
-
* media.stream = Boolean: * NOT IMPLEMENTED * Designating actual media streams. ie., "false/undefined" for files. Plan to refresh the flash every so often.
|
1786 |
-
*/
|
1787 |
-
|
1788 |
-
var self = this,
|
1789 |
-
supported = false,
|
1790 |
-
posterChanged = this.status.media.poster !== media.poster; // Compare before reset. Important for OSX Safari as this.htmlElement.poster.src is absolute, even if original poster URL was relative.
|
1791 |
-
|
1792 |
-
this._resetMedia();
|
1793 |
-
this._resetGate();
|
1794 |
-
this._resetActive();
|
1795 |
-
|
1796 |
-
// Clear the Android Fix.
|
1797 |
-
this.androidFix.setMedia = false;
|
1798 |
-
this.androidFix.play = false;
|
1799 |
-
this.androidFix.pause = false;
|
1800 |
-
|
1801 |
-
// Convert all media URLs to absolute URLs.
|
1802 |
-
media = this._absoluteMediaUrls(media);
|
1803 |
-
|
1804 |
-
$.each(this.formats, function(formatPriority, format) {
|
1805 |
-
var isVideo = self.format[format].media === 'video';
|
1806 |
-
$.each(self.solutions, function(solutionPriority, solution) {
|
1807 |
-
if(self[solution].support[format] && self._validString(media[format])) { // Format supported in solution and url given for format.
|
1808 |
-
var isHtml = solution === 'html';
|
1809 |
-
|
1810 |
-
if(isVideo) {
|
1811 |
-
if(isHtml) {
|
1812 |
-
self.html.video.gate = true;
|
1813 |
-
self._html_setVideo(media);
|
1814 |
-
self.html.active = true;
|
1815 |
-
} else {
|
1816 |
-
self.flash.gate = true;
|
1817 |
-
self._flash_setVideo(media);
|
1818 |
-
self.flash.active = true;
|
1819 |
-
}
|
1820 |
-
if(self.css.jq.videoPlay.length) {
|
1821 |
-
self.css.jq.videoPlay.show();
|
1822 |
-
}
|
1823 |
-
self.status.video = true;
|
1824 |
-
} else {
|
1825 |
-
if(isHtml) {
|
1826 |
-
self.html.audio.gate = true;
|
1827 |
-
self._html_setAudio(media);
|
1828 |
-
self.html.active = true;
|
1829 |
-
|
1830 |
-
// Setup the Android Fix - Only for HTML audio.
|
1831 |
-
if($.jPlayer.platform.android) {
|
1832 |
-
self.androidFix.setMedia = true;
|
1833 |
-
}
|
1834 |
-
} else {
|
1835 |
-
self.flash.gate = true;
|
1836 |
-
self._flash_setAudio(media);
|
1837 |
-
self.flash.active = true;
|
1838 |
-
}
|
1839 |
-
if(self.css.jq.videoPlay.length) {
|
1840 |
-
self.css.jq.videoPlay.hide();
|
1841 |
-
}
|
1842 |
-
self.status.video = false;
|
1843 |
-
}
|
1844 |
-
|
1845 |
-
supported = true;
|
1846 |
-
return false; // Exit $.each
|
1847 |
-
}
|
1848 |
-
});
|
1849 |
-
if(supported) {
|
1850 |
-
return false; // Exit $.each
|
1851 |
-
}
|
1852 |
-
});
|
1853 |
-
|
1854 |
-
if(supported) {
|
1855 |
-
if(!(this.status.nativeVideoControls && this.html.video.gate)) {
|
1856 |
-
// Set poster IMG if native video controls are not being used
|
1857 |
-
// Note: With IE the IMG onload event occurs immediately when cached.
|
1858 |
-
// Note: Poster hidden by default in _resetMedia()
|
1859 |
-
if(this._validString(media.poster)) {
|
1860 |
-
if(posterChanged) { // Since some browsers do not generate img onload event.
|
1861 |
-
this.htmlElement.poster.src = media.poster;
|
1862 |
-
} else {
|
1863 |
-
this.internal.poster.jq.show();
|
1864 |
-
}
|
1865 |
-
}
|
1866 |
-
}
|
1867 |
-
if(this.css.jq.title.length) {
|
1868 |
-
if(typeof media.title === 'string') {
|
1869 |
-
this.css.jq.title.html(media.title);
|
1870 |
-
if(this.htmlElement.audio) {
|
1871 |
-
this.htmlElement.audio.setAttribute('title', media.title);
|
1872 |
-
}
|
1873 |
-
if(this.htmlElement.video) {
|
1874 |
-
this.htmlElement.video.setAttribute('title', media.title);
|
1875 |
-
}
|
1876 |
-
}
|
1877 |
-
}
|
1878 |
-
this.status.srcSet = true;
|
1879 |
-
this.status.media = $.extend({}, media);
|
1880 |
-
this._updateButtons(false);
|
1881 |
-
this._updateInterface();
|
1882 |
-
this._trigger($.jPlayer.event.setmedia);
|
1883 |
-
} else { // jPlayer cannot support any formats provided in this browser
|
1884 |
-
// Send an error event
|
1885 |
-
this._error( {
|
1886 |
-
type: $.jPlayer.error.NO_SUPPORT,
|
1887 |
-
context: "{supplied:'" + this.options.supplied + "'}",
|
1888 |
-
message: $.jPlayer.errorMsg.NO_SUPPORT,
|
1889 |
-
hint: $.jPlayer.errorHint.NO_SUPPORT
|
1890 |
-
});
|
1891 |
-
}
|
1892 |
-
},
|
1893 |
-
_resetMedia: function() {
|
1894 |
-
this._resetStatus();
|
1895 |
-
this._updateButtons(false);
|
1896 |
-
this._updateInterface();
|
1897 |
-
this._seeked();
|
1898 |
-
this.internal.poster.jq.hide();
|
1899 |
-
|
1900 |
-
clearTimeout(this.internal.htmlDlyCmdId);
|
1901 |
-
|
1902 |
-
if(this.html.active) {
|
1903 |
-
this._html_resetMedia();
|
1904 |
-
} else if(this.flash.active) {
|
1905 |
-
this._flash_resetMedia();
|
1906 |
-
}
|
1907 |
-
},
|
1908 |
-
clearMedia: function() {
|
1909 |
-
this._resetMedia();
|
1910 |
-
|
1911 |
-
if(this.html.active) {
|
1912 |
-
this._html_clearMedia();
|
1913 |
-
} else if(this.flash.active) {
|
1914 |
-
this._flash_clearMedia();
|
1915 |
-
}
|
1916 |
-
|
1917 |
-
this._resetGate();
|
1918 |
-
this._resetActive();
|
1919 |
-
},
|
1920 |
-
load: function() {
|
1921 |
-
if(this.status.srcSet) {
|
1922 |
-
if(this.html.active) {
|
1923 |
-
this._html_load();
|
1924 |
-
} else if(this.flash.active) {
|
1925 |
-
this._flash_load();
|
1926 |
-
}
|
1927 |
-
} else {
|
1928 |
-
this._urlNotSetError("load");
|
1929 |
-
}
|
1930 |
-
},
|
1931 |
-
focus: function() {
|
1932 |
-
if(this.options.keyEnabled) {
|
1933 |
-
$.jPlayer.focus = this;
|
1934 |
-
}
|
1935 |
-
},
|
1936 |
-
play: function(time) {
|
1937 |
-
var guiAction = typeof time === "object"; // Flags GUI click events so we know this was not a direct command, but an action taken by the user on the GUI.
|
1938 |
-
if(guiAction && this.options.useStateClassSkin && !this.status.paused) {
|
1939 |
-
this.pause(time); // The time would be the click event, but passing it over so info is not lost.
|
1940 |
-
} else {
|
1941 |
-
time = (typeof time === "number") ? time : NaN; // Remove jQuery event from click handler
|
1942 |
-
if(this.status.srcSet) {
|
1943 |
-
this.focus();
|
1944 |
-
if(this.html.active) {
|
1945 |
-
this._html_play(time);
|
1946 |
-
} else if(this.flash.active) {
|
1947 |
-
this._flash_play(time);
|
1948 |
-
}
|
1949 |
-
} else {
|
1950 |
-
this._urlNotSetError("play");
|
1951 |
-
}
|
1952 |
-
}
|
1953 |
-
},
|
1954 |
-
videoPlay: function() { // Handles clicks on the play button over the video poster
|
1955 |
-
this.play();
|
1956 |
-
},
|
1957 |
-
pause: function(time) {
|
1958 |
-
time = (typeof time === "number") ? time : NaN; // Remove jQuery event from click handler
|
1959 |
-
if(this.status.srcSet) {
|
1960 |
-
if(this.html.active) {
|
1961 |
-
this._html_pause(time);
|
1962 |
-
} else if(this.flash.active) {
|
1963 |
-
this._flash_pause(time);
|
1964 |
-
}
|
1965 |
-
} else {
|
1966 |
-
this._urlNotSetError("pause");
|
1967 |
-
}
|
1968 |
-
},
|
1969 |
-
tellOthers: function(command, conditions) {
|
1970 |
-
var self = this,
|
1971 |
-
hasConditions = typeof conditions === 'function',
|
1972 |
-
args = Array.prototype.slice.call(arguments); // Convert arguments to an Array.
|
1973 |
-
|
1974 |
-
if(typeof command !== 'string') { // Ignore, since no command.
|
1975 |
-
return; // Return undefined to maintain chaining.
|
1976 |
-
}
|
1977 |
-
if(hasConditions) {
|
1978 |
-
args.splice(1, 1); // Remove the conditions from the arguments
|
1979 |
-
}
|
1980 |
-
|
1981 |
-
$.each(this.instances, function() {
|
1982 |
-
// Remember that "this" is the instance's "element" in the $.each() loop.
|
1983 |
-
if(self.element !== this) { // Do not tell my instance.
|
1984 |
-
if(!hasConditions || conditions.call(this.data("jPlayer"), self)) {
|
1985 |
-
this.jPlayer.apply(this, args);
|
1986 |
-
}
|
1987 |
-
}
|
1988 |
-
});
|
1989 |
-
},
|
1990 |
-
pauseOthers: function(time) {
|
1991 |
-
this.tellOthers("pause", function() {
|
1992 |
-
// In the conditions function, the "this" context is the other instance's jPlayer object.
|
1993 |
-
return this.status.srcSet;
|
1994 |
-
}, time);
|
1995 |
-
},
|
1996 |
-
stop: function() {
|
1997 |
-
if(this.status.srcSet) {
|
1998 |
-
if(this.html.active) {
|
1999 |
-
this._html_pause(0);
|
2000 |
-
} else if(this.flash.active) {
|
2001 |
-
this._flash_pause(0);
|
2002 |
-
}
|
2003 |
-
} else {
|
2004 |
-
this._urlNotSetError("stop");
|
2005 |
-
}
|
2006 |
-
},
|
2007 |
-
playHead: function(p) {
|
2008 |
-
p = this._limitValue(p, 0, 100);
|
2009 |
-
if(this.status.srcSet) {
|
2010 |
-
if(this.html.active) {
|
2011 |
-
this._html_playHead(p);
|
2012 |
-
} else if(this.flash.active) {
|
2013 |
-
this._flash_playHead(p);
|
2014 |
-
}
|
2015 |
-
} else {
|
2016 |
-
this._urlNotSetError("playHead");
|
2017 |
-
}
|
2018 |
-
},
|
2019 |
-
_muted: function(muted) {
|
2020 |
-
this.mutedWorker(muted);
|
2021 |
-
if(this.options.globalVolume) {
|
2022 |
-
this.tellOthers("mutedWorker", function() {
|
2023 |
-
// Check the other instance has global volume enabled.
|
2024 |
-
return this.options.globalVolume;
|
2025 |
-
}, muted);
|
2026 |
-
}
|
2027 |
-
},
|
2028 |
-
mutedWorker: function(muted) {
|
2029 |
-
this.options.muted = muted;
|
2030 |
-
if(this.html.used) {
|
2031 |
-
this._html_setProperty('muted', muted);
|
2032 |
-
}
|
2033 |
-
if(this.flash.used) {
|
2034 |
-
this._flash_mute(muted);
|
2035 |
-
}
|
2036 |
-
|
2037 |
-
// The HTML solution generates this event from the media element itself.
|
2038 |
-
if(!this.html.video.gate && !this.html.audio.gate) {
|
2039 |
-
this._updateMute(muted);
|
2040 |
-
this._updateVolume(this.options.volume);
|
2041 |
-
this._trigger($.jPlayer.event.volumechange);
|
2042 |
-
}
|
2043 |
-
},
|
2044 |
-
mute: function(mute) { // mute is either: undefined (true), an event object (true) or a boolean (muted).
|
2045 |
-
var guiAction = typeof mute === "object"; // Flags GUI click events so we know this was not a direct command, but an action taken by the user on the GUI.
|
2046 |
-
if(guiAction && this.options.useStateClassSkin && this.options.muted) {
|
2047 |
-
this._muted(false);
|
2048 |
-
} else {
|
2049 |
-
mute = mute === undefined ? true : !!mute;
|
2050 |
-
this._muted(mute);
|
2051 |
-
}
|
2052 |
-
},
|
2053 |
-
unmute: function(unmute) { // unmute is either: undefined (true), an event object (true) or a boolean (!muted).
|
2054 |
-
unmute = unmute === undefined ? true : !!unmute;
|
2055 |
-
this._muted(!unmute);
|
2056 |
-
},
|
2057 |
-
_updateMute: function(mute) {
|
2058 |
-
if(mute === undefined) {
|
2059 |
-
mute = this.options.muted;
|
2060 |
-
}
|
2061 |
-
if(mute) {
|
2062 |
-
this.addStateClass('muted');
|
2063 |
-
} else {
|
2064 |
-
this.removeStateClass('muted');
|
2065 |
-
}
|
2066 |
-
if(this.css.jq.mute.length && this.css.jq.unmute.length) {
|
2067 |
-
if(this.status.noVolume) {
|
2068 |
-
this.css.jq.mute.hide();
|
2069 |
-
this.css.jq.unmute.hide();
|
2070 |
-
} else if(mute) {
|
2071 |
-
this.css.jq.mute.hide();
|
2072 |
-
this.css.jq.unmute.show();
|
2073 |
-
} else {
|
2074 |
-
this.css.jq.mute.show();
|
2075 |
-
this.css.jq.unmute.hide();
|
2076 |
-
}
|
2077 |
-
}
|
2078 |
-
},
|
2079 |
-
volume: function(v) {
|
2080 |
-
this.volumeWorker(v);
|
2081 |
-
if(this.options.globalVolume) {
|
2082 |
-
this.tellOthers("volumeWorker", function() {
|
2083 |
-
// Check the other instance has global volume enabled.
|
2084 |
-
return this.options.globalVolume;
|
2085 |
-
}, v);
|
2086 |
-
}
|
2087 |
-
},
|
2088 |
-
volumeWorker: function(v) {
|
2089 |
-
v = this._limitValue(v, 0, 1);
|
2090 |
-
this.options.volume = v;
|
2091 |
-
|
2092 |
-
if(this.html.used) {
|
2093 |
-
this._html_setProperty('volume', v);
|
2094 |
-
}
|
2095 |
-
if(this.flash.used) {
|
2096 |
-
this._flash_volume(v);
|
2097 |
-
}
|
2098 |
-
|
2099 |
-
// The HTML solution generates this event from the media element itself.
|
2100 |
-
if(!this.html.video.gate && !this.html.audio.gate) {
|
2101 |
-
this._updateVolume(v);
|
2102 |
-
this._trigger($.jPlayer.event.volumechange);
|
2103 |
-
}
|
2104 |
-
},
|
2105 |
-
volumeBar: function(e) { // Handles clicks on the volumeBar
|
2106 |
-
if(this.css.jq.volumeBar.length) {
|
2107 |
-
// Using $(e.currentTarget) to enable multiple volume bars
|
2108 |
-
var $bar = $(e.currentTarget),
|
2109 |
-
offset = $bar.offset(),
|
2110 |
-
x = e.pageX - offset.left,
|
2111 |
-
w = $bar.width(),
|
2112 |
-
y = $bar.height() - e.pageY + offset.top,
|
2113 |
-
h = $bar.height();
|
2114 |
-
if(this.options.verticalVolume) {
|
2115 |
-
this.volume(y/h);
|
2116 |
-
} else {
|
2117 |
-
this.volume(x/w);
|
2118 |
-
}
|
2119 |
-
}
|
2120 |
-
if(this.options.muted) {
|
2121 |
-
this._muted(false);
|
2122 |
-
}
|
2123 |
-
},
|
2124 |
-
_updateVolume: function(v) {
|
2125 |
-
if(v === undefined) {
|
2126 |
-
v = this.options.volume;
|
2127 |
-
}
|
2128 |
-
v = this.options.muted ? 0 : v;
|
2129 |
-
|
2130 |
-
if(this.status.noVolume) {
|
2131 |
-
if(this.css.jq.volumeBar.length) {
|
2132 |
-
this.css.jq.volumeBar.hide();
|
2133 |
-
}
|
2134 |
-
if(this.css.jq.volumeBarValue.length) {
|
2135 |
-
this.css.jq.volumeBarValue.hide();
|
2136 |
-
}
|
2137 |
-
if(this.css.jq.volumeMax.length) {
|
2138 |
-
this.css.jq.volumeMax.hide();
|
2139 |
-
}
|
2140 |
-
} else {
|
2141 |
-
if(this.css.jq.volumeBar.length) {
|
2142 |
-
this.css.jq.volumeBar.show();
|
2143 |
-
}
|
2144 |
-
if(this.css.jq.volumeBarValue.length) {
|
2145 |
-
this.css.jq.volumeBarValue.show();
|
2146 |
-
this.css.jq.volumeBarValue[this.options.verticalVolume ? "height" : "width"]((v*100)+"%");
|
2147 |
-
}
|
2148 |
-
if(this.css.jq.volumeMax.length) {
|
2149 |
-
this.css.jq.volumeMax.show();
|
2150 |
-
}
|
2151 |
-
}
|
2152 |
-
},
|
2153 |
-
volumeMax: function() { // Handles clicks on the volume max
|
2154 |
-
this.volume(1);
|
2155 |
-
if(this.options.muted) {
|
2156 |
-
this._muted(false);
|
2157 |
-
}
|
2158 |
-
},
|
2159 |
-
_cssSelectorAncestor: function(ancestor) {
|
2160 |
-
var self = this;
|
2161 |
-
this.options.cssSelectorAncestor = ancestor;
|
2162 |
-
this._removeUiClass();
|
2163 |
-
this.ancestorJq = ancestor ? $(ancestor) : []; // Would use $() instead of [], but it is only 1.4+
|
2164 |
-
if(ancestor && this.ancestorJq.length !== 1) { // So empty strings do not generate the warning.
|
2165 |
-
this._warning( {
|
2166 |
-
type: $.jPlayer.warning.CSS_SELECTOR_COUNT,
|
2167 |
-
context: ancestor,
|
2168 |
-
message: $.jPlayer.warningMsg.CSS_SELECTOR_COUNT + this.ancestorJq.length + " found for cssSelectorAncestor.",
|
2169 |
-
hint: $.jPlayer.warningHint.CSS_SELECTOR_COUNT
|
2170 |
-
});
|
2171 |
-
}
|
2172 |
-
this._addUiClass();
|
2173 |
-
$.each(this.options.cssSelector, function(fn, cssSel) {
|
2174 |
-
self._cssSelector(fn, cssSel);
|
2175 |
-
});
|
2176 |
-
|
2177 |
-
// Set the GUI to the current state.
|
2178 |
-
this._updateInterface();
|
2179 |
-
this._updateButtons();
|
2180 |
-
this._updateAutohide();
|
2181 |
-
this._updateVolume();
|
2182 |
-
this._updateMute();
|
2183 |
-
},
|
2184 |
-
_cssSelector: function(fn, cssSel) {
|
2185 |
-
var self = this;
|
2186 |
-
if(typeof cssSel === 'string') {
|
2187 |
-
if($.jPlayer.prototype.options.cssSelector[fn]) {
|
2188 |
-
if(this.css.jq[fn] && this.css.jq[fn].length) {
|
2189 |
-
this.css.jq[fn].unbind(".jPlayer");
|
2190 |
-
}
|
2191 |
-
this.options.cssSelector[fn] = cssSel;
|
2192 |
-
this.css.cs[fn] = this.options.cssSelectorAncestor + " " + cssSel;
|
2193 |
-
|
2194 |
-
if(cssSel) { // Checks for empty string
|
2195 |
-
this.css.jq[fn] = $(this.css.cs[fn]);
|
2196 |
-
} else {
|
2197 |
-
this.css.jq[fn] = []; // To comply with the css.jq[fn].length check before its use. As of jQuery 1.4 could have used $() for an empty set.
|
2198 |
-
}
|
2199 |
-
|
2200 |
-
if(this.css.jq[fn].length && this[fn]) {
|
2201 |
-
var handler = function(e) {
|
2202 |
-
e.preventDefault();
|
2203 |
-
self[fn](e);
|
2204 |
-
if(self.options.autoBlur) {
|
2205 |
-
$(this).blur();
|
2206 |
-
}
|
2207 |
-
};
|
2208 |
-
this.css.jq[fn].bind("click.jPlayer", handler); // Using jPlayer namespace
|
2209 |
-
}
|
2210 |
-
|
2211 |
-
if(cssSel && this.css.jq[fn].length !== 1) { // So empty strings do not generate the warning. ie., they just remove the old one.
|
2212 |
-
this._warning( {
|
2213 |
-
type: $.jPlayer.warning.CSS_SELECTOR_COUNT,
|
2214 |
-
context: this.css.cs[fn],
|
2215 |
-
message: $.jPlayer.warningMsg.CSS_SELECTOR_COUNT + this.css.jq[fn].length + " found for " + fn + " method.",
|
2216 |
-
hint: $.jPlayer.warningHint.CSS_SELECTOR_COUNT
|
2217 |
-
});
|
2218 |
-
}
|
2219 |
-
} else {
|
2220 |
-
this._warning( {
|
2221 |
-
type: $.jPlayer.warning.CSS_SELECTOR_METHOD,
|
2222 |
-
context: fn,
|
2223 |
-
message: $.jPlayer.warningMsg.CSS_SELECTOR_METHOD,
|
2224 |
-
hint: $.jPlayer.warningHint.CSS_SELECTOR_METHOD
|
2225 |
-
});
|
2226 |
-
}
|
2227 |
-
} else {
|
2228 |
-
this._warning( {
|
2229 |
-
type: $.jPlayer.warning.CSS_SELECTOR_STRING,
|
2230 |
-
context: cssSel,
|
2231 |
-
message: $.jPlayer.warningMsg.CSS_SELECTOR_STRING,
|
2232 |
-
hint: $.jPlayer.warningHint.CSS_SELECTOR_STRING
|
2233 |
-
});
|
2234 |
-
}
|
2235 |
-
},
|
2236 |
-
duration: function(e) {
|
2237 |
-
if(this.options.toggleDuration) {
|
2238 |
-
if(this.options.captureDuration) {
|
2239 |
-
e.stopPropagation();
|
2240 |
-
}
|
2241 |
-
this._setOption("remainingDuration", !this.options.remainingDuration);
|
2242 |
-
}
|
2243 |
-
},
|
2244 |
-
seekBar: function(e) { // Handles clicks on the seekBar
|
2245 |
-
if(this.css.jq.seekBar.length) {
|
2246 |
-
// Using $(e.currentTarget) to enable multiple seek bars
|
2247 |
-
var $bar = $(e.currentTarget),
|
2248 |
-
offset = $bar.offset(),
|
2249 |
-
x = e.pageX - offset.left,
|
2250 |
-
w = $bar.width(),
|
2251 |
-
p = 100 * x / w;
|
2252 |
-
this.playHead(p);
|
2253 |
-
}
|
2254 |
-
},
|
2255 |
-
playbackRate: function(pbr) {
|
2256 |
-
this._setOption("playbackRate", pbr);
|
2257 |
-
},
|
2258 |
-
playbackRateBar: function(e) { // Handles clicks on the playbackRateBar
|
2259 |
-
if(this.css.jq.playbackRateBar.length) {
|
2260 |
-
// Using $(e.currentTarget) to enable multiple playbackRate bars
|
2261 |
-
var $bar = $(e.currentTarget),
|
2262 |
-
offset = $bar.offset(),
|
2263 |
-
x = e.pageX - offset.left,
|
2264 |
-
w = $bar.width(),
|
2265 |
-
y = $bar.height() - e.pageY + offset.top,
|
2266 |
-
h = $bar.height(),
|
2267 |
-
ratio, pbr;
|
2268 |
-
if(this.options.verticalPlaybackRate) {
|
2269 |
-
ratio = y/h;
|
2270 |
-
} else {
|
2271 |
-
ratio = x/w;
|
2272 |
-
}
|
2273 |
-
pbr = ratio * (this.options.maxPlaybackRate - this.options.minPlaybackRate) + this.options.minPlaybackRate;
|
2274 |
-
this.playbackRate(pbr);
|
2275 |
-
}
|
2276 |
-
},
|
2277 |
-
_updatePlaybackRate: function() {
|
2278 |
-
var pbr = this.options.playbackRate,
|
2279 |
-
ratio = (pbr - this.options.minPlaybackRate) / (this.options.maxPlaybackRate - this.options.minPlaybackRate);
|
2280 |
-
if(this.status.playbackRateEnabled) {
|
2281 |
-
if(this.css.jq.playbackRateBar.length) {
|
2282 |
-
this.css.jq.playbackRateBar.show();
|
2283 |
-
}
|
2284 |
-
if(this.css.jq.playbackRateBarValue.length) {
|
2285 |
-
this.css.jq.playbackRateBarValue.show();
|
2286 |
-
this.css.jq.playbackRateBarValue[this.options.verticalPlaybackRate ? "height" : "width"]((ratio*100)+"%");
|
2287 |
-
}
|
2288 |
-
} else {
|
2289 |
-
if(this.css.jq.playbackRateBar.length) {
|
2290 |
-
this.css.jq.playbackRateBar.hide();
|
2291 |
-
}
|
2292 |
-
if(this.css.jq.playbackRateBarValue.length) {
|
2293 |
-
this.css.jq.playbackRateBarValue.hide();
|
2294 |
-
}
|
2295 |
-
}
|
2296 |
-
},
|
2297 |
-
repeat: function(event) { // Handle clicks on the repeat button
|
2298 |
-
var guiAction = typeof event === "object"; // Flags GUI click events so we know this was not a direct command, but an action taken by the user on the GUI.
|
2299 |
-
if(guiAction && this.options.useStateClassSkin && this.options.loop) {
|
2300 |
-
this._loop(false);
|
2301 |
-
} else {
|
2302 |
-
this._loop(true);
|
2303 |
-
}
|
2304 |
-
},
|
2305 |
-
repeatOff: function() { // Handle clicks on the repeatOff button
|
2306 |
-
this._loop(false);
|
2307 |
-
},
|
2308 |
-
_loop: function(loop) {
|
2309 |
-
if(this.options.loop !== loop) {
|
2310 |
-
this.options.loop = loop;
|
2311 |
-
this._updateButtons();
|
2312 |
-
this._trigger($.jPlayer.event.repeat);
|
2313 |
-
}
|
2314 |
-
},
|
2315 |
-
|
2316 |
-
// Options code adapted from ui.widget.js (1.8.7). Made changes so the key can use dot notation. To match previous getData solution in jPlayer 1.
|
2317 |
-
option: function(key, value) {
|
2318 |
-
var options = key;
|
2319 |
-
|
2320 |
-
// Enables use: options(). Returns a copy of options object
|
2321 |
-
if ( arguments.length === 0 ) {
|
2322 |
-
return $.extend( true, {}, this.options );
|
2323 |
-
}
|
2324 |
-
|
2325 |
-
if(typeof key === "string") {
|
2326 |
-
var keys = key.split(".");
|
2327 |
-
|
2328 |
-
// Enables use: options("someOption") Returns a copy of the option. Supports dot notation.
|
2329 |
-
if(value === undefined) {
|
2330 |
-
|
2331 |
-
var opt = $.extend(true, {}, this.options);
|
2332 |
-
for(var i = 0; i < keys.length; i++) {
|
2333 |
-
if(opt[keys[i]] !== undefined) {
|
2334 |
-
opt = opt[keys[i]];
|
2335 |
-
} else {
|
2336 |
-
this._warning( {
|
2337 |
-
type: $.jPlayer.warning.OPTION_KEY,
|
2338 |
-
context: key,
|
2339 |
-
message: $.jPlayer.warningMsg.OPTION_KEY,
|
2340 |
-
hint: $.jPlayer.warningHint.OPTION_KEY
|
2341 |
-
});
|
2342 |
-
return undefined;
|
2343 |
-
}
|
2344 |
-
}
|
2345 |
-
return opt;
|
2346 |
-
}
|
2347 |
-
|
2348 |
-
// Enables use: options("someOptionObject", someObject}). Creates: {someOptionObject:someObject}
|
2349 |
-
// Enables use: options("someOption", someValue). Creates: {someOption:someValue}
|
2350 |
-
// Enables use: options("someOptionObject.someOption", someValue). Creates: {someOptionObject:{someOption:someValue}}
|
2351 |
-
|
2352 |
-
options = {};
|
2353 |
-
var opts = options;
|
2354 |
-
|
2355 |
-
for(var j = 0; j < keys.length; j++) {
|
2356 |
-
if(j < keys.length - 1) {
|
2357 |
-
opts[keys[j]] = {};
|
2358 |
-
opts = opts[keys[j]];
|
2359 |
-
} else {
|
2360 |
-
opts[keys[j]] = value;
|
2361 |
-
}
|
2362 |
-
}
|
2363 |
-
}
|
2364 |
-
|
2365 |
-
// Otherwise enables use: options(optionObject). Uses original object (the key)
|
2366 |
-
|
2367 |
-
this._setOptions(options);
|
2368 |
-
|
2369 |
-
return this;
|
2370 |
-
},
|
2371 |
-
_setOptions: function(options) {
|
2372 |
-
var self = this;
|
2373 |
-
$.each(options, function(key, value) { // This supports the 2 level depth that the options of jPlayer has. Would review if we ever need more depth.
|
2374 |
-
self._setOption(key, value);
|
2375 |
-
});
|
2376 |
-
|
2377 |
-
return this;
|
2378 |
-
},
|
2379 |
-
_setOption: function(key, value) {
|
2380 |
-
var self = this;
|
2381 |
-
|
2382 |
-
// The ability to set options is limited at this time.
|
2383 |
-
|
2384 |
-
switch(key) {
|
2385 |
-
case "volume" :
|
2386 |
-
this.volume(value);
|
2387 |
-
break;
|
2388 |
-
case "muted" :
|
2389 |
-
this._muted(value);
|
2390 |
-
break;
|
2391 |
-
case "globalVolume" :
|
2392 |
-
this.options[key] = value;
|
2393 |
-
break;
|
2394 |
-
case "cssSelectorAncestor" :
|
2395 |
-
this._cssSelectorAncestor(value); // Set and refresh all associations for the new ancestor.
|
2396 |
-
break;
|
2397 |
-
case "cssSelector" :
|
2398 |
-
$.each(value, function(fn, cssSel) {
|
2399 |
-
self._cssSelector(fn, cssSel); // NB: The option is set inside this function, after further validity checks.
|
2400 |
-
});
|
2401 |
-
break;
|
2402 |
-
case "playbackRate" :
|
2403 |
-
this.options[key] = value = this._limitValue(value, this.options.minPlaybackRate, this.options.maxPlaybackRate);
|
2404 |
-
if(this.html.used) {
|
2405 |
-
this._html_setProperty('playbackRate', value);
|
2406 |
-
}
|
2407 |
-
this._updatePlaybackRate();
|
2408 |
-
break;
|
2409 |
-
case "defaultPlaybackRate" :
|
2410 |
-
this.options[key] = value = this._limitValue(value, this.options.minPlaybackRate, this.options.maxPlaybackRate);
|
2411 |
-
if(this.html.used) {
|
2412 |
-
this._html_setProperty('defaultPlaybackRate', value);
|
2413 |
-
}
|
2414 |
-
this._updatePlaybackRate();
|
2415 |
-
break;
|
2416 |
-
case "minPlaybackRate" :
|
2417 |
-
this.options[key] = value = this._limitValue(value, 0.1, this.options.maxPlaybackRate - 0.1);
|
2418 |
-
this._updatePlaybackRate();
|
2419 |
-
break;
|
2420 |
-
case "maxPlaybackRate" :
|
2421 |
-
this.options[key] = value = this._limitValue(value, this.options.minPlaybackRate + 0.1, 16);
|
2422 |
-
this._updatePlaybackRate();
|
2423 |
-
break;
|
2424 |
-
case "fullScreen" :
|
2425 |
-
if(this.options[key] !== value) { // if changed
|
2426 |
-
var wkv = $.jPlayer.nativeFeatures.fullscreen.used.webkitVideo;
|
2427 |
-
if(!wkv || wkv && !this.status.waitForPlay) {
|
2428 |
-
if(!wkv) { // No sensible way to unset option on these devices.
|
2429 |
-
this.options[key] = value;
|
2430 |
-
}
|
2431 |
-
if(value) {
|
2432 |
-
this._requestFullscreen();
|
2433 |
-
} else {
|
2434 |
-
this._exitFullscreen();
|
2435 |
-
}
|
2436 |
-
if(!wkv) {
|
2437 |
-
this._setOption("fullWindow", value);
|
2438 |
-
}
|
2439 |
-
}
|
2440 |
-
}
|
2441 |
-
break;
|
2442 |
-
case "fullWindow" :
|
2443 |
-
if(this.options[key] !== value) { // if changed
|
2444 |
-
this._removeUiClass();
|
2445 |
-
this.options[key] = value;
|
2446 |
-
this._refreshSize();
|
2447 |
-
}
|
2448 |
-
break;
|
2449 |
-
case "size" :
|
2450 |
-
if(!this.options.fullWindow && this.options[key].cssClass !== value.cssClass) {
|
2451 |
-
this._removeUiClass();
|
2452 |
-
}
|
2453 |
-
this.options[key] = $.extend({}, this.options[key], value); // store a merged copy of it, incase not all properties changed.
|
2454 |
-
this._refreshSize();
|
2455 |
-
break;
|
2456 |
-
case "sizeFull" :
|
2457 |
-
if(this.options.fullWindow && this.options[key].cssClass !== value.cssClass) {
|
2458 |
-
this._removeUiClass();
|
2459 |
-
}
|
2460 |
-
this.options[key] = $.extend({}, this.options[key], value); // store a merged copy of it, incase not all properties changed.
|
2461 |
-
this._refreshSize();
|
2462 |
-
break;
|
2463 |
-
case "autohide" :
|
2464 |
-
this.options[key] = $.extend({}, this.options[key], value); // store a merged copy of it, incase not all properties changed.
|
2465 |
-
this._updateAutohide();
|
2466 |
-
break;
|
2467 |
-
case "loop" :
|
2468 |
-
this._loop(value);
|
2469 |
-
break;
|
2470 |
-
case "remainingDuration" :
|
2471 |
-
this.options[key] = value;
|
2472 |
-
this._updateInterface();
|
2473 |
-
break;
|
2474 |
-
case "toggleDuration" :
|
2475 |
-
this.options[key] = value;
|
2476 |
-
break;
|
2477 |
-
case "nativeVideoControls" :
|
2478 |
-
this.options[key] = $.extend({}, this.options[key], value); // store a merged copy of it, incase not all properties changed.
|
2479 |
-
this.status.nativeVideoControls = this._uaBlocklist(this.options.nativeVideoControls);
|
2480 |
-
this._restrictNativeVideoControls();
|
2481 |
-
this._updateNativeVideoControls();
|
2482 |
-
break;
|
2483 |
-
case "noFullWindow" :
|
2484 |
-
this.options[key] = $.extend({}, this.options[key], value); // store a merged copy of it, incase not all properties changed.
|
2485 |
-
this.status.nativeVideoControls = this._uaBlocklist(this.options.nativeVideoControls); // Need to check again as noFullWindow can depend on this flag and the restrict() can override it.
|
2486 |
-
this.status.noFullWindow = this._uaBlocklist(this.options.noFullWindow);
|
2487 |
-
this._restrictNativeVideoControls();
|
2488 |
-
this._updateButtons();
|
2489 |
-
break;
|
2490 |
-
case "noVolume" :
|
2491 |
-
this.options[key] = $.extend({}, this.options[key], value); // store a merged copy of it, incase not all properties changed.
|
2492 |
-
this.status.noVolume = this._uaBlocklist(this.options.noVolume);
|
2493 |
-
this._updateVolume();
|
2494 |
-
this._updateMute();
|
2495 |
-
break;
|
2496 |
-
case "emulateHtml" :
|
2497 |
-
if(this.options[key] !== value) { // To avoid multiple event handlers being created, if true already.
|
2498 |
-
this.options[key] = value;
|
2499 |
-
if(value) {
|
2500 |
-
this._emulateHtmlBridge();
|
2501 |
-
} else {
|
2502 |
-
this._destroyHtmlBridge();
|
2503 |
-
}
|
2504 |
-
}
|
2505 |
-
break;
|
2506 |
-
case "timeFormat" :
|
2507 |
-
this.options[key] = $.extend({}, this.options[key], value); // store a merged copy of it, incase not all properties changed.
|
2508 |
-
break;
|
2509 |
-
case "keyEnabled" :
|
2510 |
-
this.options[key] = value;
|
2511 |
-
if(!value && this === $.jPlayer.focus) {
|
2512 |
-
$.jPlayer.focus = null;
|
2513 |
-
}
|
2514 |
-
break;
|
2515 |
-
case "keyBindings" :
|
2516 |
-
this.options[key] = $.extend(true, {}, this.options[key], value); // store a merged DEEP copy of it, incase not all properties changed.
|
2517 |
-
break;
|
2518 |
-
case "audioFullScreen" :
|
2519 |
-
this.options[key] = value;
|
2520 |
-
break;
|
2521 |
-
case "autoBlur" :
|
2522 |
-
this.options[key] = value;
|
2523 |
-
break;
|
2524 |
-
}
|
2525 |
-
|
2526 |
-
return this;
|
2527 |
-
},
|
2528 |
-
// End of: (Options code adapted from ui.widget.js)
|
2529 |
-
|
2530 |
-
_refreshSize: function() {
|
2531 |
-
this._setSize(); // update status and jPlayer element size
|
2532 |
-
this._addUiClass(); // update the ui class
|
2533 |
-
this._updateSize(); // update internal sizes
|
2534 |
-
this._updateButtons();
|
2535 |
-
this._updateAutohide();
|
2536 |
-
this._trigger($.jPlayer.event.resize);
|
2537 |
-
},
|
2538 |
-
_setSize: function() {
|
2539 |
-
// Determine the current size from the options
|
2540 |
-
if(this.options.fullWindow) {
|
2541 |
-
this.status.width = this.options.sizeFull.width;
|
2542 |
-
this.status.height = this.options.sizeFull.height;
|
2543 |
-
this.status.cssClass = this.options.sizeFull.cssClass;
|
2544 |
-
} else {
|
2545 |
-
this.status.width = this.options.size.width;
|
2546 |
-
this.status.height = this.options.size.height;
|
2547 |
-
this.status.cssClass = this.options.size.cssClass;
|
2548 |
-
}
|
2549 |
-
|
2550 |
-
// Set the size of the jPlayer area.
|
2551 |
-
this.element.css({'width': this.status.width, 'height': this.status.height});
|
2552 |
-
},
|
2553 |
-
_addUiClass: function() {
|
2554 |
-
if(this.ancestorJq.length) {
|
2555 |
-
this.ancestorJq.addClass(this.status.cssClass);
|
2556 |
-
}
|
2557 |
-
},
|
2558 |
-
_removeUiClass: function() {
|
2559 |
-
if(this.ancestorJq.length) {
|
2560 |
-
this.ancestorJq.removeClass(this.status.cssClass);
|
2561 |
-
}
|
2562 |
-
},
|
2563 |
-
_updateSize: function() {
|
2564 |
-
// The poster uses show/hide so can simply resize it.
|
2565 |
-
this.internal.poster.jq.css({'width': this.status.width, 'height': this.status.height});
|
2566 |
-
|
2567 |
-
// Video html or flash resized if necessary at this time, or if native video controls being used.
|
2568 |
-
if(!this.status.waitForPlay && this.html.active && this.status.video || this.html.video.available && this.html.used && this.status.nativeVideoControls) {
|
2569 |
-
this.internal.video.jq.css({'width': this.status.width, 'height': this.status.height});
|
2570 |
-
}
|
2571 |
-
else if(!this.status.waitForPlay && this.flash.active && this.status.video) {
|
2572 |
-
this.internal.flash.jq.css({'width': this.status.width, 'height': this.status.height});
|
2573 |
-
}
|
2574 |
-
},
|
2575 |
-
_updateAutohide: function() {
|
2576 |
-
var self = this,
|
2577 |
-
event = "mousemove.jPlayer",
|
2578 |
-
namespace = ".jPlayerAutohide",
|
2579 |
-
eventType = event + namespace,
|
2580 |
-
handler = function() {
|
2581 |
-
self.css.jq.gui.fadeIn(self.options.autohide.fadeIn, function() {
|
2582 |
-
clearTimeout(self.internal.autohideId);
|
2583 |
-
self.internal.autohideId = setTimeout( function() {
|
2584 |
-
self.css.jq.gui.fadeOut(self.options.autohide.fadeOut);
|
2585 |
-
}, self.options.autohide.hold);
|
2586 |
-
});
|
2587 |
-
};
|
2588 |
-
|
2589 |
-
if(this.css.jq.gui.length) {
|
2590 |
-
|
2591 |
-
// End animations first so that its callback is executed now.
|
2592 |
-
// Otherwise an in progress fadeIn animation still has the callback to fadeOut again.
|
2593 |
-
this.css.jq.gui.stop(true, true);
|
2594 |
-
|
2595 |
-
// Removes the fadeOut operation from the fadeIn callback.
|
2596 |
-
clearTimeout(this.internal.autohideId);
|
2597 |
-
|
2598 |
-
this.element.unbind(namespace);
|
2599 |
-
this.css.jq.gui.unbind(namespace);
|
2600 |
-
|
2601 |
-
if(!this.status.nativeVideoControls) {
|
2602 |
-
if(this.options.fullWindow && this.options.autohide.full || !this.options.fullWindow && this.options.autohide.restored) {
|
2603 |
-
this.element.bind(eventType, handler);
|
2604 |
-
this.css.jq.gui.bind(eventType, handler);
|
2605 |
-
this.css.jq.gui.hide();
|
2606 |
-
} else {
|
2607 |
-
this.css.jq.gui.show();
|
2608 |
-
}
|
2609 |
-
} else {
|
2610 |
-
this.css.jq.gui.hide();
|
2611 |
-
}
|
2612 |
-
}
|
2613 |
-
},
|
2614 |
-
fullScreen: function(event) {
|
2615 |
-
var guiAction = typeof event === "object"; // Flags GUI click events so we know this was not a direct command, but an action taken by the user on the GUI.
|
2616 |
-
if(guiAction && this.options.useStateClassSkin && this.options.fullScreen) {
|
2617 |
-
this._setOption("fullScreen", false);
|
2618 |
-
} else {
|
2619 |
-
this._setOption("fullScreen", true);
|
2620 |
-
}
|
2621 |
-
},
|
2622 |
-
restoreScreen: function() {
|
2623 |
-
this._setOption("fullScreen", false);
|
2624 |
-
},
|
2625 |
-
_fullscreenAddEventListeners: function() {
|
2626 |
-
var self = this,
|
2627 |
-
fs = $.jPlayer.nativeFeatures.fullscreen;
|
2628 |
-
|
2629 |
-
if(fs.api.fullscreenEnabled) {
|
2630 |
-
if(fs.event.fullscreenchange) {
|
2631 |
-
// Create the event handler function and store it for removal.
|
2632 |
-
if(typeof this.internal.fullscreenchangeHandler !== 'function') {
|
2633 |
-
this.internal.fullscreenchangeHandler = function() {
|
2634 |
-
self._fullscreenchange();
|
2635 |
-
};
|
2636 |
-
}
|
2637 |
-
document.addEventListener(fs.event.fullscreenchange, this.internal.fullscreenchangeHandler, false);
|
2638 |
-
}
|
2639 |
-
// No point creating handler for fullscreenerror.
|
2640 |
-
// Either logic avoids fullscreen occurring (w3c/moz), or their is no event on the browser (webkit).
|
2641 |
-
}
|
2642 |
-
},
|
2643 |
-
_fullscreenRemoveEventListeners: function() {
|
2644 |
-
var fs = $.jPlayer.nativeFeatures.fullscreen;
|
2645 |
-
if(this.internal.fullscreenchangeHandler) {
|
2646 |
-
document.removeEventListener(fs.event.fullscreenchange, this.internal.fullscreenchangeHandler, false);
|
2647 |
-
}
|
2648 |
-
},
|
2649 |
-
_fullscreenchange: function() {
|
2650 |
-
// If nothing is fullscreen, then we cannot be in fullscreen mode.
|
2651 |
-
if(this.options.fullScreen && !$.jPlayer.nativeFeatures.fullscreen.api.fullscreenElement()) {
|
2652 |
-
this._setOption("fullScreen", false);
|
2653 |
-
}
|
2654 |
-
},
|
2655 |
-
_requestFullscreen: function() {
|
2656 |
-
// Either the container or the jPlayer div
|
2657 |
-
var e = this.ancestorJq.length ? this.ancestorJq[0] : this.element[0],
|
2658 |
-
fs = $.jPlayer.nativeFeatures.fullscreen;
|
2659 |
-
|
2660 |
-
// This method needs the video element. For iOS and Android.
|
2661 |
-
if(fs.used.webkitVideo) {
|
2662 |
-
e = this.htmlElement.video;
|
2663 |
-
}
|
2664 |
-
|
2665 |
-
if(fs.api.fullscreenEnabled) {
|
2666 |
-
fs.api.requestFullscreen(e);
|
2667 |
-
}
|
2668 |
-
},
|
2669 |
-
_exitFullscreen: function() {
|
2670 |
-
|
2671 |
-
var fs = $.jPlayer.nativeFeatures.fullscreen,
|
2672 |
-
e;
|
2673 |
-
|
2674 |
-
// This method needs the video element. For iOS and Android.
|
2675 |
-
if(fs.used.webkitVideo) {
|
2676 |
-
e = this.htmlElement.video;
|
2677 |
-
}
|
2678 |
-
|
2679 |
-
if(fs.api.fullscreenEnabled) {
|
2680 |
-
fs.api.exitFullscreen(e);
|
2681 |
-
}
|
2682 |
-
},
|
2683 |
-
_html_initMedia: function(media) {
|
2684 |
-
// Remove any existing track elements
|
2685 |
-
var $media = $(this.htmlElement.media).empty();
|
2686 |
-
|
2687 |
-
// Create any track elements given with the media, as an Array of track Objects.
|
2688 |
-
$.each(media.track || [], function(i,v) {
|
2689 |
-
var track = document.createElement('track');
|
2690 |
-
track.setAttribute("kind", v.kind ? v.kind : "");
|
2691 |
-
track.setAttribute("src", v.src ? v.src : "");
|
2692 |
-
track.setAttribute("srclang", v.srclang ? v.srclang : "");
|
2693 |
-
track.setAttribute("label", v.label ? v.label : "");
|
2694 |
-
if(v.def) {
|
2695 |
-
track.setAttribute("default", v.def);
|
2696 |
-
}
|
2697 |
-
$media.append(track);
|
2698 |
-
});
|
2699 |
-
|
2700 |
-
this.htmlElement.media.src = this.status.src;
|
2701 |
-
|
2702 |
-
if(this.options.preload !== 'none') {
|
2703 |
-
this._html_load(); // See function for comments
|
2704 |
-
}
|
2705 |
-
this._trigger($.jPlayer.event.timeupdate); // The flash generates this event for its solution.
|
2706 |
-
},
|
2707 |
-
_html_setFormat: function(media) {
|
2708 |
-
var self = this;
|
2709 |
-
// Always finds a format due to checks in setMedia()
|
2710 |
-
$.each(this.formats, function(priority, format) {
|
2711 |
-
if(self.html.support[format] && media[format]) {
|
2712 |
-
self.status.src = media[format];
|
2713 |
-
self.status.format[format] = true;
|
2714 |
-
self.status.formatType = format;
|
2715 |
-
return false;
|
2716 |
-
}
|
2717 |
-
});
|
2718 |
-
},
|
2719 |
-
_html_setAudio: function(media) {
|
2720 |
-
this._html_setFormat(media);
|
2721 |
-
this.htmlElement.media = this.htmlElement.audio;
|
2722 |
-
this._html_initMedia(media);
|
2723 |
-
},
|
2724 |
-
_html_setVideo: function(media) {
|
2725 |
-
this._html_setFormat(media);
|
2726 |
-
if(this.status.nativeVideoControls) {
|
2727 |
-
this.htmlElement.video.poster = this._validString(media.poster) ? media.poster : "";
|
2728 |
-
}
|
2729 |
-
this.htmlElement.media = this.htmlElement.video;
|
2730 |
-
this._html_initMedia(media);
|
2731 |
-
},
|
2732 |
-
_html_resetMedia: function() {
|
2733 |
-
if(this.htmlElement.media) {
|
2734 |
-
if(this.htmlElement.media.id === this.internal.video.id && !this.status.nativeVideoControls) {
|
2735 |
-
this.internal.video.jq.css({'width':'0px', 'height':'0px'});
|
2736 |
-
}
|
2737 |
-
this.htmlElement.media.pause();
|
2738 |
-
}
|
2739 |
-
},
|
2740 |
-
_html_clearMedia: function() {
|
2741 |
-
if(this.htmlElement.media) {
|
2742 |
-
this.htmlElement.media.src = "about:blank";
|
2743 |
-
// The following load() is only required for Firefox 3.6 (PowerMacs).
|
2744 |
-
// Recent HTMl5 browsers only require the src change. Due to changes in W3C spec and load() effect.
|
2745 |
-
this.htmlElement.media.load(); // Stops an old, "in progress" download from continuing the download. Triggers the loadstart, error and emptied events, due to the empty src. Also an abort event if a download was in progress.
|
2746 |
-
}
|
2747 |
-
},
|
2748 |
-
_html_load: function() {
|
2749 |
-
// This function remains to allow the early HTML5 browsers to work, such as Firefox 3.6
|
2750 |
-
// A change in the W3C spec for the media.load() command means that this is no longer necessary.
|
2751 |
-
// This command should be removed and actually causes minor undesirable effects on some browsers. Such as loading the whole file and not only the metadata.
|
2752 |
-
if(this.status.waitForLoad) {
|
2753 |
-
this.status.waitForLoad = false;
|
2754 |
-
this.htmlElement.media.load();
|
2755 |
-
}
|
2756 |
-
clearTimeout(this.internal.htmlDlyCmdId);
|
2757 |
-
},
|
2758 |
-
_html_play: function(time) {
|
2759 |
-
var self = this,
|
2760 |
-
media = this.htmlElement.media;
|
2761 |
-
|
2762 |
-
this.androidFix.pause = false; // Cancel the pause fix.
|
2763 |
-
|
2764 |
-
this._html_load(); // Loads if required and clears any delayed commands.
|
2765 |
-
|
2766 |
-
// Setup the Android Fix.
|
2767 |
-
if(this.androidFix.setMedia) {
|
2768 |
-
this.androidFix.play = true;
|
2769 |
-
this.androidFix.time = time;
|
2770 |
-
|
2771 |
-
} else if(!isNaN(time)) {
|
2772 |
-
|
2773 |
-
// Attempt to play it, since iOS has been ignoring commands
|
2774 |
-
if(this.internal.cmdsIgnored) {
|
2775 |
-
media.play();
|
2776 |
-
}
|
2777 |
-
|
2778 |
-
try {
|
2779 |
-
// !media.seekable is for old HTML5 browsers, like Firefox 3.6.
|
2780 |
-
// Checking seekable.length is important for iOS6 to work with setMedia().play(time)
|
2781 |
-
if(!media.seekable || typeof media.seekable === "object" && media.seekable.length > 0) {
|
2782 |
-
media.currentTime = time;
|
2783 |
-
media.play();
|
2784 |
-
} else {
|
2785 |
-
throw 1;
|
2786 |
-
}
|
2787 |
-
} catch(err) {
|
2788 |
-
this.internal.htmlDlyCmdId = setTimeout(function() {
|
2789 |
-
self.play(time);
|
2790 |
-
}, 250);
|
2791 |
-
return; // Cancel execution and wait for the delayed command.
|
2792 |
-
}
|
2793 |
-
} else {
|
2794 |
-
media.play();
|
2795 |
-
}
|
2796 |
-
this._html_checkWaitForPlay();
|
2797 |
-
},
|
2798 |
-
_html_pause: function(time) {
|
2799 |
-
var self = this,
|
2800 |
-
media = this.htmlElement.media;
|
2801 |
-
|
2802 |
-
this.androidFix.play = false; // Cancel the play fix.
|
2803 |
-
|
2804 |
-
if(time > 0) { // We do not want the stop() command, which does pause(0), causing a load operation.
|
2805 |
-
this._html_load(); // Loads if required and clears any delayed commands.
|
2806 |
-
} else {
|
2807 |
-
clearTimeout(this.internal.htmlDlyCmdId);
|
2808 |
-
}
|
2809 |
-
|
2810 |
-
// Order of these commands is important for Safari (Win) and IE9. Pause then change currentTime.
|
2811 |
-
media.pause();
|
2812 |
-
|
2813 |
-
// Setup the Android Fix.
|
2814 |
-
if(this.androidFix.setMedia) {
|
2815 |
-
this.androidFix.pause = true;
|
2816 |
-
this.androidFix.time = time;
|
2817 |
-
|
2818 |
-
} else if(!isNaN(time)) {
|
2819 |
-
try {
|
2820 |
-
if(!media.seekable || typeof media.seekable === "object" && media.seekable.length > 0) {
|
2821 |
-
media.currentTime = time;
|
2822 |
-
} else {
|
2823 |
-
throw 1;
|
2824 |
-
}
|
2825 |
-
} catch(err) {
|
2826 |
-
this.internal.htmlDlyCmdId = setTimeout(function() {
|
2827 |
-
self.pause(time);
|
2828 |
-
}, 250);
|
2829 |
-
return; // Cancel execution and wait for the delayed command.
|
2830 |
-
}
|
2831 |
-
}
|
2832 |
-
if(time > 0) { // Avoids a setMedia() followed by stop() or pause(0) hiding the video play button.
|
2833 |
-
this._html_checkWaitForPlay();
|
2834 |
-
}
|
2835 |
-
},
|
2836 |
-
_html_playHead: function(percent) {
|
2837 |
-
var self = this,
|
2838 |
-
media = this.htmlElement.media;
|
2839 |
-
|
2840 |
-
this._html_load(); // Loads if required and clears any delayed commands.
|
2841 |
-
|
2842 |
-
// This playHead() method needs a refactor to apply the android fix.
|
2843 |
-
|
2844 |
-
try {
|
2845 |
-
if(typeof media.seekable === "object" && media.seekable.length > 0) {
|
2846 |
-
media.currentTime = percent * media.seekable.end(media.seekable.length-1) / 100;
|
2847 |
-
} else if(media.duration > 0 && !isNaN(media.duration)) {
|
2848 |
-
media.currentTime = percent * media.duration / 100;
|
2849 |
-
} else {
|
2850 |
-
throw "e";
|
2851 |
-
}
|
2852 |
-
} catch(err) {
|
2853 |
-
this.internal.htmlDlyCmdId = setTimeout(function() {
|
2854 |
-
self.playHead(percent);
|
2855 |
-
}, 250);
|
2856 |
-
return; // Cancel execution and wait for the delayed command.
|
2857 |
-
}
|
2858 |
-
if(!this.status.waitForLoad) {
|
2859 |
-
this._html_checkWaitForPlay();
|
2860 |
-
}
|
2861 |
-
},
|
2862 |
-
_html_checkWaitForPlay: function() {
|
2863 |
-
if(this.status.waitForPlay) {
|
2864 |
-
this.status.waitForPlay = false;
|
2865 |
-
if(this.css.jq.videoPlay.length) {
|
2866 |
-
this.css.jq.videoPlay.hide();
|
2867 |
-
}
|
2868 |
-
if(this.status.video) {
|
2869 |
-
this.internal.poster.jq.hide();
|
2870 |
-
this.internal.video.jq.css({'width': this.status.width, 'height': this.status.height});
|
2871 |
-
}
|
2872 |
-
}
|
2873 |
-
},
|
2874 |
-
_html_setProperty: function(property, value) {
|
2875 |
-
if(this.html.audio.available) {
|
2876 |
-
this.htmlElement.audio[property] = value;
|
2877 |
-
}
|
2878 |
-
if(this.html.video.available) {
|
2879 |
-
this.htmlElement.video[property] = value;
|
2880 |
-
}
|
2881 |
-
},
|
2882 |
-
_flash_setAudio: function(media) {
|
2883 |
-
var self = this;
|
2884 |
-
try {
|
2885 |
-
// Always finds a format due to checks in setMedia()
|
2886 |
-
$.each(this.formats, function(priority, format) {
|
2887 |
-
if(self.flash.support[format] && media[format]) {
|
2888 |
-
switch (format) {
|
2889 |
-
case "m4a" :
|
2890 |
-
case "fla" :
|
2891 |
-
self._getMovie().fl_setAudio_m4a(media[format]);
|
2892 |
-
break;
|
2893 |
-
case "mp3" :
|
2894 |
-
self._getMovie().fl_setAudio_mp3(media[format]);
|
2895 |
-
break;
|
2896 |
-
case "rtmpa":
|
2897 |
-
self._getMovie().fl_setAudio_rtmp(media[format]);
|
2898 |
-
break;
|
2899 |
-
}
|
2900 |
-
self.status.src = media[format];
|
2901 |
-
self.status.format[format] = true;
|
2902 |
-
self.status.formatType = format;
|
2903 |
-
return false;
|
2904 |
-
}
|
2905 |
-
});
|
2906 |
-
|
2907 |
-
if(this.options.preload === 'auto') {
|
2908 |
-
this._flash_load();
|
2909 |
-
this.status.waitForLoad = false;
|
2910 |
-
}
|
2911 |
-
} catch(err) { this._flashError(err); }
|
2912 |
-
},
|
2913 |
-
_flash_setVideo: function(media) {
|
2914 |
-
var self = this;
|
2915 |
-
try {
|
2916 |
-
// Always finds a format due to checks in setMedia()
|
2917 |
-
$.each(this.formats, function(priority, format) {
|
2918 |
-
if(self.flash.support[format] && media[format]) {
|
2919 |
-
switch (format) {
|
2920 |
-
case "m4v" :
|
2921 |
-
case "flv" :
|
2922 |
-
self._getMovie().fl_setVideo_m4v(media[format]);
|
2923 |
-
break;
|
2924 |
-
case "rtmpv":
|
2925 |
-
self._getMovie().fl_setVideo_rtmp(media[format]);
|
2926 |
-
break;
|
2927 |
-
}
|
2928 |
-
self.status.src = media[format];
|
2929 |
-
self.status.format[format] = true;
|
2930 |
-
self.status.formatType = format;
|
2931 |
-
return false;
|
2932 |
-
}
|
2933 |
-
});
|
2934 |
-
|
2935 |
-
if(this.options.preload === 'auto') {
|
2936 |
-
this._flash_load();
|
2937 |
-
this.status.waitForLoad = false;
|
2938 |
-
}
|
2939 |
-
} catch(err) { this._flashError(err); }
|
2940 |
-
},
|
2941 |
-
_flash_resetMedia: function() {
|
2942 |
-
this.internal.flash.jq.css({'width':'0px', 'height':'0px'}); // Must do via CSS as setting attr() to zero causes a jQuery error in IE.
|
2943 |
-
this._flash_pause(NaN);
|
2944 |
-
},
|
2945 |
-
_flash_clearMedia: function() {
|
2946 |
-
try {
|
2947 |
-
this._getMovie().fl_clearMedia();
|
2948 |
-
} catch(err) { this._flashError(err); }
|
2949 |
-
},
|
2950 |
-
_flash_load: function() {
|
2951 |
-
try {
|
2952 |
-
this._getMovie().fl_load();
|
2953 |
-
} catch(err) { this._flashError(err); }
|
2954 |
-
this.status.waitForLoad = false;
|
2955 |
-
},
|
2956 |
-
_flash_play: function(time) {
|
2957 |
-
try {
|
2958 |
-
this._getMovie().fl_play(time);
|
2959 |
-
} catch(err) { this._flashError(err); }
|
2960 |
-
this.status.waitForLoad = false;
|
2961 |
-
this._flash_checkWaitForPlay();
|
2962 |
-
},
|
2963 |
-
_flash_pause: function(time) {
|
2964 |
-
try {
|
2965 |
-
this._getMovie().fl_pause(time);
|
2966 |
-
} catch(err) { this._flashError(err); }
|
2967 |
-
if(time > 0) { // Avoids a setMedia() followed by stop() or pause(0) hiding the video play button.
|
2968 |
-
this.status.waitForLoad = false;
|
2969 |
-
this._flash_checkWaitForPlay();
|
2970 |
-
}
|
2971 |
-
},
|
2972 |
-
_flash_playHead: function(p) {
|
2973 |
-
try {
|
2974 |
-
this._getMovie().fl_play_head(p);
|
2975 |
-
} catch(err) { this._flashError(err); }
|
2976 |
-
if(!this.status.waitForLoad) {
|
2977 |
-
this._flash_checkWaitForPlay();
|
2978 |
-
}
|
2979 |
-
},
|
2980 |
-
_flash_checkWaitForPlay: function() {
|
2981 |
-
if(this.status.waitForPlay) {
|
2982 |
-
this.status.waitForPlay = false;
|
2983 |
-
if(this.css.jq.videoPlay.length) {
|
2984 |
-
this.css.jq.videoPlay.hide();
|
2985 |
-
}
|
2986 |
-
if(this.status.video) {
|
2987 |
-
this.internal.poster.jq.hide();
|
2988 |
-
this.internal.flash.jq.css({'width': this.status.width, 'height': this.status.height});
|
2989 |
-
}
|
2990 |
-
}
|
2991 |
-
},
|
2992 |
-
_flash_volume: function(v) {
|
2993 |
-
try {
|
2994 |
-
this._getMovie().fl_volume(v);
|
2995 |
-
} catch(err) { this._flashError(err); }
|
2996 |
-
},
|
2997 |
-
_flash_mute: function(m) {
|
2998 |
-
try {
|
2999 |
-
this._getMovie().fl_mute(m);
|
3000 |
-
} catch(err) { this._flashError(err); }
|
3001 |
-
},
|
3002 |
-
_getMovie: function() {
|
3003 |
-
return document[this.internal.flash.id];
|
3004 |
-
},
|
3005 |
-
_getFlashPluginVersion: function() {
|
3006 |
-
|
3007 |
-
// _getFlashPluginVersion() code influenced by:
|
3008 |
-
// - FlashReplace 1.01: http://code.google.com/p/flashreplace/
|
3009 |
-
// - SWFObject 2.2: http://code.google.com/p/swfobject/
|
3010 |
-
|
3011 |
-
var version = 0,
|
3012 |
-
flash;
|
3013 |
-
if(window.ActiveXObject) {
|
3014 |
-
try {
|
3015 |
-
flash = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
|
3016 |
-
if (flash) { // flash will return null when ActiveX is disabled
|
3017 |
-
var v = flash.GetVariable("$version");
|
3018 |
-
if(v) {
|
3019 |
-
v = v.split(" ")[1].split(",");
|
3020 |
-
version = parseInt(v[0], 10) + "." + parseInt(v[1], 10);
|
3021 |
-
}
|
3022 |
-
}
|
3023 |
-
} catch(e) {}
|
3024 |
-
}
|
3025 |
-
else if(navigator.plugins && navigator.mimeTypes.length > 0) {
|
3026 |
-
flash = navigator.plugins["Shockwave Flash"];
|
3027 |
-
if(flash) {
|
3028 |
-
version = navigator.plugins["Shockwave Flash"].description.replace(/.*\s(\d+\.\d+).*/, "$1");
|
3029 |
-
}
|
3030 |
-
}
|
3031 |
-
return version * 1; // Converts to a number
|
3032 |
-
},
|
3033 |
-
_checkForFlash: function (version) {
|
3034 |
-
var flashOk = false;
|
3035 |
-
if(this._getFlashPluginVersion() >= version) {
|
3036 |
-
flashOk = true;
|
3037 |
-
}
|
3038 |
-
return flashOk;
|
3039 |
-
},
|
3040 |
-
_validString: function(url) {
|
3041 |
-
return (url && typeof url === "string"); // Empty strings return false
|
3042 |
-
},
|
3043 |
-
_limitValue: function(value, min, max) {
|
3044 |
-
return (value < min) ? min : ((value > max) ? max : value);
|
3045 |
-
},
|
3046 |
-
_urlNotSetError: function(context) {
|
3047 |
-
this._error( {
|
3048 |
-
type: $.jPlayer.error.URL_NOT_SET,
|
3049 |
-
context: context,
|
3050 |
-
message: $.jPlayer.errorMsg.URL_NOT_SET,
|
3051 |
-
hint: $.jPlayer.errorHint.URL_NOT_SET
|
3052 |
-
});
|
3053 |
-
},
|
3054 |
-
_flashError: function(error) {
|
3055 |
-
var errorType;
|
3056 |
-
if(!this.internal.ready) {
|
3057 |
-
errorType = "FLASH";
|
3058 |
-
} else {
|
3059 |
-
errorType = "FLASH_DISABLED";
|
3060 |
-
}
|
3061 |
-
this._error( {
|
3062 |
-
type: $.jPlayer.error[errorType],
|
3063 |
-
context: this.internal.flash.swf,
|
3064 |
-
message: $.jPlayer.errorMsg[errorType] + error.message,
|
3065 |
-
hint: $.jPlayer.errorHint[errorType]
|
3066 |
-
});
|
3067 |
-
// Allow the audio player to recover if display:none and then shown again, or with position:fixed on Firefox.
|
3068 |
-
// This really only affects audio in a media player, as an audio player could easily move the jPlayer element away from such issues.
|
3069 |
-
this.internal.flash.jq.css({'width':'1px', 'height':'1px'});
|
3070 |
-
},
|
3071 |
-
_error: function(error) {
|
3072 |
-
this._trigger($.jPlayer.event.error, error);
|
3073 |
-
if(this.options.errorAlerts) {
|
3074 |
-
this._alert("Error!" + (error.message ? "\n" + error.message : "") + (error.hint ? "\n" + error.hint : "") + "\nContext: " + error.context);
|
3075 |
-
}
|
3076 |
-
},
|
3077 |
-
_warning: function(warning) {
|
3078 |
-
this._trigger($.jPlayer.event.warning, undefined, warning);
|
3079 |
-
if(this.options.warningAlerts) {
|
3080 |
-
this._alert("Warning!" + (warning.message ? "\n" + warning.message : "") + (warning.hint ? "\n" + warning.hint : "") + "\nContext: " + warning.context);
|
3081 |
-
}
|
3082 |
-
},
|
3083 |
-
_alert: function(message) {
|
3084 |
-
var msg = "jPlayer " + this.version.script + " : id='" + this.internal.self.id +"' : " + message;
|
3085 |
-
if(!this.options.consoleAlerts) {
|
3086 |
-
alert(msg);
|
3087 |
-
} else if(window.console && window.console.log) {
|
3088 |
-
window.console.log(msg);
|
3089 |
-
}
|
3090 |
-
},
|
3091 |
-
_emulateHtmlBridge: function() {
|
3092 |
-
var self = this;
|
3093 |
-
|
3094 |
-
// Emulate methods on jPlayer's DOM element.
|
3095 |
-
$.each( $.jPlayer.emulateMethods.split(/\s+/g), function(i, name) {
|
3096 |
-
self.internal.domNode[name] = function(arg) {
|
3097 |
-
self[name](arg);
|
3098 |
-
};
|
3099 |
-
|
3100 |
-
});
|
3101 |
-
|
3102 |
-
// Bubble jPlayer events to its DOM element.
|
3103 |
-
$.each($.jPlayer.event, function(eventName,eventType) {
|
3104 |
-
var nativeEvent = true;
|
3105 |
-
$.each( $.jPlayer.reservedEvent.split(/\s+/g), function(i, name) {
|
3106 |
-
if(name === eventName) {
|
3107 |
-
nativeEvent = false;
|
3108 |
-
return false;
|
3109 |
-
}
|
3110 |
-
});
|
3111 |
-
if(nativeEvent) {
|
3112 |
-
self.element.bind(eventType + ".jPlayer.jPlayerHtml", function() { // With .jPlayer & .jPlayerHtml namespaces.
|
3113 |
-
self._emulateHtmlUpdate();
|
3114 |
-
var domEvent = document.createEvent("Event");
|
3115 |
-
domEvent.initEvent(eventName, false, true);
|
3116 |
-
self.internal.domNode.dispatchEvent(domEvent);
|
3117 |
-
});
|
3118 |
-
}
|
3119 |
-
// The error event would require a special case
|
3120 |
-
});
|
3121 |
-
|
3122 |
-
// IE9 has a readyState property on all elements. The document should have it, but all (except media) elements inherit it in IE9. This conflicts with Popcorn, which polls the readyState.
|
3123 |
-
},
|
3124 |
-
_emulateHtmlUpdate: function() {
|
3125 |
-
var self = this;
|
3126 |
-
|
3127 |
-
$.each( $.jPlayer.emulateStatus.split(/\s+/g), function(i, name) {
|
3128 |
-
self.internal.domNode[name] = self.status[name];
|
3129 |
-
});
|
3130 |
-
$.each( $.jPlayer.emulateOptions.split(/\s+/g), function(i, name) {
|
3131 |
-
self.internal.domNode[name] = self.options[name];
|
3132 |
-
});
|
3133 |
-
},
|
3134 |
-
_destroyHtmlBridge: function() {
|
3135 |
-
var self = this;
|
3136 |
-
|
3137 |
-
// Bridge event handlers are also removed by destroy() through .jPlayer namespace.
|
3138 |
-
this.element.unbind(".jPlayerHtml"); // Remove all event handlers created by the jPlayer bridge. So you can change the emulateHtml option.
|
3139 |
-
|
3140 |
-
// Remove the methods and properties
|
3141 |
-
var emulated = $.jPlayer.emulateMethods + " " + $.jPlayer.emulateStatus + " " + $.jPlayer.emulateOptions;
|
3142 |
-
$.each( emulated.split(/\s+/g), function(i, name) {
|
3143 |
-
delete self.internal.domNode[name];
|
3144 |
-
});
|
3145 |
-
}
|
3146 |
-
};
|
3147 |
-
|
3148 |
-
$.jPlayer.error = {
|
3149 |
-
FLASH: "e_flash",
|
3150 |
-
FLASH_DISABLED: "e_flash_disabled",
|
3151 |
-
NO_SOLUTION: "e_no_solution",
|
3152 |
-
NO_SUPPORT: "e_no_support",
|
3153 |
-
URL: "e_url",
|
3154 |
-
URL_NOT_SET: "e_url_not_set",
|
3155 |
-
VERSION: "e_version"
|
3156 |
-
};
|
3157 |
-
|
3158 |
-
$.jPlayer.errorMsg = {
|
3159 |
-
FLASH: "jPlayer's Flash fallback is not configured correctly, or a command was issued before the jPlayer Ready event. Details: ", // Used in: _flashError()
|
3160 |
-
FLASH_DISABLED: "jPlayer's Flash fallback has been disabled by the browser due to the CSS rules you have used. Details: ", // Used in: _flashError()
|
3161 |
-
NO_SOLUTION: "No solution can be found by jPlayer in this browser. Neither HTML nor Flash can be used.", // Used in: _init()
|
3162 |
-
NO_SUPPORT: "It is not possible to play any media format provided in setMedia() on this browser using your current options.", // Used in: setMedia()
|
3163 |
-
URL: "Media URL could not be loaded.", // Used in: jPlayerFlashEvent() and _addHtmlEventListeners()
|
3164 |
-
URL_NOT_SET: "Attempt to issue media playback commands, while no media url is set.", // Used in: load(), play(), pause(), stop() and playHead()
|
3165 |
-
VERSION: "jPlayer " + $.jPlayer.prototype.version.script + " needs Jplayer.swf version " + $.jPlayer.prototype.version.needFlash + " but found " // Used in: jPlayerReady()
|
3166 |
-
};
|
3167 |
-
|
3168 |
-
$.jPlayer.errorHint = {
|
3169 |
-
FLASH: "Check your swfPath option and that Jplayer.swf is there.",
|
3170 |
-
FLASH_DISABLED: "Check that you have not display:none; the jPlayer entity or any ancestor.",
|
3171 |
-
NO_SOLUTION: "Review the jPlayer options: support and supplied.",
|
3172 |
-
NO_SUPPORT: "Video or audio formats defined in the supplied option are missing.",
|
3173 |
-
URL: "Check media URL is valid.",
|
3174 |
-
URL_NOT_SET: "Use setMedia() to set the media URL.",
|
3175 |
-
VERSION: "Update jPlayer files."
|
3176 |
-
};
|
3177 |
-
|
3178 |
-
$.jPlayer.warning = {
|
3179 |
-
CSS_SELECTOR_COUNT: "e_css_selector_count",
|
3180 |
-
CSS_SELECTOR_METHOD: "e_css_selector_method",
|
3181 |
-
CSS_SELECTOR_STRING: "e_css_selector_string",
|
3182 |
-
OPTION_KEY: "e_option_key"
|
3183 |
-
};
|
3184 |
-
|
3185 |
-
$.jPlayer.warningMsg = {
|
3186 |
-
CSS_SELECTOR_COUNT: "The number of css selectors found did not equal one: ",
|
3187 |
-
CSS_SELECTOR_METHOD: "The methodName given in jPlayer('cssSelector') is not a valid jPlayer method.",
|
3188 |
-
CSS_SELECTOR_STRING: "The methodCssSelector given in jPlayer('cssSelector') is not a String or is empty.",
|
3189 |
-
OPTION_KEY: "The option requested in jPlayer('option') is undefined."
|
3190 |
-
};
|
3191 |
-
|
3192 |
-
$.jPlayer.warningHint = {
|
3193 |
-
CSS_SELECTOR_COUNT: "Check your css selector and the ancestor.",
|
3194 |
-
CSS_SELECTOR_METHOD: "Check your method name.",
|
3195 |
-
CSS_SELECTOR_STRING: "Check your css selector is a string.",
|
3196 |
-
OPTION_KEY: "Check your option name."
|
3197 |
-
};
|
3198 |
-
}));
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|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
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
js/jquery.jplayer.min.2.7.1.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
!function(t,e){"function"==typeof define&&define.amd?define(["jquery"],e):e(t.jQuery?t.jQuery:t.Zepto)}(this,function(t,e){t.fn.jPlayer=function(s){var i="jPlayer",a="string"==typeof s,n=Array.prototype.slice.call(arguments,1),o=this;return s=!a&&n.length?t.extend.apply(null,[!0,s].concat(n)):s,a&&"_"===s.charAt(0)?o:(this.each(a?function(){var a=t(this).data(i),r=a&&t.isFunction(a[s])?a[s].apply(a,n):a;return r!==a&&r!==e?(o=r,!1):void 0}:function(){var e=t(this).data(i);e?e.option(s||{}):t(this).data(i,new t.jPlayer(s,this))}),o)},t.jPlayer=function(e,s){if(arguments.length){this.element=t(s),this.options=t.extend(!0,{},this.options,e);var i=this;this.element.bind("remove.jPlayer",function(){i.destroy()}),this._init()}},"function"!=typeof t.fn.stop&&(t.fn.stop=function(){}),t.jPlayer.emulateMethods="load play pause",t.jPlayer.emulateStatus="src readyState networkState currentTime duration paused ended playbackRate",t.jPlayer.emulateOptions="muted volume",t.jPlayer.reservedEvent="ready flashreset resize repeat error warning",t.jPlayer.event={},t.each(["ready","setmedia","flashreset","resize","repeat","click","error","warning","loadstart","progress","suspend","abort","emptied","stalled","play","pause","loadedmetadata","loadeddata","waiting","playing","canplay","canplaythrough","seeking","seeked","timeupdate","ended","ratechange","durationchange","volumechange"],function(){t.jPlayer.event[this]="jPlayer_"+this}),t.jPlayer.htmlEvent=["loadstart","abort","emptied","stalled","loadedmetadata","canplay","canplaythrough"],t.jPlayer.pause=function(){t.each(t.jPlayer.prototype.instances,function(t,e){e.data("jPlayer").status.srcSet&&e.jPlayer("pause")})},t.jPlayer.timeFormat={showHour:!1,showMin:!0,showSec:!0,padHour:!1,padMin:!0,padSec:!0,sepHour:":",sepMin:":",sepSec:""};var s=function(){this.init()};s.prototype={init:function(){this.options={timeFormat:t.jPlayer.timeFormat}},time:function(t){t=t&&"number"==typeof t?t:0;var e=new Date(1e3*t),s=e.getUTCHours(),i=this.options.timeFormat.showHour?e.getUTCMinutes():e.getUTCMinutes()+60*s,a=this.options.timeFormat.showMin?e.getUTCSeconds():e.getUTCSeconds()+60*i,n=this.options.timeFormat.padHour&&10>s?"0"+s:s,o=this.options.timeFormat.padMin&&10>i?"0"+i:i,r=this.options.timeFormat.padSec&&10>a?"0"+a:a,l="";return l+=this.options.timeFormat.showHour?n+this.options.timeFormat.sepHour:"",l+=this.options.timeFormat.showMin?o+this.options.timeFormat.sepMin:"",l+=this.options.timeFormat.showSec?r+this.options.timeFormat.sepSec:""}};var i=new s;t.jPlayer.convertTime=function(t){return i.time(t)},t.jPlayer.uaBrowser=function(t){var e=t.toLowerCase(),s=/(webkit)[ \/]([\w.]+)/,i=/(opera)(?:.*version)?[ \/]([\w.]+)/,a=/(msie) ([\w.]+)/,n=/(mozilla)(?:.*? rv:([\w.]+))?/,o=s.exec(e)||i.exec(e)||a.exec(e)||e.indexOf("compatible")<0&&n.exec(e)||[];return{browser:o[1]||"",version:o[2]||"0"}},t.jPlayer.uaPlatform=function(t){var e=t.toLowerCase(),s=/(ipad|iphone|ipod|android|blackberry|playbook|windows ce|webos)/,i=/(ipad|playbook)/,a=/(android)/,n=/(mobile)/,o=s.exec(e)||[],r=i.exec(e)||!n.exec(e)&&a.exec(e)||[];return o[1]&&(o[1]=o[1].replace(/\s/g,"_")),{platform:o[1]||"",tablet:r[1]||""}},t.jPlayer.browser={},t.jPlayer.platform={};var a=t.jPlayer.uaBrowser(navigator.userAgent);a.browser&&(t.jPlayer.browser[a.browser]=!0,t.jPlayer.browser.version=a.version);var n=t.jPlayer.uaPlatform(navigator.userAgent);n.platform&&(t.jPlayer.platform[n.platform]=!0,t.jPlayer.platform.mobile=!n.tablet,t.jPlayer.platform.tablet=!!n.tablet),t.jPlayer.getDocMode=function(){var e;return t.jPlayer.browser.msie&&(document.documentMode?e=document.documentMode:(e=5,document.compatMode&&"CSS1Compat"===document.compatMode&&(e=7))),e},t.jPlayer.browser.documentMode=t.jPlayer.getDocMode(),t.jPlayer.nativeFeatures={init:function(){var t,e,s,i=document,a=i.createElement("video"),n={w3c:["fullscreenEnabled","fullscreenElement","requestFullscreen","exitFullscreen","fullscreenchange","fullscreenerror"],moz:["mozFullScreenEnabled","mozFullScreenElement","mozRequestFullScreen","mozCancelFullScreen","mozfullscreenchange","mozfullscreenerror"],webkit:["","webkitCurrentFullScreenElement","webkitRequestFullScreen","webkitCancelFullScreen","webkitfullscreenchange",""],webkitVideo:["webkitSupportsFullscreen","webkitDisplayingFullscreen","webkitEnterFullscreen","webkitExitFullscreen","",""]},o=["w3c","moz","webkit","webkitVideo"];for(this.fullscreen=t={support:{w3c:!!i[n.w3c[0]],moz:!!i[n.moz[0]],webkit:"function"==typeof i[n.webkit[3]],webkitVideo:"function"==typeof a[n.webkitVideo[2]]},used:{}},e=0,s=o.length;s>e;e++){var r=o[e];if(t.support[r]){t.spec=r,t.used[r]=!0;break}}if(t.spec){var l=n[t.spec];t.api={fullscreenEnabled:!0,fullscreenElement:function(t){return t=t?t:i,t[l[1]]},requestFullscreen:function(t){return t[l[2]]()},exitFullscreen:function(t){return t=t?t:i,t[l[3]]()}},t.event={fullscreenchange:l[4],fullscreenerror:l[5]}}else t.api={fullscreenEnabled:!1,fullscreenElement:function(){return null},requestFullscreen:function(){},exitFullscreen:function(){}},t.event={}}},t.jPlayer.nativeFeatures.init(),t.jPlayer.focus=null,t.jPlayer.keyIgnoreElementNames="A INPUT TEXTAREA SELECT BUTTON";var o=function(e){var s,i=t.jPlayer.focus,a=document.activeElement;i&&("undefined"!=typeof a?null!==a&&"BODY"!==a.nodeName.toUpperCase()&&(s=!0):t.each(t.jPlayer.keyIgnoreElementNames.split(/\s+/g),function(t,i){return e.target.nodeName.toUpperCase()===i.toUpperCase()?(s=!0,!1):void 0}),s||t.each(i.options.keyBindings,function(s,a){return a&&e.which===a.key&&t.isFunction(a.fn)?(e.preventDefault(),a.fn(i),!1):void 0}))};t.jPlayer.keys=function(e){var s="keydown.jPlayer";t(document.documentElement).unbind(s),e&&t(document.documentElement).bind(s,o)},t.jPlayer.keys(!0),t.jPlayer.prototype={count:0,version:{script:"2.7.1",needFlash:"2.7.0",flash:"unknown"},options:{swfPath:"js",solution:"html, flash",supplied:"mp3",preload:"metadata",volume:.8,muted:!1,remainingDuration:!1,toggleDuration:!1,captureDuration:!0,playbackRate:1,defaultPlaybackRate:1,minPlaybackRate:.5,maxPlaybackRate:4,wmode:"opaque",backgroundColor:"#000000",cssSelectorAncestor:"#jp_container_1",cssSelector:{videoPlay:".jp-video-play",play:".jp-play",pause:".jp-pause",stop:".jp-stop",seekBar:".jp-seek-bar",playBar:".jp-play-bar",mute:".jp-mute",unmute:".jp-unmute",volumeBar:".jp-volume-bar",volumeBarValue:".jp-volume-bar-value",volumeMax:".jp-volume-max",playbackRateBar:".jp-playback-rate-bar",playbackRateBarValue:".jp-playback-rate-bar-value",currentTime:".jp-current-time",duration:".jp-duration",title:".jp-title",fullScreen:".jp-full-screen",restoreScreen:".jp-restore-screen",repeat:".jp-repeat",repeatOff:".jp-repeat-off",gui:".jp-gui",noSolution:".jp-no-solution"},stateClass:{playing:"jp-state-playing",seeking:"jp-state-seeking",muted:"jp-state-muted",looped:"jp-state-looped",fullScreen:"jp-state-full-screen"},useStateClassSkin:!1,autoBlur:!0,smoothPlayBar:!1,fullScreen:!1,fullWindow:!1,autohide:{restored:!1,full:!0,fadeIn:200,fadeOut:600,hold:1e3},loop:!1,repeat:function(e){e.jPlayer.options.loop?t(this).unbind(".jPlayerRepeat").bind(t.jPlayer.event.ended+".jPlayer.jPlayerRepeat",function(){t(this).jPlayer("play")}):t(this).unbind(".jPlayerRepeat")},nativeVideoControls:{},noFullWindow:{msie:/msie [0-6]\./,ipad:/ipad.*?os [0-4]\./,iphone:/iphone/,ipod:/ipod/,android_pad:/android [0-3]\.(?!.*?mobile)/,android_phone:/android.*?mobile/,blackberry:/blackberry/,windows_ce:/windows ce/,iemobile:/iemobile/,webos:/webos/},noVolume:{ipad:/ipad/,iphone:/iphone/,ipod:/ipod/,android_pad:/android(?!.*?mobile)/,android_phone:/android.*?mobile/,blackberry:/blackberry/,windows_ce:/windows ce/,iemobile:/iemobile/,webos:/webos/,playbook:/playbook/},timeFormat:{},keyEnabled:!1,audioFullScreen:!1,keyBindings:{play:{key:32,fn:function(t){t.status.paused?t.play():t.pause()}},fullScreen:{key:13,fn:function(t){(t.status.video||t.options.audioFullScreen)&&t._setOption("fullScreen",!t.options.fullScreen)}},muted:{key:8,fn:function(t){t._muted(!t.options.muted)}},volumeUp:{key:38,fn:function(t){t.volume(t.options.volume+.1)}},volumeDown:{key:40,fn:function(t){t.volume(t.options.volume-.1)}}},verticalVolume:!1,verticalPlaybackRate:!1,globalVolume:!1,idPrefix:"jp",noConflict:"jQuery",emulateHtml:!1,consoleAlerts:!0,errorAlerts:!1,warningAlerts:!1},optionsAudio:{size:{width:"0px",height:"0px",cssClass:""},sizeFull:{width:"0px",height:"0px",cssClass:""}},optionsVideo:{size:{width:"480px",height:"270px",cssClass:"jp-video-270p"},sizeFull:{width:"100%",height:"100%",cssClass:"jp-video-full"}},instances:{},status:{src:"",media:{},paused:!0,format:{},formatType:"",waitForPlay:!0,waitForLoad:!0,srcSet:!1,video:!1,seekPercent:0,currentPercentRelative:0,currentPercentAbsolute:0,currentTime:0,duration:0,remaining:0,videoWidth:0,videoHeight:0,readyState:0,networkState:0,playbackRate:1,ended:0},internal:{ready:!1},solution:{html:!0,flash:!0},format:{mp3:{codec:"audio/mpeg",flashCanPlay:!0,media:"audio"},m4a:{codec:'audio/mp4; codecs="mp4a.40.2"',flashCanPlay:!0,media:"audio"},m3u8a:{codec:'application/vnd.apple.mpegurl; codecs="mp4a.40.2"',flashCanPlay:!1,media:"audio"},m3ua:{codec:"audio/mpegurl",flashCanPlay:!1,media:"audio"},oga:{codec:'audio/ogg; codecs="vorbis, opus"',flashCanPlay:!1,media:"audio"},flac:{codec:"audio/x-flac",flashCanPlay:!1,media:"audio"},wav:{codec:'audio/wav; codecs="1"',flashCanPlay:!1,media:"audio"},webma:{codec:'audio/webm; codecs="vorbis"',flashCanPlay:!1,media:"audio"},fla:{codec:"audio/x-flv",flashCanPlay:!0,media:"audio"},rtmpa:{codec:'audio/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"audio"},m4v:{codec:'video/mp4; codecs="avc1.42E01E, mp4a.40.2"',flashCanPlay:!0,media:"video"},m3u8v:{codec:'application/vnd.apple.mpegurl; codecs="avc1.42E01E, mp4a.40.2"',flashCanPlay:!1,media:"video"},m3uv:{codec:"audio/mpegurl",flashCanPlay:!1,media:"video"},ogv:{codec:'video/ogg; codecs="theora, vorbis"',flashCanPlay:!1,media:"video"},webmv:{codec:'video/webm; codecs="vorbis, vp8"',flashCanPlay:!1,media:"video"},flv:{codec:"video/x-flv",flashCanPlay:!0,media:"video"},rtmpv:{codec:'video/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"video"}},_init:function(){var s=this;if(this.element.empty(),this.status=t.extend({},this.status),this.internal=t.extend({},this.internal),this.options.timeFormat=t.extend({},t.jPlayer.timeFormat,this.options.timeFormat),this.internal.cmdsIgnored=t.jPlayer.platform.ipad||t.jPlayer.platform.iphone||t.jPlayer.platform.ipod,this.internal.domNode=this.element.get(0),this.options.keyEnabled&&!t.jPlayer.focus&&(t.jPlayer.focus=this),this.androidFix={setMedia:!1,play:!1,pause:!1,time:0/0},t.jPlayer.platform.android&&(this.options.preload="auto"!==this.options.preload?"metadata":"auto"),this.formats=[],this.solutions=[],this.require={},this.htmlElement={},this.html={},this.html.audio={},this.html.video={},this.flash={},this.css={},this.css.cs={},this.css.jq={},this.ancestorJq=[],this.options.volume=this._limitValue(this.options.volume,0,1),t.each(this.options.supplied.toLowerCase().split(","),function(e,i){var a=i.replace(/^\s+|\s+$/g,"");if(s.format[a]){var n=!1;t.each(s.formats,function(t,e){return a===e?(n=!0,!1):void 0}),n||s.formats.push(a)}}),t.each(this.options.solution.toLowerCase().split(","),function(e,i){var a=i.replace(/^\s+|\s+$/g,"");if(s.solution[a]){var n=!1;t.each(s.solutions,function(t,e){return a===e?(n=!0,!1):void 0}),n||s.solutions.push(a)}}),this.internal.instance="jp_"+this.count,this.instances[this.internal.instance]=this.element,this.element.attr("id")||this.element.attr("id",this.options.idPrefix+"_jplayer_"+this.count),this.internal.self=t.extend({},{id:this.element.attr("id"),jq:this.element}),this.internal.audio=t.extend({},{id:this.options.idPrefix+"_audio_"+this.count,jq:e}),this.internal.video=t.extend({},{id:this.options.idPrefix+"_video_"+this.count,jq:e}),this.internal.flash=t.extend({},{id:this.options.idPrefix+"_flash_"+this.count,jq:e,swf:this.options.swfPath+(".swf"!==this.options.swfPath.toLowerCase().slice(-4)?(this.options.swfPath&&"/"!==this.options.swfPath.slice(-1)?"/":"")+"Jplayer.swf":"")}),this.internal.poster=t.extend({},{id:this.options.idPrefix+"_poster_"+this.count,jq:e}),t.each(t.jPlayer.event,function(t,i){s.options[t]!==e&&(s.element.bind(i+".jPlayer",s.options[t]),s.options[t]=e)}),this.require.audio=!1,this.require.video=!1,t.each(this.formats,function(t,e){s.require[s.format[e].media]=!0}),this.options=this.require.video?t.extend(!0,{},this.optionsVideo,this.options):t.extend(!0,{},this.optionsAudio,this.options),this._setSize(),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this.status.noFullWindow=this._uaBlocklist(this.options.noFullWindow),this.status.noVolume=this._uaBlocklist(this.options.noVolume),t.jPlayer.nativeFeatures.fullscreen.api.fullscreenEnabled&&this._fullscreenAddEventListeners(),this._restrictNativeVideoControls(),this.htmlElement.poster=document.createElement("img"),this.htmlElement.poster.id=this.internal.poster.id,this.htmlElement.poster.onload=function(){(!s.status.video||s.status.waitForPlay)&&s.internal.poster.jq.show()},this.element.append(this.htmlElement.poster),this.internal.poster.jq=t("#"+this.internal.poster.id),this.internal.poster.jq.css({width:this.status.width,height:this.status.height}),this.internal.poster.jq.hide(),this.internal.poster.jq.bind("click.jPlayer",function(){s._trigger(t.jPlayer.event.click)}),this.html.audio.available=!1,this.require.audio&&(this.htmlElement.audio=document.createElement("audio"),this.htmlElement.audio.id=this.internal.audio.id,this.html.audio.available=!!this.htmlElement.audio.canPlayType&&this._testCanPlayType(this.htmlElement.audio)),this.html.video.available=!1,this.require.video&&(this.htmlElement.video=document.createElement("video"),this.htmlElement.video.id=this.internal.video.id,this.html.video.available=!!this.htmlElement.video.canPlayType&&this._testCanPlayType(this.htmlElement.video)),this.flash.available=this._checkForFlash(10.1),this.html.canPlay={},this.flash.canPlay={},t.each(this.formats,function(t,e){s.html.canPlay[e]=s.html[s.format[e].media].available&&""!==s.htmlElement[s.format[e].media].canPlayType(s.format[e].codec),s.flash.canPlay[e]=s.format[e].flashCanPlay&&s.flash.available}),this.html.desired=!1,this.flash.desired=!1,t.each(this.solutions,function(e,i){if(0===e)s[i].desired=!0;else{var a=!1,n=!1;t.each(s.formats,function(t,e){s[s.solutions[0]].canPlay[e]&&("video"===s.format[e].media?n=!0:a=!0)}),s[i].desired=s.require.audio&&!a||s.require.video&&!n}}),this.html.support={},this.flash.support={},t.each(this.formats,function(t,e){s.html.support[e]=s.html.canPlay[e]&&s.html.desired,s.flash.support[e]=s.flash.canPlay[e]&&s.flash.desired}),this.html.used=!1,this.flash.used=!1,t.each(this.solutions,function(e,i){t.each(s.formats,function(t,e){return s[i].support[e]?(s[i].used=!0,!1):void 0})}),this._resetActive(),this._resetGate(),this._cssSelectorAncestor(this.options.cssSelectorAncestor),this.html.used||this.flash.used?this.css.jq.noSolution.length&&this.css.jq.noSolution.hide():(this._error({type:t.jPlayer.error.NO_SOLUTION,context:"{solution:'"+this.options.solution+"', supplied:'"+this.options.supplied+"'}",message:t.jPlayer.errorMsg.NO_SOLUTION,hint:t.jPlayer.errorHint.NO_SOLUTION}),this.css.jq.noSolution.length&&this.css.jq.noSolution.show()),this.flash.used){var i,a="jQuery="+encodeURI(this.options.noConflict)+"&id="+encodeURI(this.internal.self.id)+"&vol="+this.options.volume+"&muted="+this.options.muted;if(t.jPlayer.browser.msie&&(Number(t.jPlayer.browser.version)<9||t.jPlayer.browser.documentMode<9)){var n='<object id="'+this.internal.flash.id+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="0" height="0" tabindex="-1"></object>',o=['<param name="movie" value="'+this.internal.flash.swf+'" />','<param name="FlashVars" value="'+a+'" />','<param name="allowScriptAccess" value="always" />','<param name="bgcolor" value="'+this.options.backgroundColor+'" />','<param name="wmode" value="'+this.options.wmode+'" />'];i=document.createElement(n);for(var r=0;r<o.length;r++)i.appendChild(document.createElement(o[r]))}else{var l=function(t,e,s){var i=document.createElement("param");i.setAttribute("name",e),i.setAttribute("value",s),t.appendChild(i)};i=document.createElement("object"),i.setAttribute("id",this.internal.flash.id),i.setAttribute("name",this.internal.flash.id),i.setAttribute("data",this.internal.flash.swf),i.setAttribute("type","application/x-shockwave-flash"),i.setAttribute("width","1"),i.setAttribute("height","1"),i.setAttribute("tabindex","-1"),l(i,"flashvars",a),l(i,"allowscriptaccess","always"),l(i,"bgcolor",this.options.backgroundColor),l(i,"wmode",this.options.wmode)}this.element.append(i),this.internal.flash.jq=t(i)}this.status.playbackRateEnabled=this.html.used&&!this.flash.used?this._testPlaybackRate("audio"):!1,this._updatePlaybackRate(),this.html.used&&(this.html.audio.available&&(this._addHtmlEventListeners(this.htmlElement.audio,this.html.audio),this.element.append(this.htmlElement.audio),this.internal.audio.jq=t("#"+this.internal.audio.id)),this.html.video.available&&(this._addHtmlEventListeners(this.htmlElement.video,this.html.video),this.element.append(this.htmlElement.video),this.internal.video.jq=t("#"+this.internal.video.id),this.internal.video.jq.css(this.status.nativeVideoControls?{width:this.status.width,height:this.status.height}:{width:"0px",height:"0px"}),this.internal.video.jq.bind("click.jPlayer",function(){s._trigger(t.jPlayer.event.click)}))),this.options.emulateHtml&&this._emulateHtmlBridge(),this.html.used&&!this.flash.used&&setTimeout(function(){s.internal.ready=!0,s.version.flash="n/a",s._trigger(t.jPlayer.event.repeat),s._trigger(t.jPlayer.event.ready)},100),this._updateNativeVideoControls(),this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),t.jPlayer.prototype.count++},destroy:function(){this.clearMedia(),this._removeUiClass(),this.css.jq.currentTime.length&&this.css.jq.currentTime.text(""),this.css.jq.duration.length&&this.css.jq.duration.text(""),t.each(this.css.jq,function(t,e){e.length&&e.unbind(".jPlayer")}),this.internal.poster.jq.unbind(".jPlayer"),this.internal.video.jq&&this.internal.video.jq.unbind(".jPlayer"),this._fullscreenRemoveEventListeners(),this===t.jPlayer.focus&&(t.jPlayer.focus=null),this.options.emulateHtml&&this._destroyHtmlBridge(),this.element.removeData("jPlayer"),this.element.unbind(".jPlayer"),this.element.empty(),delete this.instances[this.internal.instance]},enable:function(){},disable:function(){},_testCanPlayType:function(t){try{return t.canPlayType(this.format.mp3.codec),!0}catch(e){return!1}},_testPlaybackRate:function(t){var e,s=.5;t="string"==typeof t?t:"audio",e=document.createElement(t);try{return"playbackRate"in e?(e.playbackRate=s,e.playbackRate===s):!1}catch(i){return!1}},_uaBlocklist:function(e){var s=navigator.userAgent.toLowerCase(),i=!1;return t.each(e,function(t,e){return e&&e.test(s)?(i=!0,!1):void 0}),i},_restrictNativeVideoControls:function(){this.require.audio&&this.status.nativeVideoControls&&(this.status.nativeVideoControls=!1,this.status.noFullWindow=!0)},_updateNativeVideoControls:function(){this.html.video.available&&this.html.used&&(this.htmlElement.video.controls=this.status.nativeVideoControls,this._updateAutohide(),this.status.nativeVideoControls&&this.require.video?(this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height})):this.status.waitForPlay&&this.status.video&&(this.internal.poster.jq.show(),this.internal.video.jq.css({width:"0px",height:"0px"})))},_addHtmlEventListeners:function(e,s){var i=this;e.preload=this.options.preload,e.muted=this.options.muted,e.volume=this.options.volume,this.status.playbackRateEnabled&&(e.defaultPlaybackRate=this.options.defaultPlaybackRate,e.playbackRate=this.options.playbackRate),e.addEventListener("progress",function(){s.gate&&(i.internal.cmdsIgnored&&this.readyState>0&&(i.internal.cmdsIgnored=!1),i._getHtmlStatus(e),i._updateInterface(),i._trigger(t.jPlayer.event.progress))},!1),e.addEventListener("loadeddata",function(){s.gate&&(i.androidFix.setMedia=!1,i.androidFix.play&&(i.androidFix.play=!1,i.play(i.androidFix.time)),i.androidFix.pause&&(i.androidFix.pause=!1,i.pause(i.androidFix.time)),i._trigger(t.jPlayer.event.loadeddata))},!1),e.addEventListener("timeupdate",function(){s.gate&&(i._getHtmlStatus(e),i._updateInterface(),i._trigger(t.jPlayer.event.timeupdate))},!1),e.addEventListener("durationchange",function(){s.gate&&(i._getHtmlStatus(e),i._updateInterface(),i._trigger(t.jPlayer.event.durationchange))},!1),e.addEventListener("play",function(){s.gate&&(i._updateButtons(!0),i._html_checkWaitForPlay(),i._trigger(t.jPlayer.event.play))},!1),e.addEventListener("playing",function(){s.gate&&(i._updateButtons(!0),i._seeked(),i._trigger(t.jPlayer.event.playing))},!1),e.addEventListener("pause",function(){s.gate&&(i._updateButtons(!1),i._trigger(t.jPlayer.event.pause))},!1),e.addEventListener("waiting",function(){s.gate&&(i._seeking(),i._trigger(t.jPlayer.event.waiting))},!1),e.addEventListener("seeking",function(){s.gate&&(i._seeking(),i._trigger(t.jPlayer.event.seeking))},!1),e.addEventListener("seeked",function(){s.gate&&(i._seeked(),i._trigger(t.jPlayer.event.seeked))},!1),e.addEventListener("volumechange",function(){s.gate&&(i.options.volume=e.volume,i.options.muted=e.muted,i._updateMute(),i._updateVolume(),i._trigger(t.jPlayer.event.volumechange))},!1),e.addEventListener("ratechange",function(){s.gate&&(i.options.defaultPlaybackRate=e.defaultPlaybackRate,i.options.playbackRate=e.playbackRate,i._updatePlaybackRate(),i._trigger(t.jPlayer.event.ratechange))},!1),e.addEventListener("suspend",function(){s.gate&&(i._seeked(),i._trigger(t.jPlayer.event.suspend))},!1),e.addEventListener("ended",function(){s.gate&&(t.jPlayer.browser.webkit||(i.htmlElement.media.currentTime=0),i.htmlElement.media.pause(),i._updateButtons(!1),i._getHtmlStatus(e,!0),i._updateInterface(),i._trigger(t.jPlayer.event.ended))},!1),e.addEventListener("error",function(){s.gate&&(i._updateButtons(!1),i._seeked(),i.status.srcSet&&(clearTimeout(i.internal.htmlDlyCmdId),i.status.waitForLoad=!0,i.status.waitForPlay=!0,i.status.video&&!i.status.nativeVideoControls&&i.internal.video.jq.css({width:"0px",height:"0px"}),i._validString(i.status.media.poster)&&!i.status.nativeVideoControls&&i.internal.poster.jq.show(),i.css.jq.videoPlay.length&&i.css.jq.videoPlay.show(),i._error({type:t.jPlayer.error.URL,context:i.status.src,message:t.jPlayer.errorMsg.URL,hint:t.jPlayer.errorHint.URL})))},!1),t.each(t.jPlayer.htmlEvent,function(a,n){e.addEventListener(this,function(){s.gate&&i._trigger(t.jPlayer.event[n])},!1)})},_getHtmlStatus:function(t,e){var s=0,i=0,a=0,n=0;isFinite(t.duration)&&(this.status.duration=t.duration),s=t.currentTime,i=this.status.duration>0?100*s/this.status.duration:0,"object"==typeof t.seekable&&t.seekable.length>0?(a=this.status.duration>0?100*t.seekable.end(t.seekable.length-1)/this.status.duration:100,n=this.status.duration>0?100*t.currentTime/t.seekable.end(t.seekable.length-1):0):(a=100,n=i),e&&(s=0,n=0,i=0),this.status.seekPercent=a,this.status.currentPercentRelative=n,this.status.currentPercentAbsolute=i,this.status.currentTime=s,this.status.remaining=this.status.duration-this.status.currentTime,this.status.videoWidth=t.videoWidth,this.status.videoHeight=t.videoHeight,this.status.readyState=t.readyState,this.status.networkState=t.networkState,this.status.playbackRate=t.playbackRate,this.status.ended=t.ended},_resetStatus:function(){this.status=t.extend({},this.status,t.jPlayer.prototype.status)},_trigger:function(e,s,i){var a=t.Event(e);a.jPlayer={},a.jPlayer.version=t.extend({},this.version),a.jPlayer.options=t.extend(!0,{},this.options),a.jPlayer.status=t.extend(!0,{},this.status),a.jPlayer.html=t.extend(!0,{},this.html),a.jPlayer.flash=t.extend(!0,{},this.flash),s&&(a.jPlayer.error=t.extend({},s)),i&&(a.jPlayer.warning=t.extend({},i)),this.element.trigger(a)},jPlayerFlashEvent:function(e,s){if(e===t.jPlayer.event.ready)if(this.internal.ready){if(this.flash.gate){if(this.status.srcSet){var i=this.status.currentTime,a=this.status.paused;this.setMedia(this.status.media),this.volumeWorker(this.options.volume),i>0&&(a?this.pause(i):this.play(i))}this._trigger(t.jPlayer.event.flashreset)}}else this.internal.ready=!0,this.internal.flash.jq.css({width:"0px",height:"0px"}),this.version.flash=s.version,this.version.needFlash!==this.version.flash&&this._error({type:t.jPlayer.error.VERSION,context:this.version.flash,message:t.jPlayer.errorMsg.VERSION+this.version.flash,hint:t.jPlayer.errorHint.VERSION}),this._trigger(t.jPlayer.event.repeat),this._trigger(e);if(this.flash.gate)switch(e){case t.jPlayer.event.progress:this._getFlashStatus(s),this._updateInterface(),this._trigger(e);break;case t.jPlayer.event.timeupdate:this._getFlashStatus(s),this._updateInterface(),this._trigger(e);break;case t.jPlayer.event.play:this._seeked(),this._updateButtons(!0),this._trigger(e);break;case t.jPlayer.event.pause:this._updateButtons(!1),this._trigger(e);break;case t.jPlayer.event.ended:this._updateButtons(!1),this._trigger(e);break;case t.jPlayer.event.click:this._trigger(e);break;case t.jPlayer.event.error:this.status.waitForLoad=!0,this.status.waitForPlay=!0,this.status.video&&this.internal.flash.jq.css({width:"0px",height:"0px"}),this._validString(this.status.media.poster)&&this.internal.poster.jq.show(),this.css.jq.videoPlay.length&&this.status.video&&this.css.jq.videoPlay.show(),this.status.video?this._flash_setVideo(this.status.media):this._flash_setAudio(this.status.media),this._updateButtons(!1),this._error({type:t.jPlayer.error.URL,context:s.src,message:t.jPlayer.errorMsg.URL,hint:t.jPlayer.errorHint.URL});break;case t.jPlayer.event.seeking:this._seeking(),this._trigger(e);break;case t.jPlayer.event.seeked:this._seeked(),this._trigger(e);break;case t.jPlayer.event.ready:break;default:this._trigger(e)}return!1},_getFlashStatus:function(t){this.status.seekPercent=t.seekPercent,this.status.currentPercentRelative=t.currentPercentRelative,this.status.currentPercentAbsolute=t.currentPercentAbsolute,this.status.currentTime=t.currentTime,this.status.duration=t.duration,this.status.remaining=t.duration-t.currentTime,this.status.videoWidth=t.videoWidth,this.status.videoHeight=t.videoHeight,this.status.readyState=4,this.status.networkState=0,this.status.playbackRate=1,this.status.ended=!1},_updateButtons:function(t){t===e?t=!this.status.paused:this.status.paused=!t,t?this.addStateClass("playing"):this.removeStateClass("playing"),!this.status.noFullWindow&&this.options.fullWindow?this.addStateClass("fullScreen"):this.removeStateClass("fullScreen"),this.options.loop?this.addStateClass("looped"):this.removeStateClass("looped"),this.css.jq.play.length&&this.css.jq.pause.length&&(t?(this.css.jq.play.hide(),this.css.jq.pause.show()):(this.css.jq.play.show(),this.css.jq.pause.hide())),this.css.jq.restoreScreen.length&&this.css.jq.fullScreen.length&&(this.status.noFullWindow?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.hide()):this.options.fullWindow?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.show()):(this.css.jq.fullScreen.show(),this.css.jq.restoreScreen.hide())),this.css.jq.repeat.length&&this.css.jq.repeatOff.length&&(this.options.loop?(this.css.jq.repeat.hide(),this.css.jq.repeatOff.show()):(this.css.jq.repeat.show(),this.css.jq.repeatOff.hide()))},_updateInterface:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.width(this.status.seekPercent+"%"),this.css.jq.playBar.length&&(this.options.smoothPlayBar?this.css.jq.playBar.stop().animate({width:this.status.currentPercentAbsolute+"%"},250,"linear"):this.css.jq.playBar.width(this.status.currentPercentRelative+"%"));var t="";this.css.jq.currentTime.length&&(t=this._convertTime(this.status.currentTime),t!==this.css.jq.currentTime.text()&&this.css.jq.currentTime.text(this._convertTime(this.status.currentTime)));var e="",s=this.status.duration,i=this.status.remaining;this.css.jq.duration.length&&("string"==typeof this.status.media.duration?e=this.status.media.duration:("number"==typeof this.status.media.duration&&(s=this.status.media.duration,i=s-this.status.currentTime),e=this.options.remainingDuration?(i>0?"-":"")+this._convertTime(i):this._convertTime(s)),e!==this.css.jq.duration.text()&&this.css.jq.duration.text(e))},_convertTime:s.prototype.time,_seeking:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.addClass("jp-seeking-bg"),this.addStateClass("seeking")},_seeked:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.removeClass("jp-seeking-bg"),this.removeStateClass("seeking")},_resetGate:function(){this.html.audio.gate=!1,this.html.video.gate=!1,this.flash.gate=!1},_resetActive:function(){this.html.active=!1,this.flash.active=!1},_escapeHtml:function(t){return t.split("&").join("&").split("<").join("<").split(">").join(">").split('"').join(""")},_qualifyURL:function(t){var e=document.createElement("div");return e.innerHTML='<a href="'+this._escapeHtml(t)+'">x</a>',e.firstChild.href},_absoluteMediaUrls:function(e){var s=this;return t.each(e,function(t,i){i&&s.format[t]&&(e[t]=s._qualifyURL(i))}),e},addStateClass:function(t){this.ancestorJq.length&&this.ancestorJq.addClass(this.options.stateClass[t])},removeStateClass:function(t){this.ancestorJq.length&&this.ancestorJq.removeClass(this.options.stateClass[t])},setMedia:function(e){var s=this,i=!1,a=this.status.media.poster!==e.poster;this._resetMedia(),this._resetGate(),this._resetActive(),this.androidFix.setMedia=!1,this.androidFix.play=!1,this.androidFix.pause=!1,e=this._absoluteMediaUrls(e),t.each(this.formats,function(a,n){var o="video"===s.format[n].media;return t.each(s.solutions,function(a,r){if(s[r].support[n]&&s._validString(e[n])){var l="html"===r;return o?(l?(s.html.video.gate=!0,s._html_setVideo(e),s.html.active=!0):(s.flash.gate=!0,s._flash_setVideo(e),s.flash.active=!0),s.css.jq.videoPlay.length&&s.css.jq.videoPlay.show(),s.status.video=!0):(l?(s.html.audio.gate=!0,s._html_setAudio(e),s.html.active=!0,t.jPlayer.platform.android&&(s.androidFix.setMedia=!0)):(s.flash.gate=!0,s._flash_setAudio(e),s.flash.active=!0),s.css.jq.videoPlay.length&&s.css.jq.videoPlay.hide(),s.status.video=!1),i=!0,!1}}),i?!1:void 0}),i?(this.status.nativeVideoControls&&this.html.video.gate||this._validString(e.poster)&&(a?this.htmlElement.poster.src=e.poster:this.internal.poster.jq.show()),this.css.jq.title.length&&"string"==typeof e.title&&(this.css.jq.title.html(e.title),this.htmlElement.audio&&this.htmlElement.audio.setAttribute("title",e.title),this.htmlElement.video&&this.htmlElement.video.setAttribute("title",e.title)),this.status.srcSet=!0,this.status.media=t.extend({},e),this._updateButtons(!1),this._updateInterface(),this._trigger(t.jPlayer.event.setmedia)):this._error({type:t.jPlayer.error.NO_SUPPORT,context:"{supplied:'"+this.options.supplied+"'}",message:t.jPlayer.errorMsg.NO_SUPPORT,hint:t.jPlayer.errorHint.NO_SUPPORT})},_resetMedia:function(){this._resetStatus(),this._updateButtons(!1),this._updateInterface(),this._seeked(),this.internal.poster.jq.hide(),clearTimeout(this.internal.htmlDlyCmdId),this.html.active?this._html_resetMedia():this.flash.active&&this._flash_resetMedia()},clearMedia:function(){this._resetMedia(),this.html.active?this._html_clearMedia():this.flash.active&&this._flash_clearMedia(),this._resetGate(),this._resetActive()},load:function(){this.status.srcSet?this.html.active?this._html_load():this.flash.active&&this._flash_load():this._urlNotSetError("load")},focus:function(){this.options.keyEnabled&&(t.jPlayer.focus=this)},play:function(t){var e="object"==typeof t;e&&this.options.useStateClassSkin&&!this.status.paused?this.pause(t):(t="number"==typeof t?t:0/0,this.status.srcSet?(this.focus(),this.html.active?this._html_play(t):this.flash.active&&this._flash_play(t)):this._urlNotSetError("play"))},videoPlay:function(){this.play()
|
2 |
Â
},pause:function(t){t="number"==typeof t?t:0/0,this.status.srcSet?this.html.active?this._html_pause(t):this.flash.active&&this._flash_pause(t):this._urlNotSetError("pause")},tellOthers:function(e,s){var i=this,a="function"==typeof s,n=Array.prototype.slice.call(arguments);"string"==typeof e&&(a&&n.splice(1,1),t.each(this.instances,function(){i.element!==this&&(!a||s.call(this.data("jPlayer"),i))&&this.jPlayer.apply(this,n)}))},pauseOthers:function(t){this.tellOthers("pause",function(){return this.status.srcSet},t)},stop:function(){this.status.srcSet?this.html.active?this._html_pause(0):this.flash.active&&this._flash_pause(0):this._urlNotSetError("stop")},playHead:function(t){t=this._limitValue(t,0,100),this.status.srcSet?this.html.active?this._html_playHead(t):this.flash.active&&this._flash_playHead(t):this._urlNotSetError("playHead")},_muted:function(t){this.mutedWorker(t),this.options.globalVolume&&this.tellOthers("mutedWorker",function(){return this.options.globalVolume},t)},mutedWorker:function(e){this.options.muted=e,this.html.used&&this._html_setProperty("muted",e),this.flash.used&&this._flash_mute(e),this.html.video.gate||this.html.audio.gate||(this._updateMute(e),this._updateVolume(this.options.volume),this._trigger(t.jPlayer.event.volumechange))},mute:function(t){var s="object"==typeof t;s&&this.options.useStateClassSkin&&this.options.muted?this._muted(!1):(t=t===e?!0:!!t,this._muted(t))},unmute:function(t){t=t===e?!0:!!t,this._muted(!t)},_updateMute:function(t){t===e&&(t=this.options.muted),t?this.addStateClass("muted"):this.removeStateClass("muted"),this.css.jq.mute.length&&this.css.jq.unmute.length&&(this.status.noVolume?(this.css.jq.mute.hide(),this.css.jq.unmute.hide()):t?(this.css.jq.mute.hide(),this.css.jq.unmute.show()):(this.css.jq.mute.show(),this.css.jq.unmute.hide()))},volume:function(t){this.volumeWorker(t),this.options.globalVolume&&this.tellOthers("volumeWorker",function(){return this.options.globalVolume},t)},volumeWorker:function(e){e=this._limitValue(e,0,1),this.options.volume=e,this.html.used&&this._html_setProperty("volume",e),this.flash.used&&this._flash_volume(e),this.html.video.gate||this.html.audio.gate||(this._updateVolume(e),this._trigger(t.jPlayer.event.volumechange))},volumeBar:function(e){if(this.css.jq.volumeBar.length){var s=t(e.currentTarget),i=s.offset(),a=e.pageX-i.left,n=s.width(),o=s.height()-e.pageY+i.top,r=s.height();this.volume(this.options.verticalVolume?o/r:a/n)}this.options.muted&&this._muted(!1)},_updateVolume:function(t){t===e&&(t=this.options.volume),t=this.options.muted?0:t,this.status.noVolume?(this.css.jq.volumeBar.length&&this.css.jq.volumeBar.hide(),this.css.jq.volumeBarValue.length&&this.css.jq.volumeBarValue.hide(),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.hide()):(this.css.jq.volumeBar.length&&this.css.jq.volumeBar.show(),this.css.jq.volumeBarValue.length&&(this.css.jq.volumeBarValue.show(),this.css.jq.volumeBarValue[this.options.verticalVolume?"height":"width"](100*t+"%")),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.show())},volumeMax:function(){this.volume(1),this.options.muted&&this._muted(!1)},_cssSelectorAncestor:function(e){var s=this;this.options.cssSelectorAncestor=e,this._removeUiClass(),this.ancestorJq=e?t(e):[],e&&1!==this.ancestorJq.length&&this._warning({type:t.jPlayer.warning.CSS_SELECTOR_COUNT,context:e,message:t.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.ancestorJq.length+" found for cssSelectorAncestor.",hint:t.jPlayer.warningHint.CSS_SELECTOR_COUNT}),this._addUiClass(),t.each(this.options.cssSelector,function(t,e){s._cssSelector(t,e)}),this._updateInterface(),this._updateButtons(),this._updateAutohide(),this._updateVolume(),this._updateMute()},_cssSelector:function(e,s){var i=this;if("string"==typeof s)if(t.jPlayer.prototype.options.cssSelector[e]){if(this.css.jq[e]&&this.css.jq[e].length&&this.css.jq[e].unbind(".jPlayer"),this.options.cssSelector[e]=s,this.css.cs[e]=this.options.cssSelectorAncestor+" "+s,this.css.jq[e]=s?t(this.css.cs[e]):[],this.css.jq[e].length&&this[e]){var a=function(s){s.preventDefault(),i[e](s),i.options.autoBlur&&t(this).blur()};this.css.jq[e].bind("click.jPlayer",a)}s&&1!==this.css.jq[e].length&&this._warning({type:t.jPlayer.warning.CSS_SELECTOR_COUNT,context:this.css.cs[e],message:t.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.css.jq[e].length+" found for "+e+" method.",hint:t.jPlayer.warningHint.CSS_SELECTOR_COUNT})}else this._warning({type:t.jPlayer.warning.CSS_SELECTOR_METHOD,context:e,message:t.jPlayer.warningMsg.CSS_SELECTOR_METHOD,hint:t.jPlayer.warningHint.CSS_SELECTOR_METHOD});else this._warning({type:t.jPlayer.warning.CSS_SELECTOR_STRING,context:s,message:t.jPlayer.warningMsg.CSS_SELECTOR_STRING,hint:t.jPlayer.warningHint.CSS_SELECTOR_STRING})},duration:function(t){this.options.toggleDuration&&(this.options.captureDuration&&t.stopPropagation(),this._setOption("remainingDuration",!this.options.remainingDuration))},seekBar:function(e){if(this.css.jq.seekBar.length){var s=t(e.currentTarget),i=s.offset(),a=e.pageX-i.left,n=s.width(),o=100*a/n;this.playHead(o)}},playbackRate:function(t){this._setOption("playbackRate",t)},playbackRateBar:function(e){if(this.css.jq.playbackRateBar.length){var s,i,a=t(e.currentTarget),n=a.offset(),o=e.pageX-n.left,r=a.width(),l=a.height()-e.pageY+n.top,h=a.height();s=this.options.verticalPlaybackRate?l/h:o/r,i=s*(this.options.maxPlaybackRate-this.options.minPlaybackRate)+this.options.minPlaybackRate,this.playbackRate(i)}},_updatePlaybackRate:function(){var t=this.options.playbackRate,e=(t-this.options.minPlaybackRate)/(this.options.maxPlaybackRate-this.options.minPlaybackRate);this.status.playbackRateEnabled?(this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.show(),this.css.jq.playbackRateBarValue.length&&(this.css.jq.playbackRateBarValue.show(),this.css.jq.playbackRateBarValue[this.options.verticalPlaybackRate?"height":"width"](100*e+"%"))):(this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.hide(),this.css.jq.playbackRateBarValue.length&&this.css.jq.playbackRateBarValue.hide())},repeat:function(t){var e="object"==typeof t;this._loop(e&&this.options.useStateClassSkin&&this.options.loop?!1:!0)},repeatOff:function(){this._loop(!1)},_loop:function(e){this.options.loop!==e&&(this.options.loop=e,this._updateButtons(),this._trigger(t.jPlayer.event.repeat))},option:function(s,i){var a=s;if(0===arguments.length)return t.extend(!0,{},this.options);if("string"==typeof s){var n=s.split(".");if(i===e){for(var o=t.extend(!0,{},this.options),r=0;r<n.length;r++){if(o[n[r]]===e)return this._warning({type:t.jPlayer.warning.OPTION_KEY,context:s,message:t.jPlayer.warningMsg.OPTION_KEY,hint:t.jPlayer.warningHint.OPTION_KEY}),e;o=o[n[r]]}return o}a={};for(var l=a,h=0;h<n.length;h++)h<n.length-1?(l[n[h]]={},l=l[n[h]]):l[n[h]]=i}return this._setOptions(a),this},_setOptions:function(e){var s=this;return t.each(e,function(t,e){s._setOption(t,e)}),this},_setOption:function(e,s){var i=this;switch(e){case"volume":this.volume(s);break;case"muted":this._muted(s);break;case"globalVolume":this.options[e]=s;break;case"cssSelectorAncestor":this._cssSelectorAncestor(s);break;case"cssSelector":t.each(s,function(t,e){i._cssSelector(t,e)});break;case"playbackRate":this.options[e]=s=this._limitValue(s,this.options.minPlaybackRate,this.options.maxPlaybackRate),this.html.used&&this._html_setProperty("playbackRate",s),this._updatePlaybackRate();break;case"defaultPlaybackRate":this.options[e]=s=this._limitValue(s,this.options.minPlaybackRate,this.options.maxPlaybackRate),this.html.used&&this._html_setProperty("defaultPlaybackRate",s),this._updatePlaybackRate();break;case"minPlaybackRate":this.options[e]=s=this._limitValue(s,.1,this.options.maxPlaybackRate-.1),this._updatePlaybackRate();break;case"maxPlaybackRate":this.options[e]=s=this._limitValue(s,this.options.minPlaybackRate+.1,16),this._updatePlaybackRate();break;case"fullScreen":if(this.options[e]!==s){var a=t.jPlayer.nativeFeatures.fullscreen.used.webkitVideo;(!a||a&&!this.status.waitForPlay)&&(a||(this.options[e]=s),s?this._requestFullscreen():this._exitFullscreen(),a||this._setOption("fullWindow",s))}break;case"fullWindow":this.options[e]!==s&&(this._removeUiClass(),this.options[e]=s,this._refreshSize());break;case"size":this.options.fullWindow||this.options[e].cssClass===s.cssClass||this._removeUiClass(),this.options[e]=t.extend({},this.options[e],s),this._refreshSize();break;case"sizeFull":this.options.fullWindow&&this.options[e].cssClass!==s.cssClass&&this._removeUiClass(),this.options[e]=t.extend({},this.options[e],s),this._refreshSize();break;case"autohide":this.options[e]=t.extend({},this.options[e],s),this._updateAutohide();break;case"loop":this._loop(s);break;case"remainingDuration":this.options[e]=s,this._updateInterface();break;case"toggleDuration":this.options[e]=s;break;case"nativeVideoControls":this.options[e]=t.extend({},this.options[e],s),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this._restrictNativeVideoControls(),this._updateNativeVideoControls();break;case"noFullWindow":this.options[e]=t.extend({},this.options[e],s),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this.status.noFullWindow=this._uaBlocklist(this.options.noFullWindow),this._restrictNativeVideoControls(),this._updateButtons();break;case"noVolume":this.options[e]=t.extend({},this.options[e],s),this.status.noVolume=this._uaBlocklist(this.options.noVolume),this._updateVolume(),this._updateMute();break;case"emulateHtml":this.options[e]!==s&&(this.options[e]=s,s?this._emulateHtmlBridge():this._destroyHtmlBridge());break;case"timeFormat":this.options[e]=t.extend({},this.options[e],s);break;case"keyEnabled":this.options[e]=s,s||this!==t.jPlayer.focus||(t.jPlayer.focus=null);break;case"keyBindings":this.options[e]=t.extend(!0,{},this.options[e],s);break;case"audioFullScreen":this.options[e]=s;break;case"autoBlur":this.options[e]=s}return this},_refreshSize:function(){this._setSize(),this._addUiClass(),this._updateSize(),this._updateButtons(),this._updateAutohide(),this._trigger(t.jPlayer.event.resize)},_setSize:function(){this.options.fullWindow?(this.status.width=this.options.sizeFull.width,this.status.height=this.options.sizeFull.height,this.status.cssClass=this.options.sizeFull.cssClass):(this.status.width=this.options.size.width,this.status.height=this.options.size.height,this.status.cssClass=this.options.size.cssClass),this.element.css({width:this.status.width,height:this.status.height})},_addUiClass:function(){this.ancestorJq.length&&this.ancestorJq.addClass(this.status.cssClass)},_removeUiClass:function(){this.ancestorJq.length&&this.ancestorJq.removeClass(this.status.cssClass)},_updateSize:function(){this.internal.poster.jq.css({width:this.status.width,height:this.status.height}),!this.status.waitForPlay&&this.html.active&&this.status.video||this.html.video.available&&this.html.used&&this.status.nativeVideoControls?this.internal.video.jq.css({width:this.status.width,height:this.status.height}):!this.status.waitForPlay&&this.flash.active&&this.status.video&&this.internal.flash.jq.css({width:this.status.width,height:this.status.height})},_updateAutohide:function(){var t=this,e="mousemove.jPlayer",s=".jPlayerAutohide",i=e+s,a=function(){t.css.jq.gui.fadeIn(t.options.autohide.fadeIn,function(){clearTimeout(t.internal.autohideId),t.internal.autohideId=setTimeout(function(){t.css.jq.gui.fadeOut(t.options.autohide.fadeOut)},t.options.autohide.hold)})};this.css.jq.gui.length&&(this.css.jq.gui.stop(!0,!0),clearTimeout(this.internal.autohideId),this.element.unbind(s),this.css.jq.gui.unbind(s),this.status.nativeVideoControls?this.css.jq.gui.hide():this.options.fullWindow&&this.options.autohide.full||!this.options.fullWindow&&this.options.autohide.restored?(this.element.bind(i,a),this.css.jq.gui.bind(i,a),this.css.jq.gui.hide()):this.css.jq.gui.show())},fullScreen:function(t){var e="object"==typeof t;e&&this.options.useStateClassSkin&&this.options.fullScreen?this._setOption("fullScreen",!1):this._setOption("fullScreen",!0)},restoreScreen:function(){this._setOption("fullScreen",!1)},_fullscreenAddEventListeners:function(){var e=this,s=t.jPlayer.nativeFeatures.fullscreen;s.api.fullscreenEnabled&&s.event.fullscreenchange&&("function"!=typeof this.internal.fullscreenchangeHandler&&(this.internal.fullscreenchangeHandler=function(){e._fullscreenchange()}),document.addEventListener(s.event.fullscreenchange,this.internal.fullscreenchangeHandler,!1))},_fullscreenRemoveEventListeners:function(){var e=t.jPlayer.nativeFeatures.fullscreen;this.internal.fullscreenchangeHandler&&document.removeEventListener(e.event.fullscreenchange,this.internal.fullscreenchangeHandler,!1)},_fullscreenchange:function(){this.options.fullScreen&&!t.jPlayer.nativeFeatures.fullscreen.api.fullscreenElement()&&this._setOption("fullScreen",!1)},_requestFullscreen:function(){var e=this.ancestorJq.length?this.ancestorJq[0]:this.element[0],s=t.jPlayer.nativeFeatures.fullscreen;s.used.webkitVideo&&(e=this.htmlElement.video),s.api.fullscreenEnabled&&s.api.requestFullscreen(e)},_exitFullscreen:function(){var e,s=t.jPlayer.nativeFeatures.fullscreen;s.used.webkitVideo&&(e=this.htmlElement.video),s.api.fullscreenEnabled&&s.api.exitFullscreen(e)},_html_initMedia:function(e){var s=t(this.htmlElement.media).empty();t.each(e.track||[],function(t,e){var i=document.createElement("track");i.setAttribute("kind",e.kind?e.kind:""),i.setAttribute("src",e.src?e.src:""),i.setAttribute("srclang",e.srclang?e.srclang:""),i.setAttribute("label",e.label?e.label:""),e.def&&i.setAttribute("default",e.def),s.append(i)}),this.htmlElement.media.src=this.status.src,"none"!==this.options.preload&&this._html_load(),this._trigger(t.jPlayer.event.timeupdate)},_html_setFormat:function(e){var s=this;t.each(this.formats,function(t,i){return s.html.support[i]&&e[i]?(s.status.src=e[i],s.status.format[i]=!0,s.status.formatType=i,!1):void 0})},_html_setAudio:function(t){this._html_setFormat(t),this.htmlElement.media=this.htmlElement.audio,this._html_initMedia(t)},_html_setVideo:function(t){this._html_setFormat(t),this.status.nativeVideoControls&&(this.htmlElement.video.poster=this._validString(t.poster)?t.poster:""),this.htmlElement.media=this.htmlElement.video,this._html_initMedia(t)},_html_resetMedia:function(){this.htmlElement.media&&(this.htmlElement.media.id!==this.internal.video.id||this.status.nativeVideoControls||this.internal.video.jq.css({width:"0px",height:"0px"}),this.htmlElement.media.pause())},_html_clearMedia:function(){this.htmlElement.media&&(this.htmlElement.media.src="about:blank",this.htmlElement.media.load())},_html_load:function(){this.status.waitForLoad&&(this.status.waitForLoad=!1,this.htmlElement.media.load()),clearTimeout(this.internal.htmlDlyCmdId)},_html_play:function(t){var e=this,s=this.htmlElement.media;if(this.androidFix.pause=!1,this._html_load(),this.androidFix.setMedia)this.androidFix.play=!0,this.androidFix.time=t;else if(isNaN(t))s.play();else{this.internal.cmdsIgnored&&s.play();try{if(s.seekable&&!("object"==typeof s.seekable&&s.seekable.length>0))throw 1;s.currentTime=t,s.play()}catch(i){return void(this.internal.htmlDlyCmdId=setTimeout(function(){e.play(t)},250))}}this._html_checkWaitForPlay()},_html_pause:function(t){var e=this,s=this.htmlElement.media;if(this.androidFix.play=!1,t>0?this._html_load():clearTimeout(this.internal.htmlDlyCmdId),s.pause(),this.androidFix.setMedia)this.androidFix.pause=!0,this.androidFix.time=t;else if(!isNaN(t))try{if(s.seekable&&!("object"==typeof s.seekable&&s.seekable.length>0))throw 1;s.currentTime=t}catch(i){return void(this.internal.htmlDlyCmdId=setTimeout(function(){e.pause(t)},250))}t>0&&this._html_checkWaitForPlay()},_html_playHead:function(t){var e=this,s=this.htmlElement.media;this._html_load();try{if("object"==typeof s.seekable&&s.seekable.length>0)s.currentTime=t*s.seekable.end(s.seekable.length-1)/100;else{if(!(s.duration>0)||isNaN(s.duration))throw"e";s.currentTime=t*s.duration/100}}catch(i){return void(this.internal.htmlDlyCmdId=setTimeout(function(){e.playHead(t)},250))}this.status.waitForLoad||this._html_checkWaitForPlay()},_html_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height})))},_html_setProperty:function(t,e){this.html.audio.available&&(this.htmlElement.audio[t]=e),this.html.video.available&&(this.htmlElement.video[t]=e)},_flash_setAudio:function(e){var s=this;try{t.each(this.formats,function(t,i){if(s.flash.support[i]&&e[i]){switch(i){case"m4a":case"fla":s._getMovie().fl_setAudio_m4a(e[i]);break;case"mp3":s._getMovie().fl_setAudio_mp3(e[i]);break;case"rtmpa":s._getMovie().fl_setAudio_rtmp(e[i])}return s.status.src=e[i],s.status.format[i]=!0,s.status.formatType=i,!1}}),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(i){this._flashError(i)}},_flash_setVideo:function(e){var s=this;try{t.each(this.formats,function(t,i){if(s.flash.support[i]&&e[i]){switch(i){case"m4v":case"flv":s._getMovie().fl_setVideo_m4v(e[i]);break;case"rtmpv":s._getMovie().fl_setVideo_rtmp(e[i])}return s.status.src=e[i],s.status.format[i]=!0,s.status.formatType=i,!1}}),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(i){this._flashError(i)}},_flash_resetMedia:function(){this.internal.flash.jq.css({width:"0px",height:"0px"}),this._flash_pause(0/0)},_flash_clearMedia:function(){try{this._getMovie().fl_clearMedia()}catch(t){this._flashError(t)}},_flash_load:function(){try{this._getMovie().fl_load()}catch(t){this._flashError(t)}this.status.waitForLoad=!1},_flash_play:function(t){try{this._getMovie().fl_play(t)}catch(e){this._flashError(e)}this.status.waitForLoad=!1,this._flash_checkWaitForPlay()},_flash_pause:function(t){try{this._getMovie().fl_pause(t)}catch(e){this._flashError(e)}t>0&&(this.status.waitForLoad=!1,this._flash_checkWaitForPlay())},_flash_playHead:function(t){try{this._getMovie().fl_play_head(t)}catch(e){this._flashError(e)}this.status.waitForLoad||this._flash_checkWaitForPlay()},_flash_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.flash.jq.css({width:this.status.width,height:this.status.height})))},_flash_volume:function(t){try{this._getMovie().fl_volume(t)}catch(e){this._flashError(e)}},_flash_mute:function(t){try{this._getMovie().fl_mute(t)}catch(e){this._flashError(e)}},_getMovie:function(){return document[this.internal.flash.id]},_getFlashPluginVersion:function(){var t,e=0;if(window.ActiveXObject)try{if(t=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")){var s=t.GetVariable("$version");s&&(s=s.split(" ")[1].split(","),e=parseInt(s[0],10)+"."+parseInt(s[1],10))}}catch(i){}else navigator.plugins&&navigator.mimeTypes.length>0&&(t=navigator.plugins["Shockwave Flash"],t&&(e=navigator.plugins["Shockwave Flash"].description.replace(/.*\s(\d+\.\d+).*/,"$1")));return 1*e},_checkForFlash:function(t){var e=!1;return this._getFlashPluginVersion()>=t&&(e=!0),e},_validString:function(t){return t&&"string"==typeof t},_limitValue:function(t,e,s){return e>t?e:t>s?s:t},_urlNotSetError:function(e){this._error({type:t.jPlayer.error.URL_NOT_SET,context:e,message:t.jPlayer.errorMsg.URL_NOT_SET,hint:t.jPlayer.errorHint.URL_NOT_SET})},_flashError:function(e){var s;s=this.internal.ready?"FLASH_DISABLED":"FLASH",this._error({type:t.jPlayer.error[s],context:this.internal.flash.swf,message:t.jPlayer.errorMsg[s]+e.message,hint:t.jPlayer.errorHint[s]}),this.internal.flash.jq.css({width:"1px",height:"1px"})},_error:function(e){this._trigger(t.jPlayer.event.error,e),this.options.errorAlerts&&this._alert("Error!"+(e.message?"\n"+e.message:"")+(e.hint?"\n"+e.hint:"")+"\nContext: "+e.context)},_warning:function(s){this._trigger(t.jPlayer.event.warning,e,s),this.options.warningAlerts&&this._alert("Warning!"+(s.message?"\n"+s.message:"")+(s.hint?"\n"+s.hint:"")+"\nContext: "+s.context)},_alert:function(t){var e="jPlayer "+this.version.script+" : id='"+this.internal.self.id+"' : "+t;this.options.consoleAlerts?window.console&&window.console.log&&window.console.log(e):alert(e)},_emulateHtmlBridge:function(){var e=this;t.each(t.jPlayer.emulateMethods.split(/\s+/g),function(t,s){e.internal.domNode[s]=function(t){e[s](t)}}),t.each(t.jPlayer.event,function(s,i){var a=!0;t.each(t.jPlayer.reservedEvent.split(/\s+/g),function(t,e){return e===s?(a=!1,!1):void 0}),a&&e.element.bind(i+".jPlayer.jPlayerHtml",function(){e._emulateHtmlUpdate();var t=document.createEvent("Event");t.initEvent(s,!1,!0),e.internal.domNode.dispatchEvent(t)})})},_emulateHtmlUpdate:function(){var e=this;t.each(t.jPlayer.emulateStatus.split(/\s+/g),function(t,s){e.internal.domNode[s]=e.status[s]}),t.each(t.jPlayer.emulateOptions.split(/\s+/g),function(t,s){e.internal.domNode[s]=e.options[s]})},_destroyHtmlBridge:function(){var e=this;this.element.unbind(".jPlayerHtml");var s=t.jPlayer.emulateMethods+" "+t.jPlayer.emulateStatus+" "+t.jPlayer.emulateOptions;t.each(s.split(/\s+/g),function(t,s){delete e.internal.domNode[s]})}},t.jPlayer.error={FLASH:"e_flash",FLASH_DISABLED:"e_flash_disabled",NO_SOLUTION:"e_no_solution",NO_SUPPORT:"e_no_support",URL:"e_url",URL_NOT_SET:"e_url_not_set",VERSION:"e_version"},t.jPlayer.errorMsg={FLASH:"jPlayer's Flash fallback is not configured correctly, or a command was issued before the jPlayer Ready event. Details: ",FLASH_DISABLED:"jPlayer's Flash fallback has been disabled by the browser due to the CSS rules you have used. Details: ",NO_SOLUTION:"No solution can be found by jPlayer in this browser. Neither HTML nor Flash can be used.",NO_SUPPORT:"It is not possible to play any media format provided in setMedia() on this browser using your current options.",URL:"Media URL could not be loaded.",URL_NOT_SET:"Attempt to issue media playback commands, while no media url is set.",VERSION:"jPlayer "+t.jPlayer.prototype.version.script+" needs Jplayer.swf version "+t.jPlayer.prototype.version.needFlash+" but found "},t.jPlayer.errorHint={FLASH:"Check your swfPath option and that Jplayer.swf is there.",FLASH_DISABLED:"Check that you have not display:none; the jPlayer entity or any ancestor.",NO_SOLUTION:"Review the jPlayer options: support and supplied.",NO_SUPPORT:"Video or audio formats defined in the supplied option are missing.",URL:"Check media URL is valid.",URL_NOT_SET:"Use setMedia() to set the media URL.",VERSION:"Update jPlayer files."},t.jPlayer.warning={CSS_SELECTOR_COUNT:"e_css_selector_count",CSS_SELECTOR_METHOD:"e_css_selector_method",CSS_SELECTOR_STRING:"e_css_selector_string",OPTION_KEY:"e_option_key"},t.jPlayer.warningMsg={CSS_SELECTOR_COUNT:"The number of css selectors found did not equal one: ",CSS_SELECTOR_METHOD:"The methodName given in jPlayer('cssSelector') is not a valid jPlayer method.",CSS_SELECTOR_STRING:"The methodCssSelector given in jPlayer('cssSelector') is not a String or is empty.",OPTION_KEY:"The option requested in jPlayer('option') is undefined."},t.jPlayer.warningHint={CSS_SELECTOR_COUNT:"Check your css selector and the ancestor.",CSS_SELECTOR_METHOD:"Check your method name.",CSS_SELECTOR_STRING:"Check your css selector is a string.",OPTION_KEY:"Check your option name."}});
|
1 |
+
!function(t,e){"function"==typeof define&&define.amd?define(["jquery"],e):e(t.jQuery?t.jQuery:t.Zepto)}(this,function(t,e){t.fn.jPlayer=function(s){var i="jPlayer",a="string"==typeof s,n=Array.prototype.slice.call(arguments,1),o=this;return s=!a&&n.length?t.extend.apply(null,[!0,s].concat(n)):s,a&&"_"===s.charAt(0)?o:(this.each(a?function(){var a=t(this).data(i),r=a&&t.isFunction(a[s])?a[s].apply(a,n):a;return r!==a&&r!==e?(o=r,!1):void 0}:function(){var e=t(this).data(i);e?e.option(s||{}):t(this).data(i,new t.jPlayer(s,this))}),o)},t.jPlayer=function(e,s){if(arguments.length){this.element=t(s),this.options=t.extend(!0,{},this.options,e);var i=this;this.element.bind("remove.jPlayer",function(){i.destroy()}),this._init()}},"function"!=typeof t.fn.stop&&(t.fn.stop=function(){}),t.jPlayer.emulateMethods="load play pause",t.jPlayer.emulateStatus="src readyState networkState currentTime duration paused ended playbackRate",t.jPlayer.emulateOptions="muted volume",t.jPlayer.reservedEvent="ready flashreset resize repeat error warning",t.jPlayer.event={},t.each(["ready","setmedia","flashreset","resize","repeat","click","error","warning","loadstart","progress","suspend","abort","emptied","stalled","play","pause","loadedmetadata","loadeddata","waiting","playing","canplay","canplaythrough","seeking","seeked","timeupdate","ended","ratechange","durationchange","volumechange"],function(){t.jPlayer.event[this]="jPlayer_"+this}),t.jPlayer.htmlEvent=["loadstart","abort","emptied","stalled","loadedmetadata","canplay","canplaythrough"],t.jPlayer.pause=function(){t.each(t.jPlayer.prototype.instances,function(t,e){e.data("jPlayer").status.srcSet&&e.jPlayer("pause")})},t.jPlayer.timeFormat={showHour:!1,showMin:!0,showSec:!0,padHour:!1,padMin:!0,padSec:!0,sepHour:":",sepMin:":",sepSec:""};var s=function(){this.init()};s.prototype={init:function(){this.options={timeFormat:t.jPlayer.timeFormat}},time:function(t){t=t&&"number"==typeof t?t:0;var e=new Date(1e3*t),s=e.getUTCHours(),i=this.options.timeFormat.showHour?e.getUTCMinutes():e.getUTCMinutes()+60*s,a=this.options.timeFormat.showMin?e.getUTCSeconds():e.getUTCSeconds()+60*i,n=this.options.timeFormat.padHour&&10>s?"0"+s:s,o=this.options.timeFormat.padMin&&10>i?"0"+i:i,r=this.options.timeFormat.padSec&&10>a?"0"+a:a,l="";return l+=this.options.timeFormat.showHour?n+this.options.timeFormat.sepHour:"",l+=this.options.timeFormat.showMin?o+this.options.timeFormat.sepMin:"",l+=this.options.timeFormat.showSec?r+this.options.timeFormat.sepSec:""}};var i=new s;t.jPlayer.convertTime=function(t){return i.time(t)},t.jPlayer.uaBrowser=function(t){var e=t.toLowerCase(),s=/(webkit)[ \/]([\w.]+)/,i=/(opera)(?:.*version)?[ \/]([\w.]+)/,a=/(msie) ([\w.]+)/,n=/(mozilla)(?:.*? rv:([\w.]+))?/,o=s.exec(e)||i.exec(e)||a.exec(e)||e.indexOf("compatible")<0&&n.exec(e)||[];return{browser:o[1]||"",version:o[2]||"0"}},t.jPlayer.uaPlatform=function(t){var e=t.toLowerCase(),s=/(ipad|iphone|ipod|android|blackberry|playbook|windows ce|webos)/,i=/(ipad|playbook)/,a=/(android)/,n=/(mobile)/,o=s.exec(e)||[],r=i.exec(e)||!n.exec(e)&&a.exec(e)||[];return o[1]&&(o[1]=o[1].replace(/\s/g,"_")),{platform:o[1]||"",tablet:r[1]||""}},t.jPlayer.browser={},t.jPlayer.platform={};var a=t.jPlayer.uaBrowser(navigator.userAgent);a.browser&&(t.jPlayer.browser[a.browser]=!0,t.jPlayer.browser.version=a.version);var n=t.jPlayer.uaPlatform(navigator.userAgent);n.platform&&(t.jPlayer.platform[n.platform]=!0,t.jPlayer.platform.mobile=!n.tablet,t.jPlayer.platform.tablet=!!n.tablet),t.jPlayer.getDocMode=function(){var e;return t.jPlayer.browser.msie&&(document.documentMode?e=document.documentMode:(e=5,document.compatMode&&"CSS1Compat"===document.compatMode&&(e=7))),e},t.jPlayer.browser.documentMode=t.jPlayer.getDocMode(),t.jPlayer.nativeFeatures={init:function(){var t,e,s,i=document,a=i.createElement("video"),n={w3c:["fullscreenEnabled","fullscreenElement","requestFullscreen","exitFullscreen","fullscreenchange","fullscreenerror"],moz:["mozFullScreenEnabled","mozFullScreenElement","mozRequestFullScreen","mozCancelFullScreen","mozfullscreenchange","mozfullscreenerror"],webkit:["","webkitCurrentFullScreenElement","webkitRequestFullScreen","webkitCancelFullScreen","webkitfullscreenchange",""],webkitVideo:["webkitSupportsFullscreen","webkitDisplayingFullscreen","webkitEnterFullscreen","webkitExitFullscreen","",""]},o=["w3c","moz","webkit","webkitVideo"];for(this.fullscreen=t={support:{w3c:!!i[n.w3c[0]],moz:!!i[n.moz[0]],webkit:"function"==typeof i[n.webkit[3]],webkitVideo:"function"==typeof a[n.webkitVideo[2]]},used:{}},e=0,s=o.length;s>e;e++){var r=o[e];if(t.support[r]){t.spec=r,t.used[r]=!0;break}}if(t.spec){var l=n[t.spec];t.api={fullscreenEnabled:!0,fullscreenElement:function(t){return t=t?t:i,t[l[1]]},requestFullscreen:function(t){return t[l[2]]()},exitFullscreen:function(t){return t=t?t:i,t[l[3]]()}},t.event={fullscreenchange:l[4],fullscreenerror:l[5]}}else t.api={fullscreenEnabled:!1,fullscreenElement:function(){return null},requestFullscreen:function(){},exitFullscreen:function(){}},t.event={}}},t.jPlayer.nativeFeatures.init(),t.jPlayer.focus=null,t.jPlayer.keyIgnoreElementNames="A INPUT TEXTAREA SELECT BUTTON";var o=function(e){var s,i=t.jPlayer.focus,a=document.activeElement;i&&("undefined"!=typeof a?null!==a&&"BODY"!==a.nodeName.toUpperCase()&&(s=!0):t.each(t.jPlayer.keyIgnoreElementNames.split(/\s+/g),function(t,i){return e.target.nodeName.toUpperCase()===i.toUpperCase()?(s=!0,!1):void 0}),s||t.each(i.options.keyBindings,function(s,a){return a&&e.which===a.key&&t.isFunction(a.fn)?(e.preventDefault(),a.fn(i),!1):void 0}))};t.jPlayer.keys=function(e){var s="keydown.jPlayer";t(document.documentElement).unbind(s),e&&t(document.documentElement).bind(s,o)},t.jPlayer.keys(!0),t.jPlayer.prototype={count:0,version:{script:"2.7.1",needFlash:"2.7.0",flash:"unknown"},options:{swfPath:"js",solution:"html, flash",supplied:"mp3",preload:"metadata",volume:.8,muted:!1,remainingDuration:!1,toggleDuration:!1,captureDuration:!0,playbackRate:1,defaultPlaybackRate:1,minPlaybackRate:.5,maxPlaybackRate:4,wmode:"opaque",backgroundColor:"#000000",cssSelectorAncestor:"#jp_container_1",cssSelector:{videoPlay:".jp-video-play",play:".jp-play",pause:".jp-pause",stop:".jp-stop",seekBar:".jp-seek-bar",playBar:".jp-play-bar",mute:".jp-mute",unmute:".jp-unmute",volumeBar:".jp-volume-bar",volumeBarValue:".jp-volume-bar-value",volumeMax:".jp-volume-max",playbackRateBar:".jp-playback-rate-bar",playbackRateBarValue:".jp-playback-rate-bar-value",currentTime:".jp-current-time",duration:".jp-duration",title:".jp-title",fullScreen:".jp-full-screen",restoreScreen:".jp-restore-screen",repeat:".jp-repeat",repeatOff:".jp-repeat-off",gui:".jp-gui",noSolution:".jp-no-solution"},stateClass:{playing:"jp-state-playing",seeking:"jp-state-seeking",muted:"jp-state-muted",looped:"jp-state-looped",fullScreen:"jp-state-full-screen"},useStateClassSkin:!1,autoBlur:!0,smoothPlayBar:!1,fullScreen:!1,fullWindow:!1,autohide:{restored:!1,full:!0,fadeIn:200,fadeOut:600,hold:1e3},loop:!1,repeat:function(e){e.jPlayer.options.loop?t(this).unbind(".jPlayerRepeat").bind(t.jPlayer.event.ended+".jPlayer.jPlayerRepeat",function(){t(this).jPlayer("play")}):t(this).unbind(".jPlayerRepeat")},nativeVideoControls:{},noFullWindow:{msie:/msie [0-6]\./,ipad:/ipad.*?os [0-4]\./,iphone:/iphone/,ipod:/ipod/,android_pad:/android [0-3]\.(?!.*?mobile)/,android_phone:/android.*?mobile/,blackberry:/blackberry/,windows_ce:/windows ce/,iemobile:/iemobile/,webos:/webos/},noVolume:{ipad:/ipad/,iphone:/iphone/,ipod:/ipod/,android_pad:/android(?!.*?mobile)/,android_phone:/android.*?mobile/,blackberry:/blackberry/,windows_ce:/windows ce/,iemobile:/iemobile/,webos:/webos/,playbook:/playbook/},timeFormat:{},keyEnabled:!1,audioFullScreen:!1,keyBindings:{play:{key:32,fn:function(t){t.status.paused?t.play():t.pause()}},fullScreen:{key:13,fn:function(t){(t.status.video||t.options.audioFullScreen)&&t._setOption("fullScreen",!t.options.fullScreen)}},muted:{key:8,fn:function(t){t._muted(!t.options.muted)}},volumeUp:{key:38,fn:function(t){t.volume(t.options.volume+.1)}},volumeDown:{key:40,fn:function(t){t.volume(t.options.volume-.1)}}},verticalVolume:!1,verticalPlaybackRate:!1,globalVolume:!1,idPrefix:"jp",noConflict:"jQuery",emulateHtml:!1,consoleAlerts:!0,errorAlerts:!1,warningAlerts:!1},optionsAudio:{size:{width:"0px",height:"0px",cssClass:""},sizeFull:{width:"0px",height:"0px",cssClass:""}},optionsVideo:{size:{width:"480px",height:"270px",cssClass:"jp-video-270p"},sizeFull:{width:"100%",height:"100%",cssClass:"jp-video-full"}},instances:{},status:{src:"",media:{},paused:!0,format:{},formatType:"",waitForPlay:!0,waitForLoad:!0,srcSet:!1,video:!1,seekPercent:0,currentPercentRelative:0,currentPercentAbsolute:0,currentTime:0,duration:0,remaining:0,videoWidth:0,videoHeight:0,readyState:0,networkState:0,playbackRate:1,ended:0},internal:{ready:!1},solution:{html:!0,flash:!0},format:{mp3:{codec:"audio/mpeg",flashCanPlay:!0,media:"audio"},m4a:{codec:'audio/mp4; codecs="mp4a.40.2"',flashCanPlay:!0,media:"audio"},m3u8a:{codec:'application/vnd.apple.mpegurl; codecs="mp4a.40.2"',flashCanPlay:!1,media:"audio"},m3ua:{codec:"audio/mpegurl",flashCanPlay:!1,media:"audio"},oga:{codec:'audio/ogg; codecs="vorbis, opus"',flashCanPlay:!1,media:"audio"},flac:{codec:"audio/x-flac",flashCanPlay:!1,media:"audio"},wav:{codec:'audio/wav; codecs="1"',flashCanPlay:!1,media:"audio"},webma:{codec:'audio/webm; codecs="vorbis"',flashCanPlay:!1,media:"audio"},fla:{codec:"audio/x-flv",flashCanPlay:!0,media:"audio"},rtmpa:{codec:'audio/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"audio"},m4v:{codec:'video/mp4; codecs="avc1.42E01E, mp4a.40.2"',flashCanPlay:!0,media:"video"},m3u8v:{codec:'application/vnd.apple.mpegurl; codecs="avc1.42E01E, mp4a.40.2"',flashCanPlay:!1,media:"video"},m3uv:{codec:"audio/mpegurl",flashCanPlay:!1,media:"video"},ogv:{codec:'video/ogg; codecs="theora, vorbis"',flashCanPlay:!1,media:"video"},webmv:{codec:'video/webm; codecs="vorbis, vp8"',flashCanPlay:!1,media:"video"},flv:{codec:"video/x-flv",flashCanPlay:!0,media:"video"},rtmpv:{codec:'video/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"video"}},_init:function(){var s=this;if(this.element.empty(),this.status=t.extend({},this.status),this.internal=t.extend({},this.internal),this.options.timeFormat=t.extend({},t.jPlayer.timeFormat,this.options.timeFormat),this.internal.cmdsIgnored=t.jPlayer.platform.ipad||t.jPlayer.platform.iphone||t.jPlayer.platform.ipod,this.internal.domNode=this.element.get(0),this.options.keyEnabled&&!t.jPlayer.focus&&(t.jPlayer.focus=this),this.androidFix={setMedia:!1,play:!1,pause:!1,time:0/0},t.jPlayer.platform.android&&(this.options.preload="auto"!==this.options.preload?"metadata":"auto"),this.formats=[],this.solutions=[],this.require={},this.htmlElement={},this.html={},this.html.audio={},this.html.video={},this.flash={},this.css={},this.css.cs={},this.css.jq={},this.ancestorJq=[],this.options.volume=this._limitValue(this.options.volume,0,1),t.each(this.options.supplied.toLowerCase().split(","),function(e,i){var a=i.replace(/^\s+|\s+$/g,"");if(s.format[a]){var n=!1;t.each(s.formats,function(t,e){return a===e?(n=!0,!1):void 0}),n||s.formats.push(a)}}),t.each(this.options.solution.toLowerCase().split(","),function(e,i){var a=i.replace(/^\s+|\s+$/g,"");if(s.solution[a]){var n=!1;t.each(s.solutions,function(t,e){return a===e?(n=!0,!1):void 0}),n||s.solutions.push(a)}}),this.internal.instance="jp_"+this.count,this.instances[this.internal.instance]=this.element,this.element.attr("id")||this.element.attr("id",this.options.idPrefix+"_jplayer_"+this.count),this.internal.self=t.extend({},{id:this.element.attr("id"),jq:this.element}),this.internal.audio=t.extend({},{id:this.options.idPrefix+"_audio_"+this.count,jq:e}),this.internal.video=t.extend({},{id:this.options.idPrefix+"_video_"+this.count,jq:e}),this.internal.flash=t.extend({},{id:this.options.idPrefix+"_flash_"+this.count,jq:e,swf:this.options.swfPath+(".swf"!==this.options.swfPath.toLowerCase().slice(-4)?(this.options.swfPath&&"/"!==this.options.swfPath.slice(-1)?"/":"")+"Jplayer.swf":"")}),this.internal.poster=t.extend({},{id:this.options.idPrefix+"_poster_"+this.count,jq:e}),t.each(t.jPlayer.event,function(t,i){s.options[t]!==e&&(s.element.bind(i+".jPlayer",s.options[t]),s.options[t]=e)}),this.require.audio=!1,this.require.video=!1,t.each(this.formats,function(t,e){s.require[s.format[e].media]=!0}),this.options=this.require.video?t.extend(!0,{},this.optionsVideo,this.options):t.extend(!0,{},this.optionsAudio,this.options),this._setSize(),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this.status.noFullWindow=this._uaBlocklist(this.options.noFullWindow),this.status.noVolume=this._uaBlocklist(this.options.noVolume),t.jPlayer.nativeFeatures.fullscreen.api.fullscreenEnabled&&this._fullscreenAddEventListeners(),this._restrictNativeVideoControls(),this.htmlElement.poster=document.createElement("img"),this.htmlElement.poster.id=this.internal.poster.id,this.htmlElement.poster.onload=function(){(!s.status.video||s.status.waitForPlay)&&s.internal.poster.jq.show()},this.element.append(this.htmlElement.poster),this.internal.poster.jq=t("#"+this.internal.poster.id),this.internal.poster.jq.css({width:this.status.width,height:this.status.height}),this.internal.poster.jq.hide(),this.internal.poster.jq.bind("click.jPlayer",function(){s._trigger(t.jPlayer.event.click)}),this.html.audio.available=!1,this.require.audio&&(this.htmlElement.audio=document.createElement("audio"),this.htmlElement.audio.id=this.internal.audio.id,this.html.audio.available=!!this.htmlElement.audio.canPlayType&&this._testCanPlayType(this.htmlElement.audio)),this.html.video.available=!1,this.require.video&&(this.htmlElement.video=document.createElement("video"),this.htmlElement.video.id=this.internal.video.id,this.html.video.available=!!this.htmlElement.video.canPlayType&&this._testCanPlayType(this.htmlElement.video)),this.flash.available=this._checkForFlash(10.1),this.html.canPlay={},this.flash.canPlay={},t.each(this.formats,function(t,e){s.html.canPlay[e]=s.html[s.format[e].media].available&&""!==s.htmlElement[s.format[e].media].canPlayType(s.format[e].codec),s.flash.canPlay[e]=s.format[e].flashCanPlay&&s.flash.available}),this.html.desired=!1,this.flash.desired=!1,t.each(this.solutions,function(e,i){if(0===e)s[i].desired=!0;else{var a=!1,n=!1;t.each(s.formats,function(t,e){s[s.solutions[0]].canPlay[e]&&("video"===s.format[e].media?n=!0:a=!0)}),s[i].desired=s.require.audio&&!a||s.require.video&&!n}}),this.html.support={},this.flash.support={},t.each(this.formats,function(t,e){s.html.support[e]=s.html.canPlay[e]&&s.html.desired,s.flash.support[e]=s.flash.canPlay[e]&&s.flash.desired}),this.html.used=!1,this.flash.used=!1,t.each(this.solutions,function(e,i){t.each(s.formats,function(t,e){return s[i].support[e]?(s[i].used=!0,!1):void 0})}),this._resetActive(),this._resetGate(),this._cssSelectorAncestor(this.options.cssSelectorAncestor),this.html.used||this.flash.used?this.css.jq.noSolution.length&&this.css.jq.noSolution.hide():(this._error({type:t.jPlayer.error.NO_SOLUTION,context:"{solution:'"+this.options.solution+"', supplied:'"+this.options.supplied+"'}",message:t.jPlayer.errorMsg.NO_SOLUTION,hint:t.jPlayer.errorHint.NO_SOLUTION}),this.css.jq.noSolution.length&&this.css.jq.noSolution.show()),this.flash.used){var i,a="jQuery="+encodeURI(this.options.noConflict)+"&id="+encodeURI(this.internal.self.id)+"&vol="+this.options.volume+"&muted="+this.options.muted;if(t.jPlayer.browser.msie&&(Number(t.jPlayer.browser.version)<9||t.jPlayer.browser.documentMode<9)){var n='<object id="'+this.internal.flash.id+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="0" height="0" tabindex="-1"></object>',o=['<param name="movie" value="'+this.internal.flash.swf+'" />','<param name="FlashVars" value="'+a+'" />','<param name="allowScriptAccess" value="always" />','<param name="bgcolor" value="'+this.options.backgroundColor+'" />','<param name="wmode" value="'+this.options.wmode+'" />'];i=document.createElement(n);for(var r=0;r<o.length;r++)i.appendChild(document.createElement(o[r]))}else{var l=function(t,e,s){var i=document.createElement("param");i.setAttribute("name",e),i.setAttribute("value",s),t.appendChild(i)};i=document.createElement("object"),i.setAttribute("id",this.internal.flash.id),i.setAttribute("name",this.internal.flash.id),i.setAttribute("data",this.internal.flash.swf),i.setAttribute("type","application/x-shockwave-flash"),i.setAttribute("width","1"),i.setAttribute("height","1"),i.setAttribute("tabindex","-1"),l(i,"flashvars",a),l(i,"allowscriptaccess","always"),l(i,"bgcolor",this.options.backgroundColor),l(i,"wmode",this.options.wmode)}this.element.append(i),this.internal.flash.jq=t(i)}this.status.playbackRateEnabled=this.html.used&&!this.flash.used?this._testPlaybackRate("audio"):!1,this._updatePlaybackRate(),this.html.used&&(this.html.audio.available&&(this._addHtmlEventListeners(this.htmlElement.audio,this.html.audio),this.element.append(this.htmlElement.audio),this.internal.audio.jq=t("#"+this.internal.audio.id)),this.html.video.available&&(this._addHtmlEventListeners(this.htmlElement.video,this.html.video),this.element.append(this.htmlElement.video),this.internal.video.jq=t("#"+this.internal.video.id),this.internal.video.jq.css(this.status.nativeVideoControls?{width:this.status.width,height:this.status.height}:{width:"0px",height:"0px"}),this.internal.video.jq.bind("click.jPlayer",function(){s._trigger(t.jPlayer.event.click)}))),this.options.emulateHtml&&this._emulateHtmlBridge(),this.html.used&&!this.flash.used&&setTimeout(function(){s.internal.ready=!0,s.version.flash="n/a",s._trigger(t.jPlayer.event.repeat),s._trigger(t.jPlayer.event.ready)},100),this._updateNativeVideoControls(),this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),t.jPlayer.prototype.count++},destroy:function(){this.clearMedia(),this._removeUiClass(),this.css.jq.currentTime.length&&this.css.jq.currentTime.text(""),this.css.jq.duration.length&&this.css.jq.duration.text(""),t.each(this.css.jq,function(t,e){e.length&&e.unbind(".jPlayer")}),this.internal.poster.jq.unbind(".jPlayer"),this.internal.video.jq&&this.internal.video.jq.unbind(".jPlayer"),this._fullscreenRemoveEventListeners(),this===t.jPlayer.focus&&(t.jPlayer.focus=null),this.options.emulateHtml&&this._destroyHtmlBridge(),this.element.removeData("jPlayer"),this.element.unbind(".jPlayer"),this.element.empty(),delete this.instances[this.internal.instance]},enable:function(){},disable:function(){},_testCanPlayType:function(t){try{return t.canPlayType(this.format.mp3.codec),!0}catch(e){return!1}},_testPlaybackRate:function(t){var e,s=.5;t="string"==typeof t?t:"audio",e=document.createElement(t);try{return"playbackRate"in e?(e.playbackRate=s,e.playbackRate===s):!1}catch(i){return!1}},_uaBlocklist:function(e){var s=navigator.userAgent.toLowerCase(),i=!1;return t.each(e,function(t,e){return e&&e.test(s)?(i=!0,!1):void 0}),i},_restrictNativeVideoControls:function(){this.require.audio&&this.status.nativeVideoControls&&(this.status.nativeVideoControls=!1,this.status.noFullWindow=!0)},_updateNativeVideoControls:function(){this.html.video.available&&this.html.used&&(this.htmlElement.video.controls=this.status.nativeVideoControls,this._updateAutohide(),this.status.nativeVideoControls&&this.require.video?(this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height})):this.status.waitForPlay&&this.status.video&&(this.internal.poster.jq.show(),this.internal.video.jq.css({width:"0px",height:"0px"})))},_addHtmlEventListeners:function(e,s){var i=this;e.preload=this.options.preload,e.muted=this.options.muted,e.volume=this.options.volume,this.status.playbackRateEnabled&&(e.defaultPlaybackRate=this.options.defaultPlaybackRate,e.playbackRate=this.options.playbackRate),e.addEventListener("progress",function(){s.gate&&(i.internal.cmdsIgnored&&this.readyState>0&&(i.internal.cmdsIgnored=!1),i._getHtmlStatus(e),i._updateInterface(),i._trigger(t.jPlayer.event.progress))},!1),e.addEventListener("loadeddata",function(){s.gate&&(i.androidFix.setMedia=!1,i.androidFix.play&&(i.androidFix.play=!1,i.play(i.androidFix.time)),i.androidFix.pause&&(i.androidFix.pause=!1,i.pause(i.androidFix.time)),i._trigger(t.jPlayer.event.loadeddata))},!1),e.addEventListener("timeupdate",function(){s.gate&&(i._getHtmlStatus(e),i._updateInterface(),i._trigger(t.jPlayer.event.timeupdate))},!1),e.addEventListener("durationchange",function(){s.gate&&(i._getHtmlStatus(e),i._updateInterface(),i._trigger(t.jPlayer.event.durationchange))},!1),e.addEventListener("play",function(){s.gate&&(i._updateButtons(!0),i._html_checkWaitForPlay(),i._trigger(t.jPlayer.event.play))},!1),e.addEventListener("playing",function(){s.gate&&(i._updateButtons(!0),i._seeked(),i._trigger(t.jPlayer.event.playing))},!1),e.addEventListener("pause",function(){s.gate&&(i._updateButtons(!1),i._trigger(t.jPlayer.event.pause))},!1),e.addEventListener("waiting",function(){s.gate&&(i._seeking(),i._trigger(t.jPlayer.event.waiting))},!1),e.addEventListener("seeking",function(){s.gate&&(i._seeking(),i._trigger(t.jPlayer.event.seeking))},!1),e.addEventListener("seeked",function(){s.gate&&(i._seeked(),i._trigger(t.jPlayer.event.seeked))},!1),e.addEventListener("volumechange",function(){s.gate&&(i.options.volume=e.volume,i.options.muted=e.muted,i._updateMute(),i._updateVolume(),i._trigger(t.jPlayer.event.volumechange))},!1),e.addEventListener("ratechange",function(){s.gate&&(i.options.defaultPlaybackRate=e.defaultPlaybackRate,i.options.playbackRate=e.playbackRate,i._updatePlaybackRate(),i._trigger(t.jPlayer.event.ratechange))},!1),e.addEventListener("suspend",function(){s.gate&&(i._seeked(),i._trigger(t.jPlayer.event.suspend))},!1),e.addEventListener("ended",function(){s.gate&&(t.jPlayer.browser.webkit||(i.htmlElement.media.currentTime=0),i.htmlElement.media.pause(),i._updateButtons(!1),i._getHtmlStatus(e,!0),i._updateInterface(),i._trigger(t.jPlayer.event.ended))},!1),e.addEventListener("error",function(){s.gate&&(i._updateButtons(!1),i._seeked(),i.status.srcSet&&(clearTimeout(i.internal.htmlDlyCmdId),i.status.waitForLoad=!0,i.status.waitForPlay=!0,i.status.video&&!i.status.nativeVideoControls&&i.internal.video.jq.css({width:"0px",height:"0px"}),i._validString(i.status.media.poster)&&!i.status.nativeVideoControls&&i.internal.poster.jq.show(),i.css.jq.videoPlay.length&&i.css.jq.videoPlay.show(),i._error({type:t.jPlayer.error.URL,context:i.status.src,message:t.jPlayer.errorMsg.URL,hint:t.jPlayer.errorHint.URL})))},!1),t.each(t.jPlayer.htmlEvent,function(a,n){e.addEventListener(this,function(){s.gate&&i._trigger(t.jPlayer.event[n])},!1)})},_getHtmlStatus:function(t,e){var s=0,i=0,a=0,n=0;isFinite(t.duration)&&(this.status.duration=t.duration),s=t.currentTime,i=this.status.duration>0?100*s/this.status.duration:0,"object"==typeof t.seekable&&t.seekable.length>0?(a=this.status.duration>0?100*t.seekable.end(t.seekable.length-1)/this.status.duration:100,n=this.status.duration>0?100*t.currentTime/t.seekable.end(t.seekable.length-1):0):(a=100,n=i),e&&(s=0,n=0,i=0),this.status.seekPercent=a,this.status.currentPercentRelative=n,this.status.currentPercentAbsolute=i,this.status.currentTime=s,this.status.remaining=this.status.duration-this.status.currentTime,this.status.videoWidth=t.videoWidth,this.status.videoHeight=t.videoHeight,this.status.readyState=t.readyState,this.status.networkState=t.networkState,this.status.playbackRate=t.playbackRate,this.status.ended=t.ended},_resetStatus:function(){this.status=t.extend({},this.status,t.jPlayer.prototype.status)},_trigger:function(e,s,i){var a=t.Event(e);a.jPlayer={},a.jPlayer.version=t.extend({},this.version),a.jPlayer.options=t.extend(!0,{},this.options),a.jPlayer.status=t.extend(!0,{},this.status),a.jPlayer.html=t.extend(!0,{},this.html),a.jPlayer.flash=t.extend(!0,{},this.flash),s&&(a.jPlayer.error=t.extend({},s)),i&&(a.jPlayer.warning=t.extend({},i)),this.element.trigger(a)},jPlayerFlashEvent:function(e,s){if(e===t.jPlayer.event.ready)if(this.internal.ready){if(this.flash.gate){if(this.status.srcSet){var i=this.status.currentTime,a=this.status.paused;this.setMedia(this.status.media),this.volumeWorker(this.options.volume),i>0&&(a?this.pause(i):this.play(i))}this._trigger(t.jPlayer.event.flashreset)}}else this.internal.ready=!0,this.internal.flash.jq.css({width:"0px",height:"0px"}),this.version.flash=s.version,this.version.needFlash!==this.version.flash&&this._error({type:t.jPlayer.error.VERSION,context:this.version.flash,message:t.jPlayer.errorMsg.VERSION+this.version.flash,hint:t.jPlayer.errorHint.VERSION}),this._trigger(t.jPlayer.event.repeat),this._trigger(e);if(this.flash.gate)switch(e){case t.jPlayer.event.progress:this._getFlashStatus(s),this._updateInterface(),this._trigger(e);break;case t.jPlayer.event.timeupdate:this._getFlashStatus(s),this._updateInterface(),this._trigger(e);break;case t.jPlayer.event.play:this._seeked(),this._updateButtons(!0),this._trigger(e);break;case t.jPlayer.event.pause:this._updateButtons(!1),this._trigger(e);break;case t.jPlayer.event.ended:this._updateButtons(!1),this._trigger(e);break;case t.jPlayer.event.click:this._trigger(e);break;case t.jPlayer.event.error:this.status.waitForLoad=!0,this.status.waitForPlay=!0,this.status.video&&this.internal.flash.jq.css({width:"0px",height:"0px"}),this._validString(this.status.media.poster)&&this.internal.poster.jq.show(),this.css.jq.videoPlay.length&&this.status.video&&this.css.jq.videoPlay.show(),this.status.video?this._flash_setVideo(this.status.media):this._flash_setAudio(this.status.media),this._updateButtons(!1),this._error({type:t.jPlayer.error.URL,context:s.src,message:t.jPlayer.errorMsg.URL,hint:t.jPlayer.errorHint.URL});break;case t.jPlayer.event.seeking:this._seeking(),this._trigger(e);break;case t.jPlayer.event.seeked:this._seeked(),this._trigger(e);break;case t.jPlayer.event.ready:break;default:this._trigger(e)}return!1},_getFlashStatus:function(t){this.status.seekPercent=t.seekPercent,this.status.currentPercentRelative=t.currentPercentRelative,this.status.currentPercentAbsolute=t.currentPercentAbsolute,this.status.currentTime=t.currentTime,this.status.duration=t.duration,this.status.remaining=t.duration-t.currentTime,this.status.videoWidth=t.videoWidth,this.status.videoHeight=t.videoHeight,this.status.readyState=4,this.status.networkState=0,this.status.playbackRate=1,this.status.ended=!1},_updateButtons:function(t){t===e?t=!this.status.paused:this.status.paused=!t,t?this.addStateClass("playing"):this.removeStateClass("playing"),!this.status.noFullWindow&&this.options.fullWindow?this.addStateClass("fullScreen"):this.removeStateClass("fullScreen"),this.options.loop?this.addStateClass("looped"):this.removeStateClass("looped"),this.css.jq.play.length&&this.css.jq.pause.length&&(t?(this.css.jq.play.hide(),this.css.jq.pause.show()):(this.css.jq.play.show(),this.css.jq.pause.hide())),this.css.jq.restoreScreen.length&&this.css.jq.fullScreen.length&&(this.status.noFullWindow?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.hide()):this.options.fullWindow?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.show()):(this.css.jq.fullScreen.show(),this.css.jq.restoreScreen.hide())),this.css.jq.repeat.length&&this.css.jq.repeatOff.length&&(this.options.loop?(this.css.jq.repeat.hide(),this.css.jq.repeatOff.show()):(this.css.jq.repeat.show(),this.css.jq.repeatOff.hide()))},_updateInterface:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.width(this.status.seekPercent+"%"),this.css.jq.playBar.length&&(this.options.smoothPlayBar?this.css.jq.playBar.stop().animate({width:this.status.currentPercentAbsolute+"%"},250,"linear"):this.css.jq.playBar.width(this.status.currentPercentRelative+"%"));var t="";this.css.jq.currentTime.length&&(t=this._convertTime(this.status.currentTime),t!==this.css.jq.currentTime.text()&&this.css.jq.currentTime.text(this._convertTime(this.status.currentTime)));var e="",s=this.status.duration,i=this.status.remaining;this.css.jq.duration.length&&("string"==typeof this.status.media.duration?e=this.status.media.duration:("number"==typeof this.status.media.duration&&(s=this.status.media.duration,i=s-this.status.currentTime),e=this.options.remainingDuration?(i>0?"-":"")+this._convertTime(i):this._convertTime(s)),e!==this.css.jq.duration.text()&&this.css.jq.duration.text(e))},_convertTime:s.prototype.time,_seeking:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.addClass("jp-seeking-bg"),this.addStateClass("seeking")},_seeked:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.removeClass("jp-seeking-bg"),this.removeStateClass("seeking")},_resetGate:function(){this.html.audio.gate=!1,this.html.video.gate=!1,this.flash.gate=!1},_resetActive:function(){this.html.active=!1,this.flash.active=!1},_escapeHtml:function(t){return t.split("&").join("&").split("<").join("<").split(">").join(">").split('"').join(""")},_qualifyURL:function(t){var e=document.createElement("div");return e.innerHTML='<a href="'+this._escapeHtml(t)+'">x</a>',e.firstChild.href},_absoluteMediaUrls:function(e){var s=this;return t.each(e,function(t,i){i&&s.format[t]&&(e[t]=s._qualifyURL(i))}),e},addStateClass:function(t){this.ancestorJq.length&&this.ancestorJq.addClass(this.options.stateClass[t])},removeStateClass:function(t){this.ancestorJq.length&&this.ancestorJq.removeClass(this.options.stateClass[t])},setMedia:function(e){var s=this,i=!1,a=this.status.media.poster!==e.poster;this._resetMedia(),this._resetGate(),this._resetActive(),this.androidFix.setMedia=!1,this.androidFix.play=!1,this.androidFix.pause=!1,e=this._absoluteMediaUrls(e),t.each(this.formats,function(a,n){var o="video"===s.format[n].media;return t.each(s.solutions,function(a,r){if(s[r].support[n]&&s._validString(e[n])){var l="html"===r;return o?(l?(s.html.video.gate=!0,s._html_setVideo(e),s.html.active=!0):(s.flash.gate=!0,s._flash_setVideo(e),s.flash.active=!0),s.css.jq.videoPlay.length&&s.css.jq.videoPlay.show(),s.status.video=!0):(l?(s.html.audio.gate=!0,s._html_setAudio(e),s.html.active=!0,t.jPlayer.platform.android&&(s.androidFix.setMedia=!0)):(s.flash.gate=!0,s._flash_setAudio(e),s.flash.active=!0),s.css.jq.videoPlay.length&&s.css.jq.videoPlay.hide(),s.status.video=!1),i=!0,!1}}),i?!1:void 0}),i?(this.status.nativeVideoControls&&this.html.video.gate||this._validString(e.poster)&&(a?this.htmlElement.poster.src=e.poster:this.internal.poster.jq.show()),this.css.jq.title.length&&"string"==typeof e.title&&(this.css.jq.title.html(e.title),this.htmlElement.audio&&this.htmlElement.audio.setAttribute("title",e.title),this.htmlElement.video&&this.htmlElement.video.setAttribute("title",e.title)),this.status.srcSet=!0,this.status.media=t.extend({},e),this._updateButtons(!1),this._updateInterface(),this._trigger(t.jPlayer.event.setmedia)):this._error({type:t.jPlayer.error.NO_SUPPORT,context:"{supplied:'"+this.options.supplied+"'}",message:t.jPlayer.errorMsg.NO_SUPPORT,hint:t.jPlayer.errorHint.NO_SUPPORT})},_resetMedia:function(){this._resetStatus(),this._updateButtons(!1),this._updateInterface(),this._seeked(),this.internal.poster.jq.hide(),clearTimeout(this.internal.htmlDlyCmdId),this.html.active?this._html_resetMedia():this.flash.active&&this._flash_resetMedia()},clearMedia:function(){this._resetMedia(),this.html.active?this._html_clearMedia():this.flash.active&&this._flash_clearMedia(),this._resetGate(),this._resetActive()},load:function(){this.status.srcSet?this.html.active?this._html_load():this.flash.active&&this._flash_load():this._urlNotSetError("load")},focus:function(){this.options.keyEnabled&&(t.jPlayer.focus=this)},play:function(t){var e="object"==typeof t;e&&this.options.useStateClassSkin&&!this.status.paused?this.pause(t):(t="number"==typeof t?t:0/0,this.status.srcSet?(this.focus(),this.html.active?this._html_play(t):this.flash.active&&this._flash_play(t)):this._urlNotSetError("play"))},videoPlay:function(){this.play()
|
2 |
Â
},pause:function(t){t="number"==typeof t?t:0/0,this.status.srcSet?this.html.active?this._html_pause(t):this.flash.active&&this._flash_pause(t):this._urlNotSetError("pause")},tellOthers:function(e,s){var i=this,a="function"==typeof s,n=Array.prototype.slice.call(arguments);"string"==typeof e&&(a&&n.splice(1,1),t.each(this.instances,function(){i.element!==this&&(!a||s.call(this.data("jPlayer"),i))&&this.jPlayer.apply(this,n)}))},pauseOthers:function(t){this.tellOthers("pause",function(){return this.status.srcSet},t)},stop:function(){this.status.srcSet?this.html.active?this._html_pause(0):this.flash.active&&this._flash_pause(0):this._urlNotSetError("stop")},playHead:function(t){t=this._limitValue(t,0,100),this.status.srcSet?this.html.active?this._html_playHead(t):this.flash.active&&this._flash_playHead(t):this._urlNotSetError("playHead")},_muted:function(t){this.mutedWorker(t),this.options.globalVolume&&this.tellOthers("mutedWorker",function(){return this.options.globalVolume},t)},mutedWorker:function(e){this.options.muted=e,this.html.used&&this._html_setProperty("muted",e),this.flash.used&&this._flash_mute(e),this.html.video.gate||this.html.audio.gate||(this._updateMute(e),this._updateVolume(this.options.volume),this._trigger(t.jPlayer.event.volumechange))},mute:function(t){var s="object"==typeof t;s&&this.options.useStateClassSkin&&this.options.muted?this._muted(!1):(t=t===e?!0:!!t,this._muted(t))},unmute:function(t){t=t===e?!0:!!t,this._muted(!t)},_updateMute:function(t){t===e&&(t=this.options.muted),t?this.addStateClass("muted"):this.removeStateClass("muted"),this.css.jq.mute.length&&this.css.jq.unmute.length&&(this.status.noVolume?(this.css.jq.mute.hide(),this.css.jq.unmute.hide()):t?(this.css.jq.mute.hide(),this.css.jq.unmute.show()):(this.css.jq.mute.show(),this.css.jq.unmute.hide()))},volume:function(t){this.volumeWorker(t),this.options.globalVolume&&this.tellOthers("volumeWorker",function(){return this.options.globalVolume},t)},volumeWorker:function(e){e=this._limitValue(e,0,1),this.options.volume=e,this.html.used&&this._html_setProperty("volume",e),this.flash.used&&this._flash_volume(e),this.html.video.gate||this.html.audio.gate||(this._updateVolume(e),this._trigger(t.jPlayer.event.volumechange))},volumeBar:function(e){if(this.css.jq.volumeBar.length){var s=t(e.currentTarget),i=s.offset(),a=e.pageX-i.left,n=s.width(),o=s.height()-e.pageY+i.top,r=s.height();this.volume(this.options.verticalVolume?o/r:a/n)}this.options.muted&&this._muted(!1)},_updateVolume:function(t){t===e&&(t=this.options.volume),t=this.options.muted?0:t,this.status.noVolume?(this.css.jq.volumeBar.length&&this.css.jq.volumeBar.hide(),this.css.jq.volumeBarValue.length&&this.css.jq.volumeBarValue.hide(),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.hide()):(this.css.jq.volumeBar.length&&this.css.jq.volumeBar.show(),this.css.jq.volumeBarValue.length&&(this.css.jq.volumeBarValue.show(),this.css.jq.volumeBarValue[this.options.verticalVolume?"height":"width"](100*t+"%")),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.show())},volumeMax:function(){this.volume(1),this.options.muted&&this._muted(!1)},_cssSelectorAncestor:function(e){var s=this;this.options.cssSelectorAncestor=e,this._removeUiClass(),this.ancestorJq=e?t(e):[],e&&1!==this.ancestorJq.length&&this._warning({type:t.jPlayer.warning.CSS_SELECTOR_COUNT,context:e,message:t.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.ancestorJq.length+" found for cssSelectorAncestor.",hint:t.jPlayer.warningHint.CSS_SELECTOR_COUNT}),this._addUiClass(),t.each(this.options.cssSelector,function(t,e){s._cssSelector(t,e)}),this._updateInterface(),this._updateButtons(),this._updateAutohide(),this._updateVolume(),this._updateMute()},_cssSelector:function(e,s){var i=this;if("string"==typeof s)if(t.jPlayer.prototype.options.cssSelector[e]){if(this.css.jq[e]&&this.css.jq[e].length&&this.css.jq[e].unbind(".jPlayer"),this.options.cssSelector[e]=s,this.css.cs[e]=this.options.cssSelectorAncestor+" "+s,this.css.jq[e]=s?t(this.css.cs[e]):[],this.css.jq[e].length&&this[e]){var a=function(s){s.preventDefault(),i[e](s),i.options.autoBlur&&t(this).blur()};this.css.jq[e].bind("click.jPlayer",a)}s&&1!==this.css.jq[e].length&&this._warning({type:t.jPlayer.warning.CSS_SELECTOR_COUNT,context:this.css.cs[e],message:t.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.css.jq[e].length+" found for "+e+" method.",hint:t.jPlayer.warningHint.CSS_SELECTOR_COUNT})}else this._warning({type:t.jPlayer.warning.CSS_SELECTOR_METHOD,context:e,message:t.jPlayer.warningMsg.CSS_SELECTOR_METHOD,hint:t.jPlayer.warningHint.CSS_SELECTOR_METHOD});else this._warning({type:t.jPlayer.warning.CSS_SELECTOR_STRING,context:s,message:t.jPlayer.warningMsg.CSS_SELECTOR_STRING,hint:t.jPlayer.warningHint.CSS_SELECTOR_STRING})},duration:function(t){this.options.toggleDuration&&(this.options.captureDuration&&t.stopPropagation(),this._setOption("remainingDuration",!this.options.remainingDuration))},seekBar:function(e){if(this.css.jq.seekBar.length){var s=t(e.currentTarget),i=s.offset(),a=e.pageX-i.left,n=s.width(),o=100*a/n;this.playHead(o)}},playbackRate:function(t){this._setOption("playbackRate",t)},playbackRateBar:function(e){if(this.css.jq.playbackRateBar.length){var s,i,a=t(e.currentTarget),n=a.offset(),o=e.pageX-n.left,r=a.width(),l=a.height()-e.pageY+n.top,h=a.height();s=this.options.verticalPlaybackRate?l/h:o/r,i=s*(this.options.maxPlaybackRate-this.options.minPlaybackRate)+this.options.minPlaybackRate,this.playbackRate(i)}},_updatePlaybackRate:function(){var t=this.options.playbackRate,e=(t-this.options.minPlaybackRate)/(this.options.maxPlaybackRate-this.options.minPlaybackRate);this.status.playbackRateEnabled?(this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.show(),this.css.jq.playbackRateBarValue.length&&(this.css.jq.playbackRateBarValue.show(),this.css.jq.playbackRateBarValue[this.options.verticalPlaybackRate?"height":"width"](100*e+"%"))):(this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.hide(),this.css.jq.playbackRateBarValue.length&&this.css.jq.playbackRateBarValue.hide())},repeat:function(t){var e="object"==typeof t;this._loop(e&&this.options.useStateClassSkin&&this.options.loop?!1:!0)},repeatOff:function(){this._loop(!1)},_loop:function(e){this.options.loop!==e&&(this.options.loop=e,this._updateButtons(),this._trigger(t.jPlayer.event.repeat))},option:function(s,i){var a=s;if(0===arguments.length)return t.extend(!0,{},this.options);if("string"==typeof s){var n=s.split(".");if(i===e){for(var o=t.extend(!0,{},this.options),r=0;r<n.length;r++){if(o[n[r]]===e)return this._warning({type:t.jPlayer.warning.OPTION_KEY,context:s,message:t.jPlayer.warningMsg.OPTION_KEY,hint:t.jPlayer.warningHint.OPTION_KEY}),e;o=o[n[r]]}return o}a={};for(var l=a,h=0;h<n.length;h++)h<n.length-1?(l[n[h]]={},l=l[n[h]]):l[n[h]]=i}return this._setOptions(a),this},_setOptions:function(e){var s=this;return t.each(e,function(t,e){s._setOption(t,e)}),this},_setOption:function(e,s){var i=this;switch(e){case"volume":this.volume(s);break;case"muted":this._muted(s);break;case"globalVolume":this.options[e]=s;break;case"cssSelectorAncestor":this._cssSelectorAncestor(s);break;case"cssSelector":t.each(s,function(t,e){i._cssSelector(t,e)});break;case"playbackRate":this.options[e]=s=this._limitValue(s,this.options.minPlaybackRate,this.options.maxPlaybackRate),this.html.used&&this._html_setProperty("playbackRate",s),this._updatePlaybackRate();break;case"defaultPlaybackRate":this.options[e]=s=this._limitValue(s,this.options.minPlaybackRate,this.options.maxPlaybackRate),this.html.used&&this._html_setProperty("defaultPlaybackRate",s),this._updatePlaybackRate();break;case"minPlaybackRate":this.options[e]=s=this._limitValue(s,.1,this.options.maxPlaybackRate-.1),this._updatePlaybackRate();break;case"maxPlaybackRate":this.options[e]=s=this._limitValue(s,this.options.minPlaybackRate+.1,16),this._updatePlaybackRate();break;case"fullScreen":if(this.options[e]!==s){var a=t.jPlayer.nativeFeatures.fullscreen.used.webkitVideo;(!a||a&&!this.status.waitForPlay)&&(a||(this.options[e]=s),s?this._requestFullscreen():this._exitFullscreen(),a||this._setOption("fullWindow",s))}break;case"fullWindow":this.options[e]!==s&&(this._removeUiClass(),this.options[e]=s,this._refreshSize());break;case"size":this.options.fullWindow||this.options[e].cssClass===s.cssClass||this._removeUiClass(),this.options[e]=t.extend({},this.options[e],s),this._refreshSize();break;case"sizeFull":this.options.fullWindow&&this.options[e].cssClass!==s.cssClass&&this._removeUiClass(),this.options[e]=t.extend({},this.options[e],s),this._refreshSize();break;case"autohide":this.options[e]=t.extend({},this.options[e],s),this._updateAutohide();break;case"loop":this._loop(s);break;case"remainingDuration":this.options[e]=s,this._updateInterface();break;case"toggleDuration":this.options[e]=s;break;case"nativeVideoControls":this.options[e]=t.extend({},this.options[e],s),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this._restrictNativeVideoControls(),this._updateNativeVideoControls();break;case"noFullWindow":this.options[e]=t.extend({},this.options[e],s),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this.status.noFullWindow=this._uaBlocklist(this.options.noFullWindow),this._restrictNativeVideoControls(),this._updateButtons();break;case"noVolume":this.options[e]=t.extend({},this.options[e],s),this.status.noVolume=this._uaBlocklist(this.options.noVolume),this._updateVolume(),this._updateMute();break;case"emulateHtml":this.options[e]!==s&&(this.options[e]=s,s?this._emulateHtmlBridge():this._destroyHtmlBridge());break;case"timeFormat":this.options[e]=t.extend({},this.options[e],s);break;case"keyEnabled":this.options[e]=s,s||this!==t.jPlayer.focus||(t.jPlayer.focus=null);break;case"keyBindings":this.options[e]=t.extend(!0,{},this.options[e],s);break;case"audioFullScreen":this.options[e]=s;break;case"autoBlur":this.options[e]=s}return this},_refreshSize:function(){this._setSize(),this._addUiClass(),this._updateSize(),this._updateButtons(),this._updateAutohide(),this._trigger(t.jPlayer.event.resize)},_setSize:function(){this.options.fullWindow?(this.status.width=this.options.sizeFull.width,this.status.height=this.options.sizeFull.height,this.status.cssClass=this.options.sizeFull.cssClass):(this.status.width=this.options.size.width,this.status.height=this.options.size.height,this.status.cssClass=this.options.size.cssClass),this.element.css({width:this.status.width,height:this.status.height})},_addUiClass:function(){this.ancestorJq.length&&this.ancestorJq.addClass(this.status.cssClass)},_removeUiClass:function(){this.ancestorJq.length&&this.ancestorJq.removeClass(this.status.cssClass)},_updateSize:function(){this.internal.poster.jq.css({width:this.status.width,height:this.status.height}),!this.status.waitForPlay&&this.html.active&&this.status.video||this.html.video.available&&this.html.used&&this.status.nativeVideoControls?this.internal.video.jq.css({width:this.status.width,height:this.status.height}):!this.status.waitForPlay&&this.flash.active&&this.status.video&&this.internal.flash.jq.css({width:this.status.width,height:this.status.height})},_updateAutohide:function(){var t=this,e="mousemove.jPlayer",s=".jPlayerAutohide",i=e+s,a=function(){t.css.jq.gui.fadeIn(t.options.autohide.fadeIn,function(){clearTimeout(t.internal.autohideId),t.internal.autohideId=setTimeout(function(){t.css.jq.gui.fadeOut(t.options.autohide.fadeOut)},t.options.autohide.hold)})};this.css.jq.gui.length&&(this.css.jq.gui.stop(!0,!0),clearTimeout(this.internal.autohideId),this.element.unbind(s),this.css.jq.gui.unbind(s),this.status.nativeVideoControls?this.css.jq.gui.hide():this.options.fullWindow&&this.options.autohide.full||!this.options.fullWindow&&this.options.autohide.restored?(this.element.bind(i,a),this.css.jq.gui.bind(i,a),this.css.jq.gui.hide()):this.css.jq.gui.show())},fullScreen:function(t){var e="object"==typeof t;e&&this.options.useStateClassSkin&&this.options.fullScreen?this._setOption("fullScreen",!1):this._setOption("fullScreen",!0)},restoreScreen:function(){this._setOption("fullScreen",!1)},_fullscreenAddEventListeners:function(){var e=this,s=t.jPlayer.nativeFeatures.fullscreen;s.api.fullscreenEnabled&&s.event.fullscreenchange&&("function"!=typeof this.internal.fullscreenchangeHandler&&(this.internal.fullscreenchangeHandler=function(){e._fullscreenchange()}),document.addEventListener(s.event.fullscreenchange,this.internal.fullscreenchangeHandler,!1))},_fullscreenRemoveEventListeners:function(){var e=t.jPlayer.nativeFeatures.fullscreen;this.internal.fullscreenchangeHandler&&document.removeEventListener(e.event.fullscreenchange,this.internal.fullscreenchangeHandler,!1)},_fullscreenchange:function(){this.options.fullScreen&&!t.jPlayer.nativeFeatures.fullscreen.api.fullscreenElement()&&this._setOption("fullScreen",!1)},_requestFullscreen:function(){var e=this.ancestorJq.length?this.ancestorJq[0]:this.element[0],s=t.jPlayer.nativeFeatures.fullscreen;s.used.webkitVideo&&(e=this.htmlElement.video),s.api.fullscreenEnabled&&s.api.requestFullscreen(e)},_exitFullscreen:function(){var e,s=t.jPlayer.nativeFeatures.fullscreen;s.used.webkitVideo&&(e=this.htmlElement.video),s.api.fullscreenEnabled&&s.api.exitFullscreen(e)},_html_initMedia:function(e){var s=t(this.htmlElement.media).empty();t.each(e.track||[],function(t,e){var i=document.createElement("track");i.setAttribute("kind",e.kind?e.kind:""),i.setAttribute("src",e.src?e.src:""),i.setAttribute("srclang",e.srclang?e.srclang:""),i.setAttribute("label",e.label?e.label:""),e.def&&i.setAttribute("default",e.def),s.append(i)}),this.htmlElement.media.src=this.status.src,"none"!==this.options.preload&&this._html_load(),this._trigger(t.jPlayer.event.timeupdate)},_html_setFormat:function(e){var s=this;t.each(this.formats,function(t,i){return s.html.support[i]&&e[i]?(s.status.src=e[i],s.status.format[i]=!0,s.status.formatType=i,!1):void 0})},_html_setAudio:function(t){this._html_setFormat(t),this.htmlElement.media=this.htmlElement.audio,this._html_initMedia(t)},_html_setVideo:function(t){this._html_setFormat(t),this.status.nativeVideoControls&&(this.htmlElement.video.poster=this._validString(t.poster)?t.poster:""),this.htmlElement.media=this.htmlElement.video,this._html_initMedia(t)},_html_resetMedia:function(){this.htmlElement.media&&(this.htmlElement.media.id!==this.internal.video.id||this.status.nativeVideoControls||this.internal.video.jq.css({width:"0px",height:"0px"}),this.htmlElement.media.pause())},_html_clearMedia:function(){this.htmlElement.media&&(this.htmlElement.media.src="about:blank",this.htmlElement.media.load())},_html_load:function(){this.status.waitForLoad&&(this.status.waitForLoad=!1,this.htmlElement.media.load()),clearTimeout(this.internal.htmlDlyCmdId)},_html_play:function(t){var e=this,s=this.htmlElement.media;if(this.androidFix.pause=!1,this._html_load(),this.androidFix.setMedia)this.androidFix.play=!0,this.androidFix.time=t;else if(isNaN(t))s.play();else{this.internal.cmdsIgnored&&s.play();try{if(s.seekable&&!("object"==typeof s.seekable&&s.seekable.length>0))throw 1;s.currentTime=t,s.play()}catch(i){return void(this.internal.htmlDlyCmdId=setTimeout(function(){e.play(t)},250))}}this._html_checkWaitForPlay()},_html_pause:function(t){var e=this,s=this.htmlElement.media;if(this.androidFix.play=!1,t>0?this._html_load():clearTimeout(this.internal.htmlDlyCmdId),s.pause(),this.androidFix.setMedia)this.androidFix.pause=!0,this.androidFix.time=t;else if(!isNaN(t))try{if(s.seekable&&!("object"==typeof s.seekable&&s.seekable.length>0))throw 1;s.currentTime=t}catch(i){return void(this.internal.htmlDlyCmdId=setTimeout(function(){e.pause(t)},250))}t>0&&this._html_checkWaitForPlay()},_html_playHead:function(t){var e=this,s=this.htmlElement.media;this._html_load();try{if("object"==typeof s.seekable&&s.seekable.length>0)s.currentTime=t*s.seekable.end(s.seekable.length-1)/100;else{if(!(s.duration>0)||isNaN(s.duration))throw"e";s.currentTime=t*s.duration/100}}catch(i){return void(this.internal.htmlDlyCmdId=setTimeout(function(){e.playHead(t)},250))}this.status.waitForLoad||this._html_checkWaitForPlay()},_html_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height})))},_html_setProperty:function(t,e){this.html.audio.available&&(this.htmlElement.audio[t]=e),this.html.video.available&&(this.htmlElement.video[t]=e)},_flash_setAudio:function(e){var s=this;try{t.each(this.formats,function(t,i){if(s.flash.support[i]&&e[i]){switch(i){case"m4a":case"fla":s._getMovie().fl_setAudio_m4a(e[i]);break;case"mp3":s._getMovie().fl_setAudio_mp3(e[i]);break;case"rtmpa":s._getMovie().fl_setAudio_rtmp(e[i])}return s.status.src=e[i],s.status.format[i]=!0,s.status.formatType=i,!1}}),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(i){this._flashError(i)}},_flash_setVideo:function(e){var s=this;try{t.each(this.formats,function(t,i){if(s.flash.support[i]&&e[i]){switch(i){case"m4v":case"flv":s._getMovie().fl_setVideo_m4v(e[i]);break;case"rtmpv":s._getMovie().fl_setVideo_rtmp(e[i])}return s.status.src=e[i],s.status.format[i]=!0,s.status.formatType=i,!1}}),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(i){this._flashError(i)}},_flash_resetMedia:function(){this.internal.flash.jq.css({width:"0px",height:"0px"}),this._flash_pause(0/0)},_flash_clearMedia:function(){try{this._getMovie().fl_clearMedia()}catch(t){this._flashError(t)}},_flash_load:function(){try{this._getMovie().fl_load()}catch(t){this._flashError(t)}this.status.waitForLoad=!1},_flash_play:function(t){try{this._getMovie().fl_play(t)}catch(e){this._flashError(e)}this.status.waitForLoad=!1,this._flash_checkWaitForPlay()},_flash_pause:function(t){try{this._getMovie().fl_pause(t)}catch(e){this._flashError(e)}t>0&&(this.status.waitForLoad=!1,this._flash_checkWaitForPlay())},_flash_playHead:function(t){try{this._getMovie().fl_play_head(t)}catch(e){this._flashError(e)}this.status.waitForLoad||this._flash_checkWaitForPlay()},_flash_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.flash.jq.css({width:this.status.width,height:this.status.height})))},_flash_volume:function(t){try{this._getMovie().fl_volume(t)}catch(e){this._flashError(e)}},_flash_mute:function(t){try{this._getMovie().fl_mute(t)}catch(e){this._flashError(e)}},_getMovie:function(){return document[this.internal.flash.id]},_getFlashPluginVersion:function(){var t,e=0;if(window.ActiveXObject)try{if(t=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")){var s=t.GetVariable("$version");s&&(s=s.split(" ")[1].split(","),e=parseInt(s[0],10)+"."+parseInt(s[1],10))}}catch(i){}else navigator.plugins&&navigator.mimeTypes.length>0&&(t=navigator.plugins["Shockwave Flash"],t&&(e=navigator.plugins["Shockwave Flash"].description.replace(/.*\s(\d+\.\d+).*/,"$1")));return 1*e},_checkForFlash:function(t){var e=!1;return this._getFlashPluginVersion()>=t&&(e=!0),e},_validString:function(t){return t&&"string"==typeof t},_limitValue:function(t,e,s){return e>t?e:t>s?s:t},_urlNotSetError:function(e){this._error({type:t.jPlayer.error.URL_NOT_SET,context:e,message:t.jPlayer.errorMsg.URL_NOT_SET,hint:t.jPlayer.errorHint.URL_NOT_SET})},_flashError:function(e){var s;s=this.internal.ready?"FLASH_DISABLED":"FLASH",this._error({type:t.jPlayer.error[s],context:this.internal.flash.swf,message:t.jPlayer.errorMsg[s]+e.message,hint:t.jPlayer.errorHint[s]}),this.internal.flash.jq.css({width:"1px",height:"1px"})},_error:function(e){this._trigger(t.jPlayer.event.error,e),this.options.errorAlerts&&this._alert("Error!"+(e.message?"\n"+e.message:"")+(e.hint?"\n"+e.hint:"")+"\nContext: "+e.context)},_warning:function(s){this._trigger(t.jPlayer.event.warning,e,s),this.options.warningAlerts&&this._alert("Warning!"+(s.message?"\n"+s.message:"")+(s.hint?"\n"+s.hint:"")+"\nContext: "+s.context)},_alert:function(t){var e="jPlayer "+this.version.script+" : id='"+this.internal.self.id+"' : "+t;this.options.consoleAlerts?window.console&&window.console.log&&window.console.log(e):alert(e)},_emulateHtmlBridge:function(){var e=this;t.each(t.jPlayer.emulateMethods.split(/\s+/g),function(t,s){e.internal.domNode[s]=function(t){e[s](t)}}),t.each(t.jPlayer.event,function(s,i){var a=!0;t.each(t.jPlayer.reservedEvent.split(/\s+/g),function(t,e){return e===s?(a=!1,!1):void 0}),a&&e.element.bind(i+".jPlayer.jPlayerHtml",function(){e._emulateHtmlUpdate();var t=document.createEvent("Event");t.initEvent(s,!1,!0),e.internal.domNode.dispatchEvent(t)})})},_emulateHtmlUpdate:function(){var e=this;t.each(t.jPlayer.emulateStatus.split(/\s+/g),function(t,s){e.internal.domNode[s]=e.status[s]}),t.each(t.jPlayer.emulateOptions.split(/\s+/g),function(t,s){e.internal.domNode[s]=e.options[s]})},_destroyHtmlBridge:function(){var e=this;this.element.unbind(".jPlayerHtml");var s=t.jPlayer.emulateMethods+" "+t.jPlayer.emulateStatus+" "+t.jPlayer.emulateOptions;t.each(s.split(/\s+/g),function(t,s){delete e.internal.domNode[s]})}},t.jPlayer.error={FLASH:"e_flash",FLASH_DISABLED:"e_flash_disabled",NO_SOLUTION:"e_no_solution",NO_SUPPORT:"e_no_support",URL:"e_url",URL_NOT_SET:"e_url_not_set",VERSION:"e_version"},t.jPlayer.errorMsg={FLASH:"jPlayer's Flash fallback is not configured correctly, or a command was issued before the jPlayer Ready event. Details: ",FLASH_DISABLED:"jPlayer's Flash fallback has been disabled by the browser due to the CSS rules you have used. Details: ",NO_SOLUTION:"No solution can be found by jPlayer in this browser. Neither HTML nor Flash can be used.",NO_SUPPORT:"It is not possible to play any media format provided in setMedia() on this browser using your current options.",URL:"Media URL could not be loaded.",URL_NOT_SET:"Attempt to issue media playback commands, while no media url is set.",VERSION:"jPlayer "+t.jPlayer.prototype.version.script+" needs Jplayer.swf version "+t.jPlayer.prototype.version.needFlash+" but found "},t.jPlayer.errorHint={FLASH:"Check your swfPath option and that Jplayer.swf is there.",FLASH_DISABLED:"Check that you have not display:none; the jPlayer entity or any ancestor.",NO_SOLUTION:"Review the jPlayer options: support and supplied.",NO_SUPPORT:"Video or audio formats defined in the supplied option are missing.",URL:"Check media URL is valid.",URL_NOT_SET:"Use setMedia() to set the media URL.",VERSION:"Update jPlayer files."},t.jPlayer.warning={CSS_SELECTOR_COUNT:"e_css_selector_count",CSS_SELECTOR_METHOD:"e_css_selector_method",CSS_SELECTOR_STRING:"e_css_selector_string",OPTION_KEY:"e_option_key"},t.jPlayer.warningMsg={CSS_SELECTOR_COUNT:"The number of css selectors found did not equal one: ",CSS_SELECTOR_METHOD:"The methodName given in jPlayer('cssSelector') is not a valid jPlayer method.",CSS_SELECTOR_STRING:"The methodCssSelector given in jPlayer('cssSelector') is not a String or is empty.",OPTION_KEY:"The option requested in jPlayer('option') is undefined."},t.jPlayer.warningHint={CSS_SELECTOR_COUNT:"Check your css selector and the ancestor.",CSS_SELECTOR_METHOD:"Check your method name.",CSS_SELECTOR_STRING:"Check your css selector is a string.",OPTION_KEY:"Check your option name."}});
|
js/jquery.js
DELETED
@@ -1,167 +0,0 @@
|
|
1 |
-
/*!
|
2 |
-
* jQuery JavaScript Library v1.4.4
|
3 |
-
* http://jquery.com/
|
4 |
-
*
|
5 |
-
* Copyright 2010, John Resig
|
6 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
7 |
-
* http://jquery.org/license
|
8 |
-
*
|
9 |
-
* Includes Sizzle.js
|
10 |
-
* http://sizzlejs.com/
|
11 |
-
* Copyright 2010, The Dojo Foundation
|
12 |
-
* Released under the MIT, BSD, and GPL Licenses.
|
13 |
-
*
|
14 |
-
* Date: Thu Nov 11 19:04:53 2010 -0500
|
15 |
-
*/
|
16 |
-
(function(E,B){function ka(a,b,d){if(d===B&&a.nodeType===1){d=a.getAttribute("data-"+b);if(typeof d==="string"){try{d=d==="true"?true:d==="false"?false:d==="null"?null:!c.isNaN(d)?parseFloat(d):Ja.test(d)?c.parseJSON(d):d}catch(e){}c.data(a,b,d)}else d=B}return d}function U(){return false}function ca(){return true}function la(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function Ka(a){var b,d,e,f,h,l,k,o,x,r,A,C=[];f=[];h=c.data(this,this.nodeType?"events":"__events__");if(typeof h==="function")h=
|
17 |
-
h.events;if(!(a.liveFired===this||!h||!h.live||a.button&&a.type==="click")){if(a.namespace)A=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)");a.liveFired=this;var J=h.live.slice(0);for(k=0;k<J.length;k++){h=J[k];h.origType.replace(X,"")===a.type?f.push(h.selector):J.splice(k--,1)}f=c(a.target).closest(f,a.currentTarget);o=0;for(x=f.length;o<x;o++){r=f[o];for(k=0;k<J.length;k++){h=J[k];if(r.selector===h.selector&&(!A||A.test(h.namespace))){l=r.elem;e=null;if(h.preType==="mouseenter"||
|
18 |
-
h.preType==="mouseleave"){a.type=h.preType;e=c(a.relatedTarget).closest(h.selector)[0]}if(!e||e!==l)C.push({elem:l,handleObj:h,level:r.level})}}}o=0;for(x=C.length;o<x;o++){f=C[o];if(d&&f.level>d)break;a.currentTarget=f.elem;a.data=f.handleObj.data;a.handleObj=f.handleObj;A=f.handleObj.origHandler.apply(f.elem,arguments);if(A===false||a.isPropagationStopped()){d=f.level;if(A===false)b=false;if(a.isImmediatePropagationStopped())break}}return b}}function Y(a,b){return(a&&a!=="*"?a+".":"")+b.replace(La,
|
19 |
-
"`").replace(Ma,"&")}function ma(a,b,d){if(c.isFunction(b))return c.grep(a,function(f,h){return!!b.call(f,h,f)===d});else if(b.nodeType)return c.grep(a,function(f){return f===b===d});else if(typeof b==="string"){var e=c.grep(a,function(f){return f.nodeType===1});if(Na.test(b))return c.filter(b,e,!d);else b=c.filter(b,e)}return c.grep(a,function(f){return c.inArray(f,b)>=0===d})}function na(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var e=c.data(a[d++]),f=c.data(this,
|
20 |
-
e);if(e=e&&e.events){delete f.handle;f.events={};for(var h in e)for(var l in e[h])c.event.add(this,h,e[h][l],e[h][l].data)}}})}function Oa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function oa(a,b,d){var e=b==="width"?a.offsetWidth:a.offsetHeight;if(d==="border")return e;c.each(b==="width"?Pa:Qa,function(){d||(e-=parseFloat(c.css(a,"padding"+this))||0);if(d==="margin")e+=parseFloat(c.css(a,
|
21 |
-
"margin"+this))||0;else e-=parseFloat(c.css(a,"border"+this+"Width"))||0});return e}function da(a,b,d,e){if(c.isArray(b)&&b.length)c.each(b,function(f,h){d||Ra.test(a)?e(a,h):da(a+"["+(typeof h==="object"||c.isArray(h)?f:"")+"]",h,d,e)});else if(!d&&b!=null&&typeof b==="object")c.isEmptyObject(b)?e(a,""):c.each(b,function(f,h){da(a+"["+f+"]",h,d,e)});else e(a,b)}function S(a,b){var d={};c.each(pa.concat.apply([],pa.slice(0,b)),function(){d[this]=a});return d}function qa(a){if(!ea[a]){var b=c("<"+
|
22 |
-
a+">").appendTo("body"),d=b.css("display");b.remove();if(d==="none"||d==="")d="block";ea[a]=d}return ea[a]}function fa(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var t=E.document,c=function(){function a(){if(!b.isReady){try{t.documentElement.doScroll("left")}catch(j){setTimeout(a,1);return}b.ready()}}var b=function(j,s){return new b.fn.init(j,s)},d=E.jQuery,e=E.$,f,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,l=/\S/,k=/^\s+/,o=/\s+$/,x=/\W/,r=/\d/,A=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,
|
23 |
-
C=/^[\],:{}\s]*$/,J=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,w=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,I=/(?:^|:|,)(?:\s*\[)+/g,L=/(webkit)[ \/]([\w.]+)/,g=/(opera)(?:.*version)?[ \/]([\w.]+)/,i=/(msie) ([\w.]+)/,n=/(mozilla)(?:.*? rv:([\w.]+))?/,m=navigator.userAgent,p=false,q=[],u,y=Object.prototype.toString,F=Object.prototype.hasOwnProperty,M=Array.prototype.push,N=Array.prototype.slice,O=String.prototype.trim,D=Array.prototype.indexOf,R={};b.fn=b.prototype={init:function(j,
|
24 |
-
s){var v,z,H;if(!j)return this;if(j.nodeType){this.context=this[0]=j;this.length=1;return this}if(j==="body"&&!s&&t.body){this.context=t;this[0]=t.body;this.selector="body";this.length=1;return this}if(typeof j==="string")if((v=h.exec(j))&&(v[1]||!s))if(v[1]){H=s?s.ownerDocument||s:t;if(z=A.exec(j))if(b.isPlainObject(s)){j=[t.createElement(z[1])];b.fn.attr.call(j,s,true)}else j=[H.createElement(z[1])];else{z=b.buildFragment([v[1]],[H]);j=(z.cacheable?z.fragment.cloneNode(true):z.fragment).childNodes}return b.merge(this,
|
25 |
-
j)}else{if((z=t.getElementById(v[2]))&&z.parentNode){if(z.id!==v[2])return f.find(j);this.length=1;this[0]=z}this.context=t;this.selector=j;return this}else if(!s&&!x.test(j)){this.selector=j;this.context=t;j=t.getElementsByTagName(j);return b.merge(this,j)}else return!s||s.jquery?(s||f).find(j):b(s).find(j);else if(b.isFunction(j))return f.ready(j);if(j.selector!==B){this.selector=j.selector;this.context=j.context}return b.makeArray(j,this)},selector:"",jquery:"1.4.4",length:0,size:function(){return this.length},
|
26 |
-
toArray:function(){return N.call(this,0)},get:function(j){return j==null?this.toArray():j<0?this.slice(j)[0]:this[j]},pushStack:function(j,s,v){var z=b();b.isArray(j)?M.apply(z,j):b.merge(z,j);z.prevObject=this;z.context=this.context;if(s==="find")z.selector=this.selector+(this.selector?" ":"")+v;else if(s)z.selector=this.selector+"."+s+"("+v+")";return z},each:function(j,s){return b.each(this,j,s)},ready:function(j){b.bindReady();if(b.isReady)j.call(t,b);else q&&q.push(j);return this},eq:function(j){return j===
|
27 |
-
-1?this.slice(j):this.slice(j,+j+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(N.apply(this,arguments),"slice",N.call(arguments).join(","))},map:function(j){return this.pushStack(b.map(this,function(s,v){return j.call(s,v,s)}))},end:function(){return this.prevObject||b(null)},push:M,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var j,s,v,z,H,G=arguments[0]||{},K=1,Q=arguments.length,ga=false;
|
28 |
-
if(typeof G==="boolean"){ga=G;G=arguments[1]||{};K=2}if(typeof G!=="object"&&!b.isFunction(G))G={};if(Q===K){G=this;--K}for(;K<Q;K++)if((j=arguments[K])!=null)for(s in j){v=G[s];z=j[s];if(G!==z)if(ga&&z&&(b.isPlainObject(z)||(H=b.isArray(z)))){if(H){H=false;v=v&&b.isArray(v)?v:[]}else v=v&&b.isPlainObject(v)?v:{};G[s]=b.extend(ga,v,z)}else if(z!==B)G[s]=z}return G};b.extend({noConflict:function(j){E.$=e;if(j)E.jQuery=d;return b},isReady:false,readyWait:1,ready:function(j){j===true&&b.readyWait--;
|
29 |
-
if(!b.readyWait||j!==true&&!b.isReady){if(!t.body)return setTimeout(b.ready,1);b.isReady=true;if(!(j!==true&&--b.readyWait>0))if(q){var s=0,v=q;for(q=null;j=v[s++];)j.call(t,b);b.fn.trigger&&b(t).trigger("ready").unbind("ready")}}},bindReady:function(){if(!p){p=true;if(t.readyState==="complete")return setTimeout(b.ready,1);if(t.addEventListener){t.addEventListener("DOMContentLoaded",u,false);E.addEventListener("load",b.ready,false)}else if(t.attachEvent){t.attachEvent("onreadystatechange",u);E.attachEvent("onload",
|
30 |
-
b.ready);var j=false;try{j=E.frameElement==null}catch(s){}t.documentElement.doScroll&&j&&a()}}},isFunction:function(j){return b.type(j)==="function"},isArray:Array.isArray||function(j){return b.type(j)==="array"},isWindow:function(j){return j&&typeof j==="object"&&"setInterval"in j},isNaN:function(j){return j==null||!r.test(j)||isNaN(j)},type:function(j){return j==null?String(j):R[y.call(j)]||"object"},isPlainObject:function(j){if(!j||b.type(j)!=="object"||j.nodeType||b.isWindow(j))return false;if(j.constructor&&
|
31 |
-
!F.call(j,"constructor")&&!F.call(j.constructor.prototype,"isPrototypeOf"))return false;for(var s in j);return s===B||F.call(j,s)},isEmptyObject:function(j){for(var s in j)return false;return true},error:function(j){throw j;},parseJSON:function(j){if(typeof j!=="string"||!j)return null;j=b.trim(j);if(C.test(j.replace(J,"@").replace(w,"]").replace(I,"")))return E.JSON&&E.JSON.parse?E.JSON.parse(j):(new Function("return "+j))();else b.error("Invalid JSON: "+j)},noop:function(){},globalEval:function(j){if(j&&
|
32 |
-
l.test(j)){var s=t.getElementsByTagName("head")[0]||t.documentElement,v=t.createElement("script");v.type="text/javascript";if(b.support.scriptEval)v.appendChild(t.createTextNode(j));else v.text=j;s.insertBefore(v,s.firstChild);s.removeChild(v)}},nodeName:function(j,s){return j.nodeName&&j.nodeName.toUpperCase()===s.toUpperCase()},each:function(j,s,v){var z,H=0,G=j.length,K=G===B||b.isFunction(j);if(v)if(K)for(z in j){if(s.apply(j[z],v)===false)break}else for(;H<G;){if(s.apply(j[H++],v)===false)break}else if(K)for(z in j){if(s.call(j[z],
|
33 |
-
z,j[z])===false)break}else for(v=j[0];H<G&&s.call(v,H,v)!==false;v=j[++H]);return j},trim:O?function(j){return j==null?"":O.call(j)}:function(j){return j==null?"":j.toString().replace(k,"").replace(o,"")},makeArray:function(j,s){var v=s||[];if(j!=null){var z=b.type(j);j.length==null||z==="string"||z==="function"||z==="regexp"||b.isWindow(j)?M.call(v,j):b.merge(v,j)}return v},inArray:function(j,s){if(s.indexOf)return s.indexOf(j);for(var v=0,z=s.length;v<z;v++)if(s[v]===j)return v;return-1},merge:function(j,
|
34 |
-
s){var v=j.length,z=0;if(typeof s.length==="number")for(var H=s.length;z<H;z++)j[v++]=s[z];else for(;s[z]!==B;)j[v++]=s[z++];j.length=v;return j},grep:function(j,s,v){var z=[],H;v=!!v;for(var G=0,K=j.length;G<K;G++){H=!!s(j[G],G);v!==H&&z.push(j[G])}return z},map:function(j,s,v){for(var z=[],H,G=0,K=j.length;G<K;G++){H=s(j[G],G,v);if(H!=null)z[z.length]=H}return z.concat.apply([],z)},guid:1,proxy:function(j,s,v){if(arguments.length===2)if(typeof s==="string"){v=j;j=v[s];s=B}else if(s&&!b.isFunction(s)){v=
|
35 |
-
s;s=B}if(!s&&j)s=function(){return j.apply(v||this,arguments)};if(j)s.guid=j.guid=j.guid||s.guid||b.guid++;return s},access:function(j,s,v,z,H,G){var K=j.length;if(typeof s==="object"){for(var Q in s)b.access(j,Q,s[Q],z,H,v);return j}if(v!==B){z=!G&&z&&b.isFunction(v);for(Q=0;Q<K;Q++)H(j[Q],s,z?v.call(j[Q],Q,H(j[Q],s)):v,G);return j}return K?H(j[0],s):B},now:function(){return(new Date).getTime()},uaMatch:function(j){j=j.toLowerCase();j=L.exec(j)||g.exec(j)||i.exec(j)||j.indexOf("compatible")<0&&n.exec(j)||
|
36 |
-
[];return{browser:j[1]||"",version:j[2]||"0"}},browser:{}});b.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(j,s){R["[object "+s+"]"]=s.toLowerCase()});m=b.uaMatch(m);if(m.browser){b.browser[m.browser]=true;b.browser.version=m.version}if(b.browser.webkit)b.browser.safari=true;if(D)b.inArray=function(j,s){return D.call(s,j)};if(!/\s/.test("\u00a0")){k=/^[\s\xA0]+/;o=/[\s\xA0]+$/}f=b(t);if(t.addEventListener)u=function(){t.removeEventListener("DOMContentLoaded",u,
|
37 |
-
false);b.ready()};else if(t.attachEvent)u=function(){if(t.readyState==="complete"){t.detachEvent("onreadystatechange",u);b.ready()}};return E.jQuery=E.$=b}();(function(){c.support={};var a=t.documentElement,b=t.createElement("script"),d=t.createElement("div"),e="script"+c.now();d.style.display="none";d.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var f=d.getElementsByTagName("*"),h=d.getElementsByTagName("a")[0],l=t.createElement("select"),
|
38 |
-
k=l.appendChild(t.createElement("option"));if(!(!f||!f.length||!h)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(h.getAttribute("style")),hrefNormalized:h.getAttribute("href")==="/a",opacity:/^0.55$/.test(h.style.opacity),cssFloat:!!h.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:k.selected,deleteExpando:true,optDisabled:false,checkClone:false,
|
39 |
-
scriptEval:false,noCloneEvent:true,boxModel:null,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableHiddenOffsets:true};l.disabled=true;c.support.optDisabled=!k.disabled;b.type="text/javascript";try{b.appendChild(t.createTextNode("window."+e+"=1;"))}catch(o){}a.insertBefore(b,a.firstChild);if(E[e]){c.support.scriptEval=true;delete E[e]}try{delete b.test}catch(x){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function r(){c.support.noCloneEvent=
|
40 |
-
false;d.detachEvent("onclick",r)});d.cloneNode(true).fireEvent("onclick")}d=t.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=t.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var r=t.createElement("div");r.style.width=r.style.paddingLeft="1px";t.body.appendChild(r);c.boxModel=c.support.boxModel=r.offsetWidth===2;if("zoom"in r.style){r.style.display="inline";r.style.zoom=
|
41 |
-
1;c.support.inlineBlockNeedsLayout=r.offsetWidth===2;r.style.display="";r.innerHTML="<div style='width:4px;'></div>";c.support.shrinkWrapBlocks=r.offsetWidth!==2}r.innerHTML="<table><tr><td style='padding:0;display:none'></td><td>t</td></tr></table>";var A=r.getElementsByTagName("td");c.support.reliableHiddenOffsets=A[0].offsetHeight===0;A[0].style.display="";A[1].style.display="none";c.support.reliableHiddenOffsets=c.support.reliableHiddenOffsets&&A[0].offsetHeight===0;r.innerHTML="";t.body.removeChild(r).style.display=
|
42 |
-
"none"});a=function(r){var A=t.createElement("div");r="on"+r;var C=r in A;if(!C){A.setAttribute(r,"return;");C=typeof A[r]==="function"}return C};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=f=h=null}})();var ra={},Ja=/^(?:\{.*\}|\[.*\])$/;c.extend({cache:{},uuid:0,expando:"jQuery"+c.now(),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},data:function(a,b,d){if(c.acceptData(a)){a=a==E?ra:a;var e=a.nodeType,f=e?a[c.expando]:null,h=
|
43 |
-
c.cache;if(!(e&&!f&&typeof b==="string"&&d===B)){if(e)f||(a[c.expando]=f=++c.uuid);else h=a;if(typeof b==="object")if(e)h[f]=c.extend(h[f],b);else c.extend(h,b);else if(e&&!h[f])h[f]={};a=e?h[f]:h;if(d!==B)a[b]=d;return typeof b==="string"?a[b]:a}}},removeData:function(a,b){if(c.acceptData(a)){a=a==E?ra:a;var d=a.nodeType,e=d?a[c.expando]:a,f=c.cache,h=d?f[e]:e;if(b){if(h){delete h[b];d&&c.isEmptyObject(h)&&c.removeData(a)}}else if(d&&c.support.deleteExpando)delete a[c.expando];else if(a.removeAttribute)a.removeAttribute(c.expando);
|
44 |
-
else if(d)delete f[e];else for(var l in a)delete a[l]}},acceptData:function(a){if(a.nodeName){var b=c.noData[a.nodeName.toLowerCase()];if(b)return!(b===true||a.getAttribute("classid")!==b)}return true}});c.fn.extend({data:function(a,b){var d=null;if(typeof a==="undefined"){if(this.length){var e=this[0].attributes,f;d=c.data(this[0]);for(var h=0,l=e.length;h<l;h++){f=e[h].name;if(f.indexOf("data-")===0){f=f.substr(5);ka(this[0],f,d[f])}}}return d}else if(typeof a==="object")return this.each(function(){c.data(this,
|
45 |
-
a)});var k=a.split(".");k[1]=k[1]?"."+k[1]:"";if(b===B){d=this.triggerHandler("getData"+k[1]+"!",[k[0]]);if(d===B&&this.length){d=c.data(this[0],a);d=ka(this[0],a,d)}return d===B&&k[1]?this.data(k[0]):d}else return this.each(function(){var o=c(this),x=[k[0],b];o.triggerHandler("setData"+k[1]+"!",x);c.data(this,a,b);o.triggerHandler("changeData"+k[1]+"!",x)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var e=
|
46 |
-
c.data(a,b);if(!d)return e||[];if(!e||c.isArray(d))e=c.data(a,b,c.makeArray(d));else e.push(d);return e}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),e=d.shift();if(e==="inprogress")e=d.shift();if(e){b==="fx"&&d.unshift("inprogress");e.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===B)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,
|
47 |
-
a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var sa=/[\n\t]/g,ha=/\s+/,Sa=/\r/g,Ta=/^(?:href|src|style)$/,Ua=/^(?:button|input)$/i,Va=/^(?:button|input|object|select|textarea)$/i,Wa=/^a(?:rea)?$/i,ta=/^(?:radio|checkbox)$/i;c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",
|
48 |
-
colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};c.fn.extend({attr:function(a,b){return c.access(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(x){var r=c(this);r.addClass(a.call(this,x,r.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ha),d=0,e=this.length;d<e;d++){var f=this[d];if(f.nodeType===
|
49 |
-
1)if(f.className){for(var h=" "+f.className+" ",l=f.className,k=0,o=b.length;k<o;k++)if(h.indexOf(" "+b[k]+" ")<0)l+=" "+b[k];f.className=c.trim(l)}else f.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(o){var x=c(this);x.removeClass(a.call(this,o,x.attr("class")))});if(a&&typeof a==="string"||a===B)for(var b=(a||"").split(ha),d=0,e=this.length;d<e;d++){var f=this[d];if(f.nodeType===1&&f.className)if(a){for(var h=(" "+f.className+" ").replace(sa," "),
|
50 |
-
l=0,k=b.length;l<k;l++)h=h.replace(" "+b[l]+" "," ");f.className=c.trim(h)}else f.className=""}return this},toggleClass:function(a,b){var d=typeof a,e=typeof b==="boolean";if(c.isFunction(a))return this.each(function(f){var h=c(this);h.toggleClass(a.call(this,f,h.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var f,h=0,l=c(this),k=b,o=a.split(ha);f=o[h++];){k=e?k:!l.hasClass(f);l[k?"addClass":"removeClass"](f)}else if(d==="undefined"||d==="boolean"){this.className&&c.data(this,
|
51 |
-
"__className__",this.className);this.className=this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace(sa," ").indexOf(a)>-1)return true;return false},val:function(a){if(!arguments.length){var b=this[0];if(b){if(c.nodeName(b,"option")){var d=b.attributes.value;return!d||d.specified?b.value:b.text}if(c.nodeName(b,"select")){var e=b.selectedIndex;d=[];var f=b.options;b=b.type==="select-one";
|
52 |
-
if(e<0)return null;var h=b?e:0;for(e=b?e+1:f.length;h<e;h++){var l=f[h];if(l.selected&&(c.support.optDisabled?!l.disabled:l.getAttribute("disabled")===null)&&(!l.parentNode.disabled||!c.nodeName(l.parentNode,"optgroup"))){a=c(l).val();if(b)return a;d.push(a)}}return d}if(ta.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Sa,"")}return B}var k=c.isFunction(a);return this.each(function(o){var x=c(this),r=a;if(this.nodeType===1){if(k)r=
|
53 |
-
a.call(this,o,x.val());if(r==null)r="";else if(typeof r==="number")r+="";else if(c.isArray(r))r=c.map(r,function(C){return C==null?"":C+""});if(c.isArray(r)&&ta.test(this.type))this.checked=c.inArray(x.val(),r)>=0;else if(c.nodeName(this,"select")){var A=c.makeArray(r);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),A)>=0});if(!A.length)this.selectedIndex=-1}else this.value=r}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},
|
54 |
-
attr:function(a,b,d,e){if(!a||a.nodeType===3||a.nodeType===8)return B;if(e&&b in c.attrFn)return c(a)[b](d);e=a.nodeType!==1||!c.isXMLDoc(a);var f=d!==B;b=e&&c.props[b]||b;var h=Ta.test(b);if((b in a||a[b]!==B)&&e&&!h){if(f){b==="type"&&Ua.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");if(d===null)a.nodeType===1&&a.removeAttribute(b);else a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&
|
55 |
-
b.specified?b.value:Va.test(a.nodeName)||Wa.test(a.nodeName)&&a.href?0:B;return a[b]}if(!c.support.style&&e&&b==="style"){if(f)a.style.cssText=""+d;return a.style.cssText}f&&a.setAttribute(b,""+d);if(!a.attributes[b]&&a.hasAttribute&&!a.hasAttribute(b))return B;a=!c.support.hrefNormalized&&e&&h?a.getAttribute(b,2):a.getAttribute(b);return a===null?B:a}});var X=/\.(.*)$/,ia=/^(?:textarea|input|select)$/i,La=/\./g,Ma=/ /g,Xa=/[^\w\s.|`]/g,Ya=function(a){return a.replace(Xa,"\\$&")},ua={focusin:0,focusout:0};
|
56 |
-
c.event={add:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(c.isWindow(a)&&a!==E&&!a.frameElement)a=E;if(d===false)d=U;else if(!d)return;var f,h;if(d.handler){f=d;d=f.handler}if(!d.guid)d.guid=c.guid++;if(h=c.data(a)){var l=a.nodeType?"events":"__events__",k=h[l],o=h.handle;if(typeof k==="function"){o=k.handle;k=k.events}else if(!k){a.nodeType||(h[l]=h=function(){});h.events=k={}}if(!o)h.handle=o=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(o.elem,
|
57 |
-
arguments):B};o.elem=a;b=b.split(" ");for(var x=0,r;l=b[x++];){h=f?c.extend({},f):{handler:d,data:e};if(l.indexOf(".")>-1){r=l.split(".");l=r.shift();h.namespace=r.slice(0).sort().join(".")}else{r=[];h.namespace=""}h.type=l;if(!h.guid)h.guid=d.guid;var A=k[l],C=c.event.special[l]||{};if(!A){A=k[l]=[];if(!C.setup||C.setup.call(a,e,r,o)===false)if(a.addEventListener)a.addEventListener(l,o,false);else a.attachEvent&&a.attachEvent("on"+l,o)}if(C.add){C.add.call(a,h);if(!h.handler.guid)h.handler.guid=
|
58 |
-
d.guid}A.push(h);c.event.global[l]=true}a=null}}},global:{},remove:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(d===false)d=U;var f,h,l=0,k,o,x,r,A,C,J=a.nodeType?"events":"__events__",w=c.data(a),I=w&&w[J];if(w&&I){if(typeof I==="function"){w=I;I=I.events}if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(f in I)c.event.remove(a,f+b)}else{for(b=b.split(" ");f=b[l++];){r=f;k=f.indexOf(".")<0;o=[];if(!k){o=f.split(".");f=o.shift();x=RegExp("(^|\\.)"+
|
59 |
-
c.map(o.slice(0).sort(),Ya).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(A=I[f])if(d){r=c.event.special[f]||{};for(h=e||0;h<A.length;h++){C=A[h];if(d.guid===C.guid){if(k||x.test(C.namespace)){e==null&&A.splice(h--,1);r.remove&&r.remove.call(a,C)}if(e!=null)break}}if(A.length===0||e!=null&&A.length===1){if(!r.teardown||r.teardown.call(a,o)===false)c.removeEvent(a,f,w.handle);delete I[f]}}else for(h=0;h<A.length;h++){C=A[h];if(k||x.test(C.namespace)){c.event.remove(a,r,C.handler,h);A.splice(h--,1)}}}if(c.isEmptyObject(I)){if(b=
|
60 |
-
w.handle)b.elem=null;delete w.events;delete w.handle;if(typeof w==="function")c.removeData(a,J);else c.isEmptyObject(w)&&c.removeData(a)}}}}},trigger:function(a,b,d,e){var f=a.type||a;if(!e){a=typeof a==="object"?a[c.expando]?a:c.extend(c.Event(f),a):c.Event(f);if(f.indexOf("!")>=0){a.type=f=f.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[f]&&c.each(c.cache,function(){this.events&&this.events[f]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===
|
61 |
-
8)return B;a.result=B;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(e=d.nodeType?c.data(d,"handle"):(c.data(d,"__events__")||{}).handle)&&e.apply(d,b);e=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+f]&&d["on"+f].apply(d,b)===false){a.result=false;a.preventDefault()}}catch(h){}if(!a.isPropagationStopped()&&e)c.event.trigger(a,b,e,true);else if(!a.isDefaultPrevented()){var l;e=a.target;var k=f.replace(X,""),o=c.nodeName(e,"a")&&k===
|
62 |
-
"click",x=c.event.special[k]||{};if((!x._default||x._default.call(d,a)===false)&&!o&&!(e&&e.nodeName&&c.noData[e.nodeName.toLowerCase()])){try{if(e[k]){if(l=e["on"+k])e["on"+k]=null;c.event.triggered=true;e[k]()}}catch(r){}if(l)e["on"+k]=l;c.event.triggered=false}}},handle:function(a){var b,d,e,f;d=[];var h=c.makeArray(arguments);a=h[0]=c.event.fix(a||E.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){e=a.type.split(".");a.type=e.shift();d=e.slice(0).sort();e=RegExp("(^|\\.)"+
|
63 |
-
d.join("\\.(?:.*\\.)?")+"(\\.|$)")}a.namespace=a.namespace||d.join(".");f=c.data(this,this.nodeType?"events":"__events__");if(typeof f==="function")f=f.events;d=(f||{})[a.type];if(f&&d){d=d.slice(0);f=0;for(var l=d.length;f<l;f++){var k=d[f];if(b||e.test(k.namespace)){a.handler=k.handler;a.data=k.data;a.handleObj=k;k=k.handler.apply(this,h);if(k!==B){a.result=k;if(k===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
|
64 |
-
fix:function(a){if(a[c.expando])return a;var b=a;a=c.Event(b);for(var d=this.props.length,e;d;){e=this.props[--d];a[e]=b[e]}if(!a.target)a.target=a.srcElement||t;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=t.documentElement;d=t.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||
|
65 |
-
d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(a.which==null&&(a.charCode!=null||a.keyCode!=null))a.which=a.charCode!=null?a.charCode:a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==B)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,Y(a.origType,a.selector),c.extend({},a,{handler:Ka,guid:a.handler.guid}))},remove:function(a){c.event.remove(this,
|
66 |
-
Y(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,d){if(c.isWindow(this))this.onbeforeunload=d},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};c.removeEvent=t.removeEventListener?function(a,b,d){a.removeEventListener&&a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent&&a.detachEvent("on"+b,d)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=
|
67 |
-
c.now();this[c.expando]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=ca;var a=this.originalEvent;if(a)if(a.preventDefault)a.preventDefault();else a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=ca;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=ca;this.stopPropagation()},isDefaultPrevented:U,isPropagationStopped:U,isImmediatePropagationStopped:U};
|
68 |
-
var va=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}}catch(d){}},wa=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?wa:va,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?wa:va)}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!==
|
69 |
-
"form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length){a.liveFired=B;return la("submit",this,arguments)}});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="text"||d==="password")&&c(b).closest("form").length&&a.keyCode===13){a.liveFired=B;return la("submit",this,arguments)}})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var V,
|
70 |
-
xa=function(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(e){return e.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},Z=function(a,b){var d=a.target,e,f;if(!(!ia.test(d.nodeName)||d.readOnly)){e=c.data(d,"_change_data");f=xa(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",f);if(!(e===B||f===e))if(e!=null||f){a.type="change";a.liveFired=
|
71 |
-
B;return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:Z,beforedeactivate:Z,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return Z.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return Z.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",xa(a))}},setup:function(){if(this.type===
|
72 |
-
"file")return false;for(var a in V)c.event.add(this,a+".specialChange",V[a]);return ia.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return ia.test(this.nodeName)}};V=c.event.special.change.filters;V.focus=V.beforeactivate}t.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(e){e=c.event.fix(e);e.type=b;return c.event.trigger(e,null,e.target)}c.event.special[b]={setup:function(){ua[b]++===0&&t.addEventListener(a,d,true)},teardown:function(){--ua[b]===
|
73 |
-
0&&t.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,e,f){if(typeof d==="object"){for(var h in d)this[b](h,e,d[h],f);return this}if(c.isFunction(e)||e===false){f=e;e=B}var l=b==="one"?c.proxy(f,function(o){c(this).unbind(o,l);return f.apply(this,arguments)}):f;if(d==="unload"&&b!=="one")this.one(d,e,f);else{h=0;for(var k=this.length;h<k;h++)c.event.add(this[h],d,l,e)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault)for(var d in a)this.unbind(d,
|
74 |
-
a[d]);else{d=0;for(var e=this.length;d<e;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,e){return this.live(b,d,e,a)},undelegate:function(a,b,d){return arguments.length===0?this.unbind("live"):this.die(b,null,d,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){var d=c.Event(a);d.preventDefault();d.stopPropagation();c.event.trigger(d,b,this[0]);return d.result}},toggle:function(a){for(var b=arguments,d=
|
75 |
-
1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(e){var f=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,f+1);e.preventDefault();return b[f].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var ya={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,e,f,h){var l,k=0,o,x,r=h||this.selector;h=h?this:c(this.context);if(typeof d===
|
76 |
-
"object"&&!d.preventDefault){for(l in d)h[b](l,e,d[l],r);return this}if(c.isFunction(e)){f=e;e=B}for(d=(d||"").split(" ");(l=d[k++])!=null;){o=X.exec(l);x="";if(o){x=o[0];l=l.replace(X,"")}if(l==="hover")d.push("mouseenter"+x,"mouseleave"+x);else{o=l;if(l==="focus"||l==="blur"){d.push(ya[l]+x);l+=x}else l=(ya[l]||l)+x;if(b==="live"){x=0;for(var A=h.length;x<A;x++)c.event.add(h[x],"live."+Y(l,r),{data:e,selector:r,handler:f,origType:l,origHandler:f,preType:o})}else h.unbind("live."+Y(l,r),f)}}return this}});
|
77 |
-
c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){c.fn[b]=function(d,e){if(e==null){e=d;d=null}return arguments.length>0?this.bind(b,d,e):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});E.attachEvent&&!E.addEventListener&&c(E).bind("unload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});
|
78 |
-
(function(){function a(g,i,n,m,p,q){p=0;for(var u=m.length;p<u;p++){var y=m[p];if(y){var F=false;for(y=y[g];y;){if(y.sizcache===n){F=m[y.sizset];break}if(y.nodeType===1&&!q){y.sizcache=n;y.sizset=p}if(y.nodeName.toLowerCase()===i){F=y;break}y=y[g]}m[p]=F}}}function b(g,i,n,m,p,q){p=0;for(var u=m.length;p<u;p++){var y=m[p];if(y){var F=false;for(y=y[g];y;){if(y.sizcache===n){F=m[y.sizset];break}if(y.nodeType===1){if(!q){y.sizcache=n;y.sizset=p}if(typeof i!=="string"){if(y===i){F=true;break}}else if(k.filter(i,
|
79 |
-
[y]).length>0){F=y;break}}y=y[g]}m[p]=F}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,h=false,l=true;[0,0].sort(function(){l=false;return 0});var k=function(g,i,n,m){n=n||[];var p=i=i||t;if(i.nodeType!==1&&i.nodeType!==9)return[];if(!g||typeof g!=="string")return n;var q,u,y,F,M,N=true,O=k.isXML(i),D=[],R=g;do{d.exec("");if(q=d.exec(R)){R=q[3];D.push(q[1]);if(q[2]){F=q[3];
|
80 |
-
break}}}while(q);if(D.length>1&&x.exec(g))if(D.length===2&&o.relative[D[0]])u=L(D[0]+D[1],i);else for(u=o.relative[D[0]]?[i]:k(D.shift(),i);D.length;){g=D.shift();if(o.relative[g])g+=D.shift();u=L(g,u)}else{if(!m&&D.length>1&&i.nodeType===9&&!O&&o.match.ID.test(D[0])&&!o.match.ID.test(D[D.length-1])){q=k.find(D.shift(),i,O);i=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]}if(i){q=m?{expr:D.pop(),set:C(m)}:k.find(D.pop(),D.length===1&&(D[0]==="~"||D[0]==="+")&&i.parentNode?i.parentNode:i,O);u=q.expr?k.filter(q.expr,
|
81 |
-
q.set):q.set;if(D.length>0)y=C(u);else N=false;for(;D.length;){q=M=D.pop();if(o.relative[M])q=D.pop();else M="";if(q==null)q=i;o.relative[M](y,q,O)}}else y=[]}y||(y=u);y||k.error(M||g);if(f.call(y)==="[object Array]")if(N)if(i&&i.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&k.contains(i,y[g])))n.push(u[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&n.push(u[g]);else n.push.apply(n,y);else C(y,n);if(F){k(F,p,n,m);k.uniqueSort(n)}return n};k.uniqueSort=function(g){if(w){h=
|
82 |
-
l;g.sort(w);if(h)for(var i=1;i<g.length;i++)g[i]===g[i-1]&&g.splice(i--,1)}return g};k.matches=function(g,i){return k(g,null,null,i)};k.matchesSelector=function(g,i){return k(i,null,null,[g]).length>0};k.find=function(g,i,n){var m;if(!g)return[];for(var p=0,q=o.order.length;p<q;p++){var u,y=o.order[p];if(u=o.leftMatch[y].exec(g)){var F=u[1];u.splice(1,1);if(F.substr(F.length-1)!=="\\"){u[1]=(u[1]||"").replace(/\\/g,"");m=o.find[y](u,i,n);if(m!=null){g=g.replace(o.match[y],"");break}}}}m||(m=i.getElementsByTagName("*"));
|
83 |
-
return{set:m,expr:g}};k.filter=function(g,i,n,m){for(var p,q,u=g,y=[],F=i,M=i&&i[0]&&k.isXML(i[0]);g&&i.length;){for(var N in o.filter)if((p=o.leftMatch[N].exec(g))!=null&&p[2]){var O,D,R=o.filter[N];D=p[1];q=false;p.splice(1,1);if(D.substr(D.length-1)!=="\\"){if(F===y)y=[];if(o.preFilter[N])if(p=o.preFilter[N](p,F,n,y,m,M)){if(p===true)continue}else q=O=true;if(p)for(var j=0;(D=F[j])!=null;j++)if(D){O=R(D,p,j,F);var s=m^!!O;if(n&&O!=null)if(s)q=true;else F[j]=false;else if(s){y.push(D);q=true}}if(O!==
|
84 |
-
B){n||(F=y);g=g.replace(o.match[N],"");if(!q)return[];break}}}if(g===u)if(q==null)k.error(g);else break;u=g}return F};k.error=function(g){throw"Syntax error, unrecognized expression: "+g;};var o=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+\-]*)\))?/,
|
85 |
-
POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(g){return g.getAttribute("href")}},relative:{"+":function(g,i){var n=typeof i==="string",m=n&&!/\W/.test(i);n=n&&!m;if(m)i=i.toLowerCase();m=0;for(var p=g.length,q;m<p;m++)if(q=g[m]){for(;(q=q.previousSibling)&&q.nodeType!==1;);g[m]=n||q&&q.nodeName.toLowerCase()===
|
86 |
-
i?q||false:q===i}n&&k.filter(i,g,true)},">":function(g,i){var n,m=typeof i==="string",p=0,q=g.length;if(m&&!/\W/.test(i))for(i=i.toLowerCase();p<q;p++){if(n=g[p]){n=n.parentNode;g[p]=n.nodeName.toLowerCase()===i?n:false}}else{for(;p<q;p++)if(n=g[p])g[p]=m?n.parentNode:n.parentNode===i;m&&k.filter(i,g,true)}},"":function(g,i,n){var m,p=e++,q=b;if(typeof i==="string"&&!/\W/.test(i)){m=i=i.toLowerCase();q=a}q("parentNode",i,p,g,m,n)},"~":function(g,i,n){var m,p=e++,q=b;if(typeof i==="string"&&!/\W/.test(i)){m=
|
87 |
-
i=i.toLowerCase();q=a}q("previousSibling",i,p,g,m,n)}},find:{ID:function(g,i,n){if(typeof i.getElementById!=="undefined"&&!n)return(g=i.getElementById(g[1]))&&g.parentNode?[g]:[]},NAME:function(g,i){if(typeof i.getElementsByName!=="undefined"){for(var n=[],m=i.getElementsByName(g[1]),p=0,q=m.length;p<q;p++)m[p].getAttribute("name")===g[1]&&n.push(m[p]);return n.length===0?null:n}},TAG:function(g,i){return i.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,i,n,m,p,q){g=" "+g[1].replace(/\\/g,
|
88 |
-
"")+" ";if(q)return g;q=0;for(var u;(u=i[q])!=null;q++)if(u)if(p^(u.className&&(" "+u.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))n||m.push(u);else if(n)i[q]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},CHILD:function(g){if(g[1]==="nth"){var i=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=i[1]+(i[2]||1)-0;g[3]=i[3]-0}g[0]=e++;return g},ATTR:function(g,i,n,
|
89 |
-
m,p,q){i=g[1].replace(/\\/g,"");if(!q&&o.attrMap[i])g[1]=o.attrMap[i];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,i,n,m,p){if(g[1]==="not")if((d.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,i);else{g=k.filter(g[3],i,n,true^p);n||m.push.apply(m,g);return false}else if(o.match.POS.test(g[0])||o.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===
|
90 |
-
true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,i,n){return!!k(n[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===
|
91 |
-
g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,i){return i===0},last:function(g,i,n,m){return i===m.length-1},even:function(g,i){return i%2===0},odd:function(g,i){return i%2===1},lt:function(g,i,n){return i<n[3]-0},gt:function(g,i,n){return i>n[3]-0},nth:function(g,i,n){return n[3]-
|
92 |
-
0===i},eq:function(g,i,n){return n[3]-0===i}},filter:{PSEUDO:function(g,i,n,m){var p=i[1],q=o.filters[p];if(q)return q(g,n,i,m);else if(p==="contains")return(g.textContent||g.innerText||k.getText([g])||"").indexOf(i[3])>=0;else if(p==="not"){i=i[3];n=0;for(m=i.length;n<m;n++)if(i[n]===g)return false;return true}else k.error("Syntax error, unrecognized expression: "+p)},CHILD:function(g,i){var n=i[1],m=g;switch(n){case "only":case "first":for(;m=m.previousSibling;)if(m.nodeType===1)return false;if(n===
|
93 |
-
"first")return true;m=g;case "last":for(;m=m.nextSibling;)if(m.nodeType===1)return false;return true;case "nth":n=i[2];var p=i[3];if(n===1&&p===0)return true;var q=i[0],u=g.parentNode;if(u&&(u.sizcache!==q||!g.nodeIndex)){var y=0;for(m=u.firstChild;m;m=m.nextSibling)if(m.nodeType===1)m.nodeIndex=++y;u.sizcache=q}m=g.nodeIndex-p;return n===0?m===0:m%n===0&&m/n>=0}},ID:function(g,i){return g.nodeType===1&&g.getAttribute("id")===i},TAG:function(g,i){return i==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===
|
94 |
-
i},CLASS:function(g,i){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(i)>-1},ATTR:function(g,i){var n=i[1];n=o.attrHandle[n]?o.attrHandle[n](g):g[n]!=null?g[n]:g.getAttribute(n);var m=n+"",p=i[2],q=i[4];return n==null?p==="!=":p==="="?m===q:p==="*="?m.indexOf(q)>=0:p==="~="?(" "+m+" ").indexOf(q)>=0:!q?m&&n!==false:p==="!="?m!==q:p==="^="?m.indexOf(q)===0:p==="$="?m.substr(m.length-q.length)===q:p==="|="?m===q||m.substr(0,q.length+1)===q+"-":false},POS:function(g,i,n,m){var p=o.setFilters[i[2]];
|
95 |
-
if(p)return p(g,n,i,m)}}},x=o.match.POS,r=function(g,i){return"\\"+(i-0+1)},A;for(A in o.match){o.match[A]=RegExp(o.match[A].source+/(?![^\[]*\])(?![^\(]*\))/.source);o.leftMatch[A]=RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[A].source.replace(/\\(\d+)/g,r))}var C=function(g,i){g=Array.prototype.slice.call(g,0);if(i){i.push.apply(i,g);return i}return g};try{Array.prototype.slice.call(t.documentElement.childNodes,0)}catch(J){C=function(g,i){var n=0,m=i||[];if(f.call(g)==="[object Array]")Array.prototype.push.apply(m,
|
96 |
-
g);else if(typeof g.length==="number")for(var p=g.length;n<p;n++)m.push(g[n]);else for(;g[n];n++)m.push(g[n]);return m}}var w,I;if(t.documentElement.compareDocumentPosition)w=function(g,i){if(g===i){h=true;return 0}if(!g.compareDocumentPosition||!i.compareDocumentPosition)return g.compareDocumentPosition?-1:1;return g.compareDocumentPosition(i)&4?-1:1};else{w=function(g,i){var n,m,p=[],q=[];n=g.parentNode;m=i.parentNode;var u=n;if(g===i){h=true;return 0}else if(n===m)return I(g,i);else if(n){if(!m)return 1}else return-1;
|
97 |
-
for(;u;){p.unshift(u);u=u.parentNode}for(u=m;u;){q.unshift(u);u=u.parentNode}n=p.length;m=q.length;for(u=0;u<n&&u<m;u++)if(p[u]!==q[u])return I(p[u],q[u]);return u===n?I(g,q[u],-1):I(p[u],i,1)};I=function(g,i,n){if(g===i)return n;for(g=g.nextSibling;g;){if(g===i)return-1;g=g.nextSibling}return 1}}k.getText=function(g){for(var i="",n,m=0;g[m];m++){n=g[m];if(n.nodeType===3||n.nodeType===4)i+=n.nodeValue;else if(n.nodeType!==8)i+=k.getText(n.childNodes)}return i};(function(){var g=t.createElement("div"),
|
98 |
-
i="script"+(new Date).getTime(),n=t.documentElement;g.innerHTML="<a name='"+i+"'/>";n.insertBefore(g,n.firstChild);if(t.getElementById(i)){o.find.ID=function(m,p,q){if(typeof p.getElementById!=="undefined"&&!q)return(p=p.getElementById(m[1]))?p.id===m[1]||typeof p.getAttributeNode!=="undefined"&&p.getAttributeNode("id").nodeValue===m[1]?[p]:B:[]};o.filter.ID=function(m,p){var q=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&q&&q.nodeValue===p}}n.removeChild(g);
|
99 |
-
n=g=null})();(function(){var g=t.createElement("div");g.appendChild(t.createComment(""));if(g.getElementsByTagName("*").length>0)o.find.TAG=function(i,n){var m=n.getElementsByTagName(i[1]);if(i[1]==="*"){for(var p=[],q=0;m[q];q++)m[q].nodeType===1&&p.push(m[q]);m=p}return m};g.innerHTML="<a href='#'></a>";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")o.attrHandle.href=function(i){return i.getAttribute("href",2)};g=null})();t.querySelectorAll&&
|
100 |
-
function(){var g=k,i=t.createElement("div");i.innerHTML="<p class='TEST'></p>";if(!(i.querySelectorAll&&i.querySelectorAll(".TEST").length===0)){k=function(m,p,q,u){p=p||t;m=m.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!u&&!k.isXML(p))if(p.nodeType===9)try{return C(p.querySelectorAll(m),q)}catch(y){}else if(p.nodeType===1&&p.nodeName.toLowerCase()!=="object"){var F=p.getAttribute("id"),M=F||"__sizzle__";F||p.setAttribute("id",M);try{return C(p.querySelectorAll("#"+M+" "+m),q)}catch(N){}finally{F||
|
101 |
-
p.removeAttribute("id")}}return g(m,p,q,u)};for(var n in g)k[n]=g[n];i=null}}();(function(){var g=t.documentElement,i=g.matchesSelector||g.mozMatchesSelector||g.webkitMatchesSelector||g.msMatchesSelector,n=false;try{i.call(t.documentElement,"[test!='']:sizzle")}catch(m){n=true}if(i)k.matchesSelector=function(p,q){q=q.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(p))try{if(n||!o.match.PSEUDO.test(q)&&!/!=/.test(q))return i.call(p,q)}catch(u){}return k(q,null,null,[p]).length>0}})();(function(){var g=
|
102 |
-
t.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){o.order.splice(1,0,"CLASS");o.find.CLASS=function(i,n,m){if(typeof n.getElementsByClassName!=="undefined"&&!m)return n.getElementsByClassName(i[1])};g=null}}})();k.contains=t.documentElement.contains?function(g,i){return g!==i&&(g.contains?g.contains(i):true)}:t.documentElement.compareDocumentPosition?
|
103 |
-
function(g,i){return!!(g.compareDocumentPosition(i)&16)}:function(){return false};k.isXML=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false};var L=function(g,i){for(var n,m=[],p="",q=i.nodeType?[i]:i;n=o.match.PSEUDO.exec(g);){p+=n[0];g=g.replace(o.match.PSEUDO,"")}g=o.relative[g]?g+"*":g;n=0;for(var u=q.length;n<u;n++)k(g,q[n],m);return k.filter(p,m)};c.find=k;c.expr=k.selectors;c.expr[":"]=c.expr.filters;c.unique=k.uniqueSort;c.text=k.getText;c.isXMLDoc=k.isXML;
|
104 |
-
c.contains=k.contains})();var Za=/Until$/,$a=/^(?:parents|prevUntil|prevAll)/,ab=/,/,Na=/^.[^:#\[\.,]*$/,bb=Array.prototype.slice,cb=c.expr.match.POS;c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,e=0,f=this.length;e<f;e++){d=b.length;c.find(a,this[e],b);if(e>0)for(var h=d;h<b.length;h++)for(var l=0;l<d;l++)if(b[l]===b[h]){b.splice(h--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,e=b.length;d<e;d++)if(c.contains(this,b[d]))return true})},
|
105 |
-
not:function(a){return this.pushStack(ma(this,a,false),"not",a)},filter:function(a){return this.pushStack(ma(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){var d=[],e,f,h=this[0];if(c.isArray(a)){var l,k={},o=1;if(h&&a.length){e=0;for(f=a.length;e<f;e++){l=a[e];k[l]||(k[l]=c.expr.match.POS.test(l)?c(l,b||this.context):l)}for(;h&&h.ownerDocument&&h!==b;){for(l in k){e=k[l];if(e.jquery?e.index(h)>-1:c(h).is(e))d.push({selector:l,elem:h,level:o})}h=
|
106 |
-
h.parentNode;o++}}return d}l=cb.test(a)?c(a,b||this.context):null;e=0;for(f=this.length;e<f;e++)for(h=this[e];h;)if(l?l.index(h)>-1:c.find.matchesSelector(h,a)){d.push(h);break}else{h=h.parentNode;if(!h||!h.ownerDocument||h===b)break}d=d.length>1?c.unique(d):d;return this.pushStack(d,"closest",a)},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var d=typeof a==="string"?c(a,b||this.context):
|
107 |
-
c.makeArray(a),e=c.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===11||!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11?e:c.unique(e))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,
|
108 |
-
2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,
|
109 |
-
b){c.fn[a]=function(d,e){var f=c.map(this,b,d);Za.test(a)||(e=d);if(e&&typeof e==="string")f=c.filter(e,f);f=this.length>1?c.unique(f):f;if((this.length>1||ab.test(e))&&$a.test(a))f=f.reverse();return this.pushStack(f,a,bb.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return b.length===1?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,d){var e=[];for(a=a[b];a&&a.nodeType!==9&&(d===B||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&
|
110 |
-
e.push(a);a=a[b]}return e},nth:function(a,b,d){b=b||1;for(var e=0;a;a=a[d])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var za=/ jQuery\d+="(?:\d+|null)"/g,$=/^\s+/,Aa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Ba=/<([\w:]+)/,db=/<tbody/i,eb=/<|&#?\w+;/,Ca=/<(?:script|object|embed|option|style)/i,Da=/checked\s*(?:[^=]|=\s*.checked.)/i,fb=/\=([^="'>\s]+\/)>/g,P={option:[1,
|
111 |
-
"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};P.optgroup=P.option;P.tbody=P.tfoot=P.colgroup=P.caption=P.thead;P.th=P.td;if(!c.support.htmlSerialize)P._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=
|
112 |
-
c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==B)return this.empty().append((this[0]&&this[0].ownerDocument||t).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},
|
113 |
-
wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},
|
114 |
-
prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,
|
115 |
-
this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,e;(e=this[d])!=null;d++)if(!a||c.filter(a,[e]).length){if(!b&&e.nodeType===1){c.cleanData(e.getElementsByTagName("*"));c.cleanData([e])}e.parentNode&&e.parentNode.removeChild(e)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);
|
116 |
-
return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,e=this.ownerDocument;if(!d){d=e.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(za,"").replace(fb,'="$1">').replace($,"")],e)[0]}else return this.cloneNode(true)});if(a===true){na(this,b);na(this.find("*"),b.find("*"))}return b},html:function(a){if(a===B)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(za,""):null;
|
117 |
-
else if(typeof a==="string"&&!Ca.test(a)&&(c.support.leadingWhitespace||!$.test(a))&&!P[(Ba.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Aa,"<$1></$2>");try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(e){this.empty().append(a)}}else c.isFunction(a)?this.each(function(f){var h=c(this);h.html(a.call(this,f,h.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=
|
118 |
-
c(this),e=d.html();d.replaceWith(a.call(this,b,e))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){var e,f,h,l=a[0],k=[];if(!c.support.checkClone&&arguments.length===3&&typeof l==="string"&&Da.test(l))return this.each(function(){c(this).domManip(a,
|
119 |
-
b,d,true)});if(c.isFunction(l))return this.each(function(x){var r=c(this);a[0]=l.call(this,x,b?r.html():B);r.domManip(a,b,d)});if(this[0]){e=l&&l.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:c.buildFragment(a,this,k);h=e.fragment;if(f=h.childNodes.length===1?h=h.firstChild:h.firstChild){b=b&&c.nodeName(f,"tr");f=0;for(var o=this.length;f<o;f++)d.call(b?c.nodeName(this[f],"table")?this[f].getElementsByTagName("tbody")[0]||this[f].appendChild(this[f].ownerDocument.createElement("tbody")):
|
120 |
-
this[f]:this[f],f>0||e.cacheable||this.length>1?h.cloneNode(true):h)}k.length&&c.each(k,Oa)}return this}});c.buildFragment=function(a,b,d){var e,f,h;b=b&&b[0]?b[0].ownerDocument||b[0]:t;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===t&&!Ca.test(a[0])&&(c.support.checkClone||!Da.test(a[0]))){f=true;if(h=c.fragments[a[0]])if(h!==1)e=h}if(!e){e=b.createDocumentFragment();c.clean(a,b,e,d)}if(f)c.fragments[a[0]]=h?e:1;return{fragment:e,cacheable:f}};c.fragments={};c.each({appendTo:"append",
|
121 |
-
prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var e=[];d=c(d);var f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{f=0;for(var h=d.length;f<h;f++){var l=(f>0?this.clone(true):this).get();c(d[f])[b](l);e=e.concat(l)}return this.pushStack(e,a,d.selector)}}});c.extend({clean:function(a,b,d,e){b=b||t;if(typeof b.createElement==="undefined")b=b.ownerDocument||
|
122 |
-
b[0]&&b[0].ownerDocument||t;for(var f=[],h=0,l;(l=a[h])!=null;h++){if(typeof l==="number")l+="";if(l){if(typeof l==="string"&&!eb.test(l))l=b.createTextNode(l);else if(typeof l==="string"){l=l.replace(Aa,"<$1></$2>");var k=(Ba.exec(l)||["",""])[1].toLowerCase(),o=P[k]||P._default,x=o[0],r=b.createElement("div");for(r.innerHTML=o[1]+l+o[2];x--;)r=r.lastChild;if(!c.support.tbody){x=db.test(l);k=k==="table"&&!x?r.firstChild&&r.firstChild.childNodes:o[1]==="<table>"&&!x?r.childNodes:[];for(o=k.length-
|
123 |
-
1;o>=0;--o)c.nodeName(k[o],"tbody")&&!k[o].childNodes.length&&k[o].parentNode.removeChild(k[o])}!c.support.leadingWhitespace&&$.test(l)&&r.insertBefore(b.createTextNode($.exec(l)[0]),r.firstChild);l=r.childNodes}if(l.nodeType)f.push(l);else f=c.merge(f,l)}}if(d)for(h=0;f[h];h++)if(e&&c.nodeName(f[h],"script")&&(!f[h].type||f[h].type.toLowerCase()==="text/javascript"))e.push(f[h].parentNode?f[h].parentNode.removeChild(f[h]):f[h]);else{f[h].nodeType===1&&f.splice.apply(f,[h+1,0].concat(c.makeArray(f[h].getElementsByTagName("script"))));
|
124 |
-
d.appendChild(f[h])}return f},cleanData:function(a){for(var b,d,e=c.cache,f=c.event.special,h=c.support.deleteExpando,l=0,k;(k=a[l])!=null;l++)if(!(k.nodeName&&c.noData[k.nodeName.toLowerCase()]))if(d=k[c.expando]){if((b=e[d])&&b.events)for(var o in b.events)f[o]?c.event.remove(k,o):c.removeEvent(k,o,b.handle);if(h)delete k[c.expando];else k.removeAttribute&&k.removeAttribute(c.expando);delete e[d]}}});var Ea=/alpha\([^)]*\)/i,gb=/opacity=([^)]*)/,hb=/-([a-z])/ig,ib=/([A-Z])/g,Fa=/^-?\d+(?:px)?$/i,
|
125 |
-
jb=/^-?\d/,kb={position:"absolute",visibility:"hidden",display:"block"},Pa=["Left","Right"],Qa=["Top","Bottom"],W,Ga,aa,lb=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){if(arguments.length===2&&b===B)return this;return c.access(this,a,b,true,function(d,e,f){return f!==B?c.style(d,e,f):c.css(d,e)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var d=W(a,"opacity","opacity");return d===""?"1":d}else return a.style.opacity}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true,
|
126 |
-
zoom:true,lineHeight:true},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,d,e){if(!(!a||a.nodeType===3||a.nodeType===8||!a.style)){var f,h=c.camelCase(b),l=a.style,k=c.cssHooks[h];b=c.cssProps[h]||h;if(d!==B){if(!(typeof d==="number"&&isNaN(d)||d==null)){if(typeof d==="number"&&!c.cssNumber[h])d+="px";if(!k||!("set"in k)||(d=k.set(a,d))!==B)try{l[b]=d}catch(o){}}}else{if(k&&"get"in k&&(f=k.get(a,false,e))!==B)return f;return l[b]}}},css:function(a,b,d){var e,f=c.camelCase(b),
|
127 |
-
h=c.cssHooks[f];b=c.cssProps[f]||f;if(h&&"get"in h&&(e=h.get(a,true,d))!==B)return e;else if(W)return W(a,b,f)},swap:function(a,b,d){var e={},f;for(f in b){e[f]=a.style[f];a.style[f]=b[f]}d.call(a);for(f in b)a.style[f]=e[f]},camelCase:function(a){return a.replace(hb,lb)}});c.curCSS=c.css;c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(d,e,f){var h;if(e){if(d.offsetWidth!==0)h=oa(d,b,f);else c.swap(d,kb,function(){h=oa(d,b,f)});if(h<=0){h=W(d,b,b);if(h==="0px"&&aa)h=aa(d,b,b);
|
128 |
-
if(h!=null)return h===""||h==="auto"?"0px":h}if(h<0||h==null){h=d.style[b];return h===""||h==="auto"?"0px":h}return typeof h==="string"?h:h+"px"}},set:function(d,e){if(Fa.test(e)){e=parseFloat(e);if(e>=0)return e+"px"}else return e}}});if(!c.support.opacity)c.cssHooks.opacity={get:function(a,b){return gb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var d=a.style;d.zoom=1;var e=c.isNaN(b)?"":"alpha(opacity="+b*100+")",f=
|
129 |
-
d.filter||"";d.filter=Ea.test(f)?f.replace(Ea,e):d.filter+" "+e}};if(t.defaultView&&t.defaultView.getComputedStyle)Ga=function(a,b,d){var e;d=d.replace(ib,"-$1").toLowerCase();if(!(b=a.ownerDocument.defaultView))return B;if(b=b.getComputedStyle(a,null)){e=b.getPropertyValue(d);if(e===""&&!c.contains(a.ownerDocument.documentElement,a))e=c.style(a,d)}return e};if(t.documentElement.currentStyle)aa=function(a,b){var d,e,f=a.currentStyle&&a.currentStyle[b],h=a.style;if(!Fa.test(f)&&jb.test(f)){d=h.left;
|
130 |
-
e=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;h.left=b==="fontSize"?"1em":f||0;f=h.pixelLeft+"px";h.left=d;a.runtimeStyle.left=e}return f===""?"auto":f};W=Ga||aa;if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!c.support.reliableHiddenOffsets&&(a.style.display||c.css(a,"display"))==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var mb=c.now(),nb=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,
|
131 |
-
ob=/^(?:select|textarea)/i,pb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,qb=/^(?:GET|HEAD)$/,Ra=/\[\]$/,T=/\=\?(&|$)/,ja=/\?/,rb=/([?&])_=[^&]*/,sb=/^(\w+:)?\/\/([^\/?#]+)/,tb=/%20/g,ub=/#.*$/,Ha=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string"&&Ha)return Ha.apply(this,arguments);else if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var f=a.slice(e,a.length);a=a.slice(0,e)}e="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b===
|
132 |
-
"object"){b=c.param(b,c.ajaxSettings.traditional);e="POST"}var h=this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(l,k){if(k==="success"||k==="notmodified")h.html(f?c("<div>").append(l.responseText.replace(nb,"")).find(f):l.responseText);d&&h.each(d,[l.responseText,k,l])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&
|
133 |
-
!this.disabled&&(this.checked||ob.test(this.nodeName)||pb.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?null:c.isArray(d)?c.map(d,function(e){return{name:b.name,value:e}}):{name:b.name,value:d}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,e){if(c.isFunction(b)){e=e||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:e})},
|
134 |
-
getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,e){if(c.isFunction(b)){e=e||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:e})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return new E.XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html",
|
135 |
-
script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},ajax:function(a){var b=c.extend(true,{},c.ajaxSettings,a),d,e,f,h=b.type.toUpperCase(),l=qb.test(h);b.url=b.url.replace(ub,"");b.context=a&&a.context!=null?a.context:b;if(b.data&&b.processData&&typeof b.data!=="string")b.data=c.param(b.data,b.traditional);if(b.dataType==="jsonp"){if(h==="GET")T.test(b.url)||(b.url+=(ja.test(b.url)?"&":"?")+(b.jsonp||"callback")+"=?");else if(!b.data||
|
136 |
-
!T.test(b.data))b.data=(b.data?b.data+"&":"")+(b.jsonp||"callback")+"=?";b.dataType="json"}if(b.dataType==="json"&&(b.data&&T.test(b.data)||T.test(b.url))){d=b.jsonpCallback||"jsonp"+mb++;if(b.data)b.data=(b.data+"").replace(T,"="+d+"$1");b.url=b.url.replace(T,"="+d+"$1");b.dataType="script";var k=E[d];E[d]=function(m){if(c.isFunction(k))k(m);else{E[d]=B;try{delete E[d]}catch(p){}}f=m;c.handleSuccess(b,w,e,f);c.handleComplete(b,w,e,f);r&&r.removeChild(A)}}if(b.dataType==="script"&&b.cache===null)b.cache=
|
137 |
-
false;if(b.cache===false&&l){var o=c.now(),x=b.url.replace(rb,"$1_="+o);b.url=x+(x===b.url?(ja.test(b.url)?"&":"?")+"_="+o:"")}if(b.data&&l)b.url+=(ja.test(b.url)?"&":"?")+b.data;b.global&&c.active++===0&&c.event.trigger("ajaxStart");o=(o=sb.exec(b.url))&&(o[1]&&o[1].toLowerCase()!==location.protocol||o[2].toLowerCase()!==location.host);if(b.dataType==="script"&&h==="GET"&&o){var r=t.getElementsByTagName("head")[0]||t.documentElement,A=t.createElement("script");if(b.scriptCharset)A.charset=b.scriptCharset;
|
138 |
-
A.src=b.url;if(!d){var C=false;A.onload=A.onreadystatechange=function(){if(!C&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){C=true;c.handleSuccess(b,w,e,f);c.handleComplete(b,w,e,f);A.onload=A.onreadystatechange=null;r&&A.parentNode&&r.removeChild(A)}}}r.insertBefore(A,r.firstChild);return B}var J=false,w=b.xhr();if(w){b.username?w.open(h,b.url,b.async,b.username,b.password):w.open(h,b.url,b.async);try{if(b.data!=null&&!l||a&&a.contentType)w.setRequestHeader("Content-Type",
|
139 |
-
b.contentType);if(b.ifModified){c.lastModified[b.url]&&w.setRequestHeader("If-Modified-Since",c.lastModified[b.url]);c.etag[b.url]&&w.setRequestHeader("If-None-Match",c.etag[b.url])}o||w.setRequestHeader("X-Requested-With","XMLHttpRequest");w.setRequestHeader("Accept",b.dataType&&b.accepts[b.dataType]?b.accepts[b.dataType]+", */*; q=0.01":b.accepts._default)}catch(I){}if(b.beforeSend&&b.beforeSend.call(b.context,w,b)===false){b.global&&c.active--===1&&c.event.trigger("ajaxStop");w.abort();return false}b.global&&
|
140 |
-
c.triggerGlobal(b,"ajaxSend",[w,b]);var L=w.onreadystatechange=function(m){if(!w||w.readyState===0||m==="abort"){J||c.handleComplete(b,w,e,f);J=true;if(w)w.onreadystatechange=c.noop}else if(!J&&w&&(w.readyState===4||m==="timeout")){J=true;w.onreadystatechange=c.noop;e=m==="timeout"?"timeout":!c.httpSuccess(w)?"error":b.ifModified&&c.httpNotModified(w,b.url)?"notmodified":"success";var p;if(e==="success")try{f=c.httpData(w,b.dataType,b)}catch(q){e="parsererror";p=q}if(e==="success"||e==="notmodified")d||
|
141 |
-
c.handleSuccess(b,w,e,f);else c.handleError(b,w,e,p);d||c.handleComplete(b,w,e,f);m==="timeout"&&w.abort();if(b.async)w=null}};try{var g=w.abort;w.abort=function(){w&&Function.prototype.call.call(g,w);L("abort")}}catch(i){}b.async&&b.timeout>0&&setTimeout(function(){w&&!J&&L("timeout")},b.timeout);try{w.send(l||b.data==null?null:b.data)}catch(n){c.handleError(b,w,null,n);c.handleComplete(b,w,e,f)}b.async||L();return w}},param:function(a,b){var d=[],e=function(h,l){l=c.isFunction(l)?l():l;d[d.length]=
|
142 |
-
encodeURIComponent(h)+"="+encodeURIComponent(l)};if(b===B)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){e(this.name,this.value)});else for(var f in a)da(f,a[f],b,e);return d.join("&").replace(tb,"+")}});c.extend({active:0,lastModified:{},etag:{},handleError:function(a,b,d,e){a.error&&a.error.call(a.context,b,d,e);a.global&&c.triggerGlobal(a,"ajaxError",[b,a,e])},handleSuccess:function(a,b,d,e){a.success&&a.success.call(a.context,e,d,b);a.global&&c.triggerGlobal(a,"ajaxSuccess",
|
143 |
-
[b,a])},handleComplete:function(a,b,d){a.complete&&a.complete.call(a.context,b,d);a.global&&c.triggerGlobal(a,"ajaxComplete",[b,a]);a.global&&c.active--===1&&c.event.trigger("ajaxStop")},triggerGlobal:function(a,b,d){(a.context&&a.context.url==null?c(a.context):c.event).trigger(b,d)},httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),
|
144 |
-
e=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(e)c.etag[b]=e;return a.status===304},httpData:function(a,b,d){var e=a.getResponseHeader("content-type")||"",f=b==="xml"||!b&&e.indexOf("xml")>=0;a=f?a.responseXML:a.responseText;f&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&e.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&e.indexOf("javascript")>=0)c.globalEval(a);return a}});
|
145 |
-
if(E.ActiveXObject)c.ajaxSettings.xhr=function(){if(E.location.protocol!=="file:")try{return new E.XMLHttpRequest}catch(a){}try{return new E.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}};c.support.ajax=!!c.ajaxSettings.xhr();var ea={},vb=/^(?:toggle|show|hide)$/,wb=/^([+\-]=)?([\d+.\-]+)(.*)$/,ba,pa=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b,d){if(a||a===0)return this.animate(S("show",
|
146 |
-
3),a,b,d);else{d=0;for(var e=this.length;d<e;d++){a=this[d];b=a.style.display;if(!c.data(a,"olddisplay")&&b==="none")b=a.style.display="";b===""&&c.css(a,"display")==="none"&&c.data(a,"olddisplay",qa(a.nodeName))}for(d=0;d<e;d++){a=this[d];b=a.style.display;if(b===""||b==="none")a.style.display=c.data(a,"olddisplay")||""}return this}},hide:function(a,b,d){if(a||a===0)return this.animate(S("hide",3),a,b,d);else{a=0;for(b=this.length;a<b;a++){d=c.css(this[a],"display");d!=="none"&&c.data(this[a],"olddisplay",
|
147 |
-
d)}for(a=0;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b,d){var e=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||e?this.each(function(){var f=e?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(S("toggle",3),a,b,d);return this},fadeTo:function(a,b,d,e){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d,e)},animate:function(a,b,d,e){var f=c.speed(b,
|
148 |
-
d,e);if(c.isEmptyObject(a))return this.each(f.complete);return this[f.queue===false?"each":"queue"](function(){var h=c.extend({},f),l,k=this.nodeType===1,o=k&&c(this).is(":hidden"),x=this;for(l in a){var r=c.camelCase(l);if(l!==r){a[r]=a[l];delete a[l];l=r}if(a[l]==="hide"&&o||a[l]==="show"&&!o)return h.complete.call(this);if(k&&(l==="height"||l==="width")){h.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(c.css(this,"display")==="inline"&&c.css(this,"float")==="none")if(c.support.inlineBlockNeedsLayout)if(qa(this.nodeName)===
|
149 |
-
"inline")this.style.display="inline-block";else{this.style.display="inline";this.style.zoom=1}else this.style.display="inline-block"}if(c.isArray(a[l])){(h.specialEasing=h.specialEasing||{})[l]=a[l][1];a[l]=a[l][0]}}if(h.overflow!=null)this.style.overflow="hidden";h.curAnim=c.extend({},a);c.each(a,function(A,C){var J=new c.fx(x,h,A);if(vb.test(C))J[C==="toggle"?o?"show":"hide":C](a);else{var w=wb.exec(C),I=J.cur()||0;if(w){var L=parseFloat(w[2]),g=w[3]||"px";if(g!=="px"){c.style(x,A,(L||1)+g);I=(L||
|
150 |
-
1)/J.cur()*I;c.style(x,A,I+g)}if(w[1])L=(w[1]==="-="?-1:1)*L+I;J.custom(I,L,g)}else J.custom(I,C,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var e=d.length-1;e>=0;e--)if(d[e].elem===this){b&&d[e](true);d.splice(e,1)}});b||this.dequeue();return this}});c.each({slideDown:S("show",1),slideUp:S("hide",1),slideToggle:S("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(d,e,f){return this.animate(b,
|
151 |
-
d,e,f)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?c.extend({},a):{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in c.fx.speeds?c.fx.speeds[e.duration]:c.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==false&&c(this).dequeue();c.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,d,e){return d+e*a},swing:function(a,b,d,e){return(-Math.cos(a*
|
152 |
-
Math.PI)/2+0.5)*e+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a=parseFloat(c.css(this.elem,this.prop));return a&&a>-1E4?a:0},custom:function(a,b,d){function e(l){return f.step(l)}
|
153 |
-
var f=this,h=c.fx;this.startTime=c.now();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;e.elem=this.elem;if(e()&&c.timers.push(e)&&!ba)ba=setInterval(h.tick,h.interval)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;
|
154 |
-
this.custom(this.cur(),0)},step:function(a){var b=c.now(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var e in this.options.curAnim)if(this.options.curAnim[e]!==true)d=false;if(d){if(this.options.overflow!=null&&!c.support.shrinkWrapBlocks){var f=this.elem,h=this.options;c.each(["","X","Y"],function(k,o){f.style["overflow"+o]=h.overflow[k]})}this.options.hide&&c(this.elem).hide();if(this.options.hide||
|
155 |
-
this.options.show)for(var l in this.options.curAnim)c.style(this.elem,l,this.options.orig[l]);this.options.complete.call(this.elem)}return false}else{a=b-this.startTime;this.state=a/this.options.duration;b=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||b](this.state,a,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=
|
156 |
-
c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||c.fx.stop()},interval:13,stop:function(){clearInterval(ba);ba=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===
|
157 |
-
b.elem}).length};var xb=/^t(?:able|d|h)$/i,Ia=/^(?:body|html)$/i;c.fn.offset="getBoundingClientRect"in t.documentElement?function(a){var b=this[0],d;if(a)return this.each(function(l){c.offset.setOffset(this,a,l)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);try{d=b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,h=f.documentElement;if(!d||!c.contains(h,b))return d||{top:0,left:0};b=f.body;f=fa(f);return{top:d.top+(f.pageYOffset||c.support.boxModel&&
|
158 |
-
h.scrollTop||b.scrollTop)-(h.clientTop||b.clientTop||0),left:d.left+(f.pageXOffset||c.support.boxModel&&h.scrollLeft||b.scrollLeft)-(h.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(x){c.offset.setOffset(this,a,x)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d,e=b.offsetParent,f=b.ownerDocument,h=f.documentElement,l=f.body;d=(f=f.defaultView)?f.getComputedStyle(b,null):b.currentStyle;
|
159 |
-
for(var k=b.offsetTop,o=b.offsetLeft;(b=b.parentNode)&&b!==l&&b!==h;){if(c.offset.supportsFixedPosition&&d.position==="fixed")break;d=f?f.getComputedStyle(b,null):b.currentStyle;k-=b.scrollTop;o-=b.scrollLeft;if(b===e){k+=b.offsetTop;o+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&xb.test(b.nodeName))){k+=parseFloat(d.borderTopWidth)||0;o+=parseFloat(d.borderLeftWidth)||0}e=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"){k+=
|
160 |
-
parseFloat(d.borderTopWidth)||0;o+=parseFloat(d.borderLeftWidth)||0}d=d}if(d.position==="relative"||d.position==="static"){k+=l.offsetTop;o+=l.offsetLeft}if(c.offset.supportsFixedPosition&&d.position==="fixed"){k+=Math.max(h.scrollTop,l.scrollTop);o+=Math.max(h.scrollLeft,l.scrollLeft)}return{top:k,left:o}};c.offset={initialize:function(){var a=t.body,b=t.createElement("div"),d,e,f,h=parseFloat(c.css(a,"marginTop"))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",
|
161 |
-
height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";a.insertBefore(b,a.firstChild);d=b.firstChild;e=d.firstChild;f=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=e.offsetTop!==5;this.doesAddBorderForTableAndCells=
|
162 |
-
f.offsetTop===5;e.style.position="fixed";e.style.top="20px";this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15;e.style.position=e.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==h;a.removeChild(b);c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.css(a,
|
163 |
-
"marginTop"))||0;d+=parseFloat(c.css(a,"marginLeft"))||0}return{top:b,left:d}},setOffset:function(a,b,d){var e=c.css(a,"position");if(e==="static")a.style.position="relative";var f=c(a),h=f.offset(),l=c.css(a,"top"),k=c.css(a,"left"),o=e==="absolute"&&c.inArray("auto",[l,k])>-1;e={};var x={};if(o)x=f.position();l=o?x.top:parseInt(l,10)||0;k=o?x.left:parseInt(k,10)||0;if(c.isFunction(b))b=b.call(a,d,h);if(b.top!=null)e.top=b.top-h.top+l;if(b.left!=null)e.left=b.left-h.left+k;"using"in b?b.using.call(a,
|
164 |
-
e):f.css(e)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),e=Ia.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.css(a,"marginTop"))||0;d.left-=parseFloat(c.css(a,"marginLeft"))||0;e.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;e.left+=parseFloat(c.css(b[0],"borderLeftWidth"))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||t.body;a&&!Ia.test(a.nodeName)&&
|
165 |
-
c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(e){var f=this[0],h;if(!f)return null;if(e!==B)return this.each(function(){if(h=fa(this))h.scrollTo(!a?e:c(h).scrollLeft(),a?e:c(h).scrollTop());else this[d]=e});else return(h=fa(f))?"pageXOffset"in h?h[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&h.document.documentElement[d]||h.document.body[d]:f[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();
|
166 |
-
c.fn["inner"+b]=function(){return this[0]?parseFloat(c.css(this[0],d,"padding")):null};c.fn["outer"+b]=function(e){return this[0]?parseFloat(c.css(this[0],d,e?"margin":"border")):null};c.fn[d]=function(e){var f=this[0];if(!f)return e==null?null:this;if(c.isFunction(e))return this.each(function(l){var k=c(this);k[d](e.call(this,l,k[d]()))});if(c.isWindow(f))return f.document.compatMode==="CSS1Compat"&&f.document.documentElement["client"+b]||f.document.body["client"+b];else if(f.nodeType===9)return Math.max(f.documentElement["client"+
|
167 |
-
b],f.body["scroll"+b],f.documentElement["scroll"+b],f.body["offset"+b],f.documentElement["offset"+b]);else if(e===B){f=c.css(f,d);var h=parseFloat(f);return c.isNaN(h)?f:h}else return this.css(d,typeof e==="string"?e:e+"px")}})})(window);
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
js/mp3-jplayer-1.8.10.js
DELETED
@@ -1,807 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
MP3-jPlayer 1.8.10
|
3 |
-
www.sjward.org
|
4 |
-
*/
|
5 |
-
|
6 |
-
var MP3_JPLAYER = {
|
7 |
-
|
8 |
-
tID: '',
|
9 |
-
state: '',
|
10 |
-
pl_info: [],
|
11 |
-
load_pc: 0,
|
12 |
-
played_t: 0,
|
13 |
-
dl_dialogs: [],
|
14 |
-
timeoutIDs: [],
|
15 |
-
intervalIDs: [],
|
16 |
-
jperrorIDs: [],
|
17 |
-
dl_domain: '',
|
18 |
-
jp_audio: {},
|
19 |
-
jp_seekable: 0,
|
20 |
-
sliding: false,
|
21 |
-
launched_ID: null,
|
22 |
-
jpID: '#mp3_jplayer_1_8',
|
23 |
-
plugin_path: '',
|
24 |
-
lastformats: '',
|
25 |
-
was_playing: false,
|
26 |
-
|
27 |
-
vars: {
|
28 |
-
play_f: false,
|
29 |
-
stylesheet_url: '',
|
30 |
-
dload_text: 'DOWNLOAD MP3',
|
31 |
-
pp_width: 280,
|
32 |
-
pp_maxheight: 350,
|
33 |
-
pp_bodycolour: '#fff',
|
34 |
-
pp_bodyimg: '',
|
35 |
-
pp_fixedcss: false,
|
36 |
-
pp_windowheight: 600,
|
37 |
-
pp_playerheight: 100+142,
|
38 |
-
force_dload: false,
|
39 |
-
message_interval: '<h2>Download MP3</h2><p style="margin-top:34px !important;">Your download should start in a second!</p>',
|
40 |
-
message_ok: '',
|
41 |
-
message_indark: '<h2>Download MP3</h2><p>Your download should start in a second!</p>',
|
42 |
-
message_promtlink: '<h2>Download MP3</h2><p>Link to the file:</p><h3><a target="_blank" href="#1">#2</a></h3><p>Depending on your browser settings, you may need to right click the link to save it.</p>',
|
43 |
-
message_fail: '<h2>Download Failed</h2><p>Sorry, something went wrong!</p>',
|
44 |
-
message_timeout: '<h2>Download<br />Unavailable</h2><p>please try again later!</p>',
|
45 |
-
dl_remote_path: ''
|
46 |
-
},
|
47 |
-
|
48 |
-
eID: {
|
49 |
-
play: '#playpause_mp3j_',
|
50 |
-
playW: '#playpause_wrap_mp3j_',
|
51 |
-
stp: '#stop_mp3j_',
|
52 |
-
prev: '#Prev_mp3j_',
|
53 |
-
next: '#Next_mp3j_',
|
54 |
-
vol: '#vol_mp3j_',
|
55 |
-
loader: '#load_mp3j_',
|
56 |
-
pos: '#posbar_mp3j_',
|
57 |
-
poscol: '#poscol_mp3j_',
|
58 |
-
title: '#T_mp3j_',
|
59 |
-
caption: '#C_mp3j_',
|
60 |
-
pT: '#P-Time-MI_',
|
61 |
-
tT: '#T-Time-MI_',
|
62 |
-
dload: '#download_mp3j_',
|
63 |
-
plwrap: '#L_mp3j_',
|
64 |
-
ul: '#UL_mp3j_',
|
65 |
-
a: 'mp3j_A_', //No hash!
|
66 |
-
indiM: '#statusMI_',
|
67 |
-
toglist: '#playlist-toggle_',
|
68 |
-
lPP: '#lpp_mp3j_',
|
69 |
-
pplink: '#mp3j_popout_',
|
70 |
-
img: '#MI_image_'
|
71 |
-
},
|
72 |
-
|
73 |
-
init: function () {
|
74 |
-
var plpath, that = this;
|
75 |
-
|
76 |
-
plpath = this.plugin_path.split('/');
|
77 |
-
this.dl_domain = plpath[2].replace(/^www./i, "");
|
78 |
-
|
79 |
-
this.unwrap();
|
80 |
-
this.write_controls();
|
81 |
-
this.add_jpconstruct_div();
|
82 |
-
|
83 |
-
jQuery(this.jpID).jPlayer({
|
84 |
-
ready: function () {
|
85 |
-
that.startup();
|
86 |
-
},
|
87 |
-
swfPath: that.plugin_path + '/js/Jplayer271.swf',
|
88 |
-
volume: 1,
|
89 |
-
supplied: "mp3",
|
90 |
-
wmode: "window",
|
91 |
-
solution:"html, flash",
|
92 |
-
preload: "none"
|
93 |
-
});
|
94 |
-
jQuery(this.jpID).bind(jQuery.jPlayer.event.ended, function(event) {
|
95 |
-
that.E_complete(that.tID);
|
96 |
-
});
|
97 |
-
jQuery(this.jpID).bind(jQuery.jPlayer.event.timeupdate, function(event) {
|
98 |
-
var lp = that.get_loaded(event);
|
99 |
-
var ppA = event.jPlayer.status.currentPercentAbsolute;
|
100 |
-
var pt = event.jPlayer.status.currentTime;
|
101 |
-
var tt = event.jPlayer.status.duration;
|
102 |
-
that.E_update(that.tID, lp, ppA, pt, tt);
|
103 |
-
});
|
104 |
-
jQuery(this.jpID).bind(jQuery.jPlayer.event.ready, function(event) {
|
105 |
-
if(event.jPlayer.html.used && event.jPlayer.html.audio.available) {
|
106 |
-
that.jp_audio = jQuery(that.jpID).data("jPlayer").htmlElement.audio;
|
107 |
-
} else {
|
108 |
-
that.jp_audio = 'flash';
|
109 |
-
}
|
110 |
-
});
|
111 |
-
jQuery(this.jpID).bind(jQuery.jPlayer.event.progress, function(event) {
|
112 |
-
var lp = that.get_loaded(event);
|
113 |
-
var pt = event.jPlayer.status.currentTime;
|
114 |
-
var tt = event.jPlayer.status.duration;
|
115 |
-
that.E_loading( that.tID, lp, tt, pt );
|
116 |
-
});
|
117 |
-
},
|
118 |
-
|
119 |
-
|
120 |
-
////
|
121 |
-
////
|
122 |
-
check_show_jperrors: function ( event ) {
|
123 |
-
if ( this.tID !== '' && this.jperrorIDs[ this.tID ] !== true ) {
|
124 |
-
if ( event.jPlayer.error.type === 'e_no_solution' || event.jPlayer.error.type === 'e_no_support' ) {
|
125 |
-
this.show_nosolution( this.tID );
|
126 |
-
this.jperrorIDs[ this.tID ] = true;
|
127 |
-
}
|
128 |
-
}
|
129 |
-
},
|
130 |
-
|
131 |
-
show_nosolution: function ( j ) {
|
132 |
-
jQuery('#mp3j_nosolution_' + j).empty().append(this.vars.message_nosolution).fadeIn(200);
|
133 |
-
},
|
134 |
-
|
135 |
-
add_jpconstruct_div: function () {
|
136 |
-
var html = '<div id="mp3_jplayer_items" style="position:relative; overflow:hidden; margin:0; padding:0; border:0; width:0px; height:0px;"><div id="mp3_jplayer_1_8" style="left:-999em;"></div></div>';
|
137 |
-
jQuery('body').prepend( html );
|
138 |
-
},
|
139 |
-
|
140 |
-
////
|
141 |
-
////
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
get_loaded: function (event) {
|
146 |
-
var lp;
|
147 |
-
if ( typeof this.jp_audio.buffered === "object" ) {
|
148 |
-
if( this.jp_audio.buffered.length > 0 && this.jp_audio.duration > 0 ) {
|
149 |
-
lp = 100 * this.jp_audio.buffered.end(this.jp_audio.buffered.length-1) / this.jp_audio.duration;
|
150 |
-
} else {
|
151 |
-
lp = 0;
|
152 |
-
}
|
153 |
-
} else {
|
154 |
-
lp = event.jPlayer.status.seekPercent;
|
155 |
-
}
|
156 |
-
this.jp_seekable = event.jPlayer.status.seekPercent; //use this for slider calcs for both html/flash solution
|
157 |
-
this.load_pc = lp;
|
158 |
-
return lp;
|
159 |
-
},
|
160 |
-
|
161 |
-
Tformat: function ( sec ) {
|
162 |
-
var t = sec,
|
163 |
-
s = Math.floor((t)%60),
|
164 |
-
m = Math.floor((t/60)%60),
|
165 |
-
h = Math.floor(t/3600);
|
166 |
-
return ((h > 0) ? h+':' : '') + ((m > 9) ? m : '0'+m) + ':' + ((s > 9) ? s : '0'+s);
|
167 |
-
},
|
168 |
-
|
169 |
-
E_loading: function ( j, lp, tt, pt ) {
|
170 |
-
if (j !== '') {
|
171 |
-
jQuery(this.eID.loader + j).css( "width", lp + '%' );
|
172 |
-
if (this.pl_info[j].type === 'MI') {
|
173 |
-
if (tt > 0 && this.played_t > 0) {
|
174 |
-
jQuery(this.eID.tT + j).text(this.Tformat(tt));
|
175 |
-
}
|
176 |
-
}
|
177 |
-
if ( this.jp_audio !== 'flash' && lp < 100 ) {
|
178 |
-
if ( pt === this.played_t && this.state === 'playing' && pt > 0 && !this.sliding ) {
|
179 |
-
if (this.pl_info[j].type === 'MI') {
|
180 |
-
jQuery(this.eID.indiM + j).empty().append('<span class="mp3-finding"></span><span class="mp3-tint"></span>Buffering');
|
181 |
-
}
|
182 |
-
if (this.pl_info[j].type === 'single' ) {
|
183 |
-
jQuery(this.eID.indiM + j).empty().append('<span class="Smp3-finding"></span><span class="mp3-gtint"></span> ' + this.Tformat(pt));
|
184 |
-
}
|
185 |
-
}
|
186 |
-
this.played_t = pt;
|
187 |
-
}
|
188 |
-
}
|
189 |
-
},
|
190 |
-
|
191 |
-
E_update: function (j, lp, ppA, pt, tt) {
|
192 |
-
if (j !== '') {
|
193 |
-
jQuery(this.eID.loader + j).css( "width", lp + '%' );
|
194 |
-
jQuery(this.eID.poscol + j).css( "width", ppA + '%' );
|
195 |
-
if ( jQuery(this.eID.pos + j + ' div.ui-widget-header').length > 0 ) {
|
196 |
-
jQuery(this.eID.pos + j).slider('option', 'value', 10*ppA);
|
197 |
-
}
|
198 |
-
if (pt > 0) {
|
199 |
-
jQuery(this.eID.pos + j).css( 'visibility', 'visible' );
|
200 |
-
}
|
201 |
-
if (this.pl_info[j].type === 'MI') {
|
202 |
-
jQuery(this.eID.pT + j).text(this.Tformat(pt));
|
203 |
-
}
|
204 |
-
if ('playing' === this.state) {
|
205 |
-
if ('MI' === this.pl_info[j].type) {
|
206 |
-
if (tt > 0 && this.played_t === pt && lp < 100 && !this.sliding ) {
|
207 |
-
jQuery(this.eID.indiM + j).empty().append('<span class="mp3-finding"></span><span class="mp3-tint"></span>Buffering');
|
208 |
-
jQuery(this.eID.tT + j).text(this.Tformat(tt));
|
209 |
-
} else if (pt > 0) {
|
210 |
-
jQuery(this.eID.indiM + j).empty().append('Playing');
|
211 |
-
jQuery(this.eID.tT + j).text(this.Tformat(tt));
|
212 |
-
}
|
213 |
-
}
|
214 |
-
if ('single' === this.pl_info[j].type){
|
215 |
-
if (pt > 0 ) {
|
216 |
-
if (this.played_t === pt && lp < 100 && !this.sliding ) {
|
217 |
-
jQuery(this.eID.indiM + j).empty().append('<span class="Smp3-finding"></span><span class="mp3-gtint"></span> ' + this.Tformat(pt));
|
218 |
-
} else {
|
219 |
-
jQuery(this.eID.indiM + j).empty().append('<span class="mp3-tint tintmarg"></span> ' + this.Tformat(pt));
|
220 |
-
}
|
221 |
-
}
|
222 |
-
}
|
223 |
-
}
|
224 |
-
this.played_t = pt;
|
225 |
-
}
|
226 |
-
},
|
227 |
-
|
228 |
-
E_complete: function (j) {
|
229 |
-
var p = this.pl_info[j];
|
230 |
-
if ('MI' === p.type) {
|
231 |
-
if (p.loop || p.tr+1 < p.list.length) {
|
232 |
-
this.E_change_track(j, 'next');
|
233 |
-
} else {
|
234 |
-
this.E_dblstop(j);
|
235 |
-
this.startup();
|
236 |
-
}
|
237 |
-
}
|
238 |
-
if ('single' === p.type) {
|
239 |
-
if (p.loop) {
|
240 |
-
this.E_change_track(j, 'next');
|
241 |
-
} else {
|
242 |
-
this.E_stop(j);
|
243 |
-
this.startup();
|
244 |
-
}
|
245 |
-
}
|
246 |
-
},
|
247 |
-
|
248 |
-
write_controls: function () {
|
249 |
-
var j;
|
250 |
-
for (j = 0; j < this.pl_info.length; j += 1) {
|
251 |
-
this.setup_a_player(j);
|
252 |
-
}
|
253 |
-
},
|
254 |
-
|
255 |
-
startup: function () {
|
256 |
-
var j;
|
257 |
-
for (j = 0; j < this.pl_info.length; j += 1) {
|
258 |
-
//if (this.pl_info[j].autoplay) {
|
259 |
-
if ( this.pl_info[j].autoplay && (this.pl_info[j].type === 'single' || this.pl_info[j].type === 'MI') ) {
|
260 |
-
this.pl_info[j].autoplay = false;
|
261 |
-
this.E_change_track(j, this.pl_info[j].tr);
|
262 |
-
return;
|
263 |
-
}
|
264 |
-
}
|
265 |
-
},
|
266 |
-
|
267 |
-
setup_a_player: function (j) {
|
268 |
-
var i, li, sel, that = this, p = this.pl_info[j];
|
269 |
-
|
270 |
-
//PLAYLISTERS and SINGLES
|
271 |
-
if ('MI' === p.type || 'single' === p.type) {
|
272 |
-
|
273 |
-
jQuery(this.eID.vol + j).slider({
|
274 |
-
value : p.vol,
|
275 |
-
max: 100,
|
276 |
-
range: 'min',
|
277 |
-
animate: false,
|
278 |
-
slide: function (event, ui) {
|
279 |
-
p.vol = ui.value;
|
280 |
-
if (j === that.tID) {
|
281 |
-
jQuery(that.jpID).jPlayer("volume", ui.value/100);
|
282 |
-
}
|
283 |
-
}
|
284 |
-
});
|
285 |
-
|
286 |
-
jQuery(this.eID.pos + j).mouseup(function (e) { //for posbar
|
287 |
-
that.sliding = false;
|
288 |
-
});
|
289 |
-
|
290 |
-
sel = ('MI' === p.type) ? this.eID.play : this.eID.playW;
|
291 |
-
jQuery(sel + j).click(function () { //play-pause click
|
292 |
-
that.E_change_track(j, p.tr);
|
293 |
-
jQuery(this).blur();
|
294 |
-
});
|
295 |
-
jQuery(sel + j).dblclick(function () { //play-pause dbl click
|
296 |
-
if (that.state !== "playing") {
|
297 |
-
that.E_change_track(j, p.tr);
|
298 |
-
}
|
299 |
-
jQuery(this).blur();
|
300 |
-
});
|
301 |
-
|
302 |
-
this.titles(j, p.tr);
|
303 |
-
}
|
304 |
-
|
305 |
-
//PLAYLISTERS
|
306 |
-
if ('MI' === p.type) {
|
307 |
-
jQuery(this.eID.pT + j).text('00:00');
|
308 |
-
jQuery(this.eID.indiM + j).text('Ready');
|
309 |
-
jQuery(this.eID.stp + j).click(function () {
|
310 |
-
that.E_stop(j);
|
311 |
-
});
|
312 |
-
jQuery(this.eID.stp + j).dblclick(function () {
|
313 |
-
that.E_dblstop(j);
|
314 |
-
});
|
315 |
-
|
316 |
-
jQuery(this.eID.plwrap + j).hide();
|
317 |
-
if (p.list.length > 1) {
|
318 |
-
jQuery(this.eID.next + j).click(function () {
|
319 |
-
that.E_change_track(j, 'next');
|
320 |
-
});
|
321 |
-
jQuery(this.eID.prev + j).click(function () {
|
322 |
-
that.E_change_track(j, 'prev');
|
323 |
-
});
|
324 |
-
jQuery(this.eID.ul + j).empty();
|
325 |
-
for (i = 0; i < p.list.length; i += 1) {
|
326 |
-
li = '<li>';
|
327 |
-
li += '<a href="#" id="' + this.eID.a + j + '_' + i + '">' + p.list[i].name + '</a></li>';
|
328 |
-
jQuery(this.eID.ul + j).append(li);
|
329 |
-
this.add_ul_click(j, i);
|
330 |
-
}
|
331 |
-
jQuery('#' + this.eID.a + j + '_' + p.tr).addClass('mp3j_A_current');
|
332 |
-
jQuery(this.eID.toglist + j).click(function () {
|
333 |
-
that.togglelist(j);
|
334 |
-
});
|
335 |
-
if (p.lstate === true) {
|
336 |
-
jQuery(this.eID.plwrap + j).show();
|
337 |
-
}
|
338 |
-
}
|
339 |
-
|
340 |
-
this.writedownload(j, p.tr);
|
341 |
-
if ( this.vars.force_dload === true ) {
|
342 |
-
this.dl_closeinfo_click(j);
|
343 |
-
}
|
344 |
-
|
345 |
-
jQuery(this.eID.lPP + j).click(function () {
|
346 |
-
return that.E_launchPP(j);
|
347 |
-
});
|
348 |
-
}
|
349 |
-
|
350 |
-
//POPOUT LINKS
|
351 |
-
if ('popout' === p.type) {
|
352 |
-
jQuery(this.eID.pplink + j).click(function () {
|
353 |
-
return that.E_launchPP(j);
|
354 |
-
});
|
355 |
-
}
|
356 |
-
},
|
357 |
-
|
358 |
-
add_ul_click: function (j, i) { //playlist item click
|
359 |
-
var that = this;
|
360 |
-
jQuery('#' + this.eID.a + j + "_" + i).click(function (e) {
|
361 |
-
that.E_change_track(j, i);
|
362 |
-
e.preventDefault();
|
363 |
-
});
|
364 |
-
},
|
365 |
-
|
366 |
-
unwrap: function () {
|
367 |
-
var i, j, arr;
|
368 |
-
if (this.vars.play_f === true && typeof this.lists !== "undefined" && this.lists.length > 0) {
|
369 |
-
for (i = 0; i < this.lists.length; i += 1) {
|
370 |
-
arr = this.lists[i];
|
371 |
-
for (j = 0; j < arr.length; j += 1) {
|
372 |
-
arr[j].mp3 = this.f_undo.f_con(arr[j].mp3);
|
373 |
-
}
|
374 |
-
}
|
375 |
-
}
|
376 |
-
},
|
377 |
-
|
378 |
-
f_undo: {
|
379 |
-
keyStr : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
|
380 |
-
f_con : function (input) {
|
381 |
-
var output = "", i = 0, chr1, chr2, chr3, enc1, enc2, enc3, enc4;
|
382 |
-
input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
|
383 |
-
while (i < input.length) {
|
384 |
-
enc1 = this.keyStr.indexOf(input.charAt(i++)); enc2 = this.keyStr.indexOf(input.charAt(i++));
|
385 |
-
enc3 = this.keyStr.indexOf(input.charAt(i++)); enc4 = this.keyStr.indexOf(input.charAt(i++));
|
386 |
-
chr1 = (enc1 << 2) | (enc2 >> 4); chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); chr3 = ((enc3 & 3) << 6) | enc4;
|
387 |
-
output = output + String.fromCharCode(chr1);
|
388 |
-
if (enc3 !== 64) { output = output + String.fromCharCode(chr2); }
|
389 |
-
if (enc4 !== 64) { output = output + String.fromCharCode(chr3); }
|
390 |
-
}
|
391 |
-
output = this.utf8_f_con(output);
|
392 |
-
return output;
|
393 |
-
},
|
394 |
-
utf8_f_con : function (utftext) {
|
395 |
-
var string = "", i = 0, c, c1, c2, c3;
|
396 |
-
while (i < utftext.length) {
|
397 |
-
c = utftext.charCodeAt(i);
|
398 |
-
if (c < 128) {
|
399 |
-
string += String.fromCharCode(c); i++;
|
400 |
-
} else if ((c > 191) && (c < 224)) {
|
401 |
-
c2 = utftext.charCodeAt(i + 1); string += String.fromCharCode(((c & 31) << 6) | (c2 & 63)); i += 2;
|
402 |
-
} else {
|
403 |
-
c2 = utftext.charCodeAt(i + 1); c3 = utftext.charCodeAt(i + 2); string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63)); i += 3;
|
404 |
-
}
|
405 |
-
}
|
406 |
-
return string;
|
407 |
-
}
|
408 |
-
},
|
409 |
-
|
410 |
-
|
411 |
-
E_stop: function (j) {
|
412 |
-
if (j === this.tID && j !== '') {
|
413 |
-
this.clearit();
|
414 |
-
if ( jQuery(this.eID.pos + j + ' div.ui-widget-header').length > 0 ) {
|
415 |
-
jQuery(this.eID.pos + j).slider('destroy');
|
416 |
-
}
|
417 |
-
jQuery(this.eID.loader + j).css( "width", '0%' );
|
418 |
-
this.button(j, 'play');
|
419 |
-
if (this.pl_info[j].type === 'MI') {
|
420 |
-
jQuery(this.eID.poscol + j).css( "width", '0%' );
|
421 |
-
jQuery(this.eID.tT + j).empty();
|
422 |
-
jQuery(this.eID.indiM + j).text('Stopped');
|
423 |
-
jQuery(this.eID.pT + j).text(this.Tformat(0));
|
424 |
-
} else {
|
425 |
-
jQuery(this.eID.indiM + j).empty();
|
426 |
-
}
|
427 |
-
this.load_pc = 0;
|
428 |
-
this.played_t = 0;
|
429 |
-
}
|
430 |
-
},
|
431 |
-
|
432 |
-
E_dblstop: function (j) {
|
433 |
-
this.listclass(j, this.pl_info[j].tr, 0);
|
434 |
-
if ( this.pl_info[j].tr !== 0 ) {
|
435 |
-
this.titles(j, 0);
|
436 |
-
}
|
437 |
-
this.writedownload(j, 0);
|
438 |
-
this.E_stop(j);
|
439 |
-
jQuery(this.eID.indiM + j).text('Ready');
|
440 |
-
this.pl_info[j].tr = 0;
|
441 |
-
},
|
442 |
-
|
443 |
-
E_change_track: function (j, change) {
|
444 |
-
var track, txt, p = this.pl_info[j];
|
445 |
-
if (j === this.tID && change === p.tr) {
|
446 |
-
if ('playing' === this.state) {
|
447 |
-
if (this.load_pc === 0) {
|
448 |
-
this.E_stop(j);
|
449 |
-
} else {
|
450 |
-
this.pauseit();
|
451 |
-
this.button(j, 'play');
|
452 |
-
if ('MI' === p.type) {
|
453 |
-
jQuery(this.eID.indiM + j).text('Paused');
|
454 |
-
}
|
455 |
-
}
|
456 |
-
return;
|
457 |
-
} else if ('paused' === this.state || 'set' === this.state) {
|
458 |
-
this.playit();
|
459 |
-
this.button(j, 'pause');
|
460 |
-
return;
|
461 |
-
}
|
462 |
-
}
|
463 |
-
this.E_stop(this.tID);
|
464 |
-
if ('prev' === change) {
|
465 |
-
track = (p.tr-1 < 0) ? p.list.length-1 : p.tr-1;
|
466 |
-
} else if ('next' === change) {
|
467 |
-
track = (p.tr+1 < p.list.length) ? p.tr+1 : 0;
|
468 |
-
} else {
|
469 |
-
track = change;
|
470 |
-
}
|
471 |
-
jQuery(this.jpID).jPlayer("volume", 1 ); //Vol scaling fix
|
472 |
-
this.setit(p.list[track].mp3);
|
473 |
-
this.playit();
|
474 |
-
jQuery(this.jpID).jPlayer("volume", p.vol/100 ); //Reset to correct vol
|
475 |
-
txt = ('MI' === p.type) ? '<span class="mp3-finding"></span><span class="mp3-tint"></span>Connecting' : '<span class="Smp3-finding"></span><span class="mp3-gtint"></span>';
|
476 |
-
jQuery(this.eID.indiM + j).empty().append(txt);
|
477 |
-
this.button(j, 'pause');
|
478 |
-
this.makeslider(j);
|
479 |
-
if ('MI' === p.type) {
|
480 |
-
this.listclass(j, p.tr, track);
|
481 |
-
if ( p.tr !== track ) {
|
482 |
-
this.titles(j, track);
|
483 |
-
}
|
484 |
-
if (p.download) {
|
485 |
-
this.writedownload(j, track);
|
486 |
-
jQuery(this.eID.dload + j).hide().addClass('whilelinks').fadeIn(400);
|
487 |
-
}
|
488 |
-
}
|
489 |
-
p.tr = track;
|
490 |
-
this.tID = j;
|
491 |
-
},
|
492 |
-
|
493 |
-
E_launchPP: function (j) {
|
494 |
-
var li_height = 28;
|
495 |
-
if ( this.pl_info[j].height !== false ) {
|
496 |
-
this.vars.pp_playerheight = 100 + this.pl_info[j].height;
|
497 |
-
}
|
498 |
-
this.vars.pp_windowheight = ( this.pl_info[j].list.length > 1 ) ? this.vars.pp_playerheight + ( this.pl_info[j].list.length * li_height) : this.vars.pp_playerheight;
|
499 |
-
if ( this.vars.pp_windowheight > this.vars.pp_maxheight ) {
|
500 |
-
this.vars.pp_windowheight = this.vars.pp_maxheight;
|
501 |
-
}
|
502 |
-
this.launched_ID = j;
|
503 |
-
this.was_playing = ( this.state === "playing" ) ? true : false;
|
504 |
-
|
505 |
-
this.E_stop(this.tID);
|
506 |
-
this.setit(this.plugin_path + '/mp3/silence.mp3');
|
507 |
-
this.playit(); //make chrome let go of last track (incase it didn't finish loading)
|
508 |
-
this.clearit();
|
509 |
-
|
510 |
-
var newwindow = window.open(this.plugin_path + '/popout.php', 'mp3jpopout', 'height=300, width=600, location=1, status=1, scrollbars=1, resizable=1, left=25, top=25');
|
511 |
-
if ( this.pl_info[j].lstate === true ) {
|
512 |
-
newwindow.resizeTo( this.vars.pp_width, this.vars.pp_windowheight );
|
513 |
-
} else {
|
514 |
-
newwindow.resizeTo( this.vars.pp_width, this.vars.pp_playerheight );
|
515 |
-
}
|
516 |
-
if (window.focus) {
|
517 |
-
newwindow.focus();
|
518 |
-
}
|
519 |
-
return false;
|
520 |
-
},
|
521 |
-
|
522 |
-
setit: function (file) {
|
523 |
-
this.state = 'set';
|
524 |
-
jQuery(this.jpID).jPlayer("setMedia", {mp3: file});
|
525 |
-
},
|
526 |
-
playit: function () {
|
527 |
-
this.state = 'playing';
|
528 |
-
jQuery(this.jpID).jPlayer("play");
|
529 |
-
},
|
530 |
-
pauseit: function () {
|
531 |
-
this.state = 'paused';
|
532 |
-
jQuery(this.jpID).jPlayer("pause");
|
533 |
-
},
|
534 |
-
clearit: function () {
|
535 |
-
this.state = '';
|
536 |
-
jQuery(this.jpID).jPlayer("clearMedia");
|
537 |
-
},
|
538 |
-
|
539 |
-
button: function (j, type) {
|
540 |
-
if (j === '') { return; }
|
541 |
-
if ('pause' === type) {
|
542 |
-
if (this.pl_info[j].play_txt === '#USE_G#') {
|
543 |
-
jQuery(this.eID.play + j).removeClass('buttons_mp3j').addClass('buttons_mp3jpause');
|
544 |
-
} else {
|
545 |
-
jQuery(this.eID.play + j).text(this.pl_info[j].pause_txt);
|
546 |
-
}
|
547 |
-
}
|
548 |
-
if ('play' === type) {
|
549 |
-
if (this.pl_info[j].play_txt === '#USE_G#') {
|
550 |
-
jQuery(this.eID.play + j).removeClass('buttons_mp3jpause').addClass('buttons_mp3j');
|
551 |
-
} else {
|
552 |
-
jQuery(this.eID.play + j).text(this.pl_info[j].play_txt);
|
553 |
-
}
|
554 |
-
}
|
555 |
-
},
|
556 |
-
|
557 |
-
listclass: function ( j, rem, add ) {
|
558 |
-
jQuery('#'+ this.eID.a + j +'_'+ rem).removeClass('mp3j_A_current');
|
559 |
-
jQuery('#'+ this.eID.a + j +'_'+ add).addClass('mp3j_A_current');
|
560 |
-
},
|
561 |
-
|
562 |
-
titles: function ( j, track ) {
|
563 |
-
var p = this.pl_info[j], Olink = '', Clink = '';
|
564 |
-
if (p.type === "MI") {
|
565 |
-
jQuery(this.eID.title + j).empty().append(p.list[track].name).append('<br /><span>' + p.list[track].artist + '</span>');
|
566 |
-
if (p.list[track].image !== '') {
|
567 |
-
if (p.list[track].imgurl !== '') {
|
568 |
-
Olink = '<a href="' + p.list[track].imgurl + '">';
|
569 |
-
Clink = '</a>';
|
570 |
-
}
|
571 |
-
jQuery(this.eID.img + j).empty().hide().append(Olink + '<img src="' + p.list[track].image + '" />' + Clink).fadeIn(300);
|
572 |
-
}
|
573 |
-
}
|
574 |
-
},
|
575 |
-
|
576 |
-
writedownload: function ( j, track ) {
|
577 |
-
var p = this.pl_info[j];
|
578 |
-
if (p.download) {
|
579 |
-
jQuery(this.eID.dload + j).empty().removeClass('whilelinks').append('<a id="mp3j_dlanchor_' + j + '" href="' + p.list[track].mp3 + '" target="_blank">' + this.vars.dload_text + '</a>');
|
580 |
-
if ( this.vars.force_dload === true ) {
|
581 |
-
this.dl_button_click( j );
|
582 |
-
}
|
583 |
-
}
|
584 |
-
},
|
585 |
-
|
586 |
-
togglelist: function ( j ) {
|
587 |
-
if (this.pl_info[j].lstate === true) {
|
588 |
-
jQuery(this.eID.plwrap + j).fadeOut(300);
|
589 |
-
jQuery(this.eID.toglist + j).text('SHOW');
|
590 |
-
this.pl_info[j].lstate = false;
|
591 |
-
} else if (this.pl_info[j].lstate === false) {
|
592 |
-
jQuery(this.eID.plwrap + j).fadeIn("slow");
|
593 |
-
jQuery(this.eID.toglist + j).text('HIDE');
|
594 |
-
this.pl_info[j].lstate = true;
|
595 |
-
}
|
596 |
-
},
|
597 |
-
|
598 |
-
makeslider: function (j) {
|
599 |
-
var phmove, cssmove, that = this;
|
600 |
-
jQuery(this.eID.pos + j).css( 'visibility', 'hidden' );
|
601 |
-
jQuery(this.eID.pos + j).slider({
|
602 |
-
max: 1000,
|
603 |
-
range: 'min',
|
604 |
-
animate: false,
|
605 |
-
slide: function (event, ui) {
|
606 |
-
if ((ui.value/10) < that.load_pc) {
|
607 |
-
cssmove = ui.value/10;
|
608 |
-
phmove = ui.value*(10.0/that.jp_seekable);
|
609 |
-
} else {
|
610 |
-
cssmove = 0.99*that.load_pc;
|
611 |
-
phmove = (9.9*that.load_pc)*(10.0/that.jp_seekable);
|
612 |
-
}
|
613 |
-
jQuery(that.eID.poscol + j).css('width', cssmove + '%');
|
614 |
-
jQuery(that.jpID).jPlayer("playHead", phmove );
|
615 |
-
if (that.state === 'paused') {
|
616 |
-
that.button(j, 'pause');
|
617 |
-
that.playit();
|
618 |
-
}
|
619 |
-
that.state = 'playing';
|
620 |
-
that.sliding = true;
|
621 |
-
}
|
622 |
-
});
|
623 |
-
}
|
624 |
-
|
625 |
-
};
|
626 |
-
|
627 |
-
// Force browser download
|
628 |
-
MP3_JPLAYER.dl_button_click = function ( j ) {
|
629 |
-
var that = this, p = this.pl_info[j];
|
630 |
-
jQuery('#mp3j_dlanchor_' + j).click(function (e) {
|
631 |
-
that.dl_runinfo( p.list[p.tr].mp3, j, e );
|
632 |
-
e.preventDefault();
|
633 |
-
});
|
634 |
-
};
|
635 |
-
|
636 |
-
MP3_JPLAYER.dl_closeinfo_click = function ( j ) {
|
637 |
-
var that = this;
|
638 |
-
jQuery('#mp3j_finfo_close_' + j).click(function () {
|
639 |
-
that.dl_dialogue( j, '', 'close');
|
640 |
-
that.clear_timers( j );
|
641 |
-
});
|
642 |
-
};
|
643 |
-
|
644 |
-
MP3_JPLAYER.dl_runinfo = function ( get, j, e ) {
|
645 |
-
var can_write,
|
646 |
-
dlpath,
|
647 |
-
message,
|
648 |
-
that = this,
|
649 |
-
dlframe = false,
|
650 |
-
p = this.pl_info[j],
|
651 |
-
is_local = this.is_local_dload( get );
|
652 |
-
|
653 |
-
var enc_get;
|
654 |
-
|
655 |
-
if ( !this.intervalIDs[ j ] && !this.timeoutIDs[ j ] ) { //if timers not already running for this player
|
656 |
-
can_write = this.write_cookie('mp3Download' + j, 'waiting', '');
|
657 |
-
if ( is_local ) {
|
658 |
-
if ( can_write !== false ) {
|
659 |
-
this.dl_dialogue( j, this.vars.message_interval, 'check');
|
660 |
-
} else {
|
661 |
-
this.dl_dialogue( j, this.vars.message_indark, 'indark');
|
662 |
-
}
|
663 |
-
this.intervalIDs[ j ] = setInterval( function(){ that.dl_interval_check( j, can_write ); }, 500);
|
664 |
-
this.timeoutIDs[ j ] = setTimeout( function(){ that.dl_timeout( j, can_write ); }, 7000);
|
665 |
-
dlframe = true;
|
666 |
-
} else {
|
667 |
-
if ( this.vars.dl_remote_path === '' ) {
|
668 |
-
message = this.vars.message_promtlink.replace('#1', get);
|
669 |
-
message = message.replace('#2', p.list[p.tr].name);
|
670 |
-
this.dl_dialogue( j, message, 'indark');
|
671 |
-
} else {
|
672 |
-
message = this.vars.message_indark.replace('#1', get);
|
673 |
-
message = message.replace('#2', p.list[p.tr].name);
|
674 |
-
this.dl_dialogue( j, message, 'indark');
|
675 |
-
dlframe = true;
|
676 |
-
}
|
677 |
-
}
|
678 |
-
this.dl_dialogs[ j ] = 'false';
|
679 |
-
if ( dlframe ) {
|
680 |
-
dlpath = this.get_dloader_path( get );
|
681 |
-
enc_get = encodeURIComponent( get );
|
682 |
-
//jQuery('#mp3j_dlf_' + j).empty().append('<iframe id="mp3j_dlframe_' + j + '" name="mp3j_dlframe_' + j + '" class="mp3j-dlframe" src="' + dlpath + '?mp3=loc' + get + '&pID=' + j + '" style="display:none;"></iframe>');
|
683 |
-
jQuery('#mp3j_dlf_' + j).empty().append('<iframe id="mp3j_dlframe_' + j + '" name="mp3j_dlframe_' + j + '" class="mp3j-dlframe" src="' + dlpath + '?mp3=loc' + enc_get + '&pID=' + j + '" style="display:none;"></iframe>');
|
684 |
-
}
|
685 |
-
}
|
686 |
-
};
|
687 |
-
|
688 |
-
MP3_JPLAYER.dl_interval_check = function ( j, can_write ) {
|
689 |
-
if ( can_write !== false && this.read_cookie('mp3Download' + j) === 'true' ) { //got cookie back, all should be good
|
690 |
-
this.dl_dialogue( j, this.vars.message_ok, 'hide');
|
691 |
-
//jQuery('#debug').append('<br />check: cookie '+j+' true');
|
692 |
-
this.clear_timers( j );
|
693 |
-
} else if ( this.dl_dialogs[ j ] !== 'false' ) { //got a message back
|
694 |
-
this.dl_dialogue( j, this.dl_dialogs[ j ], 'add');
|
695 |
-
//jQuery('#debug').append('<br />check: dialog'+j+' true');
|
696 |
-
this.clear_timers( j );
|
697 |
-
} //else {
|
698 |
-
//jQuery('#debug').append('<br />check: neither '+j+'...# ');
|
699 |
-
//}
|
700 |
-
};
|
701 |
-
|
702 |
-
MP3_JPLAYER.dl_timeout = function ( j, can_write ) {
|
703 |
-
this.clear_timers( j );
|
704 |
-
if ( can_write !== false ) {
|
705 |
-
this.dl_dialogue( j, this.vars.message_timeout, 'add');
|
706 |
-
}
|
707 |
-
//jQuery('#debug').append('<br />no responses ('+j+' timed out) ');
|
708 |
-
};
|
709 |
-
|
710 |
-
MP3_JPLAYER.clear_timers = function ( j ) {
|
711 |
-
if ( this.intervalIDs[ j ] !== null && this.timeoutIDs[ j ] !== null ) {
|
712 |
-
clearInterval( this.intervalIDs[j] );
|
713 |
-
clearTimeout( this.timeoutIDs[j] );
|
714 |
-
this.intervalIDs[ j ] = null;
|
715 |
-
this.timeoutIDs[j] = null;
|
716 |
-
}
|
717 |
-
jQuery('#mp3j_dlf_' + j).empty(); //ditch iframe
|
718 |
-
this.write_cookie('mp3Download' + j, '', -1); //clear any cookie
|
719 |
-
//jQuery('#debug').append('<br />cookie/frame '+j+' cleared');
|
720 |
-
};
|
721 |
-
|
722 |
-
MP3_JPLAYER.dl_dialogue = function ( j, text, state ) {
|
723 |
-
if ( 'check' === state ) {
|
724 |
-
jQuery('#mp3j_finfo_gif_' + j).show();
|
725 |
-
jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
|
726 |
-
jQuery('#mp3j_finfo_' + j).show();
|
727 |
-
} else if ( 'add' === state ) {
|
728 |
-
jQuery('#mp3j_finfo_gif_' + j).hide();
|
729 |
-
jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
|
730 |
-
} else if ( 'indark' === state ) {
|
731 |
-
jQuery('#mp3j_finfo_gif_' + j).hide();
|
732 |
-
jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
|
733 |
-
jQuery('#mp3j_finfo_' + j).fadeIn(100);
|
734 |
-
} else if ( 'close' === state ) {
|
735 |
-
jQuery('#mp3j_finfo_gif_' + j).hide();
|
736 |
-
jQuery('#mp3j_finfo_' + j).hide();
|
737 |
-
} else {
|
738 |
-
jQuery('#mp3j_finfo_gif_' + j).hide();
|
739 |
-
if ( text !== '' ) {
|
740 |
-
jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
|
741 |
-
}
|
742 |
-
jQuery('#mp3j_finfo_' + j).fadeOut(1000);
|
743 |
-
}
|
744 |
-
};
|
745 |
-
|
746 |
-
MP3_JPLAYER.read_cookie = function ( name ) {
|
747 |
-
var i, cookie, allCookies = document.cookie.split('; ');
|
748 |
-
if ( allCookies.length > 0 ) {
|
749 |
-
for ( i = 0; i < allCookies.length; i += 1 ) {
|
750 |
-
cookie = allCookies[i].split( '=' );
|
751 |
-
if ( cookie[0] === name ) {
|
752 |
-
return cookie[1];
|
753 |
-
}
|
754 |
-
}
|
755 |
-
}
|
756 |
-
return false;
|
757 |
-
};
|
758 |
-
|
759 |
-
MP3_JPLAYER.write_cookie = function ( name, value, days ) {
|
760 |
-
var date, expires = "";
|
761 |
-
if ( days ) {
|
762 |
-
date = new Date();
|
763 |
-
date.setTime( date.getTime() + (days*24*60*60*1000) );
|
764 |
-
expires = "; expires=" + date.toGMTString();
|
765 |
-
}
|
766 |
-
document.cookie = name + "=" + value + expires + "; path=/";
|
767 |
-
return this.read_cookie( name );
|
768 |
-
};
|
769 |
-
|
770 |
-
MP3_JPLAYER.get_dloader_path = function ( loc ) {
|
771 |
-
var k, path = "", file = "", chunks;
|
772 |
-
chunks = loc.split('/');
|
773 |
-
file = chunks[chunks.length-1];
|
774 |
-
//jQuery('#debug').append('<br />');
|
775 |
-
//for ( k = 0; k < chunks.length; k += 1 ) {
|
776 |
-
// jQuery('#debug').append('<br />[' + k + '] ' + chunks[k]);
|
777 |
-
//}
|
778 |
-
//jQuery('#debug').append('<br />file:' + file);
|
779 |
-
if ( loc.charAt(0) === '/' ) {
|
780 |
-
path = this.plugin_path + '/download.php';
|
781 |
-
} else {
|
782 |
-
path = chunks[2].replace(/^www./i, "");
|
783 |
-
if ( path === this.dl_domain ) {
|
784 |
-
path = this.plugin_path + '/download.php';
|
785 |
-
} else {
|
786 |
-
path = chunks[0] + '//' + chunks[2] + this.vars.dl_remote_path;
|
787 |
-
}
|
788 |
-
}
|
789 |
-
//jQuery('#debug').append('<br />path:' + path);
|
790 |
-
return path;
|
791 |
-
};
|
792 |
-
|
793 |
-
MP3_JPLAYER.is_local_dload = function ( loc ) {
|
794 |
-
var domain = "", file = "", chunks, is_local = false;
|
795 |
-
chunks = loc.split('/');
|
796 |
-
file = chunks[chunks.length-1];
|
797 |
-
if ( loc.charAt(0) === '/' ) {
|
798 |
-
is_local = true;
|
799 |
-
} else {
|
800 |
-
domain = chunks[2].replace(/^www./i, "");
|
801 |
-
if ( domain === this.dl_domain ) {
|
802 |
-
is_local = true;
|
803 |
-
}
|
804 |
-
}
|
805 |
-
return is_local;
|
806 |
-
};
|
807 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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
|
2 |
-
MP3-jPlayer 1.8.9
|
3 |
-
www.sjward.org
|
4 |
-
*/
|
5 |
-
|
6 |
-
var MP3_JPLAYER = {
|
7 |
-
|
8 |
-
tID: '',
|
9 |
-
state: '',
|
10 |
-
pl_info: [],
|
11 |
-
load_pc: 0,
|
12 |
-
played_t: 0,
|
13 |
-
dl_dialogs: [],
|
14 |
-
timeoutIDs: [],
|
15 |
-
intervalIDs: [],
|
16 |
-
jperrorIDs: [],
|
17 |
-
dl_domain: '',
|
18 |
-
jp_audio: {},
|
19 |
-
jp_seekable: 0,
|
20 |
-
sliding: false,
|
21 |
-
launched_ID: null,
|
22 |
-
jpID: '#mp3_jplayer_1_8',
|
23 |
-
plugin_path: '',
|
24 |
-
lastformats: '',
|
25 |
-
was_playing: false,
|
26 |
-
|
27 |
-
vars: {
|
28 |
-
play_f: false,
|
29 |
-
stylesheet_url: '',
|
30 |
-
dload_text: 'DOWNLOAD MP3',
|
31 |
-
pp_width: 280,
|
32 |
-
pp_maxheight: 350,
|
33 |
-
pp_bodycolour: '#fff',
|
34 |
-
pp_bodyimg: '',
|
35 |
-
pp_fixedcss: false,
|
36 |
-
pp_windowheight: 600,
|
37 |
-
pp_playerheight: 100+142,
|
38 |
-
force_dload: false,
|
39 |
-
message_interval: '<h2>Download MP3</h2><p style="margin-top:34px !important;">Your download should start in a second!</p>',
|
40 |
-
message_ok: '',
|
41 |
-
message_indark: '<h2>Download MP3</h2><p>Your download should start in a second!</p>',
|
42 |
-
message_promtlink: '<h2>Download MP3</h2><p>Link to the file:</p><h3><a target="_blank" href="#1">#2</a></h3><p>Depending on your browser settings, you may need to right click the link to save it.</p>',
|
43 |
-
message_fail: '<h2>Download Failed</h2><p>Sorry, something went wrong!</p>',
|
44 |
-
message_timeout: '<h2>Download<br />Unavailable</h2><p>please try again later!</p>',
|
45 |
-
dl_remote_path: ''
|
46 |
-
},
|
47 |
-
|
48 |
-
eID: {
|
49 |
-
play: '#playpause_mp3j_',
|
50 |
-
playW: '#playpause_wrap_mp3j_',
|
51 |
-
stp: '#stop_mp3j_',
|
52 |
-
prev: '#Prev_mp3j_',
|
53 |
-
next: '#Next_mp3j_',
|
54 |
-
vol: '#vol_mp3j_',
|
55 |
-
loader: '#load_mp3j_',
|
56 |
-
pos: '#posbar_mp3j_',
|
57 |
-
poscol: '#poscol_mp3j_',
|
58 |
-
title: '#T_mp3j_',
|
59 |
-
caption: '#C_mp3j_',
|
60 |
-
pT: '#P-Time-MI_',
|
61 |
-
tT: '#T-Time-MI_',
|
62 |
-
dload: '#download_mp3j_',
|
63 |
-
plwrap: '#L_mp3j_',
|
64 |
-
ul: '#UL_mp3j_',
|
65 |
-
a: 'mp3j_A_', //No hash!
|
66 |
-
indiM: '#statusMI_',
|
67 |
-
toglist: '#playlist-toggle_',
|
68 |
-
lPP: '#lpp_mp3j_',
|
69 |
-
pplink: '#mp3j_popout_',
|
70 |
-
img: '#MI_image_'
|
71 |
-
},
|
72 |
-
|
73 |
-
init: function () {
|
74 |
-
var plpath, that = this;
|
75 |
-
|
76 |
-
plpath = this.plugin_path.split('/');
|
77 |
-
this.dl_domain = plpath[2].replace(/^www./i, "");
|
78 |
-
|
79 |
-
this.unwrap();
|
80 |
-
this.write_controls();
|
81 |
-
this.add_jpconstruct_div();
|
82 |
-
|
83 |
-
jQuery(this.jpID).jPlayer({
|
84 |
-
ready: function () {
|
85 |
-
that.startup();
|
86 |
-
},
|
87 |
-
swfPath: that.plugin_path + '/js/Jplayer271.swf',
|
88 |
-
volume: 1,
|
89 |
-
supplied: "mp3",
|
90 |
-
wmode: "window",
|
91 |
-
solution:"html, flash",
|
92 |
-
preload: "none"
|
93 |
-
});
|
94 |
-
jQuery(this.jpID).bind(jQuery.jPlayer.event.ended, function(event) {
|
95 |
-
that.E_complete(that.tID);
|
96 |
-
});
|
97 |
-
jQuery(this.jpID).bind(jQuery.jPlayer.event.timeupdate, function(event) {
|
98 |
-
var lp = that.get_loaded(event);
|
99 |
-
var ppA = event.jPlayer.status.currentPercentAbsolute;
|
100 |
-
var pt = event.jPlayer.status.currentTime;
|
101 |
-
var tt = event.jPlayer.status.duration;
|
102 |
-
that.E_update(that.tID, lp, ppA, pt, tt);
|
103 |
-
});
|
104 |
-
jQuery(this.jpID).bind(jQuery.jPlayer.event.ready, function(event) {
|
105 |
-
if(event.jPlayer.html.used && event.jPlayer.html.audio.available) {
|
106 |
-
that.jp_audio = jQuery(that.jpID).data("jPlayer").htmlElement.audio;
|
107 |
-
} else {
|
108 |
-
that.jp_audio = 'flash';
|
109 |
-
}
|
110 |
-
});
|
111 |
-
jQuery(this.jpID).bind(jQuery.jPlayer.event.progress, function(event) {
|
112 |
-
var lp = that.get_loaded(event);
|
113 |
-
var pt = event.jPlayer.status.currentTime;
|
114 |
-
var tt = event.jPlayer.status.duration;
|
115 |
-
that.E_loading( that.tID, lp, tt, pt );
|
116 |
-
});
|
117 |
-
},
|
118 |
-
|
119 |
-
|
120 |
-
////
|
121 |
-
////
|
122 |
-
check_show_jperrors: function ( event ) {
|
123 |
-
if ( this.tID !== '' && this.jperrorIDs[ this.tID ] !== true ) {
|
124 |
-
if ( event.jPlayer.error.type === 'e_no_solution' || event.jPlayer.error.type === 'e_no_support' ) {
|
125 |
-
this.show_nosolution( this.tID );
|
126 |
-
this.jperrorIDs[ this.tID ] = true;
|
127 |
-
}
|
128 |
-
}
|
129 |
-
},
|
130 |
-
|
131 |
-
show_nosolution: function ( j ) {
|
132 |
-
jQuery('#mp3j_nosolution_' + j).empty().append(this.vars.message_nosolution).fadeIn(200);
|
133 |
-
},
|
134 |
-
|
135 |
-
add_jpconstruct_div: function () {
|
136 |
-
var html = '<div id="mp3_jplayer_items" style="position:relative; overflow:hidden; margin:0; padding:0; border:0; width:0px; height:0px;"><div id="mp3_jplayer_1_8" style="left:-999em;"></div></div>';
|
137 |
-
jQuery('body').prepend( html );
|
138 |
-
},
|
139 |
-
|
140 |
-
////
|
141 |
-
////
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
get_loaded: function (event) {
|
146 |
-
var lp;
|
147 |
-
if ( typeof this.jp_audio.buffered === "object" ) {
|
148 |
-
if( this.jp_audio.buffered.length > 0 && this.jp_audio.duration > 0 ) {
|
149 |
-
lp = 100 * this.jp_audio.buffered.end(this.jp_audio.buffered.length-1) / this.jp_audio.duration;
|
150 |
-
} else {
|
151 |
-
lp = 0;
|
152 |
-
}
|
153 |
-
} else {
|
154 |
-
lp = event.jPlayer.status.seekPercent;
|
155 |
-
}
|
156 |
-
this.jp_seekable = event.jPlayer.status.seekPercent; //use this for slider calcs for both html/flash solution
|
157 |
-
this.load_pc = lp;
|
158 |
-
return lp;
|
159 |
-
},
|
160 |
-
|
161 |
-
Tformat: function ( sec ) {
|
162 |
-
var t = sec,
|
163 |
-
s = Math.floor((t)%60),
|
164 |
-
m = Math.floor((t/60)%60),
|
165 |
-
h = Math.floor(t/3600);
|
166 |
-
return ((h > 0) ? h+':' : '') + ((m > 9) ? m : '0'+m) + ':' + ((s > 9) ? s : '0'+s);
|
167 |
-
},
|
168 |
-
|
169 |
-
E_loading: function ( j, lp, tt, pt ) {
|
170 |
-
if (j !== '') {
|
171 |
-
jQuery(this.eID.loader + j).css( "width", lp + '%' );
|
172 |
-
if (this.pl_info[j].type === 'MI') {
|
173 |
-
if (tt > 0 && this.played_t > 0) {
|
174 |
-
jQuery(this.eID.tT + j).text(this.Tformat(tt));
|
175 |
-
}
|
176 |
-
}
|
177 |
-
if ( this.jp_audio !== 'flash' && lp < 100 ) {
|
178 |
-
if ( pt === this.played_t && this.state === 'playing' && pt > 0 && !this.sliding ) {
|
179 |
-
if (this.pl_info[j].type === 'MI') {
|
180 |
-
jQuery(this.eID.indiM + j).empty().append('<span class="mp3-finding"></span><span class="mp3-tint"></span>Buffering');
|
181 |
-
}
|
182 |
-
if (this.pl_info[j].type === 'single' ) {
|
183 |
-
jQuery(this.eID.indiM + j).empty().append('<span class="Smp3-finding"></span><span class="mp3-gtint"></span> ' + this.Tformat(pt));
|
184 |
-
}
|
185 |
-
}
|
186 |
-
this.played_t = pt;
|
187 |
-
}
|
188 |
-
}
|
189 |
-
},
|
190 |
-
|
191 |
-
E_update: function (j, lp, ppA, pt, tt) {
|
192 |
-
if (j !== '') {
|
193 |
-
jQuery(this.eID.loader + j).css( "width", lp + '%' );
|
194 |
-
jQuery(this.eID.poscol + j).css( "width", ppA + '%' );
|
195 |
-
if ( jQuery(this.eID.pos + j + ' div.ui-widget-header').length > 0 ) {
|
196 |
-
jQuery(this.eID.pos + j).slider('option', 'value', 10*ppA);
|
197 |
-
}
|
198 |
-
if (pt > 0) {
|
199 |
-
jQuery(this.eID.pos + j).css( 'visibility', 'visible' );
|
200 |
-
}
|
201 |
-
if (this.pl_info[j].type === 'MI') {
|
202 |
-
jQuery(this.eID.pT + j).text(this.Tformat(pt));
|
203 |
-
}
|
204 |
-
if ('playing' === this.state) {
|
205 |
-
if ('MI' === this.pl_info[j].type) {
|
206 |
-
if (tt > 0 && this.played_t === pt && lp < 100 && !this.sliding ) {
|
207 |
-
jQuery(this.eID.indiM + j).empty().append('<span class="mp3-finding"></span><span class="mp3-tint"></span>Buffering');
|
208 |
-
jQuery(this.eID.tT + j).text(this.Tformat(tt));
|
209 |
-
} else if (pt > 0) {
|
210 |
-
jQuery(this.eID.indiM + j).empty().append('Playing');
|
211 |
-
jQuery(this.eID.tT + j).text(this.Tformat(tt));
|
212 |
-
}
|
213 |
-
}
|
214 |
-
if ('single' === this.pl_info[j].type){
|
215 |
-
if (pt > 0 ) {
|
216 |
-
if (this.played_t === pt && lp < 100 && !this.sliding ) {
|
217 |
-
jQuery(this.eID.indiM + j).empty().append('<span class="Smp3-finding"></span><span class="mp3-gtint"></span> ' + this.Tformat(pt));
|
218 |
-
} else {
|
219 |
-
jQuery(this.eID.indiM + j).empty().append('<span class="mp3-tint tintmarg"></span> ' + this.Tformat(pt));
|
220 |
-
}
|
221 |
-
}
|
222 |
-
}
|
223 |
-
}
|
224 |
-
this.played_t = pt;
|
225 |
-
}
|
226 |
-
},
|
227 |
-
|
228 |
-
E_complete: function (j) {
|
229 |
-
var p = this.pl_info[j];
|
230 |
-
if ('MI' === p.type) {
|
231 |
-
if (p.loop || p.tr+1 < p.list.length) {
|
232 |
-
this.E_change_track(j, 'next');
|
233 |
-
} else {
|
234 |
-
this.E_dblstop(j);
|
235 |
-
this.startup();
|
236 |
-
}
|
237 |
-
}
|
238 |
-
if ('single' === p.type) {
|
239 |
-
if (p.loop) {
|
240 |
-
this.E_change_track(j, 'next');
|
241 |
-
} else {
|
242 |
-
this.E_stop(j);
|
243 |
-
this.startup();
|
244 |
-
}
|
245 |
-
}
|
246 |
-
},
|
247 |
-
|
248 |
-
write_controls: function () {
|
249 |
-
var j;
|
250 |
-
for (j = 0; j < this.pl_info.length; j += 1) {
|
251 |
-
this.setup_a_player(j);
|
252 |
-
}
|
253 |
-
},
|
254 |
-
|
255 |
-
startup: function () {
|
256 |
-
var j;
|
257 |
-
for (j = 0; j < this.pl_info.length; j += 1) {
|
258 |
-
//if (this.pl_info[j].autoplay) {
|
259 |
-
if ( this.pl_info[j].autoplay && (this.pl_info[j].type === 'single' || this.pl_info[j].type === 'MI') ) {
|
260 |
-
this.pl_info[j].autoplay = false;
|
261 |
-
this.E_change_track(j, this.pl_info[j].tr);
|
262 |
-
return;
|
263 |
-
}
|
264 |
-
}
|
265 |
-
},
|
266 |
-
|
267 |
-
setup_a_player: function (j) {
|
268 |
-
var i, li, sel, that = this, p = this.pl_info[j];
|
269 |
-
|
270 |
-
//PLAYLISTERS and SINGLES
|
271 |
-
if ('MI' === p.type || 'single' === p.type) {
|
272 |
-
|
273 |
-
jQuery(this.eID.vol + j).slider({
|
274 |
-
value : p.vol,
|
275 |
-
max: 100,
|
276 |
-
range: 'min',
|
277 |
-
animate: false,
|
278 |
-
slide: function (event, ui) {
|
279 |
-
p.vol = ui.value;
|
280 |
-
if (j === that.tID) {
|
281 |
-
jQuery(that.jpID).jPlayer("volume", ui.value/100);
|
282 |
-
}
|
283 |
-
}
|
284 |
-
});
|
285 |
-
|
286 |
-
jQuery(this.eID.pos + j).mouseup(function (e) { //for posbar
|
287 |
-
that.sliding = false;
|
288 |
-
});
|
289 |
-
|
290 |
-
sel = ('MI' === p.type) ? this.eID.play : this.eID.playW;
|
291 |
-
jQuery(sel + j).click(function () { //play-pause click
|
292 |
-
that.E_change_track(j, p.tr);
|
293 |
-
jQuery(this).blur();
|
294 |
-
});
|
295 |
-
jQuery(sel + j).dblclick(function () { //play-pause dbl click
|
296 |
-
if (that.state !== "playing") {
|
297 |
-
that.E_change_track(j, p.tr);
|
298 |
-
}
|
299 |
-
jQuery(this).blur();
|
300 |
-
});
|
301 |
-
|
302 |
-
this.titles(j, p.tr);
|
303 |
-
}
|
304 |
-
|
305 |
-
//PLAYLISTERS
|
306 |
-
if ('MI' === p.type) {
|
307 |
-
jQuery(this.eID.pT + j).text('00:00');
|
308 |
-
jQuery(this.eID.indiM + j).text('Ready');
|
309 |
-
jQuery(this.eID.stp + j).click(function () {
|
310 |
-
that.E_stop(j);
|
311 |
-
});
|
312 |
-
jQuery(this.eID.stp + j).dblclick(function () {
|
313 |
-
that.E_dblstop(j);
|
314 |
-
});
|
315 |
-
|
316 |
-
jQuery(this.eID.plwrap + j).hide();
|
317 |
-
if (p.list.length > 1) {
|
318 |
-
jQuery(this.eID.next + j).click(function () {
|
319 |
-
that.E_change_track(j, 'next');
|
320 |
-
});
|
321 |
-
jQuery(this.eID.prev + j).click(function () {
|
322 |
-
that.E_change_track(j, 'prev');
|
323 |
-
});
|
324 |
-
jQuery(this.eID.ul + j).empty();
|
325 |
-
for (i = 0; i < p.list.length; i += 1) {
|
326 |
-
li = '<li>';
|
327 |
-
li += '<a href="#" id="' + this.eID.a + j + '_' + i + '">' + p.list[i].name + '</a></li>';
|
328 |
-
jQuery(this.eID.ul + j).append(li);
|
329 |
-
this.add_ul_click(j, i);
|
330 |
-
}
|
331 |
-
jQuery('#' + this.eID.a + j + '_' + p.tr).addClass('mp3j_A_current');
|
332 |
-
jQuery(this.eID.toglist + j).click(function () {
|
333 |
-
that.togglelist(j);
|
334 |
-
});
|
335 |
-
if (p.lstate === true) {
|
336 |
-
jQuery(this.eID.plwrap + j).show();
|
337 |
-
}
|
338 |
-
}
|
339 |
-
|
340 |
-
this.writedownload(j, p.tr);
|
341 |
-
if ( this.vars.force_dload === true ) {
|
342 |
-
this.dl_closeinfo_click(j);
|
343 |
-
}
|
344 |
-
|
345 |
-
jQuery(this.eID.lPP + j).click(function () {
|
346 |
-
return that.E_launchPP(j);
|
347 |
-
});
|
348 |
-
}
|
349 |
-
|
350 |
-
//POPOUT LINKS
|
351 |
-
if ('popout' === p.type) {
|
352 |
-
jQuery(this.eID.pplink + j).click(function () {
|
353 |
-
return that.E_launchPP(j);
|
354 |
-
});
|
355 |
-
}
|
356 |
-
},
|
357 |
-
|
358 |
-
add_ul_click: function (j, i) { //playlist item click
|
359 |
-
var that = this;
|
360 |
-
jQuery('#' + this.eID.a + j + "_" + i).click(function (e) {
|
361 |
-
that.E_change_track(j, i);
|
362 |
-
e.preventDefault();
|
363 |
-
});
|
364 |
-
},
|
365 |
-
|
366 |
-
unwrap: function () {
|
367 |
-
var i, j, arr;
|
368 |
-
if (this.vars.play_f === true && typeof this.lists !== "undefined" && this.lists.length > 0) {
|
369 |
-
for (i = 0; i < this.lists.length; i += 1) {
|
370 |
-
arr = this.lists[i];
|
371 |
-
for (j = 0; j < arr.length; j += 1) {
|
372 |
-
arr[j].mp3 = this.f_undo.f_con(arr[j].mp3);
|
373 |
-
}
|
374 |
-
}
|
375 |
-
}
|
376 |
-
},
|
377 |
-
|
378 |
-
f_undo: {
|
379 |
-
keyStr : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
|
380 |
-
f_con : function (input) {
|
381 |
-
var output = "", i = 0, chr1, chr2, chr3, enc1, enc2, enc3, enc4;
|
382 |
-
input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
|
383 |
-
while (i < input.length) {
|
384 |
-
enc1 = this.keyStr.indexOf(input.charAt(i++)); enc2 = this.keyStr.indexOf(input.charAt(i++));
|
385 |
-
enc3 = this.keyStr.indexOf(input.charAt(i++)); enc4 = this.keyStr.indexOf(input.charAt(i++));
|
386 |
-
chr1 = (enc1 << 2) | (enc2 >> 4); chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); chr3 = ((enc3 & 3) << 6) | enc4;
|
387 |
-
output = output + String.fromCharCode(chr1);
|
388 |
-
if (enc3 !== 64) { output = output + String.fromCharCode(chr2); }
|
389 |
-
if (enc4 !== 64) { output = output + String.fromCharCode(chr3); }
|
390 |
-
}
|
391 |
-
output = this.utf8_f_con(output);
|
392 |
-
return output;
|
393 |
-
},
|
394 |
-
utf8_f_con : function (utftext) {
|
395 |
-
var string = "", i = 0, c, c1, c2, c3;
|
396 |
-
while (i < utftext.length) {
|
397 |
-
c = utftext.charCodeAt(i);
|
398 |
-
if (c < 128) {
|
399 |
-
string += String.fromCharCode(c); i++;
|
400 |
-
} else if ((c > 191) && (c < 224)) {
|
401 |
-
c2 = utftext.charCodeAt(i + 1); string += String.fromCharCode(((c & 31) << 6) | (c2 & 63)); i += 2;
|
402 |
-
} else {
|
403 |
-
c2 = utftext.charCodeAt(i + 1); c3 = utftext.charCodeAt(i + 2); string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63)); i += 3;
|
404 |
-
}
|
405 |
-
}
|
406 |
-
return string;
|
407 |
-
}
|
408 |
-
},
|
409 |
-
|
410 |
-
|
411 |
-
E_stop: function (j) {
|
412 |
-
if (j === this.tID && j !== '') {
|
413 |
-
this.clearit();
|
414 |
-
if ( jQuery(this.eID.pos + j + ' div.ui-widget-header').length > 0 ) {
|
415 |
-
jQuery(this.eID.pos + j).slider('destroy');
|
416 |
-
}
|
417 |
-
jQuery(this.eID.loader + j).css( "width", '0%' );
|
418 |
-
this.button(j, 'play');
|
419 |
-
if (this.pl_info[j].type === 'MI') {
|
420 |
-
jQuery(this.eID.poscol + j).css( "width", '0%' );
|
421 |
-
jQuery(this.eID.tT + j).empty();
|
422 |
-
jQuery(this.eID.indiM + j).text('Stopped');
|
423 |
-
jQuery(this.eID.pT + j).text(this.Tformat(0));
|
424 |
-
} else {
|
425 |
-
jQuery(this.eID.indiM + j).empty();
|
426 |
-
}
|
427 |
-
this.load_pc = 0;
|
428 |
-
this.played_t = 0;
|
429 |
-
}
|
430 |
-
},
|
431 |
-
|
432 |
-
E_dblstop: function (j) {
|
433 |
-
this.listclass(j, this.pl_info[j].tr, 0);
|
434 |
-
if ( this.pl_info[j].tr !== 0 ) {
|
435 |
-
this.titles(j, 0);
|
436 |
-
}
|
437 |
-
this.writedownload(j, 0);
|
438 |
-
this.E_stop(j);
|
439 |
-
jQuery(this.eID.indiM + j).text('Ready');
|
440 |
-
this.pl_info[j].tr = 0;
|
441 |
-
},
|
442 |
-
|
443 |
-
E_change_track: function (j, change) {
|
444 |
-
var track, txt, p = this.pl_info[j];
|
445 |
-
if (j === this.tID && change === p.tr) {
|
446 |
-
if ('playing' === this.state) {
|
447 |
-
if (this.load_pc === 0) {
|
448 |
-
this.E_stop(j);
|
449 |
-
} else {
|
450 |
-
this.pauseit();
|
451 |
-
this.button(j, 'play');
|
452 |
-
if ('MI' === p.type) {
|
453 |
-
jQuery(this.eID.indiM + j).text('Paused');
|
454 |
-
}
|
455 |
-
}
|
456 |
-
return;
|
457 |
-
} else if ('paused' === this.state || 'set' === this.state) {
|
458 |
-
this.playit();
|
459 |
-
this.button(j, 'pause');
|
460 |
-
return;
|
461 |
-
}
|
462 |
-
}
|
463 |
-
this.E_stop(this.tID);
|
464 |
-
if ('prev' === change) {
|
465 |
-
track = (p.tr-1 < 0) ? p.list.length-1 : p.tr-1;
|
466 |
-
} else if ('next' === change) {
|
467 |
-
track = (p.tr+1 < p.list.length) ? p.tr+1 : 0;
|
468 |
-
} else {
|
469 |
-
track = change;
|
470 |
-
}
|
471 |
-
jQuery(this.jpID).jPlayer("volume", 1 ); //Vol scaling fix
|
472 |
-
this.setit(p.list[track].mp3);
|
473 |
-
this.playit();
|
474 |
-
jQuery(this.jpID).jPlayer("volume", p.vol/100 ); //Reset to correct vol
|
475 |
-
txt = ('MI' === p.type) ? '<span class="mp3-finding"></span><span class="mp3-tint"></span>Connecting' : '<span class="Smp3-finding"></span><span class="mp3-gtint"></span>';
|
476 |
-
jQuery(this.eID.indiM + j).empty().append(txt);
|
477 |
-
this.button(j, 'pause');
|
478 |
-
this.makeslider(j);
|
479 |
-
if ('MI' === p.type) {
|
480 |
-
this.listclass(j, p.tr, track);
|
481 |
-
if ( p.tr !== track ) {
|
482 |
-
this.titles(j, track);
|
483 |
-
}
|
484 |
-
if (p.download) {
|
485 |
-
this.writedownload(j, track);
|
486 |
-
jQuery(this.eID.dload + j).hide().addClass('whilelinks').fadeIn(400);
|
487 |
-
}
|
488 |
-
}
|
489 |
-
p.tr = track;
|
490 |
-
this.tID = j;
|
491 |
-
},
|
492 |
-
|
493 |
-
E_launchPP: function (j) {
|
494 |
-
var li_height = 28;
|
495 |
-
if ( this.pl_info[j].height !== false ) {
|
496 |
-
this.vars.pp_playerheight = 100 + this.pl_info[j].height;
|
497 |
-
}
|
498 |
-
this.vars.pp_windowheight = ( this.pl_info[j].list.length > 1 ) ? this.vars.pp_playerheight + ( this.pl_info[j].list.length * li_height) : this.vars.pp_playerheight;
|
499 |
-
if ( this.vars.pp_windowheight > this.vars.pp_maxheight ) {
|
500 |
-
this.vars.pp_windowheight = this.vars.pp_maxheight;
|
501 |
-
}
|
502 |
-
this.launched_ID = j;
|
503 |
-
this.was_playing = ( this.state === "playing" ) ? true : false;
|
504 |
-
|
505 |
-
this.E_stop(this.tID);
|
506 |
-
this.setit(this.plugin_path + '/mp3/silence.mp3');
|
507 |
-
this.playit(); //make chrome let go of last track (incase it didn't finish loading)
|
508 |
-
this.clearit();
|
509 |
-
|
510 |
-
var newwindow = window.open(this.plugin_path + '/popout.php', 'mp3jpopout', 'height=300, width=600, location=1, status=1, scrollbars=1, resizable=1, left=25, top=25');
|
511 |
-
if ( this.pl_info[j].lstate === true ) {
|
512 |
-
newwindow.resizeTo( this.vars.pp_width, this.vars.pp_windowheight );
|
513 |
-
} else {
|
514 |
-
newwindow.resizeTo( this.vars.pp_width, this.vars.pp_playerheight );
|
515 |
-
}
|
516 |
-
if (window.focus) {
|
517 |
-
newwindow.focus();
|
518 |
-
}
|
519 |
-
return false;
|
520 |
-
},
|
521 |
-
|
522 |
-
setit: function (file) {
|
523 |
-
this.state = 'set';
|
524 |
-
jQuery(this.jpID).jPlayer("setMedia", {mp3: file});
|
525 |
-
},
|
526 |
-
playit: function () {
|
527 |
-
this.state = 'playing';
|
528 |
-
jQuery(this.jpID).jPlayer("play");
|
529 |
-
},
|
530 |
-
pauseit: function () {
|
531 |
-
this.state = 'paused';
|
532 |
-
jQuery(this.jpID).jPlayer("pause");
|
533 |
-
},
|
534 |
-
clearit: function () {
|
535 |
-
this.state = '';
|
536 |
-
jQuery(this.jpID).jPlayer("clearMedia");
|
537 |
-
},
|
538 |
-
|
539 |
-
button: function (j, type) {
|
540 |
-
if (j === '') { return; }
|
541 |
-
if ('pause' === type) {
|
542 |
-
if (this.pl_info[j].play_txt === '#USE_G#') {
|
543 |
-
jQuery(this.eID.play + j).removeClass('buttons_mp3j').addClass('buttons_mp3jpause');
|
544 |
-
} else {
|
545 |
-
jQuery(this.eID.play + j).text(this.pl_info[j].pause_txt);
|
546 |
-
}
|
547 |
-
}
|
548 |
-
if ('play' === type) {
|
549 |
-
if (this.pl_info[j].play_txt === '#USE_G#') {
|
550 |
-
jQuery(this.eID.play + j).removeClass('buttons_mp3jpause').addClass('buttons_mp3j');
|
551 |
-
} else {
|
552 |
-
jQuery(this.eID.play + j).text(this.pl_info[j].play_txt);
|
553 |
-
}
|
554 |
-
}
|
555 |
-
},
|
556 |
-
|
557 |
-
listclass: function ( j, rem, add ) {
|
558 |
-
jQuery('#'+ this.eID.a + j +'_'+ rem).removeClass('mp3j_A_current');
|
559 |
-
jQuery('#'+ this.eID.a + j +'_'+ add).addClass('mp3j_A_current');
|
560 |
-
},
|
561 |
-
|
562 |
-
titles: function ( j, track ) {
|
563 |
-
var p = this.pl_info[j], Olink = '', Clink = '';
|
564 |
-
if (p.type === "MI") {
|
565 |
-
jQuery(this.eID.title + j).empty().append(p.list[track].name).append('<br /><span>' + p.list[track].artist + '</span>');
|
566 |
-
if (p.list[track].image !== '') {
|
567 |
-
if (p.list[track].imgurl !== '') {
|
568 |
-
Olink = '<a href="' + p.list[track].imgurl + '">';
|
569 |
-
Clink = '</a>';
|
570 |
-
}
|
571 |
-
jQuery(this.eID.img + j).empty().hide().append(Olink + '<img src="' + p.list[track].image + '" />' + Clink).fadeIn(300);
|
572 |
-
}
|
573 |
-
}
|
574 |
-
},
|
575 |
-
|
576 |
-
writedownload: function ( j, track ) {
|
577 |
-
var p = this.pl_info[j];
|
578 |
-
if (p.download) {
|
579 |
-
jQuery(this.eID.dload + j).empty().removeClass('whilelinks').append('<a id="mp3j_dlanchor_' + j + '" href="' + p.list[track].mp3 + '" target="_blank">' + this.vars.dload_text + '</a>');
|
580 |
-
if ( this.vars.force_dload === true ) {
|
581 |
-
this.dl_button_click( j );
|
582 |
-
}
|
583 |
-
}
|
584 |
-
},
|
585 |
-
|
586 |
-
togglelist: function ( j ) {
|
587 |
-
if (this.pl_info[j].lstate === true) {
|
588 |
-
jQuery(this.eID.plwrap + j).fadeOut(300);
|
589 |
-
jQuery(this.eID.toglist + j).text('SHOW');
|
590 |
-
this.pl_info[j].lstate = false;
|
591 |
-
} else if (this.pl_info[j].lstate === false) {
|
592 |
-
jQuery(this.eID.plwrap + j).fadeIn("slow");
|
593 |
-
jQuery(this.eID.toglist + j).text('HIDE');
|
594 |
-
this.pl_info[j].lstate = true;
|
595 |
-
}
|
596 |
-
},
|
597 |
-
|
598 |
-
makeslider: function (j) {
|
599 |
-
var phmove, cssmove, that = this;
|
600 |
-
jQuery(this.eID.pos + j).css( 'visibility', 'hidden' );
|
601 |
-
jQuery(this.eID.pos + j).slider({
|
602 |
-
max: 1000,
|
603 |
-
range: 'min',
|
604 |
-
animate: false,
|
605 |
-
slide: function (event, ui) {
|
606 |
-
if ((ui.value/10) < that.load_pc) {
|
607 |
-
cssmove = ui.value/10;
|
608 |
-
phmove = ui.value*(10.0/that.jp_seekable);
|
609 |
-
} else {
|
610 |
-
cssmove = 0.99*that.load_pc;
|
611 |
-
phmove = (9.9*that.load_pc)*(10.0/that.jp_seekable);
|
612 |
-
}
|
613 |
-
jQuery(that.eID.poscol + j).css('width', cssmove + '%');
|
614 |
-
jQuery(that.jpID).jPlayer("playHead", phmove );
|
615 |
-
if (that.state === 'paused') {
|
616 |
-
that.button(j, 'pause');
|
617 |
-
that.playit();
|
618 |
-
}
|
619 |
-
that.state = 'playing';
|
620 |
-
that.sliding = true;
|
621 |
-
}
|
622 |
-
});
|
623 |
-
}
|
624 |
-
|
625 |
-
};
|
626 |
-
|
627 |
-
// Force browser download
|
628 |
-
MP3_JPLAYER.dl_button_click = function ( j ) {
|
629 |
-
var that = this, p = this.pl_info[j];
|
630 |
-
jQuery('#mp3j_dlanchor_' + j).click(function (e) {
|
631 |
-
that.dl_runinfo( p.list[p.tr].mp3, j, e );
|
632 |
-
e.preventDefault();
|
633 |
-
});
|
634 |
-
};
|
635 |
-
|
636 |
-
MP3_JPLAYER.dl_closeinfo_click = function ( j ) {
|
637 |
-
var that = this;
|
638 |
-
jQuery('#mp3j_finfo_close_' + j).click(function () {
|
639 |
-
that.dl_dialogue( j, '', 'close');
|
640 |
-
that.clear_timers( j );
|
641 |
-
});
|
642 |
-
};
|
643 |
-
|
644 |
-
MP3_JPLAYER.dl_runinfo = function ( get, j, e ) {
|
645 |
-
var can_write,
|
646 |
-
dlpath,
|
647 |
-
message,
|
648 |
-
that = this,
|
649 |
-
dlframe = false,
|
650 |
-
p = this.pl_info[j],
|
651 |
-
is_local = this.is_local_dload( get );
|
652 |
-
|
653 |
-
var enc_get;
|
654 |
-
|
655 |
-
if ( !this.intervalIDs[ j ] && !this.timeoutIDs[ j ] ) { //if timers not already running for this player
|
656 |
-
can_write = this.write_cookie('mp3Download' + j, 'waiting', '');
|
657 |
-
if ( is_local ) {
|
658 |
-
if ( can_write !== false ) {
|
659 |
-
this.dl_dialogue( j, this.vars.message_interval, 'check');
|
660 |
-
} else {
|
661 |
-
this.dl_dialogue( j, this.vars.message_indark, 'indark');
|
662 |
-
}
|
663 |
-
this.intervalIDs[ j ] = setInterval( function(){ that.dl_interval_check( j, can_write ); }, 500);
|
664 |
-
this.timeoutIDs[ j ] = setTimeout( function(){ that.dl_timeout( j, can_write ); }, 7000);
|
665 |
-
dlframe = true;
|
666 |
-
} else {
|
667 |
-
if ( this.vars.dl_remote_path === '' ) {
|
668 |
-
message = this.vars.message_promtlink.replace('#1', get);
|
669 |
-
message = message.replace('#2', p.list[p.tr].name);
|
670 |
-
this.dl_dialogue( j, message, 'indark');
|
671 |
-
} else {
|
672 |
-
message = this.vars.message_indark.replace('#1', get);
|
673 |
-
message = message.replace('#2', p.list[p.tr].name);
|
674 |
-
this.dl_dialogue( j, message, 'indark');
|
675 |
-
dlframe = true;
|
676 |
-
}
|
677 |
-
}
|
678 |
-
this.dl_dialogs[ j ] = 'false';
|
679 |
-
if ( dlframe ) {
|
680 |
-
dlpath = this.get_dloader_path( get );
|
681 |
-
enc_get = encodeURIComponent( get );
|
682 |
-
//jQuery('#mp3j_dlf_' + j).empty().append('<iframe id="mp3j_dlframe_' + j + '" name="mp3j_dlframe_' + j + '" class="mp3j-dlframe" src="' + dlpath + '?mp3=loc' + get + '&pID=' + j + '" style="display:none;"></iframe>');
|
683 |
-
jQuery('#mp3j_dlf_' + j).empty().append('<iframe id="mp3j_dlframe_' + j + '" name="mp3j_dlframe_' + j + '" class="mp3j-dlframe" src="' + dlpath + '?mp3=loc' + enc_get + '&pID=' + j + '" style="display:none;"></iframe>');
|
684 |
-
}
|
685 |
-
}
|
686 |
-
};
|
687 |
-
|
688 |
-
MP3_JPLAYER.dl_interval_check = function ( j, can_write ) {
|
689 |
-
if ( can_write !== false && this.read_cookie('mp3Download' + j) === 'true' ) { //got cookie back, all should be good
|
690 |
-
this.dl_dialogue( j, this.vars.message_ok, 'hide');
|
691 |
-
//jQuery('#debug').append('<br />check: cookie '+j+' true');
|
692 |
-
this.clear_timers( j );
|
693 |
-
} else if ( this.dl_dialogs[ j ] !== 'false' ) { //got a message back
|
694 |
-
this.dl_dialogue( j, this.dl_dialogs[ j ], 'add');
|
695 |
-
//jQuery('#debug').append('<br />check: dialog'+j+' true');
|
696 |
-
this.clear_timers( j );
|
697 |
-
} //else {
|
698 |
-
//jQuery('#debug').append('<br />check: neither '+j+'...# ');
|
699 |
-
//}
|
700 |
-
};
|
701 |
-
|
702 |
-
MP3_JPLAYER.dl_timeout = function ( j, can_write ) {
|
703 |
-
this.clear_timers( j );
|
704 |
-
if ( can_write !== false ) {
|
705 |
-
this.dl_dialogue( j, this.vars.message_timeout, 'add');
|
706 |
-
}
|
707 |
-
//jQuery('#debug').append('<br />no responses ('+j+' timed out) ');
|
708 |
-
};
|
709 |
-
|
710 |
-
MP3_JPLAYER.clear_timers = function ( j ) {
|
711 |
-
if ( this.intervalIDs[ j ] !== null && this.timeoutIDs[ j ] !== null ) {
|
712 |
-
clearInterval( this.intervalIDs[j] );
|
713 |
-
clearTimeout( this.timeoutIDs[j] );
|
714 |
-
this.intervalIDs[ j ] = null;
|
715 |
-
this.timeoutIDs[j] = null;
|
716 |
-
}
|
717 |
-
jQuery('#mp3j_dlf_' + j).empty(); //ditch iframe
|
718 |
-
this.write_cookie('mp3Download' + j, '', -1); //clear any cookie
|
719 |
-
//jQuery('#debug').append('<br />cookie/frame '+j+' cleared');
|
720 |
-
};
|
721 |
-
|
722 |
-
MP3_JPLAYER.dl_dialogue = function ( j, text, state ) {
|
723 |
-
if ( 'check' === state ) {
|
724 |
-
jQuery('#mp3j_finfo_gif_' + j).show();
|
725 |
-
jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
|
726 |
-
jQuery('#mp3j_finfo_' + j).show();
|
727 |
-
} else if ( 'add' === state ) {
|
728 |
-
jQuery('#mp3j_finfo_gif_' + j).hide();
|
729 |
-
jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
|
730 |
-
} else if ( 'indark' === state ) {
|
731 |
-
jQuery('#mp3j_finfo_gif_' + j).hide();
|
732 |
-
jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
|
733 |
-
jQuery('#mp3j_finfo_' + j).fadeIn(100);
|
734 |
-
} else if ( 'close' === state ) {
|
735 |
-
jQuery('#mp3j_finfo_gif_' + j).hide();
|
736 |
-
jQuery('#mp3j_finfo_' + j).hide();
|
737 |
-
} else {
|
738 |
-
jQuery('#mp3j_finfo_gif_' + j).hide();
|
739 |
-
if ( text !== '' ) {
|
740 |
-
jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
|
741 |
-
}
|
742 |
-
jQuery('#mp3j_finfo_' + j).fadeOut(1000);
|
743 |
-
}
|
744 |
-
};
|
745 |
-
|
746 |
-
MP3_JPLAYER.read_cookie = function ( name ) {
|
747 |
-
var i, cookie, allCookies = document.cookie.split('; ');
|
748 |
-
if ( allCookies.length > 0 ) {
|
749 |
-
for ( i = 0; i < allCookies.length; i += 1 ) {
|
750 |
-
cookie = allCookies[i].split( '=' );
|
751 |
-
if ( cookie[0] === name ) {
|
752 |
-
return cookie[1];
|
753 |
-
}
|
754 |
-
}
|
755 |
-
}
|
756 |
-
return false;
|
757 |
-
};
|
758 |
-
|
759 |
-
MP3_JPLAYER.write_cookie = function ( name, value, days ) {
|
760 |
-
var date, expires = "";
|
761 |
-
if ( days ) {
|
762 |
-
date = new Date();
|
763 |
-
date.setTime( date.getTime() + (days*24*60*60*1000) );
|
764 |
-
expires = "; expires=" + date.toGMTString();
|
765 |
-
}
|
766 |
-
document.cookie = name + "=" + value + expires + "; path=/";
|
767 |
-
return this.read_cookie( name );
|
768 |
-
};
|
769 |
-
|
770 |
-
MP3_JPLAYER.get_dloader_path = function ( loc ) {
|
771 |
-
var k, path = "", file = "", chunks;
|
772 |
-
chunks = loc.split('/');
|
773 |
-
file = chunks[chunks.length-1];
|
774 |
-
//jQuery('#debug').append('<br />');
|
775 |
-
//for ( k = 0; k < chunks.length; k += 1 ) {
|
776 |
-
// jQuery('#debug').append('<br />[' + k + '] ' + chunks[k]);
|
777 |
-
//}
|
778 |
-
//jQuery('#debug').append('<br />file:' + file);
|
779 |
-
if ( loc.charAt(0) === '/' ) {
|
780 |
-
path = this.plugin_path + '/download.php';
|
781 |
-
} else {
|
782 |
-
path = chunks[2].replace(/^www./i, "");
|
783 |
-
if ( path === this.dl_domain ) {
|
784 |
-
path = this.plugin_path + '/download.php';
|
785 |
-
} else {
|
786 |
-
path = chunks[0] + '//' + chunks[2] + this.vars.dl_remote_path;
|
787 |
-
}
|
788 |
-
}
|
789 |
-
//jQuery('#debug').append('<br />path:' + path);
|
790 |
-
return path;
|
791 |
-
};
|
792 |
-
|
793 |
-
MP3_JPLAYER.is_local_dload = function ( loc ) {
|
794 |
-
var domain = "", file = "", chunks, is_local = false;
|
795 |
-
chunks = loc.split('/');
|
796 |
-
file = chunks[chunks.length-1];
|
797 |
-
if ( loc.charAt(0) === '/' ) {
|
798 |
-
is_local = true;
|
799 |
-
} else {
|
800 |
-
domain = chunks[2].replace(/^www./i, "");
|
801 |
-
if ( domain === this.dl_domain ) {
|
802 |
-
is_local = true;
|
803 |
-
}
|
804 |
-
}
|
805 |
-
return is_local;
|
806 |
-
};
|
807 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â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15 |
+
dl_dialogs: [],
|
16 |
+
timeoutIDs: [],
|
17 |
+
intervalIDs: [],
|
18 |
+
jperrorIDs: [],
|
19 |
+
dl_domain: '',
|
20 |
+
jp_audio: {},
|
21 |
+
jp_seekable: 0,
|
22 |
+
sliding: false,
|
23 |
+
//launched_ID: null,
|
24 |
+
jpID: '#mp3_jplayer_1_8',
|
25 |
+
plugin_path: '',
|
26 |
+
lastformats: 'mp3',
|
27 |
+
allowRanges: true,
|
28 |
+
//was_playing: false,
|
29 |
+
extCalls: { init:[], change_pre:[], change_post:[], download:[], error:[] },
|
30 |
+
extStyles: [],
|
31 |
+
extJS: [],
|
32 |
+
skinJS: '',
|
33 |
+
//skin: {},
|
34 |
+
mutes: [],
|
35 |
+
preSlideVol: false,
|
36 |
+
|
37 |
+
vars: {
|
38 |
+
play_f: true,
|
39 |
+
stylesheet_url: '',
|
40 |
+
dload_text: '',
|
41 |
+
force_dload: true,
|
42 |
+
message_interval: '<h2>Download Audio</h2><p style="margin-top:34px !important;">Your download should start in a second!</p>',
|
43 |
+
message_ok: '',
|
44 |
+
message_indark: '<h2>Download Audio</h2><p>Your download should start in a second!</p>',
|
45 |
+
message_promtlink: '<h2>Download Audio</h2><p>Link to the file:</p><h3><a target="_blank" href="#1">#2</a></h3><p>Depending on your browser settings, you may need to right click the link to save it.</p>',
|
46 |
+
message_fail: '<h2>Download Failed</h2><p>Sorry, something went wrong!</p>',
|
47 |
+
message_timeout: '<h2>Download<br />Unavailable</h2><p>please try again later!</p>',
|
48 |
+
message_nosolution: 'Unable to play this item, please update your browser or try another.',
|
49 |
+
message_nosolution_mpeg: 'To play this item please update your browser or get the <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash plugin</a>.',
|
50 |
+
message_bad_url: 'Can\'t locate audio.',
|
51 |
+
dl_remote_path: ''
|
52 |
+
},
|
53 |
+
|
54 |
+
eID: {
|
55 |
+
play: '#playpause_mp3j_',
|
56 |
+
playW: '#playpause_wrap_mp3j_',
|
57 |
+
stp: '#stop_mp3j_',
|
58 |
+
prev: '#Prev_mp3j_',
|
59 |
+
next: '#Next_mp3j_',
|
60 |
+
vol: '#vol_mp3j_',
|
61 |
+
loader: '#load_mp3j_',
|
62 |
+
pos: '#posbar_mp3j_',
|
63 |
+
poscol: '#poscol_mp3j_',
|
64 |
+
title: '#T_mp3j_',
|
65 |
+
caption: '#C_mp3j_',
|
66 |
+
pT: '#P-Time-MI_',
|
67 |
+
tT: '#T-Time-MI_',
|
68 |
+
dload: '#download_mp3j_',
|
69 |
+
plwrap: '#L_mp3j_',
|
70 |
+
ul: '#UL_mp3j_',
|
71 |
+
a: 'mp3j_A_', //No hash!
|
72 |
+
indiM: '#statusMI_',
|
73 |
+
toglist: '#playlist-toggle_',
|
74 |
+
lPP: '#lpp_mp3j_',
|
75 |
+
pplink: '#mp3j_popout_',
|
76 |
+
img: '#MI_image_'
|
77 |
+
},
|
78 |
+
|
79 |
+
initialise_jp: function ( supplied, track, vol ) {
|
80 |
+
var that = this;
|
81 |
+
//console.log('jp init: ' + supplied );
|
82 |
+
|
83 |
+
jQuery(this.jpID).jPlayer({
|
84 |
+
ready: function () {
|
85 |
+
if ( track === true ) {
|
86 |
+
var dinfo = that.deviceInfo();
|
87 |
+
if ( dinfo.device === 'Desk/Laptop' ) {
|
88 |
+
that.startup();
|
89 |
+
} else {
|
90 |
+
//just remove first autolay if there's any
|
91 |
+
var j;
|
92 |
+
var l = that.pl_info.length;
|
93 |
+
for (j = 0; j < l; j += 1) {
|
94 |
+
if ( that.pl_info[j].autoplay ) {
|
95 |
+
that.pl_info[j].autoplay = false;
|
96 |
+
break;
|
97 |
+
}
|
98 |
+
}
|
99 |
+
}
|
100 |
+
} else {
|
101 |
+
that.setAudio( track );
|
102 |
+
that.playit();
|
103 |
+
jQuery(that.jpID).jPlayer("volume", vol/100 ); //Set to player vol
|
104 |
+
if ( track === false ) { //silence
|
105 |
+
that.clearit();
|
106 |
+
}
|
107 |
+
}
|
108 |
+
},
|
109 |
+
swfPath: that.plugin_path + '/js/Jplayer271.swf',
|
110 |
+
volume: 1,
|
111 |
+
supplied: supplied,
|
112 |
+
wmode: "window",
|
113 |
+
solution:"html, flash",
|
114 |
+
error: function( event ) {
|
115 |
+
//console.log( 'iE:: ' + event.jPlayer.error.type );
|
116 |
+
that.check_show_jperrors( event );
|
117 |
+
},
|
118 |
+
preload: "none"
|
119 |
+
});
|
120 |
+
jQuery(this.jpID).bind(jQuery.jPlayer.event.ended, function(event) {
|
121 |
+
that.E_complete(that.tID);
|
122 |
+
});
|
123 |
+
jQuery(this.jpID).bind(jQuery.jPlayer.event.timeupdate, function(event) {
|
124 |
+
var lp = that.get_loaded(event);
|
125 |
+
var ppA = event.jPlayer.status.currentPercentAbsolute;
|
126 |
+
var pt = event.jPlayer.status.currentTime;
|
127 |
+
var tt = event.jPlayer.status.duration;
|
128 |
+
that.E_update(that.tID, lp, ppA, pt, tt);
|
129 |
+
});
|
130 |
+
jQuery(this.jpID).bind(jQuery.jPlayer.event.ready, function(event) {
|
131 |
+
if(event.jPlayer.html.used && event.jPlayer.html.audio.available) {
|
132 |
+
that.jp_audio = jQuery(that.jpID).data("jPlayer").htmlElement.audio;
|
133 |
+
} else {
|
134 |
+
that.jp_audio = 'flash';
|
135 |
+
}
|
136 |
+
});
|
137 |
+
jQuery(this.jpID).bind(jQuery.jPlayer.event.progress, function(event) {
|
138 |
+
var lp = that.get_loaded(event);
|
139 |
+
var pt = event.jPlayer.status.currentTime;
|
140 |
+
var tt = event.jPlayer.status.duration;
|
141 |
+
that.E_loading( that.tID, lp, tt, pt );
|
142 |
+
});
|
143 |
+
jQuery(this.jpID).bind(jQuery.jPlayer.event.error, function(event) {
|
144 |
+
//console.log( 'E:: ' + event.jPlayer.error.type );
|
145 |
+
that.check_show_jperrors( event );
|
146 |
+
});
|
147 |
+
|
148 |
+
that.lastformats = supplied;
|
149 |
+
},
|
150 |
+
|
151 |
+
init: function () {
|
152 |
+
var l;
|
153 |
+
var x;
|
154 |
+
var callback;
|
155 |
+
var plpath;
|
156 |
+
|
157 |
+
plpath = this.plugin_path.split('/');
|
158 |
+
this.dl_domain = plpath[2].replace(/^www./i, "");
|
159 |
+
|
160 |
+
this.unwrap();
|
161 |
+
this.write_controls();
|
162 |
+
this.add_jpconstruct_div();
|
163 |
+
|
164 |
+
l = this.extCalls.init.length;
|
165 |
+
for ( x = 0; x < l; x += 1 ) {
|
166 |
+
callback = this.extCalls.init[ x ];
|
167 |
+
callback();
|
168 |
+
}
|
169 |
+
this.addExtStyles();
|
170 |
+
this.initialise_jp( this.lastformats, true, 1 );
|
171 |
+
},
|
172 |
+
|
173 |
+
addExtStyles: function () {
|
174 |
+
var j;
|
175 |
+
var l = this.extStyles.length;
|
176 |
+
for ( j = 0; j < l; j += 1 ) {
|
177 |
+
jQuery( '<style type="text/css">' + this.extStyles[ j ] + '</style>' ).appendTo( 'head' );
|
178 |
+
}
|
179 |
+
},
|
180 |
+
|
181 |
+
|
182 |
+
/*
|
183 |
+
addExtControls: function () {
|
184 |
+
|
185 |
+
var jx;
|
186 |
+
var lx = this.extCalls.init.length;
|
187 |
+
var j;
|
188 |
+
var l = this.pl_info.length;;
|
189 |
+
var callback;
|
190 |
+
|
191 |
+
for ( j = 0; j < l; j += 1 ) {
|
192 |
+
for ( jx = 0; jx < lx; jx += 1 ) {
|
193 |
+
callback = this.extCalls.init[ jx ];
|
194 |
+
callback( j );
|
195 |
+
}
|
196 |
+
}
|
197 |
+
},
|
198 |
+
*/
|
199 |
+
|
200 |
+
|
201 |
+
destroy_jp: function () {
|
202 |
+
jQuery(this.jpID).unbind();
|
203 |
+
jQuery(this.jpID).jPlayer("destroy");
|
204 |
+
jQuery(this.jpID).empty();
|
205 |
+
},
|
206 |
+
|
207 |
+
check_show_jperrors: function ( event ) {
|
208 |
+
if ( this.tID !== '' && ! this.jperrorIDs[ this.tID ] ) {
|
209 |
+
//if ( event.jPlayer.error.type === 'e_no_solution' || event.jPlayer.error.type === 'e_no_support' ) {
|
210 |
+
this.show_nosolution( this.tID, event.jPlayer.error.type );
|
211 |
+
this.jperrorIDs[ this.tID ] = event.jPlayer.error.type;
|
212 |
+
//}
|
213 |
+
//console.log(this.jperrorIDs[ this.tID ]);
|
214 |
+
//TODO:stat here?
|
215 |
+
}
|
216 |
+
},
|
217 |
+
|
218 |
+
show_nosolution: function ( j, errortype ) {
|
219 |
+
var p = this.pl_info[j];
|
220 |
+
var track = p.tr;
|
221 |
+
var formats = p.list[track].formats;
|
222 |
+
//var message = this.vars.message_nosolution;
|
223 |
+
var message = '';
|
224 |
+
|
225 |
+
if ( errortype === 'e_no_solution' || errortype === 'e_no_support' ) {
|
226 |
+
message = this.vars.message_nosolution;
|
227 |
+
if ( formats === 'mp3' || formats === 'm4a' ) {
|
228 |
+
message = this.vars.message_nosolution_mpeg;
|
229 |
+
}
|
230 |
+
} else if ( errortype === 'e_url' ) {
|
231 |
+
message = this.vars.message_bad_url;
|
232 |
+
}
|
233 |
+
//if ( formats === 'mp3' || formats === 'm4a' ) {
|
234 |
+
// message = this.vars.message_nosolution_mpeg;
|
235 |
+
//}
|
236 |
+
jQuery('#mp3j_nosolution_' + j).empty().append(message).fadeIn(200);
|
237 |
+
//TODO: stop here?
|
238 |
+
//this.E_stop(j);
|
239 |
+
},
|
240 |
+
|
241 |
+
add_jpconstruct_div: function () {
|
242 |
+
var html = '<div id="mp3_jplayer_items" style="position:relative; overflow:hidden; margin:0; padding:0; border:0; width:0px; height:0px;"><div id="mp3_jplayer_1_8" style="left:-999em;"></div></div>';
|
243 |
+
jQuery('body').prepend( html );
|
244 |
+
},
|
245 |
+
|
246 |
+
////
|
247 |
+
////
|
248 |
+
|
249 |
+
get_loaded: function (event) {
|
250 |
+
var lp;
|
251 |
+
if ( typeof this.jp_audio.buffered === "object" ) {
|
252 |
+
if( this.jp_audio.buffered.length > 0 && this.jp_audio.duration > 0 ) {
|
253 |
+
lp = 100 * this.jp_audio.buffered.end(this.jp_audio.buffered.length-1) / this.jp_audio.duration;
|
254 |
+
} else {
|
255 |
+
lp = 0;
|
256 |
+
}
|
257 |
+
} else {
|
258 |
+
lp = event.jPlayer.status.seekPercent;
|
259 |
+
}
|
260 |
+
this.jp_seekable = event.jPlayer.status.seekPercent; //use this for slider calcs for both html/flash solution
|
261 |
+
this.load_pc = lp;
|
262 |
+
return lp;
|
263 |
+
},
|
264 |
+
|
265 |
+
Tformat: function ( sec ) {
|
266 |
+
var t = sec,
|
267 |
+
s = Math.floor((t)%60),
|
268 |
+
m = Math.floor((t/60)%60),
|
269 |
+
h = Math.floor(t/3600);
|
270 |
+
return ((h > 0) ? h+':' : '') + ((m > 9) ? m : '0'+m) + ':' + ((s > 9) ? s : '0'+s);
|
271 |
+
},
|
272 |
+
|
273 |
+
E_loading: function ( j, lp, tt, pt ) {
|
274 |
+
if (j !== '') {
|
275 |
+
jQuery(this.eID.loader + j).css( "width", lp + '%' );
|
276 |
+
if (this.pl_info[j].type === 'MI') {
|
277 |
+
if (tt > 0 && this.played_t > 0) {
|
278 |
+
jQuery(this.eID.tT + j).text(this.Tformat(tt));
|
279 |
+
}
|
280 |
+
}
|
281 |
+
if ( this.jp_audio !== 'flash' && lp < 100 ) {
|
282 |
+
if ( pt === this.played_t && this.state === 'playing' && pt > 0 && !this.sliding ) {
|
283 |
+
if (this.pl_info[j].type === 'MI') {
|
284 |
+
jQuery(this.eID.indiM + j).empty().append('<span class="mp3-finding"></span><span class="mp3-tint"></span><span class="mjp-buffering">Buffering</span>');
|
285 |
+
}
|
286 |
+
if (this.pl_info[j].type === 'single' ) {
|
287 |
+
jQuery(this.eID.indiM + j).empty().append('<span class="Smp3-finding"></span><span class="mp3-gtint"></span> ' + this.Tformat(pt));
|
288 |
+
}
|
289 |
+
}
|
290 |
+
this.played_t = pt;
|
291 |
+
this.total_t = tt;
|
292 |
+
}
|
293 |
+
}
|
294 |
+
},
|
295 |
+
|
296 |
+
E_update: function (j, lp, ppA, pt, tt) {
|
297 |
+
if (j !== '') {
|
298 |
+
jQuery(this.eID.loader + j).css( "width", lp + '%' );
|
299 |
+
jQuery(this.eID.poscol + j).css( "width", ppA + '%' );
|
300 |
+
if ( jQuery(this.eID.pos + j + ' div.ui-widget-header').length > 0 ) {
|
301 |
+
jQuery(this.eID.pos + j).slider('option', 'value', 10*ppA);
|
302 |
+
}
|
303 |
+
if (pt > 0) {
|
304 |
+
jQuery(this.eID.pos + j).css( 'visibility', 'visible' );
|
305 |
+
}
|
306 |
+
if (this.pl_info[j].type === 'MI') {
|
307 |
+
jQuery(this.eID.pT + j).text(this.Tformat(pt));
|
308 |
+
}
|
309 |
+
if ('playing' === this.state) {
|
310 |
+
if ('MI' === this.pl_info[j].type) {
|
311 |
+
if (tt > 0 && this.played_t === pt && lp < 99 && !this.sliding ) {
|
312 |
+
jQuery(this.eID.indiM + j).empty().append('<span class="mp3-finding"></span><span class="mp3-tint"></span><span class="mjp-buffering">Buffering</span>');
|
313 |
+
jQuery(this.eID.tT + j).text(this.Tformat(tt));
|
314 |
+
} else if (pt > 0) {
|
315 |
+
jQuery(this.eID.indiM + j).empty().append('<span class="mjp-playing">Playing</span>');
|
316 |
+
jQuery(this.eID.tT + j).text(this.Tformat(tt));
|
317 |
+
}
|
318 |
+
}
|
319 |
+
if ('single' === this.pl_info[j].type){
|
320 |
+
if (pt > 0 ) {
|
321 |
+
if (this.played_t === pt && lp < 99 && !this.sliding ) {
|
322 |
+
jQuery(this.eID.indiM + j).empty().append('<span class="Smp3-finding"></span><span class="mp3-gtint"></span> ' + this.Tformat(pt));
|
323 |
+
} else {
|
324 |
+
jQuery(this.eID.indiM + j).empty().append('<span class="Smp3-tint tintmarg"></span> ' + this.Tformat(pt));
|
325 |
+
}
|
326 |
+
}
|
327 |
+
}
|
328 |
+
}
|
329 |
+
this.played_t = pt;
|
330 |
+
this.total_t = tt;
|
331 |
+
this.pp_abs = ppA;
|
332 |
+
}
|
333 |
+
},
|
334 |
+
|
335 |
+
E_complete: function (j) {
|
336 |
+
var p = this.pl_info[j];
|
337 |
+
|
338 |
+
//console.log('# e_complete #');
|
339 |
+
|
340 |
+
if ('MI' === p.type) {
|
341 |
+
if (p.loop || p.tr+1 < p.list.length) {
|
342 |
+
this.E_change_track(j, 'next');
|
343 |
+
} else {
|
344 |
+
this.E_dblstop(j);
|
345 |
+
this.startup();
|
346 |
+
}
|
347 |
+
}
|
348 |
+
if ('single' === p.type) {
|
349 |
+
if (p.loop) {
|
350 |
+
this.E_change_track(j, 'next');
|
351 |
+
} else {
|
352 |
+
this.E_stop(j);
|
353 |
+
this.startup();
|
354 |
+
}
|
355 |
+
}
|
356 |
+
},
|
357 |
+
|
358 |
+
write_controls: function () {
|
359 |
+
var j;
|
360 |
+
var l = this.pl_info.length;
|
361 |
+
for (j = 0; j < l; j += 1) {
|
362 |
+
this.setup_a_player(j);
|
363 |
+
this.mutes[j] = false;
|
364 |
+
}
|
365 |
+
},
|
366 |
+
|
367 |
+
startup: function () {
|
368 |
+
var j;
|
369 |
+
for (j = 0; j < this.pl_info.length; j += 1) {
|
370 |
+
//if (this.pl_info[j].autoplay) {
|
371 |
+
if ( this.pl_info[j].autoplay && (this.pl_info[j].type === 'single' || this.pl_info[j].type === 'MI') ) {
|
372 |
+
this.pl_info[j].autoplay = false;
|
373 |
+
this.E_change_track(j, this.pl_info[j].tr);
|
374 |
+
return;
|
375 |
+
}
|
376 |
+
}
|
377 |
+
},
|
378 |
+
|
379 |
+
setup_a_player: function (j) {
|
380 |
+
var i, li, sel, that = this, p = this.pl_info[j];
|
381 |
+
|
382 |
+
//PLAYLISTERS and SINGLES
|
383 |
+
if ('MI' === p.type || 'single' === p.type) {
|
384 |
+
|
385 |
+
jQuery(this.eID.vol + j).slider({
|
386 |
+
value : p.vol,
|
387 |
+
max: 100,
|
388 |
+
range: 'min',
|
389 |
+
start: function ( event, ui ) {
|
390 |
+
that.preSlideVol = p.vol;
|
391 |
+
},
|
392 |
+
stop: function ( event, ui ) {
|
393 |
+
that.preSlideVol = false;
|
394 |
+
},
|
395 |
+
slide: function (event, ui) {
|
396 |
+
if (j === that.tID) {
|
397 |
+
jQuery(that.jpID).jPlayer("volume", ui.value/100);
|
398 |
+
}
|
399 |
+
if ( ui.value === 0 ) {
|
400 |
+
jQuery('#innerExt1_' + j).addClass('vol-muted');
|
401 |
+
that.mutes[ j ] = that.preSlideVol;
|
402 |
+
} else {
|
403 |
+
jQuery('#innerExt1_' + j).removeClass('vol-muted');
|
404 |
+
that.mutes[ j ] = false;
|
405 |
+
}
|
406 |
+
p.vol = ui.value;
|
407 |
+
}
|
408 |
+
});
|
409 |
+
|
410 |
+
jQuery(this.eID.vol + j).click( function ( e ) {
|
411 |
+
e.stopPropagation();
|
412 |
+
});
|
413 |
+
|
414 |
+
|
415 |
+
sel = ('MI' === p.type) ? this.eID.play : this.eID.playW;
|
416 |
+
jQuery(sel + j).click(function () { //play-pause click
|
417 |
+
that.E_change_track(j, p.tr);
|
418 |
+
jQuery(this).blur();
|
419 |
+
});
|
420 |
+
jQuery(sel + j).dblclick(function () { //play-pause dbl click
|
421 |
+
if (that.state !== "playing") {
|
422 |
+
that.E_change_track(j, p.tr);
|
423 |
+
}
|
424 |
+
jQuery(this).blur();
|
425 |
+
});
|
426 |
+
|
427 |
+
this.titles(j, p.tr);
|
428 |
+
}
|
429 |
+
|
430 |
+
//PLAYLISTERS
|
431 |
+
if ('MI' === p.type) {
|
432 |
+
|
433 |
+
jQuery(this.eID.pT + j).text('00:00');
|
434 |
+
jQuery(this.eID.indiM + j).empty().append('<span class="mjp-ready">Ready</span>');
|
435 |
+
jQuery(this.eID.stp + j).click(function () {
|
436 |
+
that.E_stop(j);
|
437 |
+
});
|
438 |
+
jQuery(this.eID.stp + j).dblclick(function () {
|
439 |
+
that.E_dblstop(j);
|
440 |
+
});
|
441 |
+
|
442 |
+
jQuery(this.eID.plwrap + j).hide();
|
443 |
+
if (p.list.length > 1) {
|
444 |
+
jQuery(this.eID.next + j).click(function () {
|
445 |
+
that.E_change_track(j, 'next');
|
446 |
+
});
|
447 |
+
jQuery(this.eID.prev + j).click(function () {
|
448 |
+
that.E_change_track(j, 'prev');
|
449 |
+
});
|
450 |
+
|
451 |
+
var liClass = '';
|
452 |
+
var l = p.list.length;
|
453 |
+
jQuery(this.eID.ul + j).empty();
|
454 |
+
for (i = 0; i < l; i += 1) {
|
455 |
+
liClass = ( i === l-1 ) ? ' mjp-li-last' : '';
|
456 |
+
li = '<li class="li-mjp' + liClass + '"><a class="a-mjp" href="#" id="' + this.eID.a + j + '_' + i + '">' + p.list[i].name + '</a></li>';
|
457 |
+
jQuery(this.eID.ul + j).append(li);
|
458 |
+
this.add_ul_click(j, i);
|
459 |
+
}
|
460 |
+
jQuery('#' + this.eID.a + j + '_' + p.tr).addClass('mp3j_A_current');
|
461 |
+
jQuery(this.eID.toglist + j).click(function () {
|
462 |
+
that.togglelist(j);
|
463 |
+
});
|
464 |
+
if (p.lstate === true) {
|
465 |
+
jQuery(this.eID.plwrap + j).show();
|
466 |
+
}
|
467 |
+
}
|
468 |
+
|
469 |
+
this.writedownload(j, p.tr);
|
470 |
+
if ( this.vars.force_dload === true ) {
|
471 |
+
this.dl_closeinfo_click(j);
|
472 |
+
}
|
473 |
+
|
474 |
+
jQuery(this.eID.lPP + j).click(function () {
|
475 |
+
return that.E_launchPP(j);
|
476 |
+
});
|
477 |
+
|
478 |
+
jQuery( '#innerExt1_' + j ).click( function ( e ) {
|
479 |
+
if ( that.mutes[j] === false ) {
|
480 |
+
if ( j === that.tID ) {
|
481 |
+
jQuery( that.jpID ).jPlayer( 'volume', 0 );
|
482 |
+
}
|
483 |
+
jQuery( '#innerExt1_' + j ).addClass( 'vol-muted' );
|
484 |
+
jQuery( that.eID.vol + j ).slider( 'value', 0 );
|
485 |
+
that.mutes[j] = p.vol;
|
486 |
+
p.vol = 0;
|
487 |
+
} else {
|
488 |
+
if ( j === that.tID ) {
|
489 |
+
jQuery( that.jpID ).jPlayer( 'volume', that.mutes[j]/100 );
|
490 |
+
}
|
491 |
+
jQuery( '#innerExt1_' + j ).removeClass( 'vol-muted' );
|
492 |
+
jQuery( that.eID.vol + j ).slider( 'value', that.mutes[j] );
|
493 |
+
p.vol = that.mutes[j];
|
494 |
+
that.mutes[j] = false;
|
495 |
+
}
|
496 |
+
});
|
497 |
+
}
|
498 |
+
|
499 |
+
//POPOUT LINKS
|
500 |
+
if ('popout' === p.type) {
|
501 |
+
jQuery(this.eID.pplink + j).click(function () {
|
502 |
+
return that.E_launchPP(j);
|
503 |
+
});
|
504 |
+
}
|
505 |
+
},
|
506 |
+
|
507 |
+
add_ul_click: function (j, i) { //playlist item click
|
508 |
+
var that = this;
|
509 |
+
jQuery('#' + this.eID.a + j + "_" + i).click(function (e) {
|
510 |
+
that.E_change_track(j, i);
|
511 |
+
e.preventDefault();
|
512 |
+
});
|
513 |
+
},
|
514 |
+
|
515 |
+
unwrap: function () {
|
516 |
+
var i, j, arr;
|
517 |
+
if ( this.vars.play_f === true && typeof MP3jPLAYLISTS !== "undefined" ) {
|
518 |
+
for ( var key in MP3jPLAYLISTS ) {
|
519 |
+
if ( MP3jPLAYLISTS.hasOwnProperty( key ) ) {
|
520 |
+
arr = MP3jPLAYLISTS[key];
|
521 |
+
for ( j = 0; j < arr.length; j += 1 ) {
|
522 |
+
arr[j].mp3 = this.f_undo.f_con( arr[j].mp3 );
|
523 |
+
if ( arr[j].counterpart !== '' ) {
|
524 |
+
arr[j].counterpart = this.f_undo.f_con( arr[j].counterpart );
|
525 |
+
}
|
526 |
+
}
|
527 |
+
}
|
528 |
+
}
|
529 |
+
}
|
530 |
+
},
|
531 |
+
|
532 |
+
f_undo: {
|
533 |
+
keyStr : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
|
534 |
+
f_con : function (input) {
|
535 |
+
var output = "", i = 0, chr1, chr2, chr3, enc1, enc2, enc3, enc4;
|
536 |
+
input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
|
537 |
+
while (i < input.length) {
|
538 |
+
enc1 = this.keyStr.indexOf(input.charAt(i++)); enc2 = this.keyStr.indexOf(input.charAt(i++));
|
539 |
+
enc3 = this.keyStr.indexOf(input.charAt(i++)); enc4 = this.keyStr.indexOf(input.charAt(i++));
|
540 |
+
chr1 = (enc1 << 2) | (enc2 >> 4); chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); chr3 = ((enc3 & 3) << 6) | enc4;
|
541 |
+
output = output + String.fromCharCode(chr1);
|
542 |
+
if (enc3 !== 64) { output = output + String.fromCharCode(chr2); }
|
543 |
+
if (enc4 !== 64) { output = output + String.fromCharCode(chr3); }
|
544 |
+
}
|
545 |
+
output = this.utf8_f_con(output);
|
546 |
+
return output;
|
547 |
+
},
|
548 |
+
utf8_f_con : function (utftext) {
|
549 |
+
var string = "", i = 0, c, c1, c2, c3;
|
550 |
+
while (i < utftext.length) {
|
551 |
+
c = utftext.charCodeAt(i);
|
552 |
+
if (c < 128) {
|
553 |
+
string += String.fromCharCode(c); i++;
|
554 |
+
} else if ((c > 191) && (c < 224)) {
|
555 |
+
c2 = utftext.charCodeAt(i + 1); string += String.fromCharCode(((c & 31) << 6) | (c2 & 63)); i += 2;
|
556 |
+
} else {
|
557 |
+
c2 = utftext.charCodeAt(i + 1); c3 = utftext.charCodeAt(i + 2); string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63)); i += 3;
|
558 |
+
}
|
559 |
+
}
|
560 |
+
return string;
|
561 |
+
}
|
562 |
+
},
|
563 |
+
|
564 |
+
E_stop: function (j) {
|
565 |
+
var exData = { pT:'', tT:'', pState: '', pU: '', lp:'', ppA:'', jperror:'' };
|
566 |
+
var l;
|
567 |
+
var x;
|
568 |
+
|
569 |
+
if (j === this.tID && j !== '') {
|
570 |
+
var preL = (this.tID !== '' ) ? this.pl_info[this.tID].list : false;
|
571 |
+
var pU = ( preL !== false ) ? preL[ this.pl_info[this.tID].tr ].mp3 : '';
|
572 |
+
|
573 |
+
exData.pT = this.played_t;
|
574 |
+
exData.tT = this.total_t;
|
575 |
+
exData.pState = this.state;
|
576 |
+
exData.pU = pU;
|
577 |
+
exData.lp = this.load_pc;
|
578 |
+
exData.ppA = this.pp_abs;
|
579 |
+
|
580 |
+
l = this.extCalls.change_pre.length;
|
581 |
+
for ( x = 0; x < l; x += 1 ) {
|
582 |
+
var callback = this.extCalls.change_pre[ x ];
|
583 |
+
callback( exData );
|
584 |
+
}
|
585 |
+
this.clearit();
|
586 |
+
if ( jQuery(this.eID.pos + j + ' div.ui-widget-header').length > 0 ) {
|
587 |
+
jQuery(this.eID.pos + j).off( 'click', MP3_JPLAYER.stopProp );
|
588 |
+
jQuery(this.eID.pos + j).slider('destroy');
|
589 |
+
}
|
590 |
+
jQuery(this.eID.loader + j).css( "width", '0%' );
|
591 |
+
this.button(j, 'play');
|
592 |
+
if (this.pl_info[j].type === 'MI') {
|
593 |
+
jQuery(this.eID.poscol + j).css( "width", '0%' );
|
594 |
+
jQuery(this.eID.tT + j).empty();
|
595 |
+
jQuery(this.eID.indiM + j).empty().append('<span class="mjp-stopped">Stopped</span>');
|
596 |
+
jQuery(this.eID.pT + j).text(this.Tformat(0));
|
597 |
+
} else {
|
598 |
+
jQuery(this.eID.indiM + j).empty();
|
599 |
+
}
|
600 |
+
this.load_pc = 0;
|
601 |
+
this.played_t = 0;
|
602 |
+
|
603 |
+
jQuery('#mp3j_nosolution_' + j).empty().hide();
|
604 |
+
}
|
605 |
+
return exData;
|
606 |
+
},
|
607 |
+
|
608 |
+
E_dblstop: function (j) { //playlisters only
|
609 |
+
this.listclass(j, this.pl_info[j].tr, 0);
|
610 |
+
if ( this.pl_info[j].tr !== 0 ) {
|
611 |
+
this.titles(j, 0);
|
612 |
+
}
|
613 |
+
this.writedownload(j, 0);
|
614 |
+
this.E_stop(j);
|
615 |
+
jQuery(this.eID.indiM + j).empty().append('<span class="mjp-ready">Ready</span>');
|
616 |
+
this.pl_info[j].tr = 0;
|
617 |
+
},
|
618 |
+
|
619 |
+
E_change_track: function (j, change) {
|
620 |
+
var track;
|
621 |
+
var txt;
|
622 |
+
var p = this.pl_info[j];
|
623 |
+
var x;
|
624 |
+
var l;
|
625 |
+
|
626 |
+
//l = this.extCalls.change_pre.length;
|
627 |
+
//for ( x = 0; x < l; x += 1 ) {
|
628 |
+
// var callback = this.extCalls.change_pre[ x ];
|
629 |
+
// callback( j );
|
630 |
+
//}
|
631 |
+
|
632 |
+
if (j === this.tID && change === p.tr) {
|
633 |
+
if ('playing' === this.state) {
|
634 |
+
if (this.load_pc === 0) {
|
635 |
+
this.E_stop(j);
|
636 |
+
} else {
|
637 |
+
this.pauseit();
|
638 |
+
this.button(j, 'play');
|
639 |
+
if ('MI' === p.type) {
|
640 |
+
jQuery(this.eID.indiM + j).empty().append('<span class="mjp-paused">Paused</span>');
|
641 |
+
}
|
642 |
+
}
|
643 |
+
return;
|
644 |
+
} else if ('paused' === this.state || 'set' === this.state) {
|
645 |
+
this.playit();
|
646 |
+
this.button(j, 'pause');
|
647 |
+
return;
|
648 |
+
}
|
649 |
+
}
|
650 |
+
|
651 |
+
//var preL = (this.tID !== '' ) ? this.pl_info[this.tID].list : false;
|
652 |
+
//var pU = ( preL !== false ) ? preL[ this.pl_info[this.tID].tr ].mp3 : '';
|
653 |
+
//var exData = { pT: this.played_t, pState: this.state, pU: pU };
|
654 |
+
var exData = this.E_stop(this.tID);
|
655 |
+
|
656 |
+
if ('prev' === change) {
|
657 |
+
track = (p.tr-1 < 0) ? p.list.length-1 : p.tr-1;
|
658 |
+
} else if ('next' === change) {
|
659 |
+
track = (p.tr+1 < p.list.length) ? p.tr+1 : 0;
|
660 |
+
} else {
|
661 |
+
track = change;
|
662 |
+
}
|
663 |
+
|
664 |
+
jQuery(this.jpID).jPlayer("volume", 1 ); //Vol scaling fix
|
665 |
+
jQuery('#mp3j_nosolution_' + j).hide();
|
666 |
+
|
667 |
+
txt = ('MI' === p.type) ? '<span class="mp3-finding"></span><span class="mp3-tint"></span><span class="mjp-connecting">Connecting</span>' : '<span class="Smp3-finding"></span><span class="mp3-gtint"></span>';
|
668 |
+
jQuery(this.eID.indiM + j).empty().append(txt);
|
669 |
+
this.button(j, 'pause');
|
670 |
+
this.makeslider(j);
|
671 |
+
if ('MI' === p.type) {
|
672 |
+
this.listclass(j, p.tr, track);
|
673 |
+
if ( p.tr !== track ) {
|
674 |
+
this.titles(j, track);
|
675 |
+
}
|
676 |
+
if (p.download) {
|
677 |
+
this.writedownload(j, track);
|
678 |
+
jQuery(this.eID.dload + j).hide().addClass('whilelinks').fadeIn(400);
|
679 |
+
}
|
680 |
+
}
|
681 |
+
|
682 |
+
p.tr = track;
|
683 |
+
this.tID = j;
|
684 |
+
|
685 |
+
//console.log('--------------');
|
686 |
+
//console.log('p.list[track].formats (arr): ' + p.list[track].formats );
|
687 |
+
//console.log('this.lastformats (str): ' +this.lastformats);
|
688 |
+
|
689 |
+
//console.log(this.jperrorIDs);
|
690 |
+
|
691 |
+
var formatString = p.list[track].formats[0] + ( (typeof p.list[track].formats[1] !== 'undefined') ? ',' + p.list[track].formats[1] : '' );
|
692 |
+
//if ( p.list[track].formats !== this.lastformats || this.jperrorIDs[ j ] === true ) {
|
693 |
+
//if ( p.list[track].formats[0] !== this.lastformats || this.jperrorIDs[ j ] === true ) {
|
694 |
+
//exData.jperror = ( this.jperrorIDs[ j ] === true ) ? 'true' : 'nope';
|
695 |
+
|
696 |
+
if ( formatString !== this.lastformats || this.jperrorIDs[ j ] ) {
|
697 |
+
this.jperrorIDs[ j ] = false;
|
698 |
+
this.destroy_jp();
|
699 |
+
this.initialise_jp( formatString, p.list[track], p.vol );
|
700 |
+
} else {
|
701 |
+
this.jperrorIDs[ j ] = false;
|
702 |
+
this.setAudio( p.list[track] );
|
703 |
+
this.playit();
|
704 |
+
jQuery(this.jpID).jPlayer("volume", p.vol/100 ); //Reset to correct vol
|
705 |
+
}
|
706 |
+
|
707 |
+
exData.mp3 = p.list[track].mp3;
|
708 |
+
exData.name = p.list[track].name;
|
709 |
+
exData.artist = p.list[track].artist;
|
710 |
+
exData.jperror = ( this.jperrorIDs[ j ] ) ? this.jperrorIDs[ j ] : '';
|
711 |
+
l = this.extCalls.change_post.length;
|
712 |
+
for ( x = 0; x < l; x += 1 ) {
|
713 |
+
var callback = this.extCalls.change_post[ x ];
|
714 |
+
callback( exData );
|
715 |
+
}
|
716 |
+
},
|
717 |
+
|
718 |
+
E_launchPP: function (j) {
|
719 |
+
this.launched_ID = j;
|
720 |
+
this.was_playing = ( this.state === "playing" ) ? true : false;
|
721 |
+
|
722 |
+
if ( this.tID !== '' ) {
|
723 |
+
this.E_stop(this.tID);
|
724 |
+
if ( 'mp3,oga' !== this.lastformats ) {
|
725 |
+
this.destroy_jp();
|
726 |
+
this.initialise_jp( 'mp3,oga', false, 100 );
|
727 |
+
} else {
|
728 |
+
this.setAudio( false );
|
729 |
+
this.playit(); //make chrome let go of last track (incase it didn't finish loading)
|
730 |
+
this.clearit();
|
731 |
+
}
|
732 |
+
}
|
733 |
+
|
734 |
+
var newwindow = window.open( this.plugin_path + '/popout.php', 'mp3jpopout', 'height=' +this.pl_info[j].popout_css.colours[13]+ ', width=' +this.pl_info[j].popout_css.colours[12]+ ', location=1, status=1, scrollbars=1, resizable=1, left=25, top=25' );
|
735 |
+
if ( window.focus ) {
|
736 |
+
newwindow.focus();
|
737 |
+
}
|
738 |
+
return false;
|
739 |
+
},
|
740 |
+
|
741 |
+
setAudio: function ( track ) {
|
742 |
+
var media = {};
|
743 |
+
this.state = 'set';
|
744 |
+
if ( false === track ) {
|
745 |
+
media['mp3'] = this.plugin_path + '/mp3/silence.mp3';
|
746 |
+
media['ogg'] = this.plugin_path + '/mp3/silence.ogg';
|
747 |
+
} else {
|
748 |
+
media[ track.formats[0] ] = track.mp3;
|
749 |
+
if ( typeof track.formats[1] !== 'undefined' ) {
|
750 |
+
media[ track.formats[1] ] = track.counterpart;
|
751 |
+
}
|
752 |
+
}
|
753 |
+
//console.log(media);
|
754 |
+
jQuery(this.jpID).jPlayer( "setMedia", media );
|
755 |
+
},
|
756 |
+
|
757 |
+
playit: function () {
|
758 |
+
this.state = 'playing';
|
759 |
+
jQuery(this.jpID).jPlayer("play");
|
760 |
+
},
|
761 |
+
|
762 |
+
pauseit: function () {
|
763 |
+
this.state = 'paused';
|
764 |
+
jQuery(this.jpID).jPlayer("pause");
|
765 |
+
},
|
766 |
+
|
767 |
+
clearit: function () {
|
768 |
+
this.state = '';
|
769 |
+
jQuery(this.jpID).jPlayer("clearMedia");
|
770 |
+
},
|
771 |
+
|
772 |
+
button: function (j, type) {
|
773 |
+
if (j !== '') {
|
774 |
+
if ('pause' === type) {
|
775 |
+
jQuery( this.eID.play + j ).removeClass( 'play-mjp' ).addClass( 'pause-mjp' ).empty().append( this.pl_info[j].pause_txt );
|
776 |
+
}
|
777 |
+
if ('play' === type) {
|
778 |
+
jQuery( this.eID.play + j ).removeClass( 'pause-mjp' ).addClass( 'play-mjp' ).empty().append( this.pl_info[j].play_txt );
|
779 |
+
}
|
780 |
+
}
|
781 |
+
},
|
782 |
+
|
783 |
+
listclass: function ( j, rem, add ) {
|
784 |
+
jQuery('#'+ this.eID.a + j +'_'+ rem).removeClass('mp3j_A_current');
|
785 |
+
jQuery('#'+ this.eID.a + j +'_'+ add).addClass('mp3j_A_current');
|
786 |
+
},
|
787 |
+
|
788 |
+
titles: function ( j, track ) {
|
789 |
+
var p = this.pl_info[j], Olink = '', Clink = '';
|
790 |
+
var img = p.list[track].image;
|
791 |
+
if (p.type === "MI") {
|
792 |
+
jQuery(this.eID.title + j).empty().append(p.list[track].name).append('<br /><div>' + p.list[track].artist + '</div>');
|
793 |
+
var lastImg = jQuery(this.eID.img + j + ' img').attr('src');
|
794 |
+
if ( img === 'false' || img === 'true' || img === '' ) {
|
795 |
+
jQuery(this.eID.img + j).empty();
|
796 |
+
} else if ( img !== lastImg ) {
|
797 |
+
if (p.list[track].imgurl !== '') {
|
798 |
+
Olink = '<a href="' + p.list[track].imgurl + '">';
|
799 |
+
Clink = '</a>';
|
800 |
+
}
|
801 |
+
jQuery(this.eID.img + j).empty().hide().append(Olink + '<img src="' + p.list[track].image + '" />' + Clink).fadeIn(300);
|
802 |
+
}
|
803 |
+
}
|
804 |
+
},
|
805 |
+
|
806 |
+
writedownload: function ( j, track ) {
|
807 |
+
var p = this.pl_info[j];
|
808 |
+
if (p.download) {
|
809 |
+
jQuery(this.eID.dload + j).empty().removeClass('whilelinks').append('<a id="mp3j_dlanchor_' + j + '" href="' + p.list[track].mp3 + '" target="_blank">' + this.vars.dload_text + '</a>');
|
810 |
+
if ( this.vars.force_dload === true ) {
|
811 |
+
this.dl_button_click( j );
|
812 |
+
}
|
813 |
+
}
|
814 |
+
},
|
815 |
+
|
816 |
+
togglelist: function ( j ) {
|
817 |
+
if (this.pl_info[j].lstate === true) {
|
818 |
+
jQuery(this.eID.plwrap + j).fadeOut(300);
|
819 |
+
jQuery(this.eID.toglist + j).text('SHOW');
|
820 |
+
this.pl_info[j].lstate = false;
|
821 |
+
} else if (this.pl_info[j].lstate === false) {
|
822 |
+
jQuery(this.eID.plwrap + j).fadeIn("slow");
|
823 |
+
jQuery(this.eID.toglist + j).text('HIDE');
|
824 |
+
this.pl_info[j].lstate = true;
|
825 |
+
}
|
826 |
+
},
|
827 |
+
|
828 |
+
makeslider: function ( j ) {
|
829 |
+
var phmove, cssmove, that = this;
|
830 |
+
jQuery(this.eID.pos + j).css( 'visibility', 'hidden' );
|
831 |
+
|
832 |
+
jQuery(this.eID.pos + j).slider({
|
833 |
+
max: 1000,
|
834 |
+
range: 'min',
|
835 |
+
slide: function (event, ui) {
|
836 |
+
if ( that.allowRanges || (ui.value/10) < that.load_pc ) {
|
837 |
+
cssmove = ui.value/10;
|
838 |
+
phmove = ui.value*(10.0/that.jp_seekable);
|
839 |
+
} else {
|
840 |
+
cssmove = 0.99*that.load_pc;
|
841 |
+
phmove = (9.9*that.load_pc)*(10.0/that.jp_seekable);
|
842 |
+
}
|
843 |
+
jQuery(that.eID.poscol + j).css('width', cssmove + '%');
|
844 |
+
jQuery(that.jpID).jPlayer("playHead", phmove );
|
845 |
+
if (that.state === 'paused') {
|
846 |
+
that.button(j, 'pause');
|
847 |
+
that.playit();
|
848 |
+
}
|
849 |
+
that.state = 'playing';
|
850 |
+
},
|
851 |
+
start: function ( event, ui ) {
|
852 |
+
that.sliding = true;
|
853 |
+
},
|
854 |
+
stop: function ( event, ui ) {
|
855 |
+
that.sliding = false;
|
856 |
+
}
|
857 |
+
});
|
858 |
+
|
859 |
+
jQuery(this.eID.pos + j).on( 'click', MP3_JPLAYER.stopProp );
|
860 |
+
},
|
861 |
+
|
862 |
+
stopProp: function ( e ) {
|
863 |
+
e.stopPropagation();
|
864 |
+
},
|
865 |
+
|
866 |
+
deviceInfo: function () {
|
867 |
+
|
868 |
+
var isMobile = false;
|
869 |
+
var os = '';
|
870 |
+
var device = '';
|
871 |
+
var ua = navigator.userAgent;
|
872 |
+
var p = navigator.platform;
|
873 |
+
var matched;
|
874 |
+
|
875 |
+
if ( /bot|spider/i.test( ua ) ) {
|
876 |
+
os = 'spider';
|
877 |
+
} else {
|
878 |
+
if ( /iPhone|iPod|iPad/.test( p ) ) {
|
879 |
+
os = 'iOS';
|
880 |
+
device = p;
|
881 |
+
isMobile = true;
|
882 |
+
} else {
|
883 |
+
var matched = /Android|BlackBerry|IEMobile|Opera Mini|Mobi|Tablet/.exec( ua );
|
884 |
+
if ( matched ) {
|
885 |
+
device = ( matched[0] === 'Mobi' ) ? 'Mobile' : matched[0];
|
886 |
+
isMobile = true;
|
887 |
+
}
|
888 |
+
}
|
889 |
+
|
890 |
+
if ( ! isMobile ) {
|
891 |
+
if ( /Mac/.test( p ) ) {
|
892 |
+
os = 'Mac';
|
893 |
+
device = 'Desk/Laptop';
|
894 |
+
} else if ( /Linux/.test( p ) ) {
|
895 |
+
os = 'Linux';
|
896 |
+
device = 'Desk/Laptop';
|
897 |
+
} else if ( /Win|Pocket PC/.test( p ) ) {
|
898 |
+
os = 'Windows';
|
899 |
+
device = 'Desk/Laptop';
|
900 |
+
}
|
901 |
+
}
|
902 |
+
}
|
903 |
+
|
904 |
+
return { os:os, device:device, isMobile:isMobile };
|
905 |
+
}
|
906 |
+
|
907 |
+
|
908 |
+
};
|
909 |
+
|
910 |
+
// Force browser download
|
911 |
+
MP3_JPLAYER.dl_button_click = function ( j ) {
|
912 |
+
var that = this, p = this.pl_info[j];
|
913 |
+
jQuery('#mp3j_dlanchor_' + j).click(function (e) {
|
914 |
+
|
915 |
+
that.dl_runinfo( p.list[p.tr].mp3, j, e );
|
916 |
+
|
917 |
+
var x;
|
918 |
+
var l = that.extCalls.download.length;
|
919 |
+
var callback;
|
920 |
+
for ( x = 0; x < l; x += 1 ) {
|
921 |
+
callback = that.extCalls.download[ x ];
|
922 |
+
callback( p.list[p.tr] );
|
923 |
+
}
|
924 |
+
|
925 |
+
e.preventDefault();
|
926 |
+
});
|
927 |
+
};
|
928 |
+
|
929 |
+
MP3_JPLAYER.dl_closeinfo_click = function ( j ) {
|
930 |
+
var that = this;
|
931 |
+
jQuery('#mp3j_finfo_close_' + j).click(function () {
|
932 |
+
that.dl_dialogue( j, '', 'close');
|
933 |
+
that.clear_timers( j );
|
934 |
+
});
|
935 |
+
};
|
936 |
+
|
937 |
+
MP3_JPLAYER.dl_runinfo = function ( get, j, e ) {
|
938 |
+
var can_write,
|
939 |
+
dlpath,
|
940 |
+
message,
|
941 |
+
that = this,
|
942 |
+
dlframe = false,
|
943 |
+
p = this.pl_info[j],
|
944 |
+
is_local = this.is_local_dload( get );
|
945 |
+
|
946 |
+
var enc_get;
|
947 |
+
|
948 |
+
if ( !this.intervalIDs[ j ] && !this.timeoutIDs[ j ] ) { //if timers not already running for this player
|
949 |
+
can_write = this.write_cookie('mp3Download' + j, 'waiting', '');
|
950 |
+
if ( is_local ) {
|
951 |
+
if ( can_write !== false ) {
|
952 |
+
this.dl_dialogue( j, this.vars.message_interval, 'check');
|
953 |
+
} else {
|
954 |
+
this.dl_dialogue( j, this.vars.message_indark, 'indark');
|
955 |
+
}
|
956 |
+
this.intervalIDs[ j ] = setInterval( function(){ that.dl_interval_check( j, can_write ); }, 500);
|
957 |
+
this.timeoutIDs[ j ] = setTimeout( function(){ that.dl_timeout( j, can_write ); }, 7000);
|
958 |
+
dlframe = true;
|
959 |
+
} else {
|
960 |
+
if ( this.vars.dl_remote_path === '' ) {
|
961 |
+
message = this.vars.message_promtlink.replace('#1', get);
|
962 |
+
message = message.replace('#2', p.list[p.tr].name);
|
963 |
+
this.dl_dialogue( j, message, 'indark');
|
964 |
+
} else {
|
965 |
+
message = this.vars.message_indark.replace('#1', get);
|
966 |
+
message = message.replace('#2', p.list[p.tr].name);
|
967 |
+
this.dl_dialogue( j, message, 'indark');
|
968 |
+
dlframe = true;
|
969 |
+
}
|
970 |
+
}
|
971 |
+
this.dl_dialogs[ j ] = 'false';
|
972 |
+
if ( dlframe ) {
|
973 |
+
dlpath = this.get_dloader_path( get );
|
974 |
+
enc_get = encodeURIComponent( get );
|
975 |
+
jQuery('#mp3j_dlf_' + j).empty().append('<iframe id="mp3j_dlframe_' + j + '" name="mp3j_dlframe_' + j + '" class="mp3j-dlframe" src="' + dlpath + '?mp3=loc' + enc_get + '&pID=' + j + '" style="display:none;"></iframe>');
|
976 |
+
}
|
977 |
+
}
|
978 |
+
};
|
979 |
+
|
980 |
+
|
981 |
+
MP3_JPLAYER.dl_interval_check = function ( j, can_write ) {
|
982 |
+
if ( can_write !== false && this.read_cookie('mp3Download' + j) === 'true' ) { //got cookie back, all should be good
|
983 |
+
this.dl_dialogue( j, this.vars.message_ok, 'hide');
|
984 |
+
this.clear_timers( j );
|
985 |
+
} else if ( this.dl_dialogs[ j ] !== 'false' ) { //got a message back
|
986 |
+
this.dl_dialogue( j, this.dl_dialogs[ j ], 'add');
|
987 |
+
this.clear_timers( j );
|
988 |
+
}
|
989 |
+
};
|
990 |
+
|
991 |
+
MP3_JPLAYER.dl_timeout = function ( j, can_write ) {
|
992 |
+
this.clear_timers( j );
|
993 |
+
if ( can_write !== false ) {
|
994 |
+
this.dl_dialogue( j, this.vars.message_timeout, 'add');
|
995 |
+
}
|
996 |
+
};
|
997 |
+
|
998 |
+
MP3_JPLAYER.clear_timers = function ( j ) {
|
999 |
+
if ( this.intervalIDs[ j ] !== null && this.timeoutIDs[ j ] !== null ) {
|
1000 |
+
clearInterval( this.intervalIDs[j] );
|
1001 |
+
clearTimeout( this.timeoutIDs[j] );
|
1002 |
+
this.intervalIDs[ j ] = null;
|
1003 |
+
this.timeoutIDs[j] = null;
|
1004 |
+
}
|
1005 |
+
jQuery('#mp3j_dlf_' + j).empty(); //ditch iframe
|
1006 |
+
this.write_cookie('mp3Download' + j, '', -1); //clear any cookie
|
1007 |
+
};
|
1008 |
+
|
1009 |
+
MP3_JPLAYER.dl_dialogue = function ( j, text, state ) {
|
1010 |
+
if ( 'check' === state ) {
|
1011 |
+
jQuery('#mp3j_finfo_gif_' + j).show();
|
1012 |
+
jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
|
1013 |
+
jQuery('#mp3j_finfo_' + j).show();
|
1014 |
+
} else if ( 'add' === state ) {
|
1015 |
+
jQuery('#mp3j_finfo_gif_' + j).hide();
|
1016 |
+
jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
|
1017 |
+
} else if ( 'indark' === state ) {
|
1018 |
+
jQuery('#mp3j_finfo_gif_' + j).hide();
|
1019 |
+
jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
|
1020 |
+
jQuery('#mp3j_finfo_' + j).fadeIn(100);
|
1021 |
+
} else if ( 'close' === state ) {
|
1022 |
+
jQuery('#mp3j_finfo_gif_' + j).hide();
|
1023 |
+
jQuery('#mp3j_finfo_' + j).hide();
|
1024 |
+
} else {
|
1025 |
+
jQuery('#mp3j_finfo_gif_' + j).hide();
|
1026 |
+
if ( text !== '' ) {
|
1027 |
+
jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
|
1028 |
+
}
|
1029 |
+
jQuery('#mp3j_finfo_' + j).fadeOut(1000);
|
1030 |
+
}
|
1031 |
+
};
|
1032 |
+
|
1033 |
+
MP3_JPLAYER.read_cookie = function ( name ) {
|
1034 |
+
var i, cookie, allCookies = document.cookie.split('; ');
|
1035 |
+
if ( allCookies.length > 0 ) {
|
1036 |
+
for ( i = 0; i < allCookies.length; i += 1 ) {
|
1037 |
+
cookie = allCookies[i].split( '=' );
|
1038 |
+
if ( cookie[0] === name ) {
|
1039 |
+
return cookie[1];
|
1040 |
+
}
|
1041 |
+
}
|
1042 |
+
}
|
1043 |
+
return false;
|
1044 |
+
};
|
1045 |
+
|
1046 |
+
MP3_JPLAYER.write_cookie = function ( name, value, days ) {
|
1047 |
+
var date, expires = "";
|
1048 |
+
if ( days ) {
|
1049 |
+
date = new Date();
|
1050 |
+
date.setTime( date.getTime() + (days*24*60*60*1000) );
|
1051 |
+
expires = "; expires=" + date.toGMTString();
|
1052 |
+
}
|
1053 |
+
document.cookie = name + "=" + value + expires + "; path=/";
|
1054 |
+
return this.read_cookie( name );
|
1055 |
+
};
|
1056 |
+
|
1057 |
+
MP3_JPLAYER.get_dloader_path = function ( loc ) {
|
1058 |
+
var k, path = "", file = "", chunks;
|
1059 |
+
chunks = loc.split('/');
|
1060 |
+
file = chunks[chunks.length-1];
|
1061 |
+
if ( loc.charAt(0) === '/' ) {
|
1062 |
+
path = this.plugin_path + '/download.php';
|
1063 |
+
} else {
|
1064 |
+
path = chunks[2].replace(/^www./i, "");
|
1065 |
+
if ( path === this.dl_domain ) {
|
1066 |
+
path = this.plugin_path + '/download.php';
|
1067 |
+
} else {
|
1068 |
+
path = chunks[0] + '//' + chunks[2] + this.vars.dl_remote_path;
|
1069 |
+
}
|
1070 |
+
}
|
1071 |
+
return path;
|
1072 |
+
};
|
1073 |
+
|
1074 |
+
MP3_JPLAYER.is_local_dload = function ( loc ) {
|
1075 |
+
var domain = "", file = "", chunks, is_local = false;
|
1076 |
+
chunks = loc.split('/');
|
1077 |
+
file = chunks[chunks.length-1];
|
1078 |
+
if ( loc.charAt(0) === '/' ) {
|
1079 |
+
is_local = true;
|
1080 |
+
} else {
|
1081 |
+
domain = chunks[2].replace(/^www./i, "");
|
1082 |
+
if ( domain === this.dl_domain ) {
|
1083 |
+
is_local = true;
|
1084 |
+
}
|
1085 |
+
}
|
1086 |
+
return is_local;
|
1087 |
+
};
|
js/popout/core.min.js
ADDED
@@ -0,0 +1,11 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
/*!
|
2 |
+
* jQuery UI Core 1.11.2
|
3 |
+
* http://jqueryui.com
|
4 |
+
*
|
5 |
+
* Copyright 2014 jQuery Foundation and other contributors
|
6 |
+
* Released under the MIT license.
|
7 |
+
* http://jquery.org/license
|
8 |
+
*
|
9 |
+
* http://api.jqueryui.com/category/ui-core/
|
10 |
+
*/
|
11 |
+
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){function b(b,d){var e,f,g,h=b.nodeName.toLowerCase();return"area"===h?(e=b.parentNode,f=e.name,b.href&&f&&"map"===e.nodeName.toLowerCase()?(g=a("img[usemap='#"+f+"']")[0],!!g&&c(g)):!1):(/input|select|textarea|button|object/.test(h)?!b.disabled:"a"===h?b.href||d:d)&&c(b)}function c(b){return a.expr.filters.visible(b)&&!a(b).parents().addBack().filter(function(){return"hidden"===a.css(this,"visibility")}).length}a.ui=a.ui||{},a.extend(a.ui,{version:"1.11.2",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),a.fn.extend({scrollParent:function(b){var c=this.css("position"),d="absolute"===c,e=b?/(auto|scroll|hidden)/:/(auto|scroll)/,f=this.parents().filter(function(){var b=a(this);return d&&"static"===b.css("position")?!1:e.test(b.css("overflow")+b.css("overflow-y")+b.css("overflow-x"))}).eq(0);return"fixed"!==c&&f.length?f:a(this[0].ownerDocument||document)},uniqueId:function(){var a=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++a)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&a(this).removeAttr("id")})}}),a.extend(a.expr[":"],{data:a.expr.createPseudo?a.expr.createPseudo(function(b){return function(c){return!!a.data(c,b)}}):function(b,c,d){return!!a.data(b,d[3])},focusable:function(c){return b(c,!isNaN(a.attr(c,"tabindex")))},tabbable:function(c){var d=a.attr(c,"tabindex"),e=isNaN(d);return(e||d>=0)&&b(c,!e)}}),a("<a>").outerWidth(1).jquery||a.each(["Width","Height"],function(b,c){function d(b,c,d,f){return a.each(e,function(){c-=parseFloat(a.css(b,"padding"+this))||0,d&&(c-=parseFloat(a.css(b,"border"+this+"Width"))||0),f&&(c-=parseFloat(a.css(b,"margin"+this))||0)}),c}var e="Width"===c?["Left","Right"]:["Top","Bottom"],f=c.toLowerCase(),g={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};a.fn["inner"+c]=function(b){return void 0===b?g["inner"+c].call(this):this.each(function(){a(this).css(f,d(this,b)+"px")})},a.fn["outer"+c]=function(b,e){return"number"!=typeof b?g["outer"+c].call(this,b):this.each(function(){a(this).css(f,d(this,b,!0,e)+"px")})}}),a.fn.addBack||(a.fn.addBack=function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}),a("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(a.fn.removeData=function(b){return function(c){return arguments.length?b.call(this,a.camelCase(c)):b.call(this)}}(a.fn.removeData)),a.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),a.fn.extend({focus:function(b){return function(c,d){return"number"==typeof c?this.each(function(){var b=this;setTimeout(function(){a(b).focus(),d&&d.call(b)},c)}):b.apply(this,arguments)}}(a.fn.focus),disableSelection:function(){var a="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.bind(a+".ui-disableSelection",function(a){a.preventDefault()})}}(),enableSelection:function(){return this.unbind(".ui-disableSelection")},zIndex:function(b){if(void 0!==b)return this.css("zIndex",b);if(this.length)for(var c,d,e=a(this[0]);e.length&&e[0]!==document;){if(c=e.css("position"),("absolute"===c||"relative"===c||"fixed"===c)&&(d=parseInt(e.css("zIndex"),10),!isNaN(d)&&0!==d))return d;e=e.parent()}return 0}}),a.ui.plugin={add:function(b,c,d){var e,f=a.ui[b].prototype;for(e in d)f.plugins[e]=f.plugins[e]||[],f.plugins[e].push([c,d[e]])},call:function(a,b,c,d){var e,f=a.plugins[b];if(f&&(d||a.element[0].parentNode&&11!==a.element[0].parentNode.nodeType))for(e=0;e<f.length;e++)a.options[f[e][0]]&&f[e][1].apply(a.element,c)}}});
|
js/popout/jquery.js
ADDED
@@ -0,0 +1,5 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
|
2 |
+
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l="1.11.1",m=function(a,b){return new m.fn.init(a,b)},n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b){return b.toUpperCase()};m.fn=m.prototype={jquery:l,constructor:m,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},m.extend=m.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||m.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:{},g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},m.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray||function(a){return"array"===m.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&m.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(o,"ms-").replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=r(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(n,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=r(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),m.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||m.guid++,e):void 0},now:function(){return+new Date},support:k}),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function r(a){var b=a.length,c=m.type(a);return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var s=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b){return a===b&&(l=!0),0},C="undefined",D=1<<31,E={}.hasOwnProperty,F=[],G=F.pop,H=F.push,I=F.push,J=F.slice,K=F.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=N.replace("w","w#"),P="\\["+M+"*("+N+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+M+"*\\]",Q=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",R=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),S=new RegExp("^"+M+"*,"+M+"*"),T=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),V=new RegExp(Q),W=new RegExp("^"+O+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{I.apply(F=J.call(v.childNodes),v.childNodes),F[v.childNodes.length].nodeType}catch(eb){I={apply:F.length?function(a,b){H.apply(a,J.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],!a||"string"!=typeof a)return d;if(1!==(k=b.nodeType)&&9!==k)return[];if(p&&!e){if(f=_.exec(a))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return I.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return I.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=9===k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+qb(o[l]);w=ab.test(a)&&ob(b.parentNode)||b,x=o.join(",")}if(x)try{return I.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function gb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function hb(a){return a[u]=!0,a}function ib(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function jb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function kb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||D)-(~a.sourceIndex||D);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function lb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function nb(a){return hb(function(b){return b=+b,hb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function ob(a){return a&&typeof a.getElementsByTagName!==C&&a}c=fb.support={},f=fb.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fb.setDocument=function(a){var b,e=a?a.ownerDocument||a:v,g=e.defaultView;return e!==n&&9===e.nodeType&&e.documentElement?(n=e,o=e.documentElement,p=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){m()},!1):g.attachEvent&&g.attachEvent("onunload",function(){m()})),c.attributes=ib(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ib(function(a){return a.appendChild(e.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(e.getElementsByClassName)&&ib(function(a){return a.innerHTML="<div class='a'></div><div class='a i'></div>",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=ib(function(a){return o.appendChild(a).id=u,!e.getElementsByName||!e.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==C&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c=typeof a.getAttributeNode!==C&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==C?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==C&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(e.querySelectorAll))&&(ib(function(a){a.innerHTML="<select msallowclip=''><option selected=''></option></select>",a.querySelectorAll("[msallowclip^='']").length&&q.push("[*^$]="+M+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+M+"*(?:value|"+L+")"),a.querySelectorAll(":checked").length||q.push(":checked")}),ib(function(a){var b=e.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+M+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ib(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",Q)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===v&&t(v,a)?-1:b===e||b.ownerDocument===v&&t(v,b)?1:k?K.call(k,a)-K.call(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],i=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:k?K.call(k,a)-K.call(k,b):0;if(f===g)return kb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?kb(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},e):n},fb.matches=function(a,b){return fb(a,null,null,b)},fb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fb(b,n,null,[a]).length>0},fb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&E.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fb.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fb.selectors={cacheLength:50,createPseudo:hb,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+M+")"+a+"("+M+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==C&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?hb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=K.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:hb(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?hb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:hb(function(a){return function(b){return fb(a,b).length>0}}),contains:hb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:hb(function(a){return W.test(a||"")||fb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:nb(function(){return[0]}),last:nb(function(a,b){return[b-1]}),eq:nb(function(a,b,c){return[0>c?c+b:c]}),even:nb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:nb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:nb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:nb(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=lb(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=mb(b);function pb(){}pb.prototype=d.filters=d.pseudos,d.setFilters=new pb,g=fb.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){(!c||(e=S.exec(h)))&&(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=T.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(R," ")}),h=h.slice(c.length));for(g in d.filter)!(e=X[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?fb.error(a):z(a,i).slice(0)};function qb(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function rb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function sb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function tb(a,b,c){for(var d=0,e=b.length;e>d;d++)fb(a,b[d],c);return c}function ub(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function vb(a,b,c,d,e,f){return d&&!d[u]&&(d=vb(d)),e&&!e[u]&&(e=vb(e,f)),hb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||tb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ub(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ub(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?K.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ub(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):I.apply(g,r)})}function wb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=rb(function(a){return a===b},h,!0),l=rb(function(a){return K.call(b,a)>-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>i;i++)if(c=d.relative[a[i].type])m=[rb(sb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return vb(i>1&&sb(m),i>1&&qb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&wb(a.slice(i,e)),f>e&&wb(a=a.slice(e)),f>e&&qb(a))}m.push(c)}return sb(m)}function xb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=G.call(i));s=ub(s)}I.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&fb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?hb(f):f}return h=fb.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xb(e,d)),f.selector=a}return f},i=fb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&ob(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qb(j),!a)return I.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&ob(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ib(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ib(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||jb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ib(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||jb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ib(function(a){return null==a.getAttribute("disabled")})||jb(L,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fb}(a);m.find=s,m.expr=s.selectors,m.expr[":"]=m.expr.pseudos,m.unique=s.uniqueSort,m.text=s.getText,m.isXMLDoc=s.isXML,m.contains=s.contains;var t=m.expr.match.needsContext,u=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/^.[^:#\[\.,]*$/;function w(a,b,c){if(m.isFunction(b))return m.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return m.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(v.test(b))return m.filter(b,a,c);b=m.filter(b,a)}return m.grep(a,function(a){return m.inArray(a,b)>=0!==c})}m.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?m.find.matchesSelector(d,a)?[d]:[]:m.find.matches(a,m.grep(b,function(a){return 1===a.nodeType}))},m.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(m(a).filter(function(){for(b=0;e>b;b++)if(m.contains(d[b],this))return!0}));for(b=0;e>b;b++)m.find(a,d[b],c);return c=this.pushStack(e>1?m.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(w(this,a||[],!1))},not:function(a){return this.pushStack(w(this,a||[],!0))},is:function(a){return!!w(this,"string"==typeof a&&t.test(a)?m(a):a||[],!1).length}});var x,y=a.document,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=m.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||x).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof m?b[0]:b,m.merge(this,m.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:y,!0)),u.test(c[1])&&m.isPlainObject(b))for(c in b)m.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=y.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return x.find(a);this.length=1,this[0]=d}return this.context=y,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):m.isFunction(a)?"undefined"!=typeof x.ready?x.ready(a):a(m):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),m.makeArray(a,this))};A.prototype=m.fn,x=m(y);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};m.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!m(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),m.fn.extend({has:function(a){var b,c=m(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(m.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=t.test(a)||"string"!=typeof a?m(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&m.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?m.unique(f):f)},index:function(a){return a?"string"==typeof a?m.inArray(this[0],m(a)):m.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(m.unique(m.merge(this.get(),m(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}m.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return m.dir(a,"parentNode")},parentsUntil:function(a,b,c){return m.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return m.dir(a,"nextSibling")},prevAll:function(a){return m.dir(a,"previousSibling")},nextUntil:function(a,b,c){return m.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return m.dir(a,"previousSibling",c)},siblings:function(a){return m.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return m.sibling(a.firstChild)},contents:function(a){return m.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:m.merge([],a.childNodes)}},function(a,b){m.fn[a]=function(c,d){var e=m.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=m.filter(d,e)),this.length>1&&(C[a]||(e=m.unique(e)),B.test(a)&&(e=e.reverse())),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return m.each(a.match(E)||[],function(a,c){b[c]=!0}),b}m.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):m.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){m.each(b,function(b,c){var d=m.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&m.each(arguments,function(a,c){var d;while((d=m.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?m.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},m.extend({Deferred:function(a){var b=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return m.Deferred(function(c){m.each(b,function(b,f){var g=m.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&m.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?m.extend(a,d):d}},e={};return d.pipe=d.then,m.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&m.isFunction(a.promise)?e:0,g=1===f?a:m.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&m.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;m.fn.ready=function(a){return m.ready.promise().done(a),this},m.extend({isReady:!1,readyWait:1,holdReady:function(a){a?m.readyWait++:m.ready(!0)},ready:function(a){if(a===!0?!--m.readyWait:!m.isReady){if(!y.body)return setTimeout(m.ready);m.isReady=!0,a!==!0&&--m.readyWait>0||(H.resolveWith(y,[m]),m.fn.triggerHandler&&(m(y).triggerHandler("ready"),m(y).off("ready")))}}});function I(){y.addEventListener?(y.removeEventListener("DOMContentLoaded",J,!1),a.removeEventListener("load",J,!1)):(y.detachEvent("onreadystatechange",J),a.detachEvent("onload",J))}function J(){(y.addEventListener||"load"===event.type||"complete"===y.readyState)&&(I(),m.ready())}m.ready.promise=function(b){if(!H)if(H=m.Deferred(),"complete"===y.readyState)setTimeout(m.ready);else if(y.addEventListener)y.addEventListener("DOMContentLoaded",J,!1),a.addEventListener("load",J,!1);else{y.attachEvent("onreadystatechange",J),a.attachEvent("onload",J);var c=!1;try{c=null==a.frameElement&&y.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!m.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}I(),m.ready()}}()}return H.promise(b)};var K="undefined",L;for(L in m(k))break;k.ownLast="0"!==L,k.inlineBlockNeedsLayout=!1,m(function(){var a,b,c,d;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",k.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(d))}),function(){var a=y.createElement("div");if(null==k.deleteExpando){k.deleteExpando=!0;try{delete a.test}catch(b){k.deleteExpando=!1}}a=null}(),m.acceptData=function(a){var b=m.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b};var M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function O(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(N,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:M.test(c)?m.parseJSON(c):c}catch(e){}m.data(a,b,c)}else c=void 0}return c}function P(a){var b;for(b in a)if(("data"!==b||!m.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeType,j=i?m.cache:a,k=i?a[h]:a[h]&&h;
|
3 |
+
if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||m.guid++:h),j[k]||(j[k]=i?{}:{toJSON:m.noop}),("object"==typeof b||"function"==typeof b)&&(e?j[k]=m.extend(j[k],b):j[k].data=m.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[m.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[m.camelCase(b)])):f=g,f}}function R(a,b,c){if(m.acceptData(a)){var d,e,f=a.nodeType,g=f?m.cache:a,h=f?a[m.expando]:m.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){m.isArray(b)?b=b.concat(m.map(b,m.camelCase)):b in d?b=[b]:(b=m.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!P(d):!m.isEmptyObject(d))return}(c||(delete g[h].data,P(g[h])))&&(f?m.cleanData([a],!0):k.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}m.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?m.cache[a[m.expando]]:a[m.expando],!!a&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),m.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=m.data(f),1===f.nodeType&&!m._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=m.camelCase(d.slice(5)),O(f,d,e[d])));m._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){m.data(this,a)}):arguments.length>1?this.each(function(){m.data(this,a,b)}):f?O(f,a,m.data(f,a)):void 0},removeData:function(a){return this.each(function(){m.removeData(this,a)})}}),m.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=m._data(a,b),c&&(!d||m.isArray(c)?d=m._data(a,b,m.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=m.queue(a,b),d=c.length,e=c.shift(),f=m._queueHooks(a,b),g=function(){m.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return m._data(a,c)||m._data(a,c,{empty:m.Callbacks("once memory").add(function(){m._removeData(a,b+"queue"),m._removeData(a,c)})})}}),m.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?m.queue(this[0],a):void 0===b?this:this.each(function(){var c=m.queue(this,a,b);m._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&m.dequeue(this,a)})},dequeue:function(a){return this.each(function(){m.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=m.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=m._data(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var S=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=["Top","Right","Bottom","Left"],U=function(a,b){return a=b||a,"none"===m.css(a,"display")||!m.contains(a.ownerDocument,a)},V=m.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===m.type(c)){e=!0;for(h in c)m.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,m.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(m(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},W=/^(?:checkbox|radio)$/i;!function(){var a=y.createElement("input"),b=y.createElement("div"),c=y.createDocumentFragment();if(b.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",k.leadingWhitespace=3===b.firstChild.nodeType,k.tbody=!b.getElementsByTagName("tbody").length,k.htmlSerialize=!!b.getElementsByTagName("link").length,k.html5Clone="<:nav></:nav>"!==y.createElement("nav").cloneNode(!0).outerHTML,a.type="checkbox",a.checked=!0,c.appendChild(a),k.appendChecked=a.checked,b.innerHTML="<textarea>x</textarea>",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,c.appendChild(b),b.innerHTML="<input type='radio' checked='checked' name='t'/>",k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,k.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){k.noCloneEvent=!1}),b.cloneNode(!0).click()),null==k.deleteExpando){k.deleteExpando=!0;try{delete b.test}catch(d){k.deleteExpando=!1}}}(),function(){var b,c,d=y.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(k[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),k[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var X=/^(?:input|select|textarea)$/i,Y=/^key/,Z=/^(?:mouse|pointer|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=/^([^.]*)(?:\.(.+)|)$/;function ab(){return!0}function bb(){return!1}function cb(){try{return y.activeElement}catch(a){}}m.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=m.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof m===K||a&&m.event.triggered===a.type?void 0:m.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(E)||[""],h=b.length;while(h--)f=_.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=m.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=m.event.special[o]||{},l=m.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&m.expr.match.needsContext.test(e),namespace:p.join(".")},i),(n=g[o])||(n=g[o]=[],n.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?n.splice(n.delegateCount++,0,l):n.push(l),m.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m.hasData(a)&&m._data(a);if(r&&(k=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=_.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=m.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,n=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=n.length;while(f--)g=n[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(n.splice(f,1),g.selector&&n.delegateCount--,l.remove&&l.remove.call(a,g));i&&!n.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||m.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)m.event.remove(a,o+b[j],c,d,!0);m.isEmptyObject(k)&&(delete r.handle,m._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,n,o=[d||y],p=j.call(b,"type")?b.type:b,q=j.call(b,"namespace")?b.namespace.split("."):[];if(h=l=d=d||y,3!==d.nodeType&&8!==d.nodeType&&!$.test(p+m.event.triggered)&&(p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),g=p.indexOf(":")<0&&"on"+p,b=b[m.expando]?b:new m.Event(p,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:m.makeArray(c,[b]),k=m.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!m.isWindow(d)){for(i=k.delegateType||p,$.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||y)&&o.push(l.defaultView||l.parentWindow||a)}n=0;while((h=o[n++])&&!b.isPropagationStopped())b.type=n>1?i:k.bindType||p,f=(m._data(h,"events")||{})[b.type]&&m._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&m.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&m.acceptData(d)&&g&&d[p]&&!m.isWindow(d)){l=d[g],l&&(d[g]=null),m.event.triggered=p;try{d[p]()}catch(r){}m.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=m.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(m._data(this,"events")||{})[a.type]||[],k=m.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=m.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((m.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+" ",void 0===e[c]&&(e[c]=d.needsContext?m(c,this).index(i)>=0:m.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},fix:function(a){if(a[m.expando])return a;var b,c,d,e=a.type,f=a,g=this.fixHooks[e];g||(this.fixHooks[e]=g=Z.test(e)?this.mouseHooks:Y.test(e)?this.keyHooks:{}),d=g.props?this.props.concat(g.props):this.props,a=new m.Event(f),b=d.length;while(b--)c=d[b],a[c]=f[c];return a.target||(a.target=f.srcElement||y),3===a.target.nodeType&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,g.filter?g.filter(a,f):a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,d,e,f=b.button,g=b.fromElement;return null==a.pageX&&null!=b.clientX&&(d=a.target.ownerDocument||y,e=d.documentElement,c=d.body,a.pageX=b.clientX+(e&&e.scrollLeft||c&&c.scrollLeft||0)-(e&&e.clientLeft||c&&c.clientLeft||0),a.pageY=b.clientY+(e&&e.scrollTop||c&&c.scrollTop||0)-(e&&e.clientTop||c&&c.clientTop||0)),!a.relatedTarget&&g&&(a.relatedTarget=g===a.target?b.toElement:g),a.which||void 0===f||(a.which=1&f?1:2&f?3:4&f?2:0),a}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==cb()&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:"focusin"},blur:{trigger:function(){return this===cb()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return m.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(a){return m.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c,d){var e=m.extend(new m.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?m.event.trigger(e,null,b):m.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},m.removeEvent=y.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){var d="on"+b;a.detachEvent&&(typeof a[d]===K&&(a[d]=null),a.detachEvent(d,c))},m.Event=function(a,b){return this instanceof m.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?ab:bb):this.type=a,b&&m.extend(this,b),this.timeStamp=a&&a.timeStamp||m.now(),void(this[m.expando]=!0)):new m.Event(a,b)},m.Event.prototype={isDefaultPrevented:bb,isPropagationStopped:bb,isImmediatePropagationStopped:bb,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=ab,a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=ab,a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=ab,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),this.stopPropagation()}},m.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){m.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return(!e||e!==d&&!m.contains(d,e))&&(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),k.submitBubbles||(m.event.special.submit={setup:function(){return m.nodeName(this,"form")?!1:void m.event.add(this,"click._submit keypress._submit",function(a){var b=a.target,c=m.nodeName(b,"input")||m.nodeName(b,"button")?b.form:void 0;c&&!m._data(c,"submitBubbles")&&(m.event.add(c,"submit._submit",function(a){a._submit_bubble=!0}),m._data(c,"submitBubbles",!0))})},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&m.event.simulate("submit",this.parentNode,a,!0))},teardown:function(){return m.nodeName(this,"form")?!1:void m.event.remove(this,"._submit")}}),k.changeBubbles||(m.event.special.change={setup:function(){return X.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(m.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&(this._just_changed=!0)}),m.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1),m.event.simulate("change",this,a,!0)})),!1):void m.event.add(this,"beforeactivate._change",function(a){var b=a.target;X.test(b.nodeName)&&!m._data(b,"changeBubbles")&&(m.event.add(b,"change._change",function(a){!this.parentNode||a.isSimulated||a.isTrigger||m.event.simulate("change",this.parentNode,a,!0)}),m._data(b,"changeBubbles",!0))})},handle:function(a){var b=a.target;return this!==b||a.isSimulated||a.isTrigger||"radio"!==b.type&&"checkbox"!==b.type?a.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return m.event.remove(this,"._change"),!X.test(this.nodeName)}}),k.focusinBubbles||m.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){m.event.simulate(b,a.target,m.event.fix(a),!0)};m.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=m._data(d,b);e||d.addEventListener(a,c,!0),m._data(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=m._data(d,b)-1;e?m._data(d,b,e):(d.removeEventListener(a,c,!0),m._removeData(d,b))}}}),m.fn.extend({on:function(a,b,c,d,e){var f,g;if("object"==typeof a){"string"!=typeof b&&(c=c||b,b=void 0);for(f in a)this.on(f,b,c,a[f],e);return this}if(null==c&&null==d?(d=b,c=b=void 0):null==d&&("string"==typeof b?(d=c,c=void 0):(d=c,c=b,b=void 0)),d===!1)d=bb;else if(!d)return this;return 1===e&&(g=d,d=function(a){return m().off(a),g.apply(this,arguments)},d.guid=g.guid||(g.guid=m.guid++)),this.each(function(){m.event.add(this,a,d,c,b)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,m(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return(b===!1||"function"==typeof b)&&(c=b,b=void 0),c===!1&&(c=bb),this.each(function(){m.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){m.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?m.event.trigger(a,b,c,!0):void 0}});function db(a){var b=eb.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}var eb="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",fb=/ jQuery\d+="(?:null|\d+)"/g,gb=new RegExp("<(?:"+eb+")[\\s/>]","i"),hb=/^\s+/,ib=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,jb=/<([\w:]+)/,kb=/<tbody/i,lb=/<|&#?\w+;/,mb=/<(?:script|style|link)/i,nb=/checked\s*(?:[^=]|=\s*.checked.)/i,ob=/^$|\/(?:java|ecma)script/i,pb=/^true\/(.*)/,qb=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,rb={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:k.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},sb=db(y),tb=sb.appendChild(y.createElement("div"));rb.optgroup=rb.option,rb.tbody=rb.tfoot=rb.colgroup=rb.caption=rb.thead,rb.th=rb.td;function ub(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==K?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==K?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||m.nodeName(d,b)?f.push(d):m.merge(f,ub(d,b));return void 0===b||b&&m.nodeName(a,b)?m.merge([a],f):f}function vb(a){W.test(a.type)&&(a.defaultChecked=a.checked)}function wb(a,b){return m.nodeName(a,"table")&&m.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function xb(a){return a.type=(null!==m.find.attr(a,"type"))+"/"+a.type,a}function yb(a){var b=pb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function zb(a,b){for(var c,d=0;null!=(c=a[d]);d++)m._data(c,"globalEval",!b||m._data(b[d],"globalEval"))}function Ab(a,b){if(1===b.nodeType&&m.hasData(a)){var c,d,e,f=m._data(a),g=m._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)m.event.add(b,c,h[c][d])}g.data&&(g.data=m.extend({},g.data))}}function Bb(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!k.noCloneEvent&&b[m.expando]){e=m._data(b);for(d in e.events)m.removeEvent(b,d,e.handle);b.removeAttribute(m.expando)}"script"===c&&b.text!==a.text?(xb(b).text=a.text,yb(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),k.html5Clone&&a.innerHTML&&!m.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&W.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}m.extend({clone:function(a,b,c){var d,e,f,g,h,i=m.contains(a.ownerDocument,a);if(k.html5Clone||m.isXMLDoc(a)||!gb.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(tb.innerHTML=a.outerHTML,tb.removeChild(f=tb.firstChild)),!(k.noCloneEvent&&k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||m.isXMLDoc(a)))for(d=ub(f),h=ub(a),g=0;null!=(e=h[g]);++g)d[g]&&Bb(e,d[g]);if(b)if(c)for(h=h||ub(a),d=d||ub(f),g=0;null!=(e=h[g]);g++)Ab(e,d[g]);else Ab(a,f);return d=ub(f,"script"),d.length>0&&zb(d,!i&&ub(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,l,n=a.length,o=db(b),p=[],q=0;n>q;q++)if(f=a[q],f||0===f)if("object"===m.type(f))m.merge(p,f.nodeType?[f]:f);else if(lb.test(f)){h=h||o.appendChild(b.createElement("div")),i=(jb.exec(f)||["",""])[1].toLowerCase(),l=rb[i]||rb._default,h.innerHTML=l[1]+f.replace(ib,"<$1></$2>")+l[2],e=l[0];while(e--)h=h.lastChild;if(!k.leadingWhitespace&&hb.test(f)&&p.push(b.createTextNode(hb.exec(f)[0])),!k.tbody){f="table"!==i||kb.test(f)?"<table>"!==l[1]||kb.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)m.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}m.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),k.appendChecked||m.grep(ub(p,"input"),vb),q=0;while(f=p[q++])if((!d||-1===m.inArray(f,d))&&(g=m.contains(f.ownerDocument,f),h=ub(o.appendChild(f),"script"),g&&zb(h),c)){e=0;while(f=h[e++])ob.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=m.expando,j=m.cache,l=k.deleteExpando,n=m.event.special;null!=(d=a[h]);h++)if((b||m.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)n[e]?m.event.remove(d,e):m.removeEvent(d,e,g.handle);j[f]&&(delete j[f],l?delete d[i]:typeof d.removeAttribute!==K?d.removeAttribute(i):d[i]=null,c.push(f))}}}),m.fn.extend({text:function(a){return V(this,function(a){return void 0===a?m.text(this):this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?m.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||m.cleanData(ub(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&zb(ub(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&m.cleanData(ub(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&m.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return V(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(fb,""):void 0;if(!("string"!=typeof a||mb.test(a)||!k.htmlSerialize&&gb.test(a)||!k.leadingWhitespace&&hb.test(a)||rb[(jb.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(ib,"<$1></$2>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(m.cleanData(ub(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,m.cleanData(ub(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,n=this,o=l-1,p=a[0],q=m.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&nb.test(p))return this.each(function(c){var d=n.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(i=m.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=m.map(ub(i,"script"),xb),f=g.length;l>j;j++)d=i,j!==o&&(d=m.clone(d,!0,!0),f&&m.merge(g,ub(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,m.map(g,yb),j=0;f>j;j++)d=g[j],ob.test(d.type||"")&&!m._data(d,"globalEval")&&m.contains(h,d)&&(d.src?m._evalUrl&&m._evalUrl(d.src):m.globalEval((d.text||d.textContent||d.innerHTML||"").replace(qb,"")));i=c=null}return this}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){m.fn[a]=function(a){for(var c,d=0,e=[],g=m(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),m(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Cb,Db={};function Eb(b,c){var d,e=m(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:m.css(e[0],"display");return e.detach(),f}function Fb(a){var b=y,c=Db[a];return c||(c=Eb(a,b),"none"!==c&&c||(Cb=(Cb||m("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=(Cb[0].contentWindow||Cb[0].contentDocument).document,b.write(),b.close(),c=Eb(a,b),Cb.detach()),Db[a]=c),c}!function(){var a;k.shrinkWrapBlocks=function(){if(null!=a)return a;a=!1;var b,c,d;return c=y.getElementsByTagName("body")[0],c&&c.style?(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",b.appendChild(y.createElement("div")).style.width="5px",a=3!==b.offsetWidth),c.removeChild(d),a):void 0}}();var Gb=/^margin/,Hb=new RegExp("^("+S+")(?!px)[a-z%]+$","i"),Ib,Jb,Kb=/^(top|right|bottom|left)$/;a.getComputedStyle?(Ib=function(a){return a.ownerDocument.defaultView.getComputedStyle(a,null)},Jb=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Ib(a),g=c?c.getPropertyValue(b)||c[b]:void 0,c&&(""!==g||m.contains(a.ownerDocument,a)||(g=m.style(a,b)),Hb.test(g)&&Gb.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0===g?g:g+""}):y.documentElement.currentStyle&&(Ib=function(a){return a.currentStyle},Jb=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Ib(a),g=c?c[b]:void 0,null==g&&h&&h[b]&&(g=h[b]),Hb.test(g)&&!Kb.test(b)&&(d=h.left,e=a.runtimeStyle,f=e&&e.left,f&&(e.left=a.currentStyle.left),h.left="fontSize"===b?"1em":g,g=h.pixelLeft+"px",h.left=d,f&&(e.left=f)),void 0===g?g:g+""||"auto"});function Lb(a,b){return{get:function(){var c=a();if(null!=c)return c?void delete this.get:(this.get=b).apply(this,arguments)}}}!function(){var b,c,d,e,f,g,h;if(b=y.createElement("div"),b.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",d=b.getElementsByTagName("a")[0],c=d&&d.style){c.cssText="float:left;opacity:.5",k.opacity="0.5"===c.opacity,k.cssFloat=!!c.cssFloat,b.style.backgroundClip="content-box",b.cloneNode(!0).style.backgroundClip="",k.clearCloneStyle="content-box"===b.style.backgroundClip,k.boxSizing=""===c.boxSizing||""===c.MozBoxSizing||""===c.WebkitBoxSizing,m.extend(k,{reliableHiddenOffsets:function(){return null==g&&i(),g},boxSizingReliable:function(){return null==f&&i(),f},pixelPosition:function(){return null==e&&i(),e},reliableMarginRight:function(){return null==h&&i(),h}});function i(){var b,c,d,i;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),b.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",e=f=!1,h=!0,a.getComputedStyle&&(e="1%"!==(a.getComputedStyle(b,null)||{}).top,f="4px"===(a.getComputedStyle(b,null)||{width:"4px"}).width,i=b.appendChild(y.createElement("div")),i.style.cssText=b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",i.style.marginRight=i.style.width="0",b.style.width="1px",h=!parseFloat((a.getComputedStyle(i,null)||{}).marginRight)),b.innerHTML="<table><tr><td></td><td>t</td></tr></table>",i=b.getElementsByTagName("td"),i[0].style.cssText="margin:0;border:0;padding:0;display:none",g=0===i[0].offsetHeight,g&&(i[0].style.display="",i[1].style.display="none",g=0===i[0].offsetHeight),c.removeChild(d))}}}(),m.swap=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};var Mb=/alpha\([^)]*\)/i,Nb=/opacity\s*=\s*([^)]*)/,Ob=/^(none|table(?!-c[ea]).+)/,Pb=new RegExp("^("+S+")(.*)$","i"),Qb=new RegExp("^([+-])=("+S+")","i"),Rb={position:"absolute",visibility:"hidden",display:"block"},Sb={letterSpacing:"0",fontWeight:"400"},Tb=["Webkit","O","Moz","ms"];function Ub(a,b){if(b in a)return b;var c=b.charAt(0).toUpperCase()+b.slice(1),d=b,e=Tb.length;while(e--)if(b=Tb[e]+c,b in a)return b;return d}function Vb(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=m._data(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&U(d)&&(f[g]=m._data(d,"olddisplay",Fb(d.nodeName)))):(e=U(d),(c&&"none"!==c||!e)&&m._data(d,"olddisplay",e?c:m.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}function Wb(a,b,c){var d=Pb.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function Xb(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=m.css(a,c+T[f],!0,e)),d?("content"===c&&(g-=m.css(a,"padding"+T[f],!0,e)),"margin"!==c&&(g-=m.css(a,"border"+T[f]+"Width",!0,e))):(g+=m.css(a,"padding"+T[f],!0,e),"padding"!==c&&(g+=m.css(a,"border"+T[f]+"Width",!0,e)));return g}function Yb(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Ib(a),g=k.boxSizing&&"border-box"===m.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=Jb(a,b,f),(0>e||null==e)&&(e=a.style[b]),Hb.test(e))return e;d=g&&(k.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+Xb(a,b,c||(g?"border":"content"),d,f)+"px"}m.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Jb(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":k.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=m.camelCase(b),i=a.style;if(b=m.cssProps[h]||(m.cssProps[h]=Ub(i,h)),g=m.cssHooks[b]||m.cssHooks[h],void 0===c)return g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b];if(f=typeof c,"string"===f&&(e=Qb.exec(c))&&(c=(e[1]+1)*e[2]+parseFloat(m.css(a,b)),f="number"),null!=c&&c===c&&("number"!==f||m.cssNumber[h]||(c+="px"),k.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),!(g&&"set"in g&&void 0===(c=g.set(a,c,d)))))try{i[b]=c}catch(j){}}},css:function(a,b,c,d){var e,f,g,h=m.camelCase(b);return b=m.cssProps[h]||(m.cssProps[h]=Ub(a.style,h)),g=m.cssHooks[b]||m.cssHooks[h],g&&"get"in g&&(f=g.get(a,!0,c)),void 0===f&&(f=Jb(a,b,d)),"normal"===f&&b in Sb&&(f=Sb[b]),""===c||c?(e=parseFloat(f),c===!0||m.isNumeric(e)?e||0:f):f}}),m.each(["height","width"],function(a,b){m.cssHooks[b]={get:function(a,c,d){return c?Ob.test(m.css(a,"display"))&&0===a.offsetWidth?m.swap(a,Rb,function(){return Yb(a,b,d)}):Yb(a,b,d):void 0},set:function(a,c,d){var e=d&&Ib(a);return Wb(a,c,d?Xb(a,b,d,k.boxSizing&&"border-box"===m.css(a,"boxSizing",!1,e),e):0)}}}),k.opacity||(m.cssHooks.opacity={get:function(a,b){return Nb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=m.isNumeric(b)?"alpha(opacity="+100*b+")":"",f=d&&d.filter||c.filter||"";c.zoom=1,(b>=1||""===b)&&""===m.trim(f.replace(Mb,""))&&c.removeAttribute&&(c.removeAttribute("filter"),""===b||d&&!d.filter)||(c.filter=Mb.test(f)?f.replace(Mb,e):f+" "+e)}}),m.cssHooks.marginRight=Lb(k.reliableMarginRight,function(a,b){return b?m.swap(a,{display:"inline-block"},Jb,[a,"marginRight"]):void 0}),m.each({margin:"",padding:"",border:"Width"},function(a,b){m.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+T[d]+b]=f[d]||f[d-2]||f[0];return e}},Gb.test(a)||(m.cssHooks[a+b].set=Wb)}),m.fn.extend({css:function(a,b){return V(this,function(a,b,c){var d,e,f={},g=0;if(m.isArray(b)){for(d=Ib(a),e=b.length;e>g;g++)f[b[g]]=m.css(a,b[g],!1,d);return f}return void 0!==c?m.style(a,b,c):m.css(a,b)},a,b,arguments.length>1)},show:function(){return Vb(this,!0)},hide:function(){return Vb(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){U(this)?m(this).show():m(this).hide()})}});function Zb(a,b,c,d,e){return new Zb.prototype.init(a,b,c,d,e)}m.Tween=Zb,Zb.prototype={constructor:Zb,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(m.cssNumber[c]?"":"px")
|
4 |
+
},cur:function(){var a=Zb.propHooks[this.prop];return a&&a.get?a.get(this):Zb.propHooks._default.get(this)},run:function(a){var b,c=Zb.propHooks[this.prop];return this.pos=b=this.options.duration?m.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Zb.propHooks._default.set(this),this}},Zb.prototype.init.prototype=Zb.prototype,Zb.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=m.css(a.elem,a.prop,""),b&&"auto"!==b?b:0):a.elem[a.prop]},set:function(a){m.fx.step[a.prop]?m.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[m.cssProps[a.prop]]||m.cssHooks[a.prop])?m.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},Zb.propHooks.scrollTop=Zb.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},m.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},m.fx=Zb.prototype.init,m.fx.step={};var $b,_b,ac=/^(?:toggle|show|hide)$/,bc=new RegExp("^(?:([+-])=|)("+S+")([a-z%]*)$","i"),cc=/queueHooks$/,dc=[ic],ec={"*":[function(a,b){var c=this.createTween(a,b),d=c.cur(),e=bc.exec(b),f=e&&e[3]||(m.cssNumber[a]?"":"px"),g=(m.cssNumber[a]||"px"!==f&&+d)&&bc.exec(m.css(c.elem,a)),h=1,i=20;if(g&&g[3]!==f){f=f||g[3],e=e||[],g=+d||1;do h=h||".5",g/=h,m.style(c.elem,a,g+f);while(h!==(h=c.cur()/d)&&1!==h&&--i)}return e&&(g=c.start=+g||+d||0,c.unit=f,c.end=e[1]?g+(e[1]+1)*e[2]:+e[2]),c}]};function fc(){return setTimeout(function(){$b=void 0}),$b=m.now()}function gc(a,b){var c,d={height:a},e=0;for(b=b?1:0;4>e;e+=2-b)c=T[e],d["margin"+c]=d["padding"+c]=a;return b&&(d.opacity=d.width=a),d}function hc(a,b,c){for(var d,e=(ec[b]||[]).concat(ec["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function ic(a,b,c){var d,e,f,g,h,i,j,l,n=this,o={},p=a.style,q=a.nodeType&&U(a),r=m._data(a,"fxshow");c.queue||(h=m._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,n.always(function(){n.always(function(){h.unqueued--,m.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[p.overflow,p.overflowX,p.overflowY],j=m.css(a,"display"),l="none"===j?m._data(a,"olddisplay")||Fb(a.nodeName):j,"inline"===l&&"none"===m.css(a,"float")&&(k.inlineBlockNeedsLayout&&"inline"!==Fb(a.nodeName)?p.zoom=1:p.display="inline-block")),c.overflow&&(p.overflow="hidden",k.shrinkWrapBlocks()||n.always(function(){p.overflow=c.overflow[0],p.overflowX=c.overflow[1],p.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],ac.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(q?"hide":"show")){if("show"!==e||!r||void 0===r[d])continue;q=!0}o[d]=r&&r[d]||m.style(a,d)}else j=void 0;if(m.isEmptyObject(o))"inline"===("none"===j?Fb(a.nodeName):j)&&(p.display=j);else{r?"hidden"in r&&(q=r.hidden):r=m._data(a,"fxshow",{}),f&&(r.hidden=!q),q?m(a).show():n.done(function(){m(a).hide()}),n.done(function(){var b;m._removeData(a,"fxshow");for(b in o)m.style(a,b,o[b])});for(d in o)g=hc(q?r[d]:0,d,n),d in r||(r[d]=g.start,q&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function jc(a,b){var c,d,e,f,g;for(c in a)if(d=m.camelCase(c),e=b[d],f=a[c],m.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=m.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function kc(a,b,c){var d,e,f=0,g=dc.length,h=m.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=$b||fc(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:m.extend({},b),opts:m.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:$b||fc(),duration:c.duration,tweens:[],createTween:function(b,c){var d=m.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;for(jc(k,j.opts.specialEasing);g>f;f++)if(d=dc[f].call(j,a,k,j.opts))return d;return m.map(k,hc,j),m.isFunction(j.opts.start)&&j.opts.start.call(a,j),m.fx.timer(m.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}m.Animation=m.extend(kc,{tweener:function(a,b){m.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;e>d;d++)c=a[d],ec[c]=ec[c]||[],ec[c].unshift(b)},prefilter:function(a,b){b?dc.unshift(a):dc.push(a)}}),m.speed=function(a,b,c){var d=a&&"object"==typeof a?m.extend({},a):{complete:c||!c&&b||m.isFunction(a)&&a,duration:a,easing:c&&b||b&&!m.isFunction(b)&&b};return d.duration=m.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in m.fx.speeds?m.fx.speeds[d.duration]:m.fx.speeds._default,(null==d.queue||d.queue===!0)&&(d.queue="fx"),d.old=d.complete,d.complete=function(){m.isFunction(d.old)&&d.old.call(this),d.queue&&m.dequeue(this,d.queue)},d},m.fn.extend({fadeTo:function(a,b,c,d){return this.filter(U).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=m.isEmptyObject(a),f=m.speed(b,c,d),g=function(){var b=kc(this,m.extend({},a),f);(e||m._data(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=m.timers,g=m._data(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&cc.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));(b||!c)&&m.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=m._data(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=m.timers,g=d?d.length:0;for(c.finish=!0,m.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),m.each(["toggle","show","hide"],function(a,b){var c=m.fn[b];m.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(gc(b,!0),a,d,e)}}),m.each({slideDown:gc("show"),slideUp:gc("hide"),slideToggle:gc("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){m.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),m.timers=[],m.fx.tick=function(){var a,b=m.timers,c=0;for($b=m.now();c<b.length;c++)a=b[c],a()||b[c]!==a||b.splice(c--,1);b.length||m.fx.stop(),$b=void 0},m.fx.timer=function(a){m.timers.push(a),a()?m.fx.start():m.timers.pop()},m.fx.interval=13,m.fx.start=function(){_b||(_b=setInterval(m.fx.tick,m.fx.interval))},m.fx.stop=function(){clearInterval(_b),_b=null},m.fx.speeds={slow:600,fast:200,_default:400},m.fn.delay=function(a,b){return a=m.fx?m.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},function(){var a,b,c,d,e;b=y.createElement("div"),b.setAttribute("className","t"),b.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",d=b.getElementsByTagName("a")[0],c=y.createElement("select"),e=c.appendChild(y.createElement("option")),a=b.getElementsByTagName("input")[0],d.style.cssText="top:1px",k.getSetAttribute="t"!==b.className,k.style=/top/.test(d.getAttribute("style")),k.hrefNormalized="/a"===d.getAttribute("href"),k.checkOn=!!a.value,k.optSelected=e.selected,k.enctype=!!y.createElement("form").enctype,c.disabled=!0,k.optDisabled=!e.disabled,a=y.createElement("input"),a.setAttribute("value",""),k.input=""===a.getAttribute("value"),a.value="t",a.setAttribute("type","radio"),k.radioValue="t"===a.value}();var lc=/\r/g;m.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=m.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,m(this).val()):a,null==e?e="":"number"==typeof e?e+="":m.isArray(e)&&(e=m.map(e,function(a){return null==a?"":a+""})),b=m.valHooks[this.type]||m.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=m.valHooks[e.type]||m.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(lc,""):null==c?"":c)}}}),m.extend({valHooks:{option:{get:function(a){var b=m.find.attr(a,"value");return null!=b?b:m.trim(m.text(a))}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],!(!c.selected&&i!==e||(k.optDisabled?c.disabled:null!==c.getAttribute("disabled"))||c.parentNode.disabled&&m.nodeName(c.parentNode,"optgroup"))){if(b=m(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=m.makeArray(b),g=e.length;while(g--)if(d=e[g],m.inArray(m.valHooks.option.get(d),f)>=0)try{d.selected=c=!0}catch(h){d.scrollHeight}else d.selected=!1;return c||(a.selectedIndex=-1),e}}}}),m.each(["radio","checkbox"],function(){m.valHooks[this]={set:function(a,b){return m.isArray(b)?a.checked=m.inArray(m(a).val(),b)>=0:void 0}},k.checkOn||(m.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var mc,nc,oc=m.expr.attrHandle,pc=/^(?:checked|selected)$/i,qc=k.getSetAttribute,rc=k.input;m.fn.extend({attr:function(a,b){return V(this,m.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){m.removeAttr(this,a)})}}),m.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(a&&3!==f&&8!==f&&2!==f)return typeof a.getAttribute===K?m.prop(a,b,c):(1===f&&m.isXMLDoc(a)||(b=b.toLowerCase(),d=m.attrHooks[b]||(m.expr.match.bool.test(b)?nc:mc)),void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=m.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void m.removeAttr(a,b))},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(E);if(f&&1===a.nodeType)while(c=f[e++])d=m.propFix[c]||c,m.expr.match.bool.test(c)?rc&&qc||!pc.test(c)?a[d]=!1:a[m.camelCase("default-"+c)]=a[d]=!1:m.attr(a,c,""),a.removeAttribute(qc?c:d)},attrHooks:{type:{set:function(a,b){if(!k.radioValue&&"radio"===b&&m.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}}}),nc={set:function(a,b,c){return b===!1?m.removeAttr(a,c):rc&&qc||!pc.test(c)?a.setAttribute(!qc&&m.propFix[c]||c,c):a[m.camelCase("default-"+c)]=a[c]=!0,c}},m.each(m.expr.match.bool.source.match(/\w+/g),function(a,b){var c=oc[b]||m.find.attr;oc[b]=rc&&qc||!pc.test(b)?function(a,b,d){var e,f;return d||(f=oc[b],oc[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,oc[b]=f),e}:function(a,b,c){return c?void 0:a[m.camelCase("default-"+b)]?b.toLowerCase():null}}),rc&&qc||(m.attrHooks.value={set:function(a,b,c){return m.nodeName(a,"input")?void(a.defaultValue=b):mc&&mc.set(a,b,c)}}),qc||(mc={set:function(a,b,c){var d=a.getAttributeNode(c);return d||a.setAttributeNode(d=a.ownerDocument.createAttribute(c)),d.value=b+="","value"===c||b===a.getAttribute(c)?b:void 0}},oc.id=oc.name=oc.coords=function(a,b,c){var d;return c?void 0:(d=a.getAttributeNode(b))&&""!==d.value?d.value:null},m.valHooks.button={get:function(a,b){var c=a.getAttributeNode(b);return c&&c.specified?c.value:void 0},set:mc.set},m.attrHooks.contenteditable={set:function(a,b,c){mc.set(a,""===b?!1:b,c)}},m.each(["width","height"],function(a,b){m.attrHooks[b]={set:function(a,c){return""===c?(a.setAttribute(b,"auto"),c):void 0}}})),k.style||(m.attrHooks.style={get:function(a){return a.style.cssText||void 0},set:function(a,b){return a.style.cssText=b+""}});var sc=/^(?:input|select|textarea|button|object)$/i,tc=/^(?:a|area)$/i;m.fn.extend({prop:function(a,b){return V(this,m.prop,a,b,arguments.length>1)},removeProp:function(a){return a=m.propFix[a]||a,this.each(function(){try{this[a]=void 0,delete this[a]}catch(b){}})}}),m.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,b,c){var d,e,f,g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return f=1!==g||!m.isXMLDoc(a),f&&(b=m.propFix[b]||b,e=m.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=m.find.attr(a,"tabindex");return b?parseInt(b,10):sc.test(a.nodeName)||tc.test(a.nodeName)&&a.href?0:-1}}}}),k.hrefNormalized||m.each(["href","src"],function(a,b){m.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}}),k.optSelected||(m.propHooks.selected={get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null}}),m.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){m.propFix[this.toLowerCase()]=this}),k.enctype||(m.propFix.enctype="encoding");var uc=/[\t\r\n\f]/g;m.fn.extend({addClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j="string"==typeof a&&a;if(m.isFunction(a))return this.each(function(b){m(this).addClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(E)||[];i>h;h++)if(c=this[h],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(uc," "):" ")){f=0;while(e=b[f++])d.indexOf(" "+e+" ")<0&&(d+=e+" ");g=m.trim(d),c.className!==g&&(c.className=g)}return this},removeClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j=0===arguments.length||"string"==typeof a&&a;if(m.isFunction(a))return this.each(function(b){m(this).removeClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(E)||[];i>h;h++)if(c=this[h],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(uc," "):"")){f=0;while(e=b[f++])while(d.indexOf(" "+e+" ")>=0)d=d.replace(" "+e+" "," ");g=a?m.trim(d):"",c.className!==g&&(c.className=g)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):this.each(m.isFunction(a)?function(c){m(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if("string"===c){var b,d=0,e=m(this),f=a.match(E)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(c===K||"boolean"===c)&&(this.className&&m._data(this,"__className__",this.className),this.className=this.className||a===!1?"":m._data(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;d>c;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(uc," ").indexOf(b)>=0)return!0;return!1}}),m.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){m.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),m.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});var vc=m.now(),wc=/\?/,xc=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;m.parseJSON=function(b){if(a.JSON&&a.JSON.parse)return a.JSON.parse(b+"");var c,d=null,e=m.trim(b+"");return e&&!m.trim(e.replace(xc,function(a,b,e,f){return c&&b&&(d=0),0===d?a:(c=e||b,d+=!f-!e,"")}))?Function("return "+e)():m.error("Invalid JSON: "+b)},m.parseXML=function(b){var c,d;if(!b||"string"!=typeof b)return null;try{a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b))}catch(e){c=void 0}return c&&c.documentElement&&!c.getElementsByTagName("parsererror").length||m.error("Invalid XML: "+b),c};var yc,zc,Ac=/#.*$/,Bc=/([?&])_=[^&]*/,Cc=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Dc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ec=/^(?:GET|HEAD)$/,Fc=/^\/\//,Gc=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Hc={},Ic={},Jc="*/".concat("*");try{zc=location.href}catch(Kc){zc=y.createElement("a"),zc.href="",zc=zc.href}yc=Gc.exec(zc.toLowerCase())||[];function Lc(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(E)||[];if(m.isFunction(c))while(d=f[e++])"+"===d.charAt(0)?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Mc(a,b,c,d){var e={},f=a===Ic;function g(h){var i;return e[h]=!0,m.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Nc(a,b){var c,d,e=m.ajaxSettings.flatOptions||{};for(d in b)void 0!==b[d]&&((e[d]?a:c||(c={}))[d]=b[d]);return c&&m.extend(!0,a,c),a}function Oc(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===e&&(e=a.mimeType||b.getResponseHeader("Content-Type"));if(e)for(g in h)if(h[g]&&h[g].test(e)){i.unshift(g);break}if(i[0]in c)f=i[0];else{for(g in c){if(!i[0]||a.converters[g+" "+i[0]]){f=g;break}d||(d=g)}f=f||d}return f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function Pc(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:zc,type:"GET",isLocal:Dc.test(yc[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Jc,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":m.parseJSON,"text xml":m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Nc(Nc(a,m.ajaxSettings),b):Nc(m.ajaxSettings,a)},ajaxPrefilter:Lc(Hc),ajaxTransport:Lc(Ic),ajax:function(a,b){"object"==typeof a&&(b=a,a=void 0),b=b||{};var c,d,e,f,g,h,i,j,k=m.ajaxSetup({},b),l=k.context||k,n=k.context&&(l.nodeType||l.jquery)?m(l):m.event,o=m.Deferred(),p=m.Callbacks("once memory"),q=k.statusCode||{},r={},s={},t=0,u="canceled",v={readyState:0,getResponseHeader:function(a){var b;if(2===t){if(!j){j={};while(b=Cc.exec(f))j[b[1].toLowerCase()]=b[2]}b=j[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===t?f:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return t||(a=s[c]=s[c]||a,r[a]=b),this},overrideMimeType:function(a){return t||(k.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>t)for(b in a)q[b]=[q[b],a[b]];else v.always(a[v.status]);return this},abort:function(a){var b=a||u;return i&&i.abort(b),x(0,b),this}};if(o.promise(v).complete=p.add,v.success=v.done,v.error=v.fail,k.url=((a||k.url||zc)+"").replace(Ac,"").replace(Fc,yc[1]+"//"),k.type=b.method||b.type||k.method||k.type,k.dataTypes=m.trim(k.dataType||"*").toLowerCase().match(E)||[""],null==k.crossDomain&&(c=Gc.exec(k.url.toLowerCase()),k.crossDomain=!(!c||c[1]===yc[1]&&c[2]===yc[2]&&(c[3]||("http:"===c[1]?"80":"443"))===(yc[3]||("http:"===yc[1]?"80":"443")))),k.data&&k.processData&&"string"!=typeof k.data&&(k.data=m.param(k.data,k.traditional)),Mc(Hc,k,b,v),2===t)return v;h=k.global,h&&0===m.active++&&m.event.trigger("ajaxStart"),k.type=k.type.toUpperCase(),k.hasContent=!Ec.test(k.type),e=k.url,k.hasContent||(k.data&&(e=k.url+=(wc.test(e)?"&":"?")+k.data,delete k.data),k.cache===!1&&(k.url=Bc.test(e)?e.replace(Bc,"$1_="+vc++):e+(wc.test(e)?"&":"?")+"_="+vc++)),k.ifModified&&(m.lastModified[e]&&v.setRequestHeader("If-Modified-Since",m.lastModified[e]),m.etag[e]&&v.setRequestHeader("If-None-Match",m.etag[e])),(k.data&&k.hasContent&&k.contentType!==!1||b.contentType)&&v.setRequestHeader("Content-Type",k.contentType),v.setRequestHeader("Accept",k.dataTypes[0]&&k.accepts[k.dataTypes[0]]?k.accepts[k.dataTypes[0]]+("*"!==k.dataTypes[0]?", "+Jc+"; q=0.01":""):k.accepts["*"]);for(d in k.headers)v.setRequestHeader(d,k.headers[d]);if(k.beforeSend&&(k.beforeSend.call(l,v,k)===!1||2===t))return v.abort();u="abort";for(d in{success:1,error:1,complete:1})v[d](k[d]);if(i=Mc(Ic,k,b,v)){v.readyState=1,h&&n.trigger("ajaxSend",[v,k]),k.async&&k.timeout>0&&(g=setTimeout(function(){v.abort("timeout")},k.timeout));try{t=1,i.send(r,x)}catch(w){if(!(2>t))throw w;x(-1,w)}}else x(-1,"No Transport");function x(a,b,c,d){var j,r,s,u,w,x=b;2!==t&&(t=2,g&&clearTimeout(g),i=void 0,f=d||"",v.readyState=a>0?4:0,j=a>=200&&300>a||304===a,c&&(u=Oc(k,v,c)),u=Pc(k,u,v,j),j?(k.ifModified&&(w=v.getResponseHeader("Last-Modified"),w&&(m.lastModified[e]=w),w=v.getResponseHeader("etag"),w&&(m.etag[e]=w)),204===a||"HEAD"===k.type?x="nocontent":304===a?x="notmodified":(x=u.state,r=u.data,s=u.error,j=!s)):(s=x,(a||!x)&&(x="error",0>a&&(a=0))),v.status=a,v.statusText=(b||x)+"",j?o.resolveWith(l,[r,x,v]):o.rejectWith(l,[v,x,s]),v.statusCode(q),q=void 0,h&&n.trigger(j?"ajaxSuccess":"ajaxError",[v,k,j?r:s]),p.fireWith(l,[v,x]),h&&(n.trigger("ajaxComplete",[v,k]),--m.active||m.event.trigger("ajaxStop")))}return v},getJSON:function(a,b,c){return m.get(a,b,c,"json")},getScript:function(a,b){return m.get(a,void 0,b,"script")}}),m.each(["get","post"],function(a,b){m[b]=function(a,c,d,e){return m.isFunction(c)&&(e=e||d,d=c,c=void 0),m.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),m.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){m.fn[b]=function(a){return this.on(b,a)}}),m._evalUrl=function(a){return m.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},m.fn.extend({wrapAll:function(a){if(m.isFunction(a))return this.each(function(b){m(this).wrapAll(a.call(this,b))});if(this[0]){var b=m(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&1===a.firstChild.nodeType)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return this.each(m.isFunction(a)?function(b){m(this).wrapInner(a.call(this,b))}:function(){var b=m(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=m.isFunction(a);return this.each(function(c){m(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){m.nodeName(this,"body")||m(this).replaceWith(this.childNodes)}).end()}}),m.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0||!k.reliableHiddenOffsets()&&"none"===(a.style&&a.style.display||m.css(a,"display"))},m.expr.filters.visible=function(a){return!m.expr.filters.hidden(a)};var Qc=/%20/g,Rc=/\[\]$/,Sc=/\r?\n/g,Tc=/^(?:submit|button|image|reset|file)$/i,Uc=/^(?:input|select|textarea|keygen)/i;function Vc(a,b,c,d){var e;if(m.isArray(b))m.each(b,function(b,e){c||Rc.test(a)?d(a,e):Vc(a+"["+("object"==typeof e?b:"")+"]",e,c,d)});else if(c||"object"!==m.type(b))d(a,b);else for(e in b)Vc(a+"["+e+"]",b[e],c,d)}m.param=function(a,b){var c,d=[],e=function(a,b){b=m.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=m.ajaxSettings&&m.ajaxSettings.traditional),m.isArray(a)||a.jquery&&!m.isPlainObject(a))m.each(a,function(){e(this.name,this.value)});else for(c in a)Vc(c,a[c],b,e);return d.join("&").replace(Qc,"+")},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=m.prop(this,"elements");return a?m.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!m(this).is(":disabled")&&Uc.test(this.nodeName)&&!Tc.test(a)&&(this.checked||!W.test(a))}).map(function(a,b){var c=m(this).val();return null==c?null:m.isArray(c)?m.map(c,function(a){return{name:b.name,value:a.replace(Sc,"\r\n")}}):{name:b.name,value:c.replace(Sc,"\r\n")}}).get()}}),m.ajaxSettings.xhr=void 0!==a.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Zc()||$c()}:Zc;var Wc=0,Xc={},Yc=m.ajaxSettings.xhr();a.ActiveXObject&&m(a).on("unload",function(){for(var a in Xc)Xc[a](void 0,!0)}),k.cors=!!Yc&&"withCredentials"in Yc,Yc=k.ajax=!!Yc,Yc&&m.ajaxTransport(function(a){if(!a.crossDomain||k.cors){var b;return{send:function(c,d){var e,f=a.xhr(),g=++Wc;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)f[e]=a.xhrFields[e];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest");for(e in c)void 0!==c[e]&&f.setRequestHeader(e,c[e]+"");f.send(a.hasContent&&a.data||null),b=function(c,e){var h,i,j;if(b&&(e||4===f.readyState))if(delete Xc[g],b=void 0,f.onreadystatechange=m.noop,e)4!==f.readyState&&f.abort();else{j={},h=f.status,"string"==typeof f.responseText&&(j.text=f.responseText);try{i=f.statusText}catch(k){i=""}h||!a.isLocal||a.crossDomain?1223===h&&(h=204):h=j.text?200:404}j&&d(h,i,j,f.getAllResponseHeaders())},a.async?4===f.readyState?setTimeout(b):f.onreadystatechange=Xc[g]=b:b()},abort:function(){b&&b(void 0,!0)}}}});function Zc(){try{return new a.XMLHttpRequest}catch(b){}}function $c(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}m.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return m.globalEval(a),a}}}),m.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),m.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=y.head||m("head")[0]||y.documentElement;return{send:function(d,e){b=y.createElement("script"),b.async=!0,a.scriptCharset&&(b.charset=a.scriptCharset),b.src=a.url,b.onload=b.onreadystatechange=function(a,c){(c||!b.readyState||/loaded|complete/.test(b.readyState))&&(b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),b=null,c||e(200,"success"))},c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(void 0,!0)}}}});var _c=[],ad=/(=)\?(?=&|$)|\?\?/;m.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=_c.pop()||m.expando+"_"+vc++;return this[a]=!0,a}}),m.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(ad.test(b.url)?"url":"string"==typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&ad.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=m.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(ad,"$1"+e):b.jsonp!==!1&&(b.url+=(wc.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||m.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,_c.push(e)),g&&m.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),m.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||y;var d=u.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:(d=m.buildFragment([a],b,e),e&&e.length&&m(e).remove(),m.merge([],d.childNodes))};var bd=m.fn.load;m.fn.load=function(a,b,c){if("string"!=typeof a&&bd)return bd.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>=0&&(d=m.trim(a.slice(h,a.length)),a=a.slice(0,h)),m.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(f="POST"),g.length>0&&m.ajax({url:a,type:f,dataType:"html",data:b}).done(function(a){e=arguments,g.html(d?m("<div>").append(m.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,e||[a.responseText,b,a])}),this},m.expr.filters.animated=function(a){return m.grep(m.timers,function(b){return a===b.elem}).length};var cd=a.document.documentElement;function dd(a){return m.isWindow
|