MP3-jPlayer - Version 1.8.9

Version Description

  • Fix for Android/Chrome. For info on the fix see Mark Panaghiston's posts at the bottom of this jPlayer thread.
Download this release

Release Info

Developer simon.ward
Plugin Icon 128x128 MP3-jPlayer
Version 1.8.9
Comparing to
See all releases

Code changes from version 1.8.8 to 1.8.9

css/mp3j-admin-1.8.css CHANGED
@@ -1,88 +1,88 @@
1
- #pickerwrap { position:relative; padding: 0px; background: #444; margin:30px 0px 0px 10px; width:380px; height:208px; border: 0px; }
2
- .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; }
3
- .addcol:hover { border:1px solid #e0e0e0; color:#666; background:#eee; }
4
- .bl { width: 30px; padding: 5px 0px 6px 30px; margin:0px 0px 0px 0px; height: 30px; border:1px solid #aaa; cursor:pointer; }
5
- #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; }
6
- #plugin br { CLEAR: both; MARGIN: 0; PADDING: 0; }
7
- #plugHEX { position: absolute; top: 85px; left: 33px; COLOR: #FFD000; color:#f0f0f0; width: 70px; height:25px; }
8
- #plugCUR { position: absolute; width: 81px; height: 57px; font-size: 1px; background: transparent; border: 1px solid #555; top: 21px; left: 33px; }
9
- #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; }
10
- #SVslide { BACKGROUND: url('images/slide.gif'); HEIGHT: 9px; WIDTH: 9px; POSITION: absolute; _font-size: 4px; line-height: 4px; }
11
- #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; }
12
- #Hslide { BACKGROUND: url('images/arrow.gif'); HEIGHT: 8px; WIDTH: 20px; POSITION: absolute; _font-size: 1px; line-height: 1px; }
13
- #Hmodel { POSITION: relative; TOP: -5px; BORDER: 1px solid #555; WIDTH: 25px; height:166px; }
14
-
15
-
16
-
17
- a.fox_buttonlink {
18
- background:#eaf2fa;
19
- border:1px solid #afcfdb;
20
- padding:1px 12px 2px 10px;
21
- text-decoration:none;
22
- -webkit-border-radius: 3px;
23
- -moz-border-radius: 3px;
24
- border-radius: 3px;
25
- }
26
- a.fox_buttonlink:hover { background:#dbeafa; border:1px solid #99bac7; color:#222; }
27
-
28
- a.bl2 { padding:0px 31px 1px 31px; }
29
-
30
- div#fox_library-list, div#fox_folder-list {
31
- padding:10px 20px 10px 20px;
32
- margin:10px 0px 10px 35px;
33
- background:#f9f9f9;
34
- border:1px solid #f1f1f1;
35
- }
36
-
37
- div.wrap {
38
- border: 0px solid #FF3300;
39
- margin:0px 10px 0 20px;
40
- max-width:1200px;
41
- }
42
- div.wrap p { margin:0 0 4px 0; }
43
- div.wrap h1 { font-weight:500; font-size: 22px; line-height:22px; margin:20px 0 5px 0; padding:0; }
44
- div.wrap h2 { font-size: 10px; line-height:10px; margin:0; padding:0; }
45
- div.wrap h3 { margin:0 0 8px 20px; }
46
- div.wrap h4 { margin:20px 0 0px 0; }
47
-
48
- div.wrap p.jtick {
49
- margin:0 0 2px 24px;
50
- }
51
- div.wrap p.jtick2 {
52
- margin:0 0 2px 35px;
53
- }
54
- div.wrap p.jtext {
55
- margin:0 0 10px 20px;
56
- }
57
-
58
- .joptionswrap {
59
- border-top:0px solid #eee;
60
- margin:30px 0 40px 0px;
61
- }
62
- .joptionswrap h4 {
63
- margin:6px 0 3px 0;
64
- width:250px;
65
- }
66
- .jopbox {
67
- border:1px solid #f0f0f0;
68
- padding:10px 20px;
69
- margin-bottom:15px;
70
- min-width:550px;
71
- }
72
- a.bl3 {
73
- display:block;
74
- width:200px;
75
- padding:0 0 0 20px;
76
- margin:5px 0 1px 0;
77
- /* background:#f0f0f0;
78
- border:1px solid #d0d0d0;
79
- color:#696969; */
80
- }
81
- a.bl3:hover { /* background:#e9e9e9; border:1px solid #c9c9c9; color:#606060; */ }
82
-
83
- .clearB { clear:both; }
84
- .Ahelp1 { float:left; width:300px; border-top:0px solid #ccc; }
85
-
86
- #tog_0-list p { margin:10px 0 10px 0; }
87
- #tog_0-list h4 { margin:10px 0 10px 0; }
88
-
1
+ #pickerwrap { position:relative; padding: 0px; background: #444; margin:30px 0px 0px 10px; width:380px; height:208px; border: 0px; }
2
+ .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; }
3
+ .addcol:hover { border:1px solid #e0e0e0; color:#666; background:#eee; }
4
+ .bl { width: 30px; padding: 5px 0px 6px 30px; margin:0px 0px 0px 0px; height: 30px; border:1px solid #aaa; cursor:pointer; }
5
+ #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; }
6
+ #plugin br { CLEAR: both; MARGIN: 0; PADDING: 0; }
7
+ #plugHEX { position: absolute; top: 85px; left: 33px; COLOR: #FFD000; color:#f0f0f0; width: 70px; height:25px; }
8
+ #plugCUR { position: absolute; width: 81px; height: 57px; font-size: 1px; background: transparent; border: 1px solid #555; top: 21px; left: 33px; }
9
+ #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; }
10
+ #SVslide { BACKGROUND: url('images/slide.gif'); HEIGHT: 9px; WIDTH: 9px; POSITION: absolute; _font-size: 4px; line-height: 4px; }
11
+ #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; }
12
+ #Hslide { BACKGROUND: url('images/arrow.gif'); HEIGHT: 8px; WIDTH: 20px; POSITION: absolute; _font-size: 1px; line-height: 1px; }
13
+ #Hmodel { POSITION: relative; TOP: -5px; BORDER: 1px solid #555; WIDTH: 25px; height:166px; }
14
+
15
+
16
+
17
+ a.fox_buttonlink {
18
+ background:#eaf2fa;
19
+ border:1px solid #afcfdb;
20
+ padding:1px 12px 2px 10px;
21
+ text-decoration:none;
22
+ -webkit-border-radius: 3px;
23
+ -moz-border-radius: 3px;
24
+ border-radius: 3px;
25
+ }
26
+ a.fox_buttonlink:hover { background:#dbeafa; border:1px solid #99bac7; color:#222; }
27
+
28
+ a.bl2 { padding:0px 31px 1px 31px; }
29
+
30
+ div#fox_library-list, div#fox_folder-list {
31
+ padding:10px 20px 10px 20px;
32
+ margin:10px 0px 10px 35px;
33
+ background:#f9f9f9;
34
+ border:1px solid #f1f1f1;
35
+ }
36
+
37
+ div.wrap {
38
+ border: 0px solid #FF3300;
39
+ margin:0px 10px 0 20px;
40
+ max-width:1200px;
41
+ }
42
+ div.wrap p { margin:0 0 4px 0; }
43
+ div.wrap h1 { font-weight:500; font-size: 22px; line-height:22px; margin:20px 0 5px 0; padding:0; }
44
+ div.wrap h2 { font-size: 10px; line-height:10px; margin:0; padding:0; }
45
+ div.wrap h3 { margin:0 0 8px 20px; }
46
+ div.wrap h4 { margin:20px 0 0px 0; }
47
+
48
+ div.wrap p.jtick {
49
+ margin:0 0 2px 24px;
50
+ }
51
+ div.wrap p.jtick2 {
52
+ margin:0 0 2px 35px;
53
+ }
54
+ div.wrap p.jtext {
55
+ margin:0 0 10px 20px;
56
+ }
57
+
58
+ .joptionswrap {
59
+ border-top:0px solid #eee;
60
+ margin:30px 0 40px 0px;
61
+ }
62
+ .joptionswrap h4 {
63
+ margin:6px 0 3px 0;
64
+ width:250px;
65
+ }
66
+ .jopbox {
67
+ border:1px solid #f0f0f0;
68
+ padding:10px 20px;
69
+ margin-bottom:15px;
70
+ min-width:550px;
71
+ }
72
+ a.bl3 {
73
+ display:block;
74
+ width:200px;
75
+ padding:0 0 0 20px;
76
+ margin:5px 0 1px 0;
77
+ /* background:#f0f0f0;
78
+ border:1px solid #d0d0d0;
79
+ color:#696969; */
80
+ }
81
+ a.bl3:hover { /* background:#e9e9e9; border:1px solid #c9c9c9; color:#606060; */ }
82
+
83
+ .clearB { clear:both; }
84
+ .Ahelp1 { float:left; width:300px; border-top:0px solid #ccc; }
85
+
86
+ #tog_0-list p { margin:10px 0 10px 0; }
87
+ #tog_0-list h4 { margin:10px 0 10px 0; }
88
+
css/mp3j-help.css CHANGED
@@ -1,26 +1,26 @@
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
  }
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 CHANGED
@@ -1,614 +1,614 @@
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] & [mp3t] SHORTCODES
328
- ==================================== */
329
- span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
330
- /*span.wrap_inline_mp3j:hover .buttons_mp3j { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }*/
331
- span.indi_mp3j { position:relative; padding-left:2px; font-size: 0.7em !important; }
332
-
333
- /* BARS */
334
- span.bars_mp3j { position:absolute; width:100%; height:100%; }
335
- span.load_mp3j, span.loadB_mp3j { position:absolute; /* background */ top:20px; left:0px; height:2px; }
336
- /* mp3t */
337
- span.posbar_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
338
- span.posbar_mp3j .ui-widget-header { z-index:-500; }
339
- 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; }
340
- span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t15b.png') repeat; border-color:#aaa; }
341
- /* mp3j */
342
- span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0; z-index:450; cursor:pointer; }
343
- span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:450; height:100%; }
344
- 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; }
345
- span.posbarB_mp3j .ui-slider-handle:hover { background: transparent url('images/inlineHandle2.png') no-repeat -3px -33px; }
346
-
347
- /* SPAN TRANSPORT */
348
- span.group_wrap { position:relative; margin:0px 0px 0px 0px; width:auto; }
349
- span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; margin:0px; padding:0px; }
350
- span.buttons_mp3j { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px -3px; }
351
- span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }
352
- span.buttons_mp3jpause { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px -3px; }
353
- span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -35px; }
354
-
355
- /* VOLUMES */
356
- span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; }
357
- span.vol_mp3j { position:absolute; top:-9px; right:5px; width:85%; max-width:100px; height:2px; }
358
- span.vol_mp3j.flipped { right:4px; }
359
- 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%; }
360
- 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; }
361
- 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; }
362
- 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; }
363
-
364
-
365
- /*----------------------
366
- [mp3j-popout] SHORTCODE
367
- ================================================= */
368
- .mp3j-popout-link-wrap { cursor:pointer; position:relative; clear:left; }
369
- .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; }
370
- .mp3j-popout-link-wrap:hover .mp3j-popout-link { background:url('images/buttons-popout.png') no-repeat -10px -95px; }
371
-
372
-
373
-
374
-
375
- /*=================================================
376
-
377
- MODS
378
- (via 'style' param in shortcode)
379
- ================================================= */
380
-
381
- /* ===== "nolistbutton" ===== */
382
- .nolistbutton div.playlist-toggle-MI { visibility:hidden; }
383
-
384
- /* ===== "nopopoutbutton" ===== */
385
- .nopopoutbutton div.mp3j-popout-MI { display:none; }
386
-
387
- /* ===== "nopn" ===== */
388
- .nopn div.Prev_mp3j { display:none; }
389
- .nopn div.Next_mp3j { display:none; }
390
-
391
- /* ===== "nostop" ===== */
392
- .nostop div.stop_mp3j { display:none; }
393
-
394
-
395
- /* ===== "bars100" ===== */
396
- .bars100 div.player-track-title { left:112px; }
397
- .bars100 div.dloadmp3-MI { left:102px; width:36%;}
398
- .bars100 div.bars_holder { left:102px; width:auto; }
399
- .bars100 .MI-image img { padding:1px; }
400
- .bars100 div.player-track-title { top:20px; }
401
-
402
- /* ===== "bars150" ===== */
403
- .bars150 div.player-track-title { left:162px; }
404
- .bars150 div.dloadmp3-MI { left:152px; width:33%;}
405
- .bars150 div.bars_holder { left:152px; width:auto; }
406
- .bars150 .MI-image img { padding:1px; }
407
- .bars150 div.player-track-title { top:20px; }
408
-
409
- /* ===== "bars200" ===== */
410
- .bars200 div.player-track-title { left:212px; }
411
- .bars200 div.dloadmp3-MI { left:202px; width:30%; }
412
- .bars200 div.bars_holder { left:202px; width:auto; }
413
- .bars200 .MI-image img { padding:1px; }
414
- .bars200 div.player-track-title { top:20px; }
415
-
416
- /* ===== "bars250" ===== */
417
- .bars250 div.player-track-title { left:262px; }
418
- .bars250 div.dloadmp3-MI { left:252px; width:27%;}
419
- .bars250 div.bars_holder { left:252px; width:auto; }
420
- .bars250 .MI-image img { padding:1px; }
421
- .bars250 div.player-track-title { top:20px; }
422
-
423
- /* ===== "bars300" ===== */
424
- .bars300 div.player-track-title { left:312px; }
425
- .bars300 div.dloadmp3-MI { left:302px; width:24%; }
426
- .bars300 div.bars_holder { left:302px; width:auto; }
427
- .bars300 .MI-image img { padding:1px; }
428
- .bars300 div.player-track-title { top:20px; }
429
-
430
- /* ===== "bars350" ===== */
431
- .bars350 div.player-track-title { left:362px; }
432
- .bars350 div.dloadmp3-MI { left:352px; width:21%;}
433
- .bars350 div.bars_holder { left:352px; width:auto; }
434
- .bars350 .MI-image img { padding:1px; }
435
- .bars350 div.player-track-title { top:20px; }
436
-
437
- /* ===== "bars400" ===== */
438
- .bars400 div.player-track-title { left:412px; }
439
- .bars400 div.dloadmp3-MI { left:402px; width:18%; }
440
- .bars400 div.bars_holder { left:402px; width:auto; }
441
- .bars400 .MI-image img { padding:1px; }
442
- .bars400 div.player-track-title { top:20px; }
443
-
444
- /* ===== bigger1 ===== */
445
- .bigger1 { font-size:18px; line-height:26px !important; margin:0 !important; }
446
- .bigger1 span.load_mp3j,
447
- .bigger1 span.loadB_mp3j { top:24px; left:0px; height:2px; }
448
- .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; }
449
- .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; }
450
- .bigger1 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; border-color:#aaa; }
451
- .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; }
452
- .bigger1 span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -32px; }
453
- .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; }
454
- .bigger1 span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -32px; }
455
- .bigger1 span.vol_mp3j { position:absolute; top:-6px; right:7px; width:85%; max-width:100px; height:2px; }
456
-
457
- .bigger1 div.player-track-title { font:normal normal 500 18px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
458
-
459
- .bigger1 div.player-track-title span { font:normal normal 500 14px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
460
- .bigger1 ul.UL-MI_mp3j li a, .bigger1 ul.UL-MI_mp3j li { font-size:16px !important; line-height:19px !important; }
461
- .bigger1 .indi_mp3j { font-size: 0.6em !important; }
462
-
463
- /* ===== "bigger2" ===== */
464
- .bigger2 div.player-track-title { font:normal normal 500 36px/38px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
465
- .bigger2 div.player-track-title span { font:normal normal 500 20px/22px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
466
- .bigger2 ul.UL-MI_mp3j li a, .bigger2 ul.UL-MI_mp3j li { font-size:20px !important; line-height:24px !important; }
467
- .bigger2 { font-size:23px; line-height:25px !important; margin:0 !important; }
468
- .bigger2 span.load_mp3j,
469
- .bigger2 span.loadB_mp3j { top:26px; left:0px; height:2px; }
470
- .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; }
471
- .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; }
472
- .bigger2 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; border-color:#999; }
473
- .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; }
474
- .bigger2 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -437px center; }
475
- .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; }
476
- .bigger2 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
477
- .bigger2 span.vol_mp3j { position:absolute; top:-12px; right:4px; width:85%; max-width:100px; height:2px; }
478
- .bigger2 span.vol_mp3t { position:absolute; top:-10px; width:85%; max-width:100px; height:2px; }
479
- .bigger2 .Smp3-finding,
480
- .bigger2 .mp3-tint,
481
- .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; }
482
- .bigger2 .mp3-gtint { margin:0 6px 0 -16px; }
483
- .bigger2 .indi_mp3j { font-size: 0.5em !important; padding-left:0px; }
484
-
485
- .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; }
486
- .bigger2.wh .buttons_mp3j:hover { background:url('images/play-dark2-w.png') no-repeat -437px center; }
487
- .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; }
488
- .bigger2.wh .buttons_mp3jpause:hover { background:url('images/stop-dark2-w.png') repeat-y -350px top; }
489
-
490
-
491
-
492
- /* ===== bigger3 ===== */
493
- .bigger3 { font-size:28px; line-height:36px !important; margin:0 !important; }
494
- .bigger3 .load_mp3j, .bigger3 .loadB_mp3j { top:37px; left:0px; height:3px; }
495
- .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; }
496
- .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; }
497
- .bigger3 .indi_mp3j { font-size: 0.5em !important; }
498
- .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; }
499
- .bigger3 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -428px center; }
500
- .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; }
501
- .bigger3 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
502
- .bigger3 .vol_mp3j { height:1px; max-width:110px; right:64px; top:-8px; }
503
- .bigger3 .vol_mp3t { height:1px; max-width:110px; right:16px; top:-5px; }
504
- .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; }
505
- .bigger3 .vol_mp3j .ui-slider-handle:hover, .bigger3 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
506
- .bigger3 .Smp3-finding,
507
- .bigger3 .mp3-tint,
508
- .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; }
509
- .bigger3 .mp3-gtint { margin:0 2px 0 -14px; }
510
- .bigger3 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
511
- .bigger3 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
512
- .bigger3 ul.UL-MI_mp3j li a, .bigger3 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
513
-
514
- .bigger3.bl span.buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -177px center; }
515
- .bigger3.bl span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -428px center; }
516
- .bigger3.bl span.buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
517
- .bigger3.bl span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
518
- .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; }
519
- .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; }
520
-
521
-
522
-
523
- /* ===== bigger4 ===== */
524
- .bigger4 { font-size:38px; line-height:46px !important; margin:0 !important; }
525
- .bigger4 .load_mp3j, .bigger4 .loadB_mp3j { top:46px; left:0px; height:3px; }
526
- .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; }
527
- .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; }
528
- .bigger4 .indi_mp3j { font-size: 0.5em !important; }
529
- .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; }
530
- .bigger4 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -418px center; }
531
- .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; }
532
- .bigger4 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
533
- .bigger4 .vol_mp3j { height:1px; max-width:110px; right:86px; top:-8px; }
534
- .bigger4 .vol_mp3t { height:1px; max-width:110px; right:20px; top:-5px; }
535
- .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; }
536
- .bigger4 .vol_mp3j .ui-slider-handle:hover, .bigger4 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
537
- .bigger4 .Smp3-finding,
538
- .bigger4 .mp3-tint,
539
- .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; }
540
- .bigger4 .mp3-gtint { margin:0 6px 0 -20px; }
541
-
542
- .bigger4 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
543
- .bigger4 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
544
- .bigger4 ul.UL-MI_mp3j li a, .bigger4 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
545
-
546
- .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; }
547
- .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; }
548
- .bigger4.bl .buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -167px center; }
549
- .bigger4.bl .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -418px center; }
550
- .bigger4.bl .buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
551
- .bigger4.bl .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
552
- .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; }
553
- .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; }
554
-
555
-
556
-
557
- /* ===== bigger5 ===== */
558
- .bigger5 { font-size:48px; line-height:60px !important; margin:0 !important; }
559
- .bigger5 .load_mp3j, .bigger5 .loadB_mp3j { top:63px; left:0px; height:4px; }
560
- .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; }
561
- .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; }
562
- .bigger5 .indi_mp3j { font-size: 0.5em !important; }
563
- .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; }
564
- .bigger5 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -405px center; }
565
- .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; }
566
- .bigger5 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
567
- .bigger5 .vol_mp3j { height:1px; max-width:170px; right:115px; top:-10px; }
568
- .bigger5 .vol_mp3t { height:1px; max-width:170px; right:33px; top:-5px; }
569
- .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; }
570
- .bigger5 .vol_mp3j .ui-slider-handle:hover, .bigger5 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
571
- .bigger5 .Smp3-finding,
572
- .bigger5 .mp3-tint,
573
- .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; }
574
- .bigger5 .mp3-gtint { margin:0 6px 0 -20px; }
575
-
576
- .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; }
577
- .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; }
578
- .bigger5.bl .buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
579
- .bigger5.bl .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -405px center; }
580
- .bigger5.bl .buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
581
- .bigger5.bl .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
582
- .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; }
583
- .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; }
584
-
585
-
586
- /* ===== "smaller" ===== */
587
- .smaller div.player-track-title { font:normal normal 500 11px/13px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; left:3px; right:5px; }
588
- .smaller div.player-track-title span { font:normal normal 500 10px/10px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; padding:0; }
589
- .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; }
590
-
591
-
592
- /* ===== outline ==== */
593
- span.outline { font-size:14px; line-height:22px !important; margin:0 !important; }
594
- .outline span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; background: transparent; }
595
- .outline span.vol_mp3j { position:absolute; top:-9px; right:7px; width:85%; max-width:100px; height:2px; background: transparent; }
596
- .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; }
597
- .outline span.buttons_mp3j:hover { background:transparent url('images/transport-outline.png') no-repeat -80px -33px; }
598
- .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; }
599
- .outline span.buttons_mp3jpause:hover { background:transparent url('images/transport-outline.png') no-repeat 1px -33px; }
600
- .outline span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
601
- .outline span.posbarB_mp3j .ui-widget-header { z-index:-500; }
602
- .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; }
603
- .outline span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t20b.png') repeat; border-color:#777; }
604
-
605
-
606
- /* ===== wtransbars ==== */
607
- .wtransbars div.loadMI_mp3j { background:#fff; opacity:0.1; filter:alpha(opacity=10); }
608
- .wtransbars div.poscolMI_mp3j { background:#fff url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
609
- .wtransbars div.player-track-title { color:#fff; }
610
-
611
- /* ===== btransbars ==== */
612
- .btransbars div.loadMI_mp3j { background:#000; opacity:0.1; filter:alpha(opacity=10); }
613
- .btransbars div.poscolMI_mp3j { background:#000 url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
614
- .btransbars div.player-track-title { color:#000; }
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] & [mp3t] SHORTCODES
328
+ ==================================== */
329
+ span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
330
+ /*span.wrap_inline_mp3j:hover .buttons_mp3j { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }*/
331
+ span.indi_mp3j { position:relative; padding-left:2px; font-size: 0.7em !important; }
332
+
333
+ /* BARS */
334
+ span.bars_mp3j { position:absolute; width:100%; height:100%; }
335
+ span.load_mp3j, span.loadB_mp3j { position:absolute; /* background */ top:20px; left:0px; height:2px; }
336
+ /* mp3t */
337
+ span.posbar_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
338
+ span.posbar_mp3j .ui-widget-header { z-index:-500; }
339
+ 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; }
340
+ span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t15b.png') repeat; border-color:#aaa; }
341
+ /* mp3j */
342
+ span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0; z-index:450; cursor:pointer; }
343
+ span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:450; height:100%; }
344
+ 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; }
345
+ span.posbarB_mp3j .ui-slider-handle:hover { background: transparent url('images/inlineHandle2.png') no-repeat -3px -33px; }
346
+
347
+ /* SPAN TRANSPORT */
348
+ span.group_wrap { position:relative; margin:0px 0px 0px 0px; width:auto; }
349
+ span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; margin:0px; padding:0px; }
350
+ span.buttons_mp3j { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px -3px; }
351
+ span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }
352
+ span.buttons_mp3jpause { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px -3px; }
353
+ span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -35px; }
354
+
355
+ /* VOLUMES */
356
+ span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; }
357
+ span.vol_mp3j { position:absolute; top:-9px; right:5px; width:85%; max-width:100px; height:2px; }
358
+ span.vol_mp3j.flipped { right:4px; }
359
+ 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%; }
360
+ 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; }
361
+ 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; }
362
+ 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; }
363
+
364
+
365
+ /*----------------------
366
+ [mp3j-popout] SHORTCODE
367
+ ================================================= */
368
+ .mp3j-popout-link-wrap { cursor:pointer; position:relative; clear:left; }
369
+ .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; }
370
+ .mp3j-popout-link-wrap:hover .mp3j-popout-link { background:url('images/buttons-popout.png') no-repeat -10px -95px; }
371
+
372
+
373
+
374
+
375
+ /*=================================================
376
+
377
+ MODS
378
+ (via 'style' param in shortcode)
379
+ ================================================= */
380
+
381
+ /* ===== "nolistbutton" ===== */
382
+ .nolistbutton div.playlist-toggle-MI { visibility:hidden; }
383
+
384
+ /* ===== "nopopoutbutton" ===== */
385
+ .nopopoutbutton div.mp3j-popout-MI { display:none; }
386
+
387
+ /* ===== "nopn" ===== */
388
+ .nopn div.Prev_mp3j { display:none; }
389
+ .nopn div.Next_mp3j { display:none; }
390
+
391
+ /* ===== "nostop" ===== */
392
+ .nostop div.stop_mp3j { display:none; }
393
+
394
+
395
+ /* ===== "bars100" ===== */
396
+ .bars100 div.player-track-title { left:112px; }
397
+ .bars100 div.dloadmp3-MI { left:102px; width:36%;}
398
+ .bars100 div.bars_holder { left:102px; width:auto; }
399
+ .bars100 .MI-image img { padding:1px; }
400
+ .bars100 div.player-track-title { top:20px; }
401
+
402
+ /* ===== "bars150" ===== */
403
+ .bars150 div.player-track-title { left:162px; }
404
+ .bars150 div.dloadmp3-MI { left:152px; width:33%;}
405
+ .bars150 div.bars_holder { left:152px; width:auto; }
406
+ .bars150 .MI-image img { padding:1px; }
407
+ .bars150 div.player-track-title { top:20px; }
408
+
409
+ /* ===== "bars200" ===== */
410
+ .bars200 div.player-track-title { left:212px; }
411
+ .bars200 div.dloadmp3-MI { left:202px; width:30%; }
412
+ .bars200 div.bars_holder { left:202px; width:auto; }
413
+ .bars200 .MI-image img { padding:1px; }
414
+ .bars200 div.player-track-title { top:20px; }
415
+
416
+ /* ===== "bars250" ===== */
417
+ .bars250 div.player-track-title { left:262px; }
418
+ .bars250 div.dloadmp3-MI { left:252px; width:27%;}
419
+ .bars250 div.bars_holder { left:252px; width:auto; }
420
+ .bars250 .MI-image img { padding:1px; }
421
+ .bars250 div.player-track-title { top:20px; }
422
+
423
+ /* ===== "bars300" ===== */
424
+ .bars300 div.player-track-title { left:312px; }
425
+ .bars300 div.dloadmp3-MI { left:302px; width:24%; }
426
+ .bars300 div.bars_holder { left:302px; width:auto; }
427
+ .bars300 .MI-image img { padding:1px; }
428
+ .bars300 div.player-track-title { top:20px; }
429
+
430
+ /* ===== "bars350" ===== */
431
+ .bars350 div.player-track-title { left:362px; }
432
+ .bars350 div.dloadmp3-MI { left:352px; width:21%;}
433
+ .bars350 div.bars_holder { left:352px; width:auto; }
434
+ .bars350 .MI-image img { padding:1px; }
435
+ .bars350 div.player-track-title { top:20px; }
436
+
437
+ /* ===== "bars400" ===== */
438
+ .bars400 div.player-track-title { left:412px; }
439
+ .bars400 div.dloadmp3-MI { left:402px; width:18%; }
440
+ .bars400 div.bars_holder { left:402px; width:auto; }
441
+ .bars400 .MI-image img { padding:1px; }
442
+ .bars400 div.player-track-title { top:20px; }
443
+
444
+ /* ===== bigger1 ===== */
445
+ .bigger1 { font-size:18px; line-height:26px !important; margin:0 !important; }
446
+ .bigger1 span.load_mp3j,
447
+ .bigger1 span.loadB_mp3j { top:24px; left:0px; height:2px; }
448
+ .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; }
449
+ .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; }
450
+ .bigger1 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; border-color:#aaa; }
451
+ .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; }
452
+ .bigger1 span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -32px; }
453
+ .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; }
454
+ .bigger1 span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -32px; }
455
+ .bigger1 span.vol_mp3j { position:absolute; top:-6px; right:7px; width:85%; max-width:100px; height:2px; }
456
+
457
+ .bigger1 div.player-track-title { font:normal normal 500 18px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
458
+
459
+ .bigger1 div.player-track-title span { font:normal normal 500 14px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
460
+ .bigger1 ul.UL-MI_mp3j li a, .bigger1 ul.UL-MI_mp3j li { font-size:16px !important; line-height:19px !important; }
461
+ .bigger1 .indi_mp3j { font-size: 0.6em !important; }
462
+
463
+ /* ===== "bigger2" ===== */
464
+ .bigger2 div.player-track-title { font:normal normal 500 36px/38px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
465
+ .bigger2 div.player-track-title span { font:normal normal 500 20px/22px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
466
+ .bigger2 ul.UL-MI_mp3j li a, .bigger2 ul.UL-MI_mp3j li { font-size:20px !important; line-height:24px !important; }
467
+ .bigger2 { font-size:23px; line-height:25px !important; margin:0 !important; }
468
+ .bigger2 span.load_mp3j,
469
+ .bigger2 span.loadB_mp3j { top:26px; left:0px; height:2px; }
470
+ .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; }
471
+ .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; }
472
+ .bigger2 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; border-color:#999; }
473
+ .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; }
474
+ .bigger2 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -437px center; }
475
+ .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; }
476
+ .bigger2 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
477
+ .bigger2 span.vol_mp3j { position:absolute; top:-12px; right:4px; width:85%; max-width:100px; height:2px; }
478
+ .bigger2 span.vol_mp3t { position:absolute; top:-10px; width:85%; max-width:100px; height:2px; }
479
+ .bigger2 .Smp3-finding,
480
+ .bigger2 .mp3-tint,
481
+ .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; }
482
+ .bigger2 .mp3-gtint { margin:0 6px 0 -16px; }
483
+ .bigger2 .indi_mp3j { font-size: 0.5em !important; padding-left:0px; }
484
+
485
+ .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; }
486
+ .bigger2.wh .buttons_mp3j:hover { background:url('images/play-dark2-w.png') no-repeat -437px center; }
487
+ .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; }
488
+ .bigger2.wh .buttons_mp3jpause:hover { background:url('images/stop-dark2-w.png') repeat-y -350px top; }
489
+
490
+
491
+
492
+ /* ===== bigger3 ===== */
493
+ .bigger3 { font-size:28px; line-height:36px !important; margin:0 !important; }
494
+ .bigger3 .load_mp3j, .bigger3 .loadB_mp3j { top:37px; left:0px; height:3px; }
495
+ .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; }
496
+ .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; }
497
+ .bigger3 .indi_mp3j { font-size: 0.5em !important; }
498
+ .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; }
499
+ .bigger3 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -428px center; }
500
+ .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; }
501
+ .bigger3 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
502
+ .bigger3 .vol_mp3j { height:1px; max-width:110px; right:64px; top:-8px; }
503
+ .bigger3 .vol_mp3t { height:1px; max-width:110px; right:16px; top:-5px; }
504
+ .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; }
505
+ .bigger3 .vol_mp3j .ui-slider-handle:hover, .bigger3 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
506
+ .bigger3 .Smp3-finding,
507
+ .bigger3 .mp3-tint,
508
+ .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; }
509
+ .bigger3 .mp3-gtint { margin:0 2px 0 -14px; }
510
+ .bigger3 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
511
+ .bigger3 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
512
+ .bigger3 ul.UL-MI_mp3j li a, .bigger3 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
513
+
514
+ .bigger3.bl span.buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -177px center; }
515
+ .bigger3.bl span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -428px center; }
516
+ .bigger3.bl span.buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
517
+ .bigger3.bl span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
518
+ .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; }
519
+ .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; }
520
+
521
+
522
+
523
+ /* ===== bigger4 ===== */
524
+ .bigger4 { font-size:38px; line-height:46px !important; margin:0 !important; }
525
+ .bigger4 .load_mp3j, .bigger4 .loadB_mp3j { top:46px; left:0px; height:3px; }
526
+ .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; }
527
+ .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; }
528
+ .bigger4 .indi_mp3j { font-size: 0.5em !important; }
529
+ .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; }
530
+ .bigger4 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -418px center; }
531
+ .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; }
532
+ .bigger4 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
533
+ .bigger4 .vol_mp3j { height:1px; max-width:110px; right:86px; top:-8px; }
534
+ .bigger4 .vol_mp3t { height:1px; max-width:110px; right:20px; top:-5px; }
535
+ .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; }
536
+ .bigger4 .vol_mp3j .ui-slider-handle:hover, .bigger4 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
537
+ .bigger4 .Smp3-finding,
538
+ .bigger4 .mp3-tint,
539
+ .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; }
540
+ .bigger4 .mp3-gtint { margin:0 6px 0 -20px; }
541
+
542
+ .bigger4 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
543
+ .bigger4 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
544
+ .bigger4 ul.UL-MI_mp3j li a, .bigger4 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
545
+
546
+ .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; }
547
+ .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; }
548
+ .bigger4.bl .buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -167px center; }
549
+ .bigger4.bl .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -418px center; }
550
+ .bigger4.bl .buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
551
+ .bigger4.bl .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
552
+ .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; }
553
+ .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; }
554
+
555
+
556
+
557
+ /* ===== bigger5 ===== */
558
+ .bigger5 { font-size:48px; line-height:60px !important; margin:0 !important; }
559
+ .bigger5 .load_mp3j, .bigger5 .loadB_mp3j { top:63px; left:0px; height:4px; }
560
+ .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; }
561
+ .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; }
562
+ .bigger5 .indi_mp3j { font-size: 0.5em !important; }
563
+ .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; }
564
+ .bigger5 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -405px center; }
565
+ .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; }
566
+ .bigger5 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
567
+ .bigger5 .vol_mp3j { height:1px; max-width:170px; right:115px; top:-10px; }
568
+ .bigger5 .vol_mp3t { height:1px; max-width:170px; right:33px; top:-5px; }
569
+ .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; }
570
+ .bigger5 .vol_mp3j .ui-slider-handle:hover, .bigger5 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
571
+ .bigger5 .Smp3-finding,
572
+ .bigger5 .mp3-tint,
573
+ .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; }
574
+ .bigger5 .mp3-gtint { margin:0 6px 0 -20px; }
575
+
576
+ .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; }
577
+ .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; }
578
+ .bigger5.bl .buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
579
+ .bigger5.bl .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -405px center; }
580
+ .bigger5.bl .buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
581
+ .bigger5.bl .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
582
+ .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; }
583
+ .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; }
584
+
585
+
586
+ /* ===== "smaller" ===== */
587
+ .smaller div.player-track-title { font:normal normal 500 11px/13px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; left:3px; right:5px; }
588
+ .smaller div.player-track-title span { font:normal normal 500 10px/10px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; padding:0; }
589
+ .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; }
590
+
591
+
592
+ /* ===== outline ==== */
593
+ span.outline { font-size:14px; line-height:22px !important; margin:0 !important; }
594
+ .outline span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; background: transparent; }
595
+ .outline span.vol_mp3j { position:absolute; top:-9px; right:7px; width:85%; max-width:100px; height:2px; background: transparent; }
596
+ .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; }
597
+ .outline span.buttons_mp3j:hover { background:transparent url('images/transport-outline.png') no-repeat -80px -33px; }
598
+ .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; }
599
+ .outline span.buttons_mp3jpause:hover { background:transparent url('images/transport-outline.png') no-repeat 1px -33px; }
600
+ .outline span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
601
+ .outline span.posbarB_mp3j .ui-widget-header { z-index:-500; }
602
+ .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; }
603
+ .outline span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t20b.png') repeat; border-color:#777; }
604
+
605
+
606
+ /* ===== wtransbars ==== */
607
+ .wtransbars div.loadMI_mp3j { background:#fff; opacity:0.1; filter:alpha(opacity=10); }
608
+ .wtransbars div.poscolMI_mp3j { background:#fff url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
609
+ .wtransbars div.player-track-title { color:#fff; }
610
+
611
+ /* ===== btransbars ==== */
612
+ .btransbars div.loadMI_mp3j { background:#000; opacity:0.1; filter:alpha(opacity=10); }
613
+ .btransbars div.poscolMI_mp3j { background:#000 url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
614
+ .btransbars div.player-track-title { color:#000; }
css/players-1-8-dark.css CHANGED
@@ -1,524 +1,524 @@
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
- /* backwards compat
177
- ------------------- */
178
- div.player-track-title.mp3j_widgetmods { font-size: 11px; top: 7px; left:5px; }
179
- div.player-track-title.mp3j_widgetmods span { font-size: 9px; }
180
- ul.UL-MI_mp3j.mp3j_widgetmods li { font-size:10px !important; line-height:14px !important; }
181
- ul.UL-MI_mp3j.mp3j_widgetmods li a { font-size:10px !important; line-height:14px !important; }
182
-
183
-
184
- /*-------------------------
185
- [mp3j] & [mp3t] SHORTCODES
186
- ==================================== */
187
- span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
188
- /*span.wrap_inline_mp3j:hover .buttons_mp3j { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }*/
189
- span.indi_mp3j { position:relative; padding-left:2px; font-size: 0.7em !important; }
190
-
191
- /* BARS */
192
- span.bars_mp3j { position:absolute; width:100%; height:100%; }
193
- span.load_mp3j, span.loadB_mp3j { position:absolute; /* background */ top:20px; left:0px; height:2px; }
194
- /* mp3t */
195
- span.posbar_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
196
- span.posbar_mp3j .ui-widget-header { z-index:-500; }
197
- 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; }
198
- span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t15b.png') repeat; border-color:#aaa; }
199
- /* mp3j */
200
- span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0; z-index:450; cursor:pointer; }
201
- span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:450; height:100%; }
202
- 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; }
203
- span.posbarB_mp3j .ui-slider-handle:hover { background: transparent url('images/inlineHandle2.png') no-repeat -3px -33px; }
204
-
205
- /* SPAN TRANSPORT */
206
- span.group_wrap { position:relative; margin:0px 0px 0px 0px; width:auto; }
207
- span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; margin:0px; padding:0px; }
208
- span.buttons_mp3j { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px -3px; }
209
- span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }
210
- span.buttons_mp3jpause { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px -3px; }
211
- span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -35px; }
212
-
213
- /* VOLUMES */
214
- span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; }
215
- span.vol_mp3j { position:absolute; top:-9px; right:5px; width:85%; max-width:100px; height:2px; }
216
- span.vol_mp3j.flipped { right:4px; }
217
- 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%; }
218
- 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; }
219
- 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; }
220
- 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; }
221
-
222
-
223
- /*----------------------
224
- [mp3j-popout] SHORTCODE
225
- ================================================= */
226
- .mp3j-popout-link-wrap { cursor:pointer; position:relative; clear:left; }
227
- .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; }
228
- .mp3j-popout-link-wrap:hover .mp3j-popout-link { background:url('images/buttons-popout.png') no-repeat -10px -95px; }
229
-
230
-
231
- /*-------------
232
- CUSTOM CLASSES
233
- (via 'style' param in shortcode)
234
- ================================================= */
235
-
236
- /* ===== "silver" ===== */
237
- .silver .innerx { background-position:left -45px; }
238
- .silver .transport-MI { height:37px; }
239
- .silver .transport-MI div { background-image:url("images/transport-hardW-shiny.png"); }
240
- .silver .bars_holder { background:url('images/t60w.png') repeat-x left bottom; }
241
- .silver .mp3j-popout-MI { color:#6c6c6c; background-position:-8px -65px; border-color:#b2b2b2; background-color:#aaa; }
242
- .silver .mp3j-popout-MI:hover { color:#606060; background-position:-8px -95px; }
243
- .silver div.playlist-toggle-MI { background:#bcbcbc; color:#707070; }
244
- .silver div.playlist-toggle-MI:hover { background:#c6c6c6; color:#777; }
245
- .silver .MI-image img { background-color:#bbb; }
246
-
247
- .silver div.mp3j-finfo { background:url('images/fdloadW-x.png') repeat-x left top; }
248
- .silver div.mp3j-finfo-gif { background:url('images/loader.gif') no-repeat center 37px; }
249
- .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; }
250
- .silver div.mp3j-finfo-close:hover { color:#888 !important; }
251
- .silver div.mp3j-finfo-txt h2 { color:#333 !important; }
252
- .silver div.mp3j-finfo-txt h3 { color:#333 !important; }
253
- .silver div.mp3j-finfo-txt p { color:#555 !important; }
254
-
255
-
256
- /* ===== "text" ===== */
257
- div.wrap-MI.text { /*min-width:300px;*/ }
258
- .text div.innerx, .text div.innerleft, .text div.innerright { position: absolute; visibility: hidden; }
259
- .text div.innertab { bottom: 38px; }
260
- .text div.jp-interface { background:none; }
261
- .text div.player-track-title { font:normal normal 500 16px/18px 'trebuchet ms', Arial, sans-serif; }
262
- .text div.player-track-title span { font:italic normal 500 12px/14px 'trebuchet ms', Arial, sans-serif; opacity:0.7; filter:alpha(opacity=70); }
263
- .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; }
264
- .text div.jp-play-time { width:37px; left:0px; opacity:0.6; filter:alpha(opacity=60); }
265
- .text div.jp-total-time { width:37px; left:100px; display:none; }
266
- .text div.statusMI { left:37px; width:70px !important; }
267
- .text div.transport-MI { height:26px; right:2px; bottom:12px; }
268
- .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; }
269
- .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; }
270
- .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; }
271
- .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; }
272
- .text div.stop_mp3j { text-indent:0px !important; width:31px; height:25px; margin:0px 0px 0px 4px; line-height:25px !important; font-size:14px; }
273
-
274
- .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); }
275
- .text div.playlist-toggle-MI:hover { opacity:1.0; filter:alpha(opacity=100); }
276
- .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; }
277
- .text div.dloadmp3-MI a { color:#888; font-size:inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
278
- .text div.dloadmp3-MI a:hover { color:#555; background:none !important; }
279
- .text div.dloadmp3-MI.betweenlinks a { display:none; background:none !important; }
280
- .text div.dloadmp3-MI.whilelinks a { display:block; background:none !important; }
281
- .text div.dloadmp3-MI.whilelinks a:hover { text-decoration:none; background:none !important; }
282
- .text div.dloadmp3-MI p { font-size: inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
283
- .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; }
284
- .text div.mp3j-popout-MI:hover { color:#555; opacity:1.0; filter:alpha(opacity=100); }
285
- .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; }
286
- .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; }
287
- .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; }
288
- .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; }
289
-
290
- .text div.dloadmp3-MI.whilelinks, .text div.dloadmp3-MI.logintext { background:none !important; }
291
-
292
-
293
-
294
- /* ===== "noscreen" ===== */
295
- .noscreen div.jp-interface { height:44px; min-height:44px; }
296
- .noscreen div.player-track-title { display:none; }
297
- .noscreen div.bars_holder { top:auto; bottom:0px; height:7px; }
298
- .noscreen div.innertab { bottom: 0px; top:0; display:none; }
299
- .noscreen div.dloadmp3-MI { bottom: 11px; }
300
- .noscreen div.transport-MI { bottom:17px; }
301
- .noscreen div.jp-play-time, .noscreen div.jp-total-time, .noscreen div.statusMI { bottom:25px; }
302
- .noscreen div.playlist-toggle-MI { bottom: 12px; }
303
- .noscreen div.mp3j-popout-MI { bottom: 20px; }
304
- .noscreen div.MIsliderVolume { bottom: 43px; }
305
- .noscreen div.MIsliderVolume .ui-widget-header { background:transparent url('images/vol-grad60b2.png') repeat-y 0px top; }
306
- .noscreen div.MIsliderVolume .ui-slider-handle { top:-6px; }
307
- .noscreen h2 { margin:0 !important; padding:0 0 0px 0 !important; }
308
- .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; }
309
- .noscreen div.posbarMI_mp3j .ui-slider-handle:hover { background:none; border:none; }
310
- .noscreen .MI-image { top:15px; }
311
-
312
- /* ===== "nolistbutton" ===== */
313
- .nolistbutton div.playlist-toggle-MI { visibility:hidden; }
314
-
315
- /* ===== "nopopoutbutton" ===== */
316
- .nopopoutbutton div.mp3j-popout-MI { display:none; }
317
-
318
- /* ===== "nopn" ===== */
319
- .nopn div.Prev_mp3j { display:none; }
320
- .nopn div.Next_mp3j { display:none; }
321
-
322
- /* ===== "nostop" ===== */
323
- .nostop div.stop_mp3j { display:none; }
324
-
325
- /* ===== "bars100" ===== */
326
- .bars100 div.player-track-title { left:112px; }
327
- .bars100 div.dloadmp3-MI { left:102px; width:36%;}
328
- .bars100 div.bars_holder { left:102px; width:auto; }
329
- .bars100 .MI-image img { padding:1px; }
330
- .bars100 div.player-track-title { top:20px; }
331
-
332
- /* ===== "bars150" ===== */
333
- .bars150 div.player-track-title { left:162px; }
334
- .bars150 div.dloadmp3-MI { left:152px; width:33%;}
335
- .bars150 div.bars_holder { left:152px; width:auto; }
336
- .bars150 .MI-image img { padding:1px; }
337
- .bars150 div.player-track-title { top:20px; }
338
-
339
- /* ===== "bars200" ===== */
340
- .bars200 div.player-track-title { left:212px; }
341
- .bars200 div.dloadmp3-MI { left:202px; width:30%; }
342
- .bars200 div.bars_holder { left:202px; width:auto; }
343
- .bars200 .MI-image img { padding:1px; }
344
- .bars200 div.player-track-title { top:20px; }
345
-
346
- /* ===== "bars250" ===== */
347
- .bars250 div.player-track-title { left:262px; }
348
- .bars250 div.dloadmp3-MI { left:252px; width:27%;}
349
- .bars250 div.bars_holder { left:252px; width:auto; }
350
- .bars250 .MI-image img { padding:1px; }
351
- .bars250 div.player-track-title { top:20px; }
352
-
353
- /* ===== "bars300" ===== */
354
- .bars300 div.player-track-title { left:312px; }
355
- .bars300 div.dloadmp3-MI { left:302px; width:24%; }
356
- .bars300 div.bars_holder { left:302px; width:auto; }
357
- .bars300 .MI-image img { padding:1px; }
358
- .bars300 div.player-track-title { top:20px; }
359
-
360
- /* ===== "bars350" ===== */
361
- .bars350 div.player-track-title { left:362px; }
362
- .bars350 div.dloadmp3-MI { left:352px; width:21%;}
363
- .bars350 div.bars_holder { left:352px; width:auto; }
364
- .bars350 .MI-image img { padding:1px; }
365
- .bars350 div.player-track-title { top:20px; }
366
-
367
- /* ===== "bars400" ===== */
368
- .bars400 div.player-track-title { left:412px; }
369
- .bars400 div.dloadmp3-MI { left:402px; width:18%; }
370
- .bars400 div.bars_holder { left:402px; width:auto; }
371
- .bars400 .MI-image img { padding:1px; }
372
- .bars400 div.player-track-title { top:20px; }
373
-
374
- /* ===== bigger1 ===== */
375
- .bigger1 { font-size:18px; line-height:26px !important; margin:0 !important; }
376
- .bigger1 span.load_mp3j,
377
- .bigger1 span.loadB_mp3j { top:24px; left:0px; height:2px; }
378
- .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; }
379
- .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; }
380
- .bigger1 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; border-color:#aaa; }
381
- .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; }
382
- .bigger1 span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -32px; }
383
- .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; }
384
- .bigger1 span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -32px; }
385
- .bigger1 span.vol_mp3j { position:absolute; top:-6px; right:7px; width:85%; max-width:100px; height:2px; }
386
-
387
- .bigger1 div.player-track-title { font:normal normal 500 18px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
388
- .bigger1 div.player-track-title span { font:normal normal 500 14px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
389
- .bigger1 ul.UL-MI_mp3j li a, .bigger1 ul.UL-MI_mp3j li { font-size:16px !important; line-height:19px !important; }
390
- .bigger1 .indi_mp3j { font-size: 0.6em !important; }
391
-
392
- /* ===== "bigger2" ===== */
393
- .bigger2 div.player-track-title { font:normal normal 500 36px/38px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
394
- .bigger2 div.player-track-title span { font:normal normal 500 20px/22px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
395
- .bigger2 ul.UL-MI_mp3j li a, .bigger2 ul.UL-MI_mp3j li { font-size:20px !important; line-height:24px !important; }
396
- .bigger2 { font-size:23px; line-height:25px !important; margin:0 !important; }
397
- .bigger2 span.load_mp3j,
398
- .bigger2 span.loadB_mp3j { top:26px; left:0px; height:2px; }
399
- .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; }
400
- .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; }
401
- .bigger2 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; border-color:#999; }
402
- .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; }
403
- .bigger2 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -437px center; }
404
- .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; }
405
- .bigger2 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
406
- .bigger2 span.vol_mp3j { position:absolute; top:-12px; right:4px; width:85%; max-width:100px; height:2px; }
407
- .bigger2 span.vol_mp3t { position:absolute; top:-10px; width:85%; max-width:100px; height:2px; }
408
- .bigger2 .Smp3-finding,
409
- .bigger2 .mp3-tint,
410
- .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; }
411
- .bigger2 .mp3-gtint { margin:0 6px 0 -16px; }
412
- .bigger2 .indi_mp3j { font-size: 0.5em !important; padding-left:0px; }
413
-
414
- /* ===== bigger3 ===== */
415
- .bigger3 { font-size:28px; line-height:36px !important; margin:0 !important; }
416
- .bigger3 .load_mp3j, .bigger3 .loadB_mp3j { top:37px; left:0px; height:3px; }
417
- .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; }
418
- .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; }
419
- .bigger3 .indi_mp3j { font-size: 0.5em !important; }
420
- .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; }
421
- .bigger3 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -428px center; }
422
- .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; }
423
- .bigger3 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
424
- .bigger3 .vol_mp3j { height:1px; max-width:110px; right:64px; top:-8px; }
425
- .bigger3 .vol_mp3t { height:1px; max-width:110px; right:16px; top:-5px; }
426
- .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; }
427
- .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; }
428
- .bigger3 .Smp3-finding,
429
- .bigger3 .mp3-tint,
430
- .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; }
431
- .bigger3 .mp3-gtint { margin:0 2px 0 -14px; }
432
- .bigger3 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
433
- .bigger3 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
434
- .bigger3 ul.UL-MI_mp3j li a, .bigger3 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
435
-
436
-
437
- /* ===== bigger4 ===== */
438
- .bigger4 { font-size:38px; line-height:46px !important; margin:0 !important; }
439
- .bigger4 .load_mp3j, .bigger4 .loadB_mp3j { top:46px; left:0px; height:3px; }
440
- .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; }
441
- .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; }
442
- .bigger4 .indi_mp3j { font-size: 0.5em !important; }
443
- .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; }
444
- .bigger4 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -418px center; }
445
- .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; }
446
- .bigger4 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
447
- .bigger4 .vol_mp3j { height:1px; max-width:110px; right:86px; top:-8px; }
448
- .bigger4 .vol_mp3t { height:1px; max-width:110px; right:20px; top:-5px; }
449
- .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; }
450
- .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; }
451
- .bigger4 .Smp3-finding,
452
- .bigger4 .mp3-tint,
453
- .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; }
454
- .bigger4 .mp3-gtint { margin:0 6px 0 -20px; }
455
-
456
- .bigger4 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
457
- .bigger4 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
458
- .bigger4 ul.UL-MI_mp3j li a, .bigger4 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
459
-
460
-
461
- /* ===== bigger5 ===== */
462
- .bigger5 { font-size:48px; line-height:60px !important; margin:0 !important; }
463
- .bigger5 .load_mp3j, .bigger5 .loadB_mp3j { top:63px; left:0px; height:4px; }
464
- .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; }
465
- .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; }
466
- .bigger5 .indi_mp3j { font-size: 0.5em !important; }
467
- .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; }
468
- .bigger5 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -405px center; }
469
- .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; }
470
- .bigger5 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
471
- .bigger5 .vol_mp3j { height:1px; max-width:170px; right:115px; top:-10px; }
472
- .bigger5 .vol_mp3t { height:1px; max-width:170px; right:33px; top:-5px; }
473
- .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; }
474
- .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; }
475
- .bigger5 .Smp3-finding,
476
- .bigger5 .mp3-tint,
477
- .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; }
478
- .bigger5 .mp3-gtint { margin:0 6px 0 -20px; }
479
-
480
- .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; }
481
- .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; }
482
- .bigger5.wh .buttons_mp3j { background:url('images/play-dark2-w.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
483
- .bigger5.wh .buttons_mp3j:hover { background:url('images/play-dark2-w.png') no-repeat -405px center; }
484
- .bigger5.wh .buttons_mp3jpause { background:url('images/stop-dark2-w.png') repeat-y 0px top; }
485
- .bigger5.wh .buttons_mp3jpause:hover { background:url('images/stop-dark2-w.png') repeat-y -350px top; }
486
- .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; }
487
- .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; }
488
-
489
-
490
- /* ===== "smaller" ===== */
491
- .smaller div.player-track-title { font:normal normal 500 11px/13px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; left:5px; right:5px; }
492
- .smaller div.player-track-title span { font:normal normal 500 10px/10px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; padding:0; }
493
- .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; }
494
-
495
-
496
- /* ===== outline ==== */
497
- span.outline { font-size:14px; line-height:22px !important; margin:0 !important; }
498
- .outline span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; background: transparent; }
499
- .outline span.vol_mp3j { position:absolute; top:-9px; right:7px; width:85%; max-width:100px; height:2px; background: transparent; }
500
- .outline span.buttons_mp3j { padding:2px 0px 3px 20px; background: transparent url('images/transport-outline.png') no-repeat -80px -2px; border:0; margin:0; }
501
- .outline span.buttons_mp3j:hover { background:transparent url('images/transport-outline.png') no-repeat -80px -34px; }
502
- .outline span.buttons_mp3jpause { padding:2px 0px 3px 20px; background: transparent url('images/transport-outline.png') no-repeat 1px -2px; border:0; margin:0; }
503
- .outline span.buttons_mp3jpause:hover { background:transparent url('images/transport-outline.png') no-repeat 1px -34px; }
504
- .outline span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
505
- .outline span.posbarB_mp3j .ui-widget-header { z-index:-500; }
506
- .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; }
507
- .outline span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t20b.png') repeat; border-color:#777; }
508
- .outline div.transport-MI div { background-image: url("images/transport-hardK.png"); }
509
- .outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
510
- .silver.outline div.transport-MI div { background-image: url("images/transport-hardZ.png"); }
511
- .silver.outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
512
-
513
- /* ===== wtransbars ==== */
514
- .wtransbars div.loadMI_mp3j { background:#fff; opacity:0.1; filter:alpha(opacity=10); }
515
- .wtransbars div.poscolMI_mp3j { background:#fff url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
516
- .wtransbars div.player-track-title { color:#fff; }
517
-
518
- /* ===== btransbars ==== */
519
- .btransbars div.loadMI_mp3j { background:#000; opacity:0.1; filter:alpha(opacity=10); }
520
- .btransbars div.poscolMI_mp3j { background:#000 url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
521
- .btransbars div.player-track-title { color:#000; }
522
-
523
-
524
-
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
+ /* backwards compat
177
+ ------------------- */
178
+ div.player-track-title.mp3j_widgetmods { font-size: 11px; top: 7px; left:5px; }
179
+ div.player-track-title.mp3j_widgetmods span { font-size: 9px; }
180
+ ul.UL-MI_mp3j.mp3j_widgetmods li { font-size:10px !important; line-height:14px !important; }
181
+ ul.UL-MI_mp3j.mp3j_widgetmods li a { font-size:10px !important; line-height:14px !important; }
182
+
183
+
184
+ /*-------------------------
185
+ [mp3j] & [mp3t] SHORTCODES
186
+ ==================================== */
187
+ span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
188
+ /*span.wrap_inline_mp3j:hover .buttons_mp3j { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }*/
189
+ span.indi_mp3j { position:relative; padding-left:2px; font-size: 0.7em !important; }
190
+
191
+ /* BARS */
192
+ span.bars_mp3j { position:absolute; width:100%; height:100%; }
193
+ span.load_mp3j, span.loadB_mp3j { position:absolute; /* background */ top:20px; left:0px; height:2px; }
194
+ /* mp3t */
195
+ span.posbar_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
196
+ span.posbar_mp3j .ui-widget-header { z-index:-500; }
197
+ 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; }
198
+ span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t15b.png') repeat; border-color:#aaa; }
199
+ /* mp3j */
200
+ span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0; z-index:450; cursor:pointer; }
201
+ span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:450; height:100%; }
202
+ 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; }
203
+ span.posbarB_mp3j .ui-slider-handle:hover { background: transparent url('images/inlineHandle2.png') no-repeat -3px -33px; }
204
+
205
+ /* SPAN TRANSPORT */
206
+ span.group_wrap { position:relative; margin:0px 0px 0px 0px; width:auto; }
207
+ span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; margin:0px; padding:0px; }
208
+ span.buttons_mp3j { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px -3px; }
209
+ span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }
210
+ span.buttons_mp3jpause { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px -3px; }
211
+ span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -35px; }
212
+
213
+ /* VOLUMES */
214
+ span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; }
215
+ span.vol_mp3j { position:absolute; top:-9px; right:5px; width:85%; max-width:100px; height:2px; }
216
+ span.vol_mp3j.flipped { right:4px; }
217
+ 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%; }
218
+ 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; }
219
+ 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; }
220
+ 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; }
221
+
222
+
223
+ /*----------------------
224
+ [mp3j-popout] SHORTCODE
225
+ ================================================= */
226
+ .mp3j-popout-link-wrap { cursor:pointer; position:relative; clear:left; }
227
+ .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; }
228
+ .mp3j-popout-link-wrap:hover .mp3j-popout-link { background:url('images/buttons-popout.png') no-repeat -10px -95px; }
229
+
230
+
231
+ /*-------------
232
+ CUSTOM CLASSES
233
+ (via 'style' param in shortcode)
234
+ ================================================= */
235
+
236
+ /* ===== "silver" ===== */
237
+ .silver .innerx { background-position:left -45px; }
238
+ .silver .transport-MI { height:37px; }
239
+ .silver .transport-MI div { background-image:url("images/transport-hardW-shiny.png"); }
240
+ .silver .bars_holder { background:url('images/t60w.png') repeat-x left bottom; }
241
+ .silver .mp3j-popout-MI { color:#6c6c6c; background-position:-8px -65px; border-color:#b2b2b2; background-color:#aaa; }
242
+ .silver .mp3j-popout-MI:hover { color:#606060; background-position:-8px -95px; }
243
+ .silver div.playlist-toggle-MI { background:#bcbcbc; color:#707070; }
244
+ .silver div.playlist-toggle-MI:hover { background:#c6c6c6; color:#777; }
245
+ .silver .MI-image img { background-color:#bbb; }
246
+
247
+ .silver div.mp3j-finfo { background:url('images/fdloadW-x.png') repeat-x left top; }
248
+ .silver div.mp3j-finfo-gif { background:url('images/loader.gif') no-repeat center 37px; }
249
+ .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; }
250
+ .silver div.mp3j-finfo-close:hover { color:#888 !important; }
251
+ .silver div.mp3j-finfo-txt h2 { color:#333 !important; }
252
+ .silver div.mp3j-finfo-txt h3 { color:#333 !important; }
253
+ .silver div.mp3j-finfo-txt p { color:#555 !important; }
254
+
255
+
256
+ /* ===== "text" ===== */
257
+ div.wrap-MI.text { /*min-width:300px;*/ }
258
+ .text div.innerx, .text div.innerleft, .text div.innerright { position: absolute; visibility: hidden; }
259
+ .text div.innertab { bottom: 38px; }
260
+ .text div.jp-interface { background:none; }
261
+ .text div.player-track-title { font:normal normal 500 16px/18px 'trebuchet ms', Arial, sans-serif; }
262
+ .text div.player-track-title span { font:italic normal 500 12px/14px 'trebuchet ms', Arial, sans-serif; opacity:0.7; filter:alpha(opacity=70); }
263
+ .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; }
264
+ .text div.jp-play-time { width:37px; left:0px; opacity:0.6; filter:alpha(opacity=60); }
265
+ .text div.jp-total-time { width:37px; left:100px; display:none; }
266
+ .text div.statusMI { left:37px; width:70px !important; }
267
+ .text div.transport-MI { height:26px; right:2px; bottom:12px; }
268
+ .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; }
269
+ .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; }
270
+ .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; }
271
+ .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; }
272
+ .text div.stop_mp3j { text-indent:0px !important; width:31px; height:25px; margin:0px 0px 0px 4px; line-height:25px !important; font-size:14px; }
273
+
274
+ .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); }
275
+ .text div.playlist-toggle-MI:hover { opacity:1.0; filter:alpha(opacity=100); }
276
+ .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; }
277
+ .text div.dloadmp3-MI a { color:#888; font-size:inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
278
+ .text div.dloadmp3-MI a:hover { color:#555; background:none !important; }
279
+ .text div.dloadmp3-MI.betweenlinks a { display:none; background:none !important; }
280
+ .text div.dloadmp3-MI.whilelinks a { display:block; background:none !important; }
281
+ .text div.dloadmp3-MI.whilelinks a:hover { text-decoration:none; background:none !important; }
282
+ .text div.dloadmp3-MI p { font-size: inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
283
+ .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; }
284
+ .text div.mp3j-popout-MI:hover { color:#555; opacity:1.0; filter:alpha(opacity=100); }
285
+ .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; }
286
+ .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; }
287
+ .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; }
288
+ .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; }
289
+
290
+ .text div.dloadmp3-MI.whilelinks, .text div.dloadmp3-MI.logintext { background:none !important; }
291
+
292
+
293
+
294
+ /* ===== "noscreen" ===== */
295
+ .noscreen div.jp-interface { height:44px; min-height:44px; }
296
+ .noscreen div.player-track-title { display:none; }
297
+ .noscreen div.bars_holder { top:auto; bottom:0px; height:7px; }
298
+ .noscreen div.innertab { bottom: 0px; top:0; display:none; }
299
+ .noscreen div.dloadmp3-MI { bottom: 11px; }
300
+ .noscreen div.transport-MI { bottom:17px; }
301
+ .noscreen div.jp-play-time, .noscreen div.jp-total-time, .noscreen div.statusMI { bottom:25px; }
302
+ .noscreen div.playlist-toggle-MI { bottom: 12px; }
303
+ .noscreen div.mp3j-popout-MI { bottom: 20px; }
304
+ .noscreen div.MIsliderVolume { bottom: 43px; }
305
+ .noscreen div.MIsliderVolume .ui-widget-header { background:transparent url('images/vol-grad60b2.png') repeat-y 0px top; }
306
+ .noscreen div.MIsliderVolume .ui-slider-handle { top:-6px; }
307
+ .noscreen h2 { margin:0 !important; padding:0 0 0px 0 !important; }
308
+ .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; }
309
+ .noscreen div.posbarMI_mp3j .ui-slider-handle:hover { background:none; border:none; }
310
+ .noscreen .MI-image { top:15px; }
311
+
312
+ /* ===== "nolistbutton" ===== */
313
+ .nolistbutton div.playlist-toggle-MI { visibility:hidden; }
314
+
315
+ /* ===== "nopopoutbutton" ===== */
316
+ .nopopoutbutton div.mp3j-popout-MI { display:none; }
317
+
318
+ /* ===== "nopn" ===== */
319
+ .nopn div.Prev_mp3j { display:none; }
320
+ .nopn div.Next_mp3j { display:none; }
321
+
322
+ /* ===== "nostop" ===== */
323
+ .nostop div.stop_mp3j { display:none; }
324
+
325
+ /* ===== "bars100" ===== */
326
+ .bars100 div.player-track-title { left:112px; }
327
+ .bars100 div.dloadmp3-MI { left:102px; width:36%;}
328
+ .bars100 div.bars_holder { left:102px; width:auto; }
329
+ .bars100 .MI-image img { padding:1px; }
330
+ .bars100 div.player-track-title { top:20px; }
331
+
332
+ /* ===== "bars150" ===== */
333
+ .bars150 div.player-track-title { left:162px; }
334
+ .bars150 div.dloadmp3-MI { left:152px; width:33%;}
335
+ .bars150 div.bars_holder { left:152px; width:auto; }
336
+ .bars150 .MI-image img { padding:1px; }
337
+ .bars150 div.player-track-title { top:20px; }
338
+
339
+ /* ===== "bars200" ===== */
340
+ .bars200 div.player-track-title { left:212px; }
341
+ .bars200 div.dloadmp3-MI { left:202px; width:30%; }
342
+ .bars200 div.bars_holder { left:202px; width:auto; }
343
+ .bars200 .MI-image img { padding:1px; }
344
+ .bars200 div.player-track-title { top:20px; }
345
+
346
+ /* ===== "bars250" ===== */
347
+ .bars250 div.player-track-title { left:262px; }
348
+ .bars250 div.dloadmp3-MI { left:252px; width:27%;}
349
+ .bars250 div.bars_holder { left:252px; width:auto; }
350
+ .bars250 .MI-image img { padding:1px; }
351
+ .bars250 div.player-track-title { top:20px; }
352
+
353
+ /* ===== "bars300" ===== */
354
+ .bars300 div.player-track-title { left:312px; }
355
+ .bars300 div.dloadmp3-MI { left:302px; width:24%; }
356
+ .bars300 div.bars_holder { left:302px; width:auto; }
357
+ .bars300 .MI-image img { padding:1px; }
358
+ .bars300 div.player-track-title { top:20px; }
359
+
360
+ /* ===== "bars350" ===== */
361
+ .bars350 div.player-track-title { left:362px; }
362
+ .bars350 div.dloadmp3-MI { left:352px; width:21%;}
363
+ .bars350 div.bars_holder { left:352px; width:auto; }
364
+ .bars350 .MI-image img { padding:1px; }
365
+ .bars350 div.player-track-title { top:20px; }
366
+
367
+ /* ===== "bars400" ===== */
368
+ .bars400 div.player-track-title { left:412px; }
369
+ .bars400 div.dloadmp3-MI { left:402px; width:18%; }
370
+ .bars400 div.bars_holder { left:402px; width:auto; }
371
+ .bars400 .MI-image img { padding:1px; }
372
+ .bars400 div.player-track-title { top:20px; }
373
+
374
+ /* ===== bigger1 ===== */
375
+ .bigger1 { font-size:18px; line-height:26px !important; margin:0 !important; }
376
+ .bigger1 span.load_mp3j,
377
+ .bigger1 span.loadB_mp3j { top:24px; left:0px; height:2px; }
378
+ .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; }
379
+ .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; }
380
+ .bigger1 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; border-color:#aaa; }
381
+ .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; }
382
+ .bigger1 span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -32px; }
383
+ .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; }
384
+ .bigger1 span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -32px; }
385
+ .bigger1 span.vol_mp3j { position:absolute; top:-6px; right:7px; width:85%; max-width:100px; height:2px; }
386
+
387
+ .bigger1 div.player-track-title { font:normal normal 500 18px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
388
+ .bigger1 div.player-track-title span { font:normal normal 500 14px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
389
+ .bigger1 ul.UL-MI_mp3j li a, .bigger1 ul.UL-MI_mp3j li { font-size:16px !important; line-height:19px !important; }
390
+ .bigger1 .indi_mp3j { font-size: 0.6em !important; }
391
+
392
+ /* ===== "bigger2" ===== */
393
+ .bigger2 div.player-track-title { font:normal normal 500 36px/38px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
394
+ .bigger2 div.player-track-title span { font:normal normal 500 20px/22px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
395
+ .bigger2 ul.UL-MI_mp3j li a, .bigger2 ul.UL-MI_mp3j li { font-size:20px !important; line-height:24px !important; }
396
+ .bigger2 { font-size:23px; line-height:25px !important; margin:0 !important; }
397
+ .bigger2 span.load_mp3j,
398
+ .bigger2 span.loadB_mp3j { top:26px; left:0px; height:2px; }
399
+ .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; }
400
+ .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; }
401
+ .bigger2 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; border-color:#999; }
402
+ .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; }
403
+ .bigger2 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -437px center; }
404
+ .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; }
405
+ .bigger2 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
406
+ .bigger2 span.vol_mp3j { position:absolute; top:-12px; right:4px; width:85%; max-width:100px; height:2px; }
407
+ .bigger2 span.vol_mp3t { position:absolute; top:-10px; width:85%; max-width:100px; height:2px; }
408
+ .bigger2 .Smp3-finding,
409
+ .bigger2 .mp3-tint,
410
+ .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; }
411
+ .bigger2 .mp3-gtint { margin:0 6px 0 -16px; }
412
+ .bigger2 .indi_mp3j { font-size: 0.5em !important; padding-left:0px; }
413
+
414
+ /* ===== bigger3 ===== */
415
+ .bigger3 { font-size:28px; line-height:36px !important; margin:0 !important; }
416
+ .bigger3 .load_mp3j, .bigger3 .loadB_mp3j { top:37px; left:0px; height:3px; }
417
+ .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; }
418
+ .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; }
419
+ .bigger3 .indi_mp3j { font-size: 0.5em !important; }
420
+ .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; }
421
+ .bigger3 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -428px center; }
422
+ .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; }
423
+ .bigger3 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
424
+ .bigger3 .vol_mp3j { height:1px; max-width:110px; right:64px; top:-8px; }
425
+ .bigger3 .vol_mp3t { height:1px; max-width:110px; right:16px; top:-5px; }
426
+ .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; }
427
+ .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; }
428
+ .bigger3 .Smp3-finding,
429
+ .bigger3 .mp3-tint,
430
+ .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; }
431
+ .bigger3 .mp3-gtint { margin:0 2px 0 -14px; }
432
+ .bigger3 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
433
+ .bigger3 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
434
+ .bigger3 ul.UL-MI_mp3j li a, .bigger3 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
435
+
436
+
437
+ /* ===== bigger4 ===== */
438
+ .bigger4 { font-size:38px; line-height:46px !important; margin:0 !important; }
439
+ .bigger4 .load_mp3j, .bigger4 .loadB_mp3j { top:46px; left:0px; height:3px; }
440
+ .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; }
441
+ .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; }
442
+ .bigger4 .indi_mp3j { font-size: 0.5em !important; }
443
+ .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; }
444
+ .bigger4 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -418px center; }
445
+ .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; }
446
+ .bigger4 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
447
+ .bigger4 .vol_mp3j { height:1px; max-width:110px; right:86px; top:-8px; }
448
+ .bigger4 .vol_mp3t { height:1px; max-width:110px; right:20px; top:-5px; }
449
+ .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; }
450
+ .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; }
451
+ .bigger4 .Smp3-finding,
452
+ .bigger4 .mp3-tint,
453
+ .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; }
454
+ .bigger4 .mp3-gtint { margin:0 6px 0 -20px; }
455
+
456
+ .bigger4 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
457
+ .bigger4 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
458
+ .bigger4 ul.UL-MI_mp3j li a, .bigger4 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
459
+
460
+
461
+ /* ===== bigger5 ===== */
462
+ .bigger5 { font-size:48px; line-height:60px !important; margin:0 !important; }
463
+ .bigger5 .load_mp3j, .bigger5 .loadB_mp3j { top:63px; left:0px; height:4px; }
464
+ .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; }
465
+ .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; }
466
+ .bigger5 .indi_mp3j { font-size: 0.5em !important; }
467
+ .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; }
468
+ .bigger5 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -405px center; }
469
+ .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; }
470
+ .bigger5 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
471
+ .bigger5 .vol_mp3j { height:1px; max-width:170px; right:115px; top:-10px; }
472
+ .bigger5 .vol_mp3t { height:1px; max-width:170px; right:33px; top:-5px; }
473
+ .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; }
474
+ .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; }
475
+ .bigger5 .Smp3-finding,
476
+ .bigger5 .mp3-tint,
477
+ .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; }
478
+ .bigger5 .mp3-gtint { margin:0 6px 0 -20px; }
479
+
480
+ .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; }
481
+ .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; }
482
+ .bigger5.wh .buttons_mp3j { background:url('images/play-dark2-w.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
483
+ .bigger5.wh .buttons_mp3j:hover { background:url('images/play-dark2-w.png') no-repeat -405px center; }
484
+ .bigger5.wh .buttons_mp3jpause { background:url('images/stop-dark2-w.png') repeat-y 0px top; }
485
+ .bigger5.wh .buttons_mp3jpause:hover { background:url('images/stop-dark2-w.png') repeat-y -350px top; }
486
+ .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; }
487
+ .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; }
488
+
489
+
490
+ /* ===== "smaller" ===== */
491
+ .smaller div.player-track-title { font:normal normal 500 11px/13px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; left:5px; right:5px; }
492
+ .smaller div.player-track-title span { font:normal normal 500 10px/10px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; padding:0; }
493
+ .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; }
494
+
495
+
496
+ /* ===== outline ==== */
497
+ span.outline { font-size:14px; line-height:22px !important; margin:0 !important; }
498
+ .outline span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; background: transparent; }
499
+ .outline span.vol_mp3j { position:absolute; top:-9px; right:7px; width:85%; max-width:100px; height:2px; background: transparent; }
500
+ .outline span.buttons_mp3j { padding:2px 0px 3px 20px; background: transparent url('images/transport-outline.png') no-repeat -80px -2px; border:0; margin:0; }
501
+ .outline span.buttons_mp3j:hover { background:transparent url('images/transport-outline.png') no-repeat -80px -34px; }
502
+ .outline span.buttons_mp3jpause { padding:2px 0px 3px 20px; background: transparent url('images/transport-outline.png') no-repeat 1px -2px; border:0; margin:0; }
503
+ .outline span.buttons_mp3jpause:hover { background:transparent url('images/transport-outline.png') no-repeat 1px -34px; }
504
+ .outline span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
505
+ .outline span.posbarB_mp3j .ui-widget-header { z-index:-500; }
506
+ .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; }
507
+ .outline span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t20b.png') repeat; border-color:#777; }
508
+ .outline div.transport-MI div { background-image: url("images/transport-hardK.png"); }
509
+ .outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
510
+ .silver.outline div.transport-MI div { background-image: url("images/transport-hardZ.png"); }
511
+ .silver.outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
512
+
513
+ /* ===== wtransbars ==== */
514
+ .wtransbars div.loadMI_mp3j { background:#fff; opacity:0.1; filter:alpha(opacity=10); }
515
+ .wtransbars div.poscolMI_mp3j { background:#fff url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
516
+ .wtransbars div.player-track-title { color:#fff; }
517
+
518
+ /* ===== btransbars ==== */
519
+ .btransbars div.loadMI_mp3j { background:#000; opacity:0.1; filter:alpha(opacity=10); }
520
+ .btransbars div.poscolMI_mp3j { background:#000 url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
521
+ .btransbars div.player-track-title { color:#000; }
522
+
523
+
524
+
css/players-1-8-silver.css CHANGED
@@ -1,562 +1,562 @@
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
- [mp3j] & [mp3t] SHORTCODES
184
- ==================================== */
185
- span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
186
- /*span.wrap_inline_mp3j:hover .buttons_mp3j { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }*/
187
- span.indi_mp3j { position:relative; padding-left:2px; font-size: 0.7em !important; }
188
-
189
- /* BARS */
190
- span.bars_mp3j { position:absolute; width:100%; height:100%; }
191
- span.load_mp3j, span.loadB_mp3j { position:absolute; /* background set from admin */ top:20px; left:0px; height:2px; }
192
- /* mp3t */
193
- span.posbar_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
194
- span.posbar_mp3j .ui-widget-header { z-index:-500; }
195
- 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; }
196
- span.posbar_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -0px 0px; border-color:#aaa; }
197
-
198
- /* mp3j */
199
- span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0; z-index:450; cursor:pointer; }
200
- span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:450; height:100%; }
201
- 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; }
202
- span.posbarB_mp3j .ui-slider-handle:hover { background: transparent url('images/inlineHandle2.png') no-repeat -3px -33px; }
203
-
204
- /* SPAN TRANSPORT */
205
- span.group_wrap { position:relative; margin:0px 0px 0px 0px; width:auto; }
206
- span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; margin:0px; padding:0px !important; }
207
- 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; }
208
- span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }
209
- 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; }
210
- span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -35px; }
211
-
212
- /* VOLUMES */
213
- span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; }
214
- span.vol_mp3j { position:absolute; top:-9px; right:6px; width:85%; max-width:100px; height:2px; }
215
- span.vol_mp3j.flipped { right:4px; }
216
- 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%; }
217
- 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; }
218
- 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; }
219
- 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; }
220
-
221
-
222
-
223
- /*----------------------
224
- [mp3j-popout] SHORTCODE
225
- ================================================= */
226
- .mp3j-popout-link-wrap { cursor:pointer; position:relative; clear:left; }
227
- .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; }
228
- .mp3j-popout-link-wrap:hover .mp3j-popout-link { background:url('images/buttons-popout.png') no-repeat -10px -95px; }
229
-
230
-
231
-
232
- /*=================================================
233
-
234
- MODS
235
- (via 'style' param in shortcode)
236
- ================================================= */
237
-
238
- /* ===== "dark" ===== */
239
- .dark .innerx { background-position:left -119px; }
240
- .dark .transport-MI { height:38px; }
241
- .dark .transport-MI div { background-image:url("images/transport-darkbg-trans2.png"); }
242
- .dark .bars_holder { background:url('images/t40b.png') repeat-x left bottom; }
243
- .dark .mp3j-popout-MI { color:#a2a2a2; background-position:-8px -6px; border-color:#585858; background-color:#aaa; }
244
- .dark .mp3j-popout-MI:hover { color:#aaa; background-position:-8px -36px; }
245
- .dark div.playlist-toggle-MI { background:#505050; color:#a2a2a2; }
246
- .dark div.playlist-toggle-MI:hover { background:#585858; color:#aaa; }
247
- .dark .MI-image img { background-color:#777; }
248
-
249
- .dark div.mp3j-finfo { background:url('images/fdloadB-x.png') repeat-x left top; }
250
- .dark div.mp3j-finfo-gif { background:url('images/loader-w2.gif') no-repeat center 37px; }
251
- .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; }
252
- .dark div.mp3j-finfo-close:hover { color:#eee !important; }
253
- .dark div.mp3j-finfo-txt h2 { color:#fff !important; }
254
- .dark div.mp3j-finfo-txt h3 { color:#fff !important; }
255
- .dark div.mp3j-finfo-txt p { color:#fff !important; }
256
-
257
-
258
- /* ===== "text" ===== */
259
- div.wrap-MI.text { /*min-width:300px;*/ }
260
- .text div.innerx, .text div.innerleft, .text div.innerright { position: absolute; visibility: hidden; }
261
- .text div.innertab { bottom: 38px; }
262
- .text div.jp-interface { background:none; }
263
- .text div.player-track-title { font:normal normal 500 16px/18px 'trebuchet ms', Arial, sans-serif; }
264
- .text div.player-track-title span { font:italic normal 500 12px/14px 'trebuchet ms', Arial, sans-serif; opacity:0.7; filter:alpha(opacity=70); }
265
- .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; }
266
- .text div.jp-play-time { width:37px; left:0px; opacity:0.6; filter:alpha(opacity=60); }
267
- .text div.jp-total-time { width:37px; left:100px; display:none; }
268
- .text div.statusMI { left:37px; width:70px !important; }
269
- .text div.transport-MI { height:26px; right:2px; bottom:12px; }
270
- .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; }
271
- .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; }
272
- .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; }
273
- .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; }
274
- .text div.stop_mp3j { text-indent:0px !important; width:31px; height:25px; margin:0px 0px 0px 4px; line-height:25px !important; font-size:14px; }
275
- .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); }
276
- .text div.playlist-toggle-MI:hover { opacity:1.0; filter:alpha(opacity=100); }
277
- .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; }
278
- .text div.dloadmp3-MI a { color:#888; font-size:inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
279
- .text div.dloadmp3-MI a:hover { color:#555; background:none !important; }
280
- .text div.dloadmp3-MI.betweenlinks a { display:none; background:none !important; }
281
- .text div.dloadmp3-MI.whilelinks a { display:block; background:none !important; }
282
- .text div.dloadmp3-MI.whilelinks a:hover { text-decoration:none; background:none !important; }
283
- .text div.dloadmp3-MI p { font-size: inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
284
- .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; }
285
- .text div.mp3j-popout-MI:hover { color:#555; opacity:1.0; filter:alpha(opacity=100); }
286
- .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; }
287
- .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; }
288
- .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; }
289
- .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; }
290
- .text div.dloadmp3-MI.whilelinks, .text div.dloadmp3-MI.logintext { background:none !important; }
291
-
292
-
293
- /* ===== "noscreen" ===== */
294
- .noscreen div.jp-interface { height:44px; min-height:44px; }
295
- .noscreen div.player-track-title { display:none; }
296
- .noscreen div.bars_holder { top:auto; bottom:0px; height:7px; }
297
- .noscreen div.innertab { bottom: 0px; top:0; display:none; }
298
- .noscreen div.dloadmp3-MI { bottom: 11px; }
299
- .noscreen div.transport-MI { bottom:17px; }
300
- .noscreen div.jp-play-time, .noscreen div.jp-total-time, .noscreen div.statusMI { bottom:25px; }
301
- .noscreen div.playlist-toggle-MI { bottom: 12px; }
302
- .noscreen div.mp3j-popout-MI { bottom: 20px; }
303
- .noscreen div.MIsliderVolume { bottom: 43px; }
304
- .noscreen div.MIsliderVolume .ui-widget-header { background:transparent url('images/vol-grad60b2.png') repeat-y 0px top; }
305
- .noscreen div.MIsliderVolume .ui-slider-handle { top:-6px; }
306
- .noscreen h2 { margin:0 !important; padding:0 0 0px 0 !important; }
307
- .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; }
308
- .noscreen div.posbarMI_mp3j .ui-slider-handle:hover { background:none; border:none; }
309
- .noscreen .MI-image { top:15px; }
310
-
311
-
312
- /* ===== "nolistbutton" ===== */
313
- .nolistbutton div.playlist-toggle-MI { visibility:hidden; }
314
-
315
- /* ===== "nopopoutbutton" ===== */
316
- .nopopoutbutton div.mp3j-popout-MI { display:none; }
317
-
318
- /* ===== "nopn" ===== */
319
- .nopn div.Prev_mp3j { display:none; }
320
- .nopn div.Next_mp3j { display:none; }
321
-
322
- /* ===== "nostop" ===== */
323
- .nostop div.stop_mp3j { display:none; }
324
-
325
-
326
- /* ===== "bars100" ===== */
327
- .bars100 div.player-track-title { left:112px; }
328
- .bars100 div.dloadmp3-MI { left:102px; width:36%;}
329
- .bars100 div.bars_holder { left:102px; width:auto; }
330
- .bars100 .MI-image img { padding:1px; }
331
- .bars100 div.player-track-title { top:20px; }
332
-
333
- /* ===== "bars150" ===== */
334
- .bars150 div.player-track-title { left:162px; }
335
- .bars150 div.dloadmp3-MI { left:152px; width:33%;}
336
- .bars150 div.bars_holder { left:152px; width:auto; }
337
- .bars150 .MI-image img { padding:1px; }
338
- .bars150 div.player-track-title { top:20px; }
339
-
340
- /* ===== "bars200" ===== */
341
- .bars200 div.player-track-title { left:212px; }
342
- .bars200 div.dloadmp3-MI { left:202px; width:30%; }
343
- .bars200 div.bars_holder { left:202px; width:auto; }
344
- .bars200 .MI-image img { padding:1px; }
345
- .bars200 div.player-track-title { top:20px; }
346
-
347
- /* ===== "bars250" ===== */
348
- .bars250 div.player-track-title { left:262px; }
349
- .bars250 div.dloadmp3-MI { left:252px; width:27%;}
350
- .bars250 div.bars_holder { left:252px; width:auto; }
351
- .bars250 .MI-image img { padding:1px; }
352
- .bars250 div.player-track-title { top:20px; }
353
-
354
- /* ===== "bars300" ===== */
355
- .bars300 div.player-track-title { left:312px; }
356
- .bars300 div.dloadmp3-MI { left:302px; width:24%; }
357
- .bars300 div.bars_holder { left:302px; width:auto; }
358
- .bars300 .MI-image img { padding:1px; }
359
- .bars300 div.player-track-title { top:20px; }
360
-
361
- /* ===== "bars350" ===== */
362
- .bars350 div.player-track-title { left:362px; }
363
- .bars350 div.dloadmp3-MI { left:352px; width:21%;}
364
- .bars350 div.bars_holder { left:352px; width:auto; }
365
- .bars350 .MI-image img { padding:1px; }
366
- .bars350 div.player-track-title { top:20px; }
367
-
368
- /* ===== "bars400" ===== */
369
- .bars400 div.player-track-title { left:412px; }
370
- .bars400 div.dloadmp3-MI { left:402px; width:18%; }
371
- .bars400 div.bars_holder { left:402px; width:auto; }
372
- .bars400 .MI-image img { padding:1px; }
373
- .bars400 div.player-track-title { top:20px; }
374
-
375
- /* ===== bigger1 ===== */
376
- .bigger1 { font-size:18px; line-height:26px !important; margin:0 !important; }
377
- .bigger1 span.load_mp3j,
378
- .bigger1 span.loadB_mp3j { top:24px; left:0px; height:2px; }
379
- .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; }
380
- .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; }
381
- .bigger1 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; border-color:#aaa; }
382
- .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; }
383
- .bigger1 span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -32px; }
384
- .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; }
385
- .bigger1 span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -32px; }
386
- .bigger1 span.vol_mp3j { position:absolute; top:-6px; right:7px; width:85%; max-width:100px; height:2px; }
387
-
388
- .bigger1 div.player-track-title { font:normal normal 500 18px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
389
- .bigger1 div.player-track-title span { font:normal normal 500 14px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
390
- .bigger1 ul.UL-MI_mp3j li a, .bigger1 ul.UL-MI_mp3j li { font-size:16px !important; line-height:19px !important; }
391
- .bigger1 .indi_mp3j { font-size: 0.6em !important; }
392
-
393
- /* ===== "bigger2" ===== */
394
- .bigger2 div.player-track-title { font:normal normal 500 36px/38px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
395
- .bigger2 div.player-track-title span { font:normal normal 500 20px/22px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
396
- .bigger2 ul.UL-MI_mp3j li a, .bigger2 ul.UL-MI_mp3j li { font-size:20px !important; line-height:24px !important; }
397
- .bigger2 { font-size:23px; line-height:25px !important; margin:0 !important; }
398
- .bigger2 span.load_mp3j,
399
- .bigger2 span.loadB_mp3j { top:26px; left:0px; height:2px; }
400
- .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; }
401
- .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; }
402
- .bigger2 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; border-color:#999; }
403
- .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; }
404
- .bigger2 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -437px center; }
405
- .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; }
406
- .bigger2 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
407
- .bigger2 span.vol_mp3j { position:absolute; top:-12px; right:4px; width:85%; max-width:100px; height:2px; }
408
- .bigger2 span.vol_mp3t { position:absolute; top:-10px; width:85%; max-width:100px; height:2px; }
409
- .bigger2 .Smp3-finding,
410
- .bigger2 .mp3-tint,
411
- .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; }
412
- .bigger2 .mp3-gtint { margin:0 6px 0 -16px; }
413
- .bigger2 .indi_mp3j { font-size: 0.5em !important; padding-left:0px; }
414
-
415
- .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; }
416
- .bigger2.wh .buttons_mp3j:hover { background:url('images/play-dark2-w.png') no-repeat -437px center; }
417
- .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; }
418
- .bigger2.wh .buttons_mp3jpause:hover { background:url('images/stop-dark2-w.png') repeat-y -350px top; }
419
-
420
-
421
-
422
- /* ===== bigger3 ===== */
423
- .bigger3 { font-size:28px; line-height:36px !important; margin:0 !important; }
424
- .bigger3 .load_mp3j, .bigger3 .loadB_mp3j { top:37px; left:0px; height:3px; }
425
- .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; }
426
- .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; }
427
- .bigger3 .indi_mp3j { font-size: 0.5em !important; }
428
- .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; }
429
- .bigger3 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -428px center; }
430
- .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; }
431
- .bigger3 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
432
- .bigger3 .vol_mp3j { height:1px; max-width:110px; right:64px; top:-8px; }
433
- .bigger3 .vol_mp3t { height:1px; max-width:110px; right:16px; top:-5px; }
434
- .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; }
435
- .bigger3 .vol_mp3j .ui-slider-handle:hover, .bigger3 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
436
- .bigger3 .Smp3-finding,
437
- .bigger3 .mp3-tint,
438
- .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; }
439
- .bigger3 .mp3-gtint { margin:0 2px 0 -14px; }
440
- .bigger3 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
441
- .bigger3 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
442
- .bigger3 ul.UL-MI_mp3j li a, .bigger3 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
443
-
444
- .bigger3.bl span.buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -177px center; }
445
- .bigger3.bl span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -428px center; }
446
- .bigger3.bl span.buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
447
- .bigger3.bl span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
448
- .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; }
449
- .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; }
450
-
451
-
452
-
453
- /* ===== bigger4 ===== */
454
- .bigger4 { font-size:38px; line-height:46px !important; margin:0 !important; }
455
- .bigger4 .load_mp3j, .bigger4 .loadB_mp3j { top:46px; left:0px; height:3px; }
456
- .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; }
457
- .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; }
458
- .bigger4 .indi_mp3j { font-size: 0.5em !important; }
459
- .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; }
460
- .bigger4 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -418px center; }
461
- .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; }
462
- .bigger4 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
463
- .bigger4 .vol_mp3j { height:1px; max-width:110px; right:86px; top:-8px; }
464
- .bigger4 .vol_mp3t { height:1px; max-width:110px; right:20px; top:-5px; }
465
- .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; }
466
- .bigger4 .vol_mp3j .ui-slider-handle:hover, .bigger4 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
467
- .bigger4 .Smp3-finding,
468
- .bigger4 .mp3-tint,
469
- .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; }
470
- .bigger4 .mp3-gtint { margin:0 6px 0 -20px; }
471
-
472
- .bigger4 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
473
- .bigger4 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
474
- .bigger4 ul.UL-MI_mp3j li a, .bigger4 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
475
-
476
- .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; }
477
- .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; }
478
- .bigger4.bl .buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -167px center; }
479
- .bigger4.bl .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -418px center; }
480
- .bigger4.bl .buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
481
- .bigger4.bl .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
482
- .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; }
483
- .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; }
484
-
485
-
486
-
487
- /* ===== bigger5 ===== */
488
- .bigger5 { font-size:48px; line-height:60px !important; margin:0 !important; }
489
- .bigger5 .load_mp3j, .bigger5 .loadB_mp3j { top:63px; left:0px; height:4px; }
490
- .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; }
491
- .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; }
492
- .bigger5 .indi_mp3j { font-size: 0.5em !important; }
493
- .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; }
494
- .bigger5 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -405px center; }
495
- .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; }
496
- .bigger5 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
497
- .bigger5 .vol_mp3j { height:1px; max-width:170px; right:115px; top:-10px; }
498
- .bigger5 .vol_mp3t { height:1px; max-width:170px; right:33px; top:-5px; }
499
- .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; }
500
- .bigger5 .vol_mp3j .ui-slider-handle:hover, .bigger5 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
501
- .bigger5 .Smp3-finding,
502
- .bigger5 .mp3-tint,
503
- .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; }
504
- .bigger5 .mp3-gtint { margin:0 6px 0 -20px; }
505
-
506
- .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; }
507
- .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; }
508
- .bigger5.bl .buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
509
- .bigger5.bl .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -405px center; }
510
- .bigger5.bl .buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
511
- .bigger5.bl .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
512
- .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; }
513
- .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; }
514
-
515
-
516
- /* ===== smaller ===== */
517
- .smaller div.player-track-title { font:normal normal 500 11px/13px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; left:5px; right:5px; }
518
- .smaller div.player-track-title span { font:normal normal 500 10px/10px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; padding:0; }
519
- .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; }
520
-
521
-
522
- /* ===== outline ==== */
523
- span.outline { font-size:14px; line-height:22px !important; margin:0 !important; }
524
- .outline span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; background: transparent; }
525
- .outline span.vol_mp3j { position:absolute; top:-9px; right:7px; width:85%; max-width:100px; height:2px; background: transparent; }
526
- .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; }
527
- .outline span.buttons_mp3j:hover { background:transparent url('images/transport-outline.png') no-repeat -80px -33px; }
528
- .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; }
529
- .outline span.buttons_mp3jpause:hover { background:transparent url('images/transport-outline.png') no-repeat 1px -33px; }
530
- .outline span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
531
- .outline span.posbarB_mp3j .ui-widget-header { z-index:-500; }
532
- .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; }
533
- .outline span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t20b.png') repeat; border-color:#777; }
534
- .outline div.transport-MI div { background-image: url("images/transport-hardZ.png"); }
535
- .outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
536
-
537
- .dark.outline div.transport-MI div { background-image: url("images/transport-hardK.png"); }
538
- .dark.outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
539
-
540
-
541
- /* ===== wtransbars ==== */
542
- .wtransbars div.loadMI_mp3j { background:#fff; opacity:0.1; filter:alpha(opacity=10); }
543
- .wtransbars div.poscolMI_mp3j { background:#fff url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
544
- .wtransbars div.player-track-title { color:#fff; }
545
-
546
- /* ===== btransbars ==== */
547
- .btransbars div.loadMI_mp3j { background:#000; opacity:0.1; filter:alpha(opacity=10); }
548
- .btransbars div.poscolMI_mp3j { background:#000 url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
549
- .btransbars div.player-track-title { color:#000; }
550
-
551
-
552
-
553
-
554
-
555
-
556
-
557
-
558
-
559
-
560
-
561
-
562
-
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
+ [mp3j] & [mp3t] SHORTCODES
184
+ ==================================== */
185
+ span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
186
+ /*span.wrap_inline_mp3j:hover .buttons_mp3j { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }*/
187
+ span.indi_mp3j { position:relative; padding-left:2px; font-size: 0.7em !important; }
188
+
189
+ /* BARS */
190
+ span.bars_mp3j { position:absolute; width:100%; height:100%; }
191
+ span.load_mp3j, span.loadB_mp3j { position:absolute; /* background set from admin */ top:20px; left:0px; height:2px; }
192
+ /* mp3t */
193
+ span.posbar_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
194
+ span.posbar_mp3j .ui-widget-header { z-index:-500; }
195
+ 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; }
196
+ span.posbar_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -0px 0px; border-color:#aaa; }
197
+
198
+ /* mp3j */
199
+ span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0; z-index:450; cursor:pointer; }
200
+ span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:450; height:100%; }
201
+ 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; }
202
+ span.posbarB_mp3j .ui-slider-handle:hover { background: transparent url('images/inlineHandle2.png') no-repeat -3px -33px; }
203
+
204
+ /* SPAN TRANSPORT */
205
+ span.group_wrap { position:relative; margin:0px 0px 0px 0px; width:auto; }
206
+ span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; margin:0px; padding:0px !important; }
207
+ 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; }
208
+ span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }
209
+ 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; }
210
+ span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -35px; }
211
+
212
+ /* VOLUMES */
213
+ span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; }
214
+ span.vol_mp3j { position:absolute; top:-9px; right:6px; width:85%; max-width:100px; height:2px; }
215
+ span.vol_mp3j.flipped { right:4px; }
216
+ 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%; }
217
+ 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; }
218
+ 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; }
219
+ 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; }
220
+
221
+
222
+
223
+ /*----------------------
224
+ [mp3j-popout] SHORTCODE
225
+ ================================================= */
226
+ .mp3j-popout-link-wrap { cursor:pointer; position:relative; clear:left; }
227
+ .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; }
228
+ .mp3j-popout-link-wrap:hover .mp3j-popout-link { background:url('images/buttons-popout.png') no-repeat -10px -95px; }
229
+
230
+
231
+
232
+ /*=================================================
233
+
234
+ MODS
235
+ (via 'style' param in shortcode)
236
+ ================================================= */
237
+
238
+ /* ===== "dark" ===== */
239
+ .dark .innerx { background-position:left -119px; }
240
+ .dark .transport-MI { height:38px; }
241
+ .dark .transport-MI div { background-image:url("images/transport-darkbg-trans2.png"); }
242
+ .dark .bars_holder { background:url('images/t40b.png') repeat-x left bottom; }
243
+ .dark .mp3j-popout-MI { color:#a2a2a2; background-position:-8px -6px; border-color:#585858; background-color:#aaa; }
244
+ .dark .mp3j-popout-MI:hover { color:#aaa; background-position:-8px -36px; }
245
+ .dark div.playlist-toggle-MI { background:#505050; color:#a2a2a2; }
246
+ .dark div.playlist-toggle-MI:hover { background:#585858; color:#aaa; }
247
+ .dark .MI-image img { background-color:#777; }
248
+
249
+ .dark div.mp3j-finfo { background:url('images/fdloadB-x.png') repeat-x left top; }
250
+ .dark div.mp3j-finfo-gif { background:url('images/loader-w2.gif') no-repeat center 37px; }
251
+ .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; }
252
+ .dark div.mp3j-finfo-close:hover { color:#eee !important; }
253
+ .dark div.mp3j-finfo-txt h2 { color:#fff !important; }
254
+ .dark div.mp3j-finfo-txt h3 { color:#fff !important; }
255
+ .dark div.mp3j-finfo-txt p { color:#fff !important; }
256
+
257
+
258
+ /* ===== "text" ===== */
259
+ div.wrap-MI.text { /*min-width:300px;*/ }
260
+ .text div.innerx, .text div.innerleft, .text div.innerright { position: absolute; visibility: hidden; }
261
+ .text div.innertab { bottom: 38px; }
262
+ .text div.jp-interface { background:none; }
263
+ .text div.player-track-title { font:normal normal 500 16px/18px 'trebuchet ms', Arial, sans-serif; }
264
+ .text div.player-track-title span { font:italic normal 500 12px/14px 'trebuchet ms', Arial, sans-serif; opacity:0.7; filter:alpha(opacity=70); }
265
+ .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; }
266
+ .text div.jp-play-time { width:37px; left:0px; opacity:0.6; filter:alpha(opacity=60); }
267
+ .text div.jp-total-time { width:37px; left:100px; display:none; }
268
+ .text div.statusMI { left:37px; width:70px !important; }
269
+ .text div.transport-MI { height:26px; right:2px; bottom:12px; }
270
+ .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; }
271
+ .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; }
272
+ .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; }
273
+ .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; }
274
+ .text div.stop_mp3j { text-indent:0px !important; width:31px; height:25px; margin:0px 0px 0px 4px; line-height:25px !important; font-size:14px; }
275
+ .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); }
276
+ .text div.playlist-toggle-MI:hover { opacity:1.0; filter:alpha(opacity=100); }
277
+ .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; }
278
+ .text div.dloadmp3-MI a { color:#888; font-size:inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
279
+ .text div.dloadmp3-MI a:hover { color:#555; background:none !important; }
280
+ .text div.dloadmp3-MI.betweenlinks a { display:none; background:none !important; }
281
+ .text div.dloadmp3-MI.whilelinks a { display:block; background:none !important; }
282
+ .text div.dloadmp3-MI.whilelinks a:hover { text-decoration:none; background:none !important; }
283
+ .text div.dloadmp3-MI p { font-size: inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
284
+ .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; }
285
+ .text div.mp3j-popout-MI:hover { color:#555; opacity:1.0; filter:alpha(opacity=100); }
286
+ .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; }
287
+ .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; }
288
+ .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; }
289
+ .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; }
290
+ .text div.dloadmp3-MI.whilelinks, .text div.dloadmp3-MI.logintext { background:none !important; }
291
+
292
+
293
+ /* ===== "noscreen" ===== */
294
+ .noscreen div.jp-interface { height:44px; min-height:44px; }
295
+ .noscreen div.player-track-title { display:none; }
296
+ .noscreen div.bars_holder { top:auto; bottom:0px; height:7px; }
297
+ .noscreen div.innertab { bottom: 0px; top:0; display:none; }
298
+ .noscreen div.dloadmp3-MI { bottom: 11px; }
299
+ .noscreen div.transport-MI { bottom:17px; }
300
+ .noscreen div.jp-play-time, .noscreen div.jp-total-time, .noscreen div.statusMI { bottom:25px; }
301
+ .noscreen div.playlist-toggle-MI { bottom: 12px; }
302
+ .noscreen div.mp3j-popout-MI { bottom: 20px; }
303
+ .noscreen div.MIsliderVolume { bottom: 43px; }
304
+ .noscreen div.MIsliderVolume .ui-widget-header { background:transparent url('images/vol-grad60b2.png') repeat-y 0px top; }
305
+ .noscreen div.MIsliderVolume .ui-slider-handle { top:-6px; }
306
+ .noscreen h2 { margin:0 !important; padding:0 0 0px 0 !important; }
307
+ .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; }
308
+ .noscreen div.posbarMI_mp3j .ui-slider-handle:hover { background:none; border:none; }
309
+ .noscreen .MI-image { top:15px; }
310
+
311
+
312
+ /* ===== "nolistbutton" ===== */
313
+ .nolistbutton div.playlist-toggle-MI { visibility:hidden; }
314
+
315
+ /* ===== "nopopoutbutton" ===== */
316
+ .nopopoutbutton div.mp3j-popout-MI { display:none; }
317
+
318
+ /* ===== "nopn" ===== */
319
+ .nopn div.Prev_mp3j { display:none; }
320
+ .nopn div.Next_mp3j { display:none; }
321
+
322
+ /* ===== "nostop" ===== */
323
+ .nostop div.stop_mp3j { display:none; }
324
+
325
+
326
+ /* ===== "bars100" ===== */
327
+ .bars100 div.player-track-title { left:112px; }
328
+ .bars100 div.dloadmp3-MI { left:102px; width:36%;}
329
+ .bars100 div.bars_holder { left:102px; width:auto; }
330
+ .bars100 .MI-image img { padding:1px; }
331
+ .bars100 div.player-track-title { top:20px; }
332
+
333
+ /* ===== "bars150" ===== */
334
+ .bars150 div.player-track-title { left:162px; }
335
+ .bars150 div.dloadmp3-MI { left:152px; width:33%;}
336
+ .bars150 div.bars_holder { left:152px; width:auto; }
337
+ .bars150 .MI-image img { padding:1px; }
338
+ .bars150 div.player-track-title { top:20px; }
339
+
340
+ /* ===== "bars200" ===== */
341
+ .bars200 div.player-track-title { left:212px; }
342
+ .bars200 div.dloadmp3-MI { left:202px; width:30%; }
343
+ .bars200 div.bars_holder { left:202px; width:auto; }
344
+ .bars200 .MI-image img { padding:1px; }
345
+ .bars200 div.player-track-title { top:20px; }
346
+
347
+ /* ===== "bars250" ===== */
348
+ .bars250 div.player-track-title { left:262px; }
349
+ .bars250 div.dloadmp3-MI { left:252px; width:27%;}
350
+ .bars250 div.bars_holder { left:252px; width:auto; }
351
+ .bars250 .MI-image img { padding:1px; }
352
+ .bars250 div.player-track-title { top:20px; }
353
+
354
+ /* ===== "bars300" ===== */
355
+ .bars300 div.player-track-title { left:312px; }
356
+ .bars300 div.dloadmp3-MI { left:302px; width:24%; }
357
+ .bars300 div.bars_holder { left:302px; width:auto; }
358
+ .bars300 .MI-image img { padding:1px; }
359
+ .bars300 div.player-track-title { top:20px; }
360
+
361
+ /* ===== "bars350" ===== */
362
+ .bars350 div.player-track-title { left:362px; }
363
+ .bars350 div.dloadmp3-MI { left:352px; width:21%;}
364
+ .bars350 div.bars_holder { left:352px; width:auto; }
365
+ .bars350 .MI-image img { padding:1px; }
366
+ .bars350 div.player-track-title { top:20px; }
367
+
368
+ /* ===== "bars400" ===== */
369
+ .bars400 div.player-track-title { left:412px; }
370
+ .bars400 div.dloadmp3-MI { left:402px; width:18%; }
371
+ .bars400 div.bars_holder { left:402px; width:auto; }
372
+ .bars400 .MI-image img { padding:1px; }
373
+ .bars400 div.player-track-title { top:20px; }
374
+
375
+ /* ===== bigger1 ===== */
376
+ .bigger1 { font-size:18px; line-height:26px !important; margin:0 !important; }
377
+ .bigger1 span.load_mp3j,
378
+ .bigger1 span.loadB_mp3j { top:24px; left:0px; height:2px; }
379
+ .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; }
380
+ .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; }
381
+ .bigger1 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; border-color:#aaa; }
382
+ .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; }
383
+ .bigger1 span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -32px; }
384
+ .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; }
385
+ .bigger1 span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -32px; }
386
+ .bigger1 span.vol_mp3j { position:absolute; top:-6px; right:7px; width:85%; max-width:100px; height:2px; }
387
+
388
+ .bigger1 div.player-track-title { font:normal normal 500 18px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
389
+ .bigger1 div.player-track-title span { font:normal normal 500 14px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
390
+ .bigger1 ul.UL-MI_mp3j li a, .bigger1 ul.UL-MI_mp3j li { font-size:16px !important; line-height:19px !important; }
391
+ .bigger1 .indi_mp3j { font-size: 0.6em !important; }
392
+
393
+ /* ===== "bigger2" ===== */
394
+ .bigger2 div.player-track-title { font:normal normal 500 36px/38px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
395
+ .bigger2 div.player-track-title span { font:normal normal 500 20px/22px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
396
+ .bigger2 ul.UL-MI_mp3j li a, .bigger2 ul.UL-MI_mp3j li { font-size:20px !important; line-height:24px !important; }
397
+ .bigger2 { font-size:23px; line-height:25px !important; margin:0 !important; }
398
+ .bigger2 span.load_mp3j,
399
+ .bigger2 span.loadB_mp3j { top:26px; left:0px; height:2px; }
400
+ .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; }
401
+ .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; }
402
+ .bigger2 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; border-color:#999; }
403
+ .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; }
404
+ .bigger2 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -437px center; }
405
+ .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; }
406
+ .bigger2 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
407
+ .bigger2 span.vol_mp3j { position:absolute; top:-12px; right:4px; width:85%; max-width:100px; height:2px; }
408
+ .bigger2 span.vol_mp3t { position:absolute; top:-10px; width:85%; max-width:100px; height:2px; }
409
+ .bigger2 .Smp3-finding,
410
+ .bigger2 .mp3-tint,
411
+ .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; }
412
+ .bigger2 .mp3-gtint { margin:0 6px 0 -16px; }
413
+ .bigger2 .indi_mp3j { font-size: 0.5em !important; padding-left:0px; }
414
+
415
+ .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; }
416
+ .bigger2.wh .buttons_mp3j:hover { background:url('images/play-dark2-w.png') no-repeat -437px center; }
417
+ .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; }
418
+ .bigger2.wh .buttons_mp3jpause:hover { background:url('images/stop-dark2-w.png') repeat-y -350px top; }
419
+
420
+
421
+
422
+ /* ===== bigger3 ===== */
423
+ .bigger3 { font-size:28px; line-height:36px !important; margin:0 !important; }
424
+ .bigger3 .load_mp3j, .bigger3 .loadB_mp3j { top:37px; left:0px; height:3px; }
425
+ .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; }
426
+ .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; }
427
+ .bigger3 .indi_mp3j { font-size: 0.5em !important; }
428
+ .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; }
429
+ .bigger3 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -428px center; }
430
+ .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; }
431
+ .bigger3 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
432
+ .bigger3 .vol_mp3j { height:1px; max-width:110px; right:64px; top:-8px; }
433
+ .bigger3 .vol_mp3t { height:1px; max-width:110px; right:16px; top:-5px; }
434
+ .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; }
435
+ .bigger3 .vol_mp3j .ui-slider-handle:hover, .bigger3 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
436
+ .bigger3 .Smp3-finding,
437
+ .bigger3 .mp3-tint,
438
+ .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; }
439
+ .bigger3 .mp3-gtint { margin:0 2px 0 -14px; }
440
+ .bigger3 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
441
+ .bigger3 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
442
+ .bigger3 ul.UL-MI_mp3j li a, .bigger3 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
443
+
444
+ .bigger3.bl span.buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -177px center; }
445
+ .bigger3.bl span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -428px center; }
446
+ .bigger3.bl span.buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
447
+ .bigger3.bl span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
448
+ .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; }
449
+ .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; }
450
+
451
+
452
+
453
+ /* ===== bigger4 ===== */
454
+ .bigger4 { font-size:38px; line-height:46px !important; margin:0 !important; }
455
+ .bigger4 .load_mp3j, .bigger4 .loadB_mp3j { top:46px; left:0px; height:3px; }
456
+ .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; }
457
+ .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; }
458
+ .bigger4 .indi_mp3j { font-size: 0.5em !important; }
459
+ .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; }
460
+ .bigger4 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -418px center; }
461
+ .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; }
462
+ .bigger4 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
463
+ .bigger4 .vol_mp3j { height:1px; max-width:110px; right:86px; top:-8px; }
464
+ .bigger4 .vol_mp3t { height:1px; max-width:110px; right:20px; top:-5px; }
465
+ .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; }
466
+ .bigger4 .vol_mp3j .ui-slider-handle:hover, .bigger4 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
467
+ .bigger4 .Smp3-finding,
468
+ .bigger4 .mp3-tint,
469
+ .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; }
470
+ .bigger4 .mp3-gtint { margin:0 6px 0 -20px; }
471
+
472
+ .bigger4 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
473
+ .bigger4 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
474
+ .bigger4 ul.UL-MI_mp3j li a, .bigger4 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
475
+
476
+ .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; }
477
+ .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; }
478
+ .bigger4.bl .buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -167px center; }
479
+ .bigger4.bl .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -418px center; }
480
+ .bigger4.bl .buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
481
+ .bigger4.bl .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
482
+ .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; }
483
+ .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; }
484
+
485
+
486
+
487
+ /* ===== bigger5 ===== */
488
+ .bigger5 { font-size:48px; line-height:60px !important; margin:0 !important; }
489
+ .bigger5 .load_mp3j, .bigger5 .loadB_mp3j { top:63px; left:0px; height:4px; }
490
+ .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; }
491
+ .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; }
492
+ .bigger5 .indi_mp3j { font-size: 0.5em !important; }
493
+ .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; }
494
+ .bigger5 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -405px center; }
495
+ .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; }
496
+ .bigger5 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
497
+ .bigger5 .vol_mp3j { height:1px; max-width:170px; right:115px; top:-10px; }
498
+ .bigger5 .vol_mp3t { height:1px; max-width:170px; right:33px; top:-5px; }
499
+ .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; }
500
+ .bigger5 .vol_mp3j .ui-slider-handle:hover, .bigger5 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
501
+ .bigger5 .Smp3-finding,
502
+ .bigger5 .mp3-tint,
503
+ .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; }
504
+ .bigger5 .mp3-gtint { margin:0 6px 0 -20px; }
505
+
506
+ .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; }
507
+ .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; }
508
+ .bigger5.bl .buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
509
+ .bigger5.bl .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -405px center; }
510
+ .bigger5.bl .buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
511
+ .bigger5.bl .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
512
+ .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; }
513
+ .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; }
514
+
515
+
516
+ /* ===== smaller ===== */
517
+ .smaller div.player-track-title { font:normal normal 500 11px/13px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; left:5px; right:5px; }
518
+ .smaller div.player-track-title span { font:normal normal 500 10px/10px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; padding:0; }
519
+ .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; }
520
+
521
+
522
+ /* ===== outline ==== */
523
+ span.outline { font-size:14px; line-height:22px !important; margin:0 !important; }
524
+ .outline span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; background: transparent; }
525
+ .outline span.vol_mp3j { position:absolute; top:-9px; right:7px; width:85%; max-width:100px; height:2px; background: transparent; }
526
+ .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; }
527
+ .outline span.buttons_mp3j:hover { background:transparent url('images/transport-outline.png') no-repeat -80px -33px; }
528
+ .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; }
529
+ .outline span.buttons_mp3jpause:hover { background:transparent url('images/transport-outline.png') no-repeat 1px -33px; }
530
+ .outline span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
531
+ .outline span.posbarB_mp3j .ui-widget-header { z-index:-500; }
532
+ .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; }
533
+ .outline span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t20b.png') repeat; border-color:#777; }
534
+ .outline div.transport-MI div { background-image: url("images/transport-hardZ.png"); }
535
+ .outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
536
+
537
+ .dark.outline div.transport-MI div { background-image: url("images/transport-hardK.png"); }
538
+ .dark.outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
539
+
540
+
541
+ /* ===== wtransbars ==== */
542
+ .wtransbars div.loadMI_mp3j { background:#fff; opacity:0.1; filter:alpha(opacity=10); }
543
+ .wtransbars div.poscolMI_mp3j { background:#fff url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
544
+ .wtransbars div.player-track-title { color:#fff; }
545
+
546
+ /* ===== btransbars ==== */
547
+ .btransbars div.loadMI_mp3j { background:#000; opacity:0.1; filter:alpha(opacity=10); }
548
+ .btransbars div.poscolMI_mp3j { background:#000 url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
549
+ .btransbars div.player-track-title { color:#000; }
550
+
551
+
552
+
553
+
554
+
555
+
556
+
557
+
558
+
559
+
560
+
561
+
562
+
css/players-1-8-text.css CHANGED
@@ -1,490 +1,490 @@
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
- /* backwards compat
216
- ------------------- */
217
- div.player-track-title.mp3j_widgetmods { font-size: 14px; }
218
- div.player-track-title.mp3j_widgetmods span { font-size: 11px; }
219
- ul.UL-MI_mp3j.mp3j_widgetmods li { font-size:11px !important; line-height:14px !important; }
220
- ul.UL-MI_mp3j.mp3j_widgetmods li a { font-size:11px !important; line-height:14px !important; }
221
-
222
-
223
-
224
-
225
-
226
- /*-------------------------
227
- [mp3j] & [mp3t] SHORTCODES
228
- ==================================== */
229
- span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
230
- /*span.wrap_inline_mp3j:hover .buttons_mp3j { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }*/
231
- span.indi_mp3j { position:relative; padding-left:2px; font-size: 0.7em !important; }
232
-
233
- /* BARS */
234
- span.bars_mp3j { position:absolute; width:100%; height:100%; }
235
- span.load_mp3j, span.loadB_mp3j { position:absolute; /* background */ top:20px; left:0px; height:2px; }
236
- /* mp3t */
237
- span.posbar_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
238
- span.posbar_mp3j .ui-widget-header { z-index:-500; }
239
- 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; }
240
- span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t15b.png') repeat; border-color:#aaa; }
241
- /* mp3j */
242
- span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0; z-index:450; cursor:pointer; }
243
- span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:450; height:100%; }
244
- 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; }
245
- span.posbarB_mp3j .ui-slider-handle:hover { background: transparent url('images/inlineHandle2.png') no-repeat -3px -33px; }
246
-
247
- /* SPAN TRANSPORT */
248
- span.group_wrap { position:relative; margin:0px 0px 0px 0px; width:auto; }
249
- span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; margin:0px; padding:0px; }
250
- span.buttons_mp3j { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px -3px; }
251
- span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }
252
- span.buttons_mp3jpause { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px -3px; }
253
- span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -35px; }
254
-
255
- /* VOLUMES */
256
- span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; }
257
- span.vol_mp3j { position:absolute; top:-9px; right:5px; width:85%; max-width:100px; height:2px; }
258
- span.vol_mp3j.flipped { right:4px; }
259
- 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%; }
260
- 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; }
261
- 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; }
262
- 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; }
263
-
264
-
265
- /*----------------------
266
- [mp3j-popout] SHORTCODE
267
- ================================================= */
268
- .mp3j-popout-link-wrap { cursor:pointer; position:relative; clear:left; }
269
- .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; }
270
- .mp3j-popout-link-wrap:hover .mp3j-popout-link { background:url('images/buttons-popout.png') no-repeat -10px -95px; }
271
-
272
-
273
-
274
-
275
- /*-------------
276
- CUSTOM CLASSES
277
- (via 'style' param in shortcode)
278
- ================================================= */
279
-
280
-
281
- /* ===== "nolistbutton" ===== */
282
- .nolistbutton div.playlist-toggle-MI { visibility:hidden; }
283
-
284
- /* ===== "nopopoutbutton" ===== */
285
- .nopopoutbutton div.mp3j-popout-MI { display:none; }
286
-
287
- /* ===== "nopn" ===== */
288
- .nopn div.Prev_mp3j { display:none; }
289
- .nopn div.Next_mp3j { display:none; }
290
-
291
- /* ===== "nostop" ===== */
292
- .nostop div.stop_mp3j { display:none; }
293
-
294
-
295
- /* ===== "bars100" ===== */
296
- .bars100 div.player-track-title { left:112px; }
297
- .bars100 div.dloadmp3-MI { left:102px; width:36%;}
298
- .bars100 div.bars_holder { left:102px; width:auto; }
299
- .bars100 .MI-image img { padding:1px; background-color:transparent; }
300
-
301
- /* ===== "bars150" ===== */
302
- .bars150 div.player-track-title { left:162px; }
303
- .bars150 div.dloadmp3-MI { left:152px; width:33%;}
304
- .bars150 div.bars_holder { left:152px; width:auto; }
305
- .bars150 .MI-image img { padding:1px; background-color:transparent; }
306
-
307
- /* ===== "bars200" ===== */
308
- .bars200 div.player-track-title { left:212px; }
309
- .bars200 div.dloadmp3-MI { left:202px; width:30%; }
310
- .bars200 div.bars_holder { left:202px; width:auto; }
311
- .bars200 .MI-image img { padding:1px; background-color:transparent; }
312
-
313
- /* ===== "bars250" ===== */
314
- .bars250 div.player-track-title { left:262px; }
315
- .bars250 div.dloadmp3-MI { left:252px; width:27%;}
316
- .bars250 div.bars_holder { left:252px; width:auto; }
317
- .bars250 .MI-image img { padding:1px; background-color:transparent; }
318
-
319
- /* ===== "bars300" ===== */
320
- .bars300 div.player-track-title { left:312px; }
321
- .bars300 div.dloadmp3-MI { left:302px; width:24%; }
322
- .bars300 div.bars_holder { left:302px; width:auto; }
323
- .bars300 .MI-image img { padding:1px; background-color:transparent; }
324
-
325
- /* ===== "bars350" ===== */
326
- .bars350 div.player-track-title { left:362px; }
327
- .bars350 div.dloadmp3-MI { left:352px; width:21%;}
328
- .bars350 div.bars_holder { left:352px; width:auto; }
329
- .bars350 .MI-image img { padding:1px; background-color:#transparent; }
330
-
331
- /* ===== "bars400" ===== */
332
- .bars400 div.player-track-title { left:412px; }
333
- .bars400 div.dloadmp3-MI { left:402px; width:18%; }
334
- .bars400 div.bars_holder { left:402px; width:auto; }
335
- .bars400 .MI-image img { padding:1px; background-color:transparent; }
336
-
337
- /* ===== bigger1 ===== */
338
- .bigger1 { font-size:18px; line-height:26px !important; margin:0 !important; }
339
- .bigger1 span.load_mp3j,
340
- .bigger1 span.loadB_mp3j { top:24px; left:0px; height:2px; }
341
- .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; }
342
- .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; }
343
- .bigger1 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; border-color:#aaa; }
344
- .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; }
345
- .bigger1 span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -32px; }
346
- .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; }
347
- .bigger1 span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -32px; }
348
- .bigger1 span.vol_mp3j { position:absolute; top:-6px; right:7px; width:85%; max-width:100px; height:2px; }
349
-
350
- .bigger1 div.player-track-title { font:normal normal 500 18px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
351
- .bigger1 div.player-track-title span { font:normal normal 500 14px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
352
- .bigger1 ul.UL-MI_mp3j li a, .bigger1 ul.UL-MI_mp3j li { font-size:16px !important; line-height:19px !important; }
353
- .bigger1 .indi_mp3j { font-size: 0.6em !important; }
354
-
355
- /* ===== "bigger2" ===== */
356
- .bigger2 div.player-track-title { font:normal normal 500 36px/38px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
357
- .bigger2 div.player-track-title span { font:normal normal 500 20px/22px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
358
- .bigger2 ul.UL-MI_mp3j li a, .bigger2 ul.UL-MI_mp3j li { font-size:20px !important; line-height:24px !important; }
359
- .bigger2 { font-size:23px; line-height:25px !important; margin:0 !important; }
360
- .bigger2 span.load_mp3j,
361
- .bigger2 span.loadB_mp3j { top:26px; left:0px; height:2px; }
362
- .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; }
363
- .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; }
364
- .bigger2 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; border-color:#999; }
365
- .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; }
366
- .bigger2 .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -437px center; }
367
- .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; }
368
- .bigger2 .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
369
- .bigger2 span.vol_mp3j { position:absolute; top:-12px; right:4px; width:85%; max-width:100px; height:2px; }
370
- .bigger2 span.vol_mp3t { position:absolute; top:-10px; width:85%; max-width:100px; height:2px; }
371
- .bigger2 .Smp3-finding,
372
- .bigger2 .mp3-tint,
373
- .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; }
374
- .bigger2 .mp3-gtint { margin:0 6px 0 -16px; }
375
- .bigger2 .indi_mp3j { font-size: 0.5em !important; padding-left:0px; }
376
-
377
- /* ===== bigger3 ===== */
378
- .bigger3 { font-size:28px; line-height:36px !important; margin:0 !important; }
379
- .bigger3 .load_mp3j, .bigger3 .loadB_mp3j { top:37px; left:0px; height:3px; }
380
- .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; }
381
- .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; }
382
- .bigger3 .indi_mp3j { font-size: 0.5em !important; }
383
- .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; }
384
- .bigger3 .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -428px center; }
385
- .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; }
386
- .bigger3 .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
387
- .bigger3 .vol_mp3j { height:1px; max-width:110px; right:64px; top:-8px; }
388
- .bigger3 .vol_mp3t { height:1px; max-width:110px; right:16px; top:-5px; }
389
- .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; }
390
- .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; }
391
- .bigger3 .Smp3-finding,
392
- .bigger3 .mp3-tint,
393
- .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; }
394
- .bigger3 .mp3-gtint { margin:0 2px 0 -14px; }
395
- .bigger3 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
396
- .bigger3 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
397
- .bigger3 ul.UL-MI_mp3j li a, .bigger3 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
398
-
399
-
400
- /* ===== bigger4 ===== */
401
- .bigger4 { font-size:38px; line-height:46px !important; margin:0 !important; }
402
- .bigger4 .load_mp3j, .bigger4 .loadB_mp3j { top:46px; left:0px; height:3px; }
403
- .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; }
404
- .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; }
405
- .bigger4 .indi_mp3j { font-size: 0.5em !important; }
406
- .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; }
407
- .bigger4 .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -418px center; }
408
- .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; }
409
- .bigger4 .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
410
- .bigger4 .vol_mp3j { height:1px; max-width:110px; right:86px; top:-8px; }
411
- .bigger4 .vol_mp3t { height:1px; max-width:110px; right:20px; top:-5px; }
412
- .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; }
413
- .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; }
414
- .bigger4 .Smp3-finding,
415
- .bigger4 .mp3-tint,
416
- .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; }
417
- .bigger4 .mp3-gtint { margin:0 6px 0 -20px; }
418
-
419
- .bigger4 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
420
- .bigger4 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
421
- .bigger4 ul.UL-MI_mp3j li a, .bigger4 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
422
-
423
-
424
- /* ===== bigger5 ===== */
425
- .bigger5 { font-size:48px; line-height:60px !important; margin:0 !important; }
426
- .bigger5 .load_mp3j, .bigger5 .loadB_mp3j { top:63px; left:0px; height:4px; }
427
- .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; }
428
- .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; }
429
- .bigger5 .indi_mp3j { font-size: 0.5em !important; }
430
- .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; }
431
- .bigger5 .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -405px center; }
432
- .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; }
433
- .bigger5 .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
434
- .bigger5 .vol_mp3j { height:1px; max-width:170px; right:115px; top:-10px; }
435
- .bigger5 .vol_mp3t { height:1px; max-width:170px; right:33px; top:-5px; }
436
- .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; }
437
- .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; }
438
- .bigger5 .Smp3-finding,
439
- .bigger5 .mp3-tint,
440
- .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; }
441
- .bigger5 .mp3-gtint { margin:0 6px 0 -20px; }
442
-
443
- .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; }
444
- .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; }
445
- .bigger5.wh .buttons_mp3j { background:url('images/play-dark2-w.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
446
- .bigger5.wh .buttons_mp3j:hover { background:url('images/play-dark2-w.png') no-repeat -405px center; }
447
- .bigger5.wh .buttons_mp3jpause { background:url('images/stop-dark2-w.png') repeat-y 0px top; }
448
- .bigger5.wh .buttons_mp3jpause:hover { background:url('images/stop-dark2-w.png') repeat-y -350px top; }
449
- .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; }
450
- .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; }
451
-
452
-
453
- /* ===== "smaller" ===== */
454
- .smaller div.player-track-title { font:normal normal 500 11px/13px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; left:3px; right:5px; }
455
- .smaller div.player-track-title span { font:normal normal 500 10px/10px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; padding:0; }
456
- .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; }
457
-
458
-
459
-
460
-
461
-
462
-
463
-
464
- /* ===== outline ==== */
465
- span.outline { font-size:14px; line-height:22px !important; margin:0 !important; }
466
- .outline span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; background: transparent; }
467
- .outline span.vol_mp3j { position:absolute; top:-9px; right:7px; width:85%; max-width:100px; height:2px; background: transparent; }
468
- .outline span.buttons_mp3j { padding:2px 0px 3px 20px; background: transparent url('images/transport-outline.png') no-repeat -80px -2px; border:0; margin:0; }
469
- .outline span.buttons_mp3j:hover { background:transparent url('images/transport-outline.png') no-repeat -80px -34px; }
470
- .outline span.buttons_mp3jpause { padding:2px 0px 3px 20px; background: transparent url('images/transport-outline.png') no-repeat 1px -2px; border:0; margin:0; }
471
- .outline span.buttons_mp3jpause:hover { background:transparent url('images/transport-outline.png') no-repeat 1px -34px; }
472
- .outline span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
473
- .outline span.posbarB_mp3j .ui-widget-header { z-index:-500; }
474
- .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; }
475
- .outline span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t20b.png') repeat; border-color:#777; }
476
-
477
- .outline div.transport-MI div { background-image: url("images/transport-hardZ.png"); }
478
-
479
-
480
- /* ===== wtransbars ==== */
481
- .wtransbars div.loadMI_mp3j { background:#fff; opacity:0.1; filter:alpha(opacity=10); }
482
- .wtransbars div.poscolMI_mp3j { background:#fff url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
483
- .wtransbars div.player-track-title { color:#fff; }
484
-
485
- /* ===== btransbars ==== */
486
- .btransbars div.loadMI_mp3j { background:#000; opacity:0.1; filter:alpha(opacity=10); }
487
- .btransbars div.poscolMI_mp3j { background:#000 url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
488
- .btransbars div.player-track-title { color:#000; }
489
-
490
-
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
+ /* backwards compat
216
+ ------------------- */
217
+ div.player-track-title.mp3j_widgetmods { font-size: 14px; }
218
+ div.player-track-title.mp3j_widgetmods span { font-size: 11px; }
219
+ ul.UL-MI_mp3j.mp3j_widgetmods li { font-size:11px !important; line-height:14px !important; }
220
+ ul.UL-MI_mp3j.mp3j_widgetmods li a { font-size:11px !important; line-height:14px !important; }
221
+
222
+
223
+
224
+
225
+
226
+ /*-------------------------
227
+ [mp3j] & [mp3t] SHORTCODES
228
+ ==================================== */
229
+ span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
230
+ /*span.wrap_inline_mp3j:hover .buttons_mp3j { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }*/
231
+ span.indi_mp3j { position:relative; padding-left:2px; font-size: 0.7em !important; }
232
+
233
+ /* BARS */
234
+ span.bars_mp3j { position:absolute; width:100%; height:100%; }
235
+ span.load_mp3j, span.loadB_mp3j { position:absolute; /* background */ top:20px; left:0px; height:2px; }
236
+ /* mp3t */
237
+ span.posbar_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
238
+ span.posbar_mp3j .ui-widget-header { z-index:-500; }
239
+ 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; }
240
+ span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t15b.png') repeat; border-color:#aaa; }
241
+ /* mp3j */
242
+ span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0; z-index:450; cursor:pointer; }
243
+ span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:450; height:100%; }
244
+ 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; }
245
+ span.posbarB_mp3j .ui-slider-handle:hover { background: transparent url('images/inlineHandle2.png') no-repeat -3px -33px; }
246
+
247
+ /* SPAN TRANSPORT */
248
+ span.group_wrap { position:relative; margin:0px 0px 0px 0px; width:auto; }
249
+ span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; margin:0px; padding:0px; }
250
+ span.buttons_mp3j { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px -3px; }
251
+ span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }
252
+ span.buttons_mp3jpause { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px -3px; }
253
+ span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -35px; }
254
+
255
+ /* VOLUMES */
256
+ span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; }
257
+ span.vol_mp3j { position:absolute; top:-9px; right:5px; width:85%; max-width:100px; height:2px; }
258
+ span.vol_mp3j.flipped { right:4px; }
259
+ 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%; }
260
+ 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; }
261
+ 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; }
262
+ 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; }
263
+
264
+
265
+ /*----------------------
266
+ [mp3j-popout] SHORTCODE
267
+ ================================================= */
268
+ .mp3j-popout-link-wrap { cursor:pointer; position:relative; clear:left; }
269
+ .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; }
270
+ .mp3j-popout-link-wrap:hover .mp3j-popout-link { background:url('images/buttons-popout.png') no-repeat -10px -95px; }
271
+
272
+
273
+
274
+
275
+ /*-------------
276
+ CUSTOM CLASSES
277
+ (via 'style' param in shortcode)
278
+ ================================================= */
279
+
280
+
281
+ /* ===== "nolistbutton" ===== */
282
+ .nolistbutton div.playlist-toggle-MI { visibility:hidden; }
283
+
284
+ /* ===== "nopopoutbutton" ===== */
285
+ .nopopoutbutton div.mp3j-popout-MI { display:none; }
286
+
287
+ /* ===== "nopn" ===== */
288
+ .nopn div.Prev_mp3j { display:none; }
289
+ .nopn div.Next_mp3j { display:none; }
290
+
291
+ /* ===== "nostop" ===== */
292
+ .nostop div.stop_mp3j { display:none; }
293
+
294
+
295
+ /* ===== "bars100" ===== */
296
+ .bars100 div.player-track-title { left:112px; }
297
+ .bars100 div.dloadmp3-MI { left:102px; width:36%;}
298
+ .bars100 div.bars_holder { left:102px; width:auto; }
299
+ .bars100 .MI-image img { padding:1px; background-color:transparent; }
300
+
301
+ /* ===== "bars150" ===== */
302
+ .bars150 div.player-track-title { left:162px; }
303
+ .bars150 div.dloadmp3-MI { left:152px; width:33%;}
304
+ .bars150 div.bars_holder { left:152px; width:auto; }
305
+ .bars150 .MI-image img { padding:1px; background-color:transparent; }
306
+
307
+ /* ===== "bars200" ===== */
308
+ .bars200 div.player-track-title { left:212px; }
309
+ .bars200 div.dloadmp3-MI { left:202px; width:30%; }
310
+ .bars200 div.bars_holder { left:202px; width:auto; }
311
+ .bars200 .MI-image img { padding:1px; background-color:transparent; }
312
+
313
+ /* ===== "bars250" ===== */
314
+ .bars250 div.player-track-title { left:262px; }
315
+ .bars250 div.dloadmp3-MI { left:252px; width:27%;}
316
+ .bars250 div.bars_holder { left:252px; width:auto; }
317
+ .bars250 .MI-image img { padding:1px; background-color:transparent; }
318
+
319
+ /* ===== "bars300" ===== */
320
+ .bars300 div.player-track-title { left:312px; }
321
+ .bars300 div.dloadmp3-MI { left:302px; width:24%; }
322
+ .bars300 div.bars_holder { left:302px; width:auto; }
323
+ .bars300 .MI-image img { padding:1px; background-color:transparent; }
324
+
325
+ /* ===== "bars350" ===== */
326
+ .bars350 div.player-track-title { left:362px; }
327
+ .bars350 div.dloadmp3-MI { left:352px; width:21%;}
328
+ .bars350 div.bars_holder { left:352px; width:auto; }
329
+ .bars350 .MI-image img { padding:1px; background-color:#transparent; }
330
+
331
+ /* ===== "bars400" ===== */
332
+ .bars400 div.player-track-title { left:412px; }
333
+ .bars400 div.dloadmp3-MI { left:402px; width:18%; }
334
+ .bars400 div.bars_holder { left:402px; width:auto; }
335
+ .bars400 .MI-image img { padding:1px; background-color:transparent; }
336
+
337
+ /* ===== bigger1 ===== */
338
+ .bigger1 { font-size:18px; line-height:26px !important; margin:0 !important; }
339
+ .bigger1 span.load_mp3j,
340
+ .bigger1 span.loadB_mp3j { top:24px; left:0px; height:2px; }
341
+ .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; }
342
+ .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; }
343
+ .bigger1 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; border-color:#aaa; }
344
+ .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; }
345
+ .bigger1 span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -32px; }
346
+ .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; }
347
+ .bigger1 span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -32px; }
348
+ .bigger1 span.vol_mp3j { position:absolute; top:-6px; right:7px; width:85%; max-width:100px; height:2px; }
349
+
350
+ .bigger1 div.player-track-title { font:normal normal 500 18px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
351
+ .bigger1 div.player-track-title span { font:normal normal 500 14px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
352
+ .bigger1 ul.UL-MI_mp3j li a, .bigger1 ul.UL-MI_mp3j li { font-size:16px !important; line-height:19px !important; }
353
+ .bigger1 .indi_mp3j { font-size: 0.6em !important; }
354
+
355
+ /* ===== "bigger2" ===== */
356
+ .bigger2 div.player-track-title { font:normal normal 500 36px/38px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
357
+ .bigger2 div.player-track-title span { font:normal normal 500 20px/22px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
358
+ .bigger2 ul.UL-MI_mp3j li a, .bigger2 ul.UL-MI_mp3j li { font-size:20px !important; line-height:24px !important; }
359
+ .bigger2 { font-size:23px; line-height:25px !important; margin:0 !important; }
360
+ .bigger2 span.load_mp3j,
361
+ .bigger2 span.loadB_mp3j { top:26px; left:0px; height:2px; }
362
+ .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; }
363
+ .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; }
364
+ .bigger2 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; border-color:#999; }
365
+ .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; }
366
+ .bigger2 .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -437px center; }
367
+ .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; }
368
+ .bigger2 .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
369
+ .bigger2 span.vol_mp3j { position:absolute; top:-12px; right:4px; width:85%; max-width:100px; height:2px; }
370
+ .bigger2 span.vol_mp3t { position:absolute; top:-10px; width:85%; max-width:100px; height:2px; }
371
+ .bigger2 .Smp3-finding,
372
+ .bigger2 .mp3-tint,
373
+ .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; }
374
+ .bigger2 .mp3-gtint { margin:0 6px 0 -16px; }
375
+ .bigger2 .indi_mp3j { font-size: 0.5em !important; padding-left:0px; }
376
+
377
+ /* ===== bigger3 ===== */
378
+ .bigger3 { font-size:28px; line-height:36px !important; margin:0 !important; }
379
+ .bigger3 .load_mp3j, .bigger3 .loadB_mp3j { top:37px; left:0px; height:3px; }
380
+ .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; }
381
+ .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; }
382
+ .bigger3 .indi_mp3j { font-size: 0.5em !important; }
383
+ .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; }
384
+ .bigger3 .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -428px center; }
385
+ .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; }
386
+ .bigger3 .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
387
+ .bigger3 .vol_mp3j { height:1px; max-width:110px; right:64px; top:-8px; }
388
+ .bigger3 .vol_mp3t { height:1px; max-width:110px; right:16px; top:-5px; }
389
+ .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; }
390
+ .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; }
391
+ .bigger3 .Smp3-finding,
392
+ .bigger3 .mp3-tint,
393
+ .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; }
394
+ .bigger3 .mp3-gtint { margin:0 2px 0 -14px; }
395
+ .bigger3 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
396
+ .bigger3 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
397
+ .bigger3 ul.UL-MI_mp3j li a, .bigger3 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
398
+
399
+
400
+ /* ===== bigger4 ===== */
401
+ .bigger4 { font-size:38px; line-height:46px !important; margin:0 !important; }
402
+ .bigger4 .load_mp3j, .bigger4 .loadB_mp3j { top:46px; left:0px; height:3px; }
403
+ .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; }
404
+ .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; }
405
+ .bigger4 .indi_mp3j { font-size: 0.5em !important; }
406
+ .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; }
407
+ .bigger4 .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -418px center; }
408
+ .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; }
409
+ .bigger4 .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
410
+ .bigger4 .vol_mp3j { height:1px; max-width:110px; right:86px; top:-8px; }
411
+ .bigger4 .vol_mp3t { height:1px; max-width:110px; right:20px; top:-5px; }
412
+ .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; }
413
+ .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; }
414
+ .bigger4 .Smp3-finding,
415
+ .bigger4 .mp3-tint,
416
+ .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; }
417
+ .bigger4 .mp3-gtint { margin:0 6px 0 -20px; }
418
+
419
+ .bigger4 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
420
+ .bigger4 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
421
+ .bigger4 ul.UL-MI_mp3j li a, .bigger4 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
422
+
423
+
424
+ /* ===== bigger5 ===== */
425
+ .bigger5 { font-size:48px; line-height:60px !important; margin:0 !important; }
426
+ .bigger5 .load_mp3j, .bigger5 .loadB_mp3j { top:63px; left:0px; height:4px; }
427
+ .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; }
428
+ .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; }
429
+ .bigger5 .indi_mp3j { font-size: 0.5em !important; }
430
+ .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; }
431
+ .bigger5 .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -405px center; }
432
+ .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; }
433
+ .bigger5 .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
434
+ .bigger5 .vol_mp3j { height:1px; max-width:170px; right:115px; top:-10px; }
435
+ .bigger5 .vol_mp3t { height:1px; max-width:170px; right:33px; top:-5px; }
436
+ .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; }
437
+ .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; }
438
+ .bigger5 .Smp3-finding,
439
+ .bigger5 .mp3-tint,
440
+ .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; }
441
+ .bigger5 .mp3-gtint { margin:0 6px 0 -20px; }
442
+
443
+ .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; }
444
+ .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; }
445
+ .bigger5.wh .buttons_mp3j { background:url('images/play-dark2-w.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
446
+ .bigger5.wh .buttons_mp3j:hover { background:url('images/play-dark2-w.png') no-repeat -405px center; }
447
+ .bigger5.wh .buttons_mp3jpause { background:url('images/stop-dark2-w.png') repeat-y 0px top; }
448
+ .bigger5.wh .buttons_mp3jpause:hover { background:url('images/stop-dark2-w.png') repeat-y -350px top; }
449
+ .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; }
450
+ .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; }
451
+
452
+
453
+ /* ===== "smaller" ===== */
454
+ .smaller div.player-track-title { font:normal normal 500 11px/13px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; left:3px; right:5px; }
455
+ .smaller div.player-track-title span { font:normal normal 500 10px/10px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; padding:0; }
456
+ .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; }
457
+
458
+
459
+
460
+
461
+
462
+
463
+
464
+ /* ===== outline ==== */
465
+ span.outline { font-size:14px; line-height:22px !important; margin:0 !important; }
466
+ .outline span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; background: transparent; }
467
+ .outline span.vol_mp3j { position:absolute; top:-9px; right:7px; width:85%; max-width:100px; height:2px; background: transparent; }
468
+ .outline span.buttons_mp3j { padding:2px 0px 3px 20px; background: transparent url('images/transport-outline.png') no-repeat -80px -2px; border:0; margin:0; }
469
+ .outline span.buttons_mp3j:hover { background:transparent url('images/transport-outline.png') no-repeat -80px -34px; }
470
+ .outline span.buttons_mp3jpause { padding:2px 0px 3px 20px; background: transparent url('images/transport-outline.png') no-repeat 1px -2px; border:0; margin:0; }
471
+ .outline span.buttons_mp3jpause:hover { background:transparent url('images/transport-outline.png') no-repeat 1px -34px; }
472
+ .outline span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
473
+ .outline span.posbarB_mp3j .ui-widget-header { z-index:-500; }
474
+ .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; }
475
+ .outline span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t20b.png') repeat; border-color:#777; }
476
+
477
+ .outline div.transport-MI div { background-image: url("images/transport-hardZ.png"); }
478
+
479
+
480
+ /* ===== wtransbars ==== */
481
+ .wtransbars div.loadMI_mp3j { background:#fff; opacity:0.1; filter:alpha(opacity=10); }
482
+ .wtransbars div.poscolMI_mp3j { background:#fff url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
483
+ .wtransbars div.player-track-title { color:#fff; }
484
+
485
+ /* ===== btransbars ==== */
486
+ .btransbars div.loadMI_mp3j { background:#000; opacity:0.1; filter:alpha(opacity=10); }
487
+ .btransbars div.poscolMI_mp3j { background:#000 url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
488
+ .btransbars div.player-track-title { color:#000; }
489
+
490
+
download.php CHANGED
@@ -1,115 +1,115 @@
1
- <?php
2
- /*
3
- MP3-jPlayer 1.8.5
4
- www.sjward.org
5
- */
6
-
7
- $mp3 = false;
8
- $playerID = "";
9
- $fp = "";
10
- $file = "";
11
- $dbug = "";
12
- $sent = "";
13
- $pagetext = '';
14
- $js_pagetext = '';
15
- $rooturl = preg_replace("/^www\./i", "", $_SERVER['HTTP_HOST']);
16
-
17
-
18
-
19
- if ( isset($_GET['mp3']) ) {
20
-
21
-
22
- $mp3 = strip_tags($_GET['mp3']);
23
- $mp3 = rawurldecode( $mp3 );
24
-
25
- $playerID = ( isset($_GET['pID']) ) ? strip_tags($_GET['pID']) : "";
26
-
27
- if ( preg_match("!\.mp3$!i", $mp3) ) {
28
-
29
- $sent = substr($mp3, 3);
30
- $file = substr(strrchr($sent, "/"), 1);
31
-
32
- if ( ($lp = strpos($sent, $rooturl)) || preg_match("!^/!", $sent) ) { //if local
33
-
34
- if ( $lp !== false ) { //url
35
-
36
- $fp = str_replace($rooturl, "", $sent);
37
- $fp = str_replace("www.", "", $fp);
38
- $fp = str_replace("http://", "", $fp);
39
- $fp = str_replace("https://", "", $fp);
40
-
41
- } else { //folder path
42
-
43
- $fp = $sent;
44
- }
45
-
46
- if ( ($fsize = @filesize($_SERVER['DOCUMENT_ROOT'] . $fp)) !== false ) { //if file can be read then set headers and cookie
47
-
48
- header('Content-Type: audio/mpeg');
49
- $cookiename = 'mp3Download' . $playerID;
50
- setcookie($cookiename, "true", 0, '/', '', '', false);
51
- header('Accept-Ranges: bytes'); // download resume
52
- header('Content-Disposition: attachment; filename=' . $file);
53
-
54
- header('Content-Length: ' . $fsize);
55
-
56
- readfile($_SERVER['DOCUMENT_ROOT'] . $fp);
57
-
58
-
59
- $dbug .= "#read failed"; //if past readfile() then something went wrong
60
-
61
- } else {
62
-
63
- $dbug .= "#no file";
64
- }
65
-
66
- } else {
67
-
68
- $dbug .= "#unreadable";
69
- }
70
-
71
- } else {
72
-
73
- $dbug .= "#not an mp3";
74
- }
75
-
76
- } else {
77
-
78
- $dbug .= "#no get param";
79
- }
80
-
81
- ?>
82
- <!DOCTYPE html>
83
- <html>
84
- <head>
85
- <title>Download MP3</title>
86
- </head>
87
- <body>
88
-
89
- <?php
90
- echo $js_pagetext;
91
- $info = "<p>
92
- Get: " . $_GET['mp3'] . "<br />
93
- Sent: " . $sent . "<br />
94
- File: " . $file . "<br />
95
- Open: " . $_SERVER['DOCUMENT_ROOT'] . $fp . "<br />
96
- Root: " . $rooturl . "<br />
97
- pID: " . $playerID . "<br />
98
- Dbug: " . $dbug . "<br /></p>";
99
- echo $info;
100
-
101
- if ( $playerID != "" ) {
102
- ?>
103
-
104
- <script type="text/javascript">
105
- if ( typeof window.parent.MP3_JPLAYER.dl_dialogs !== 'undefined' ) {
106
- window.parent.MP3_JPLAYER.dl_dialogs[<?php echo $playerID; ?>] = window.parent.MP3_JPLAYER.vars.message_fail;
107
- }
108
- </script>
109
-
110
- <?php
111
- }
112
- ?>
113
-
114
- </body>
115
  </html>
1
+ <?php
2
+ /*
3
+ MP3-jPlayer 1.8.5
4
+ www.sjward.org
5
+ */
6
+
7
+ $mp3 = false;
8
+ $playerID = "";
9
+ $fp = "";
10
+ $file = "";
11
+ $dbug = "";
12
+ $sent = "";
13
+ $pagetext = '';
14
+ $js_pagetext = '';
15
+ $rooturl = preg_replace("/^www\./i", "", $_SERVER['HTTP_HOST']);
16
+
17
+
18
+
19
+ if ( isset($_GET['mp3']) ) {
20
+
21
+
22
+ $mp3 = strip_tags($_GET['mp3']);
23
+ $mp3 = rawurldecode( $mp3 );
24
+
25
+ $playerID = ( isset($_GET['pID']) ) ? strip_tags($_GET['pID']) : "";
26
+
27
+ if ( preg_match("!\.mp3$!i", $mp3) ) {
28
+
29
+ $sent = substr($mp3, 3);
30
+ $file = substr(strrchr($sent, "/"), 1);
31
+
32
+ if ( ($lp = strpos($sent, $rooturl)) || preg_match("!^/!", $sent) ) { //if local
33
+
34
+ if ( $lp !== false ) { //url
35
+
36
+ $fp = str_replace($rooturl, "", $sent);
37
+ $fp = str_replace("www.", "", $fp);
38
+ $fp = str_replace("http://", "", $fp);
39
+ $fp = str_replace("https://", "", $fp);
40
+
41
+ } else { //folder path
42
+
43
+ $fp = $sent;
44
+ }
45
+
46
+ if ( ($fsize = @filesize($_SERVER['DOCUMENT_ROOT'] . $fp)) !== false ) { //if file can be read then set headers and cookie
47
+
48
+ header('Content-Type: audio/mpeg');
49
+ $cookiename = 'mp3Download' . $playerID;
50
+ setcookie($cookiename, "true", 0, '/', '', '', false);
51
+ header('Accept-Ranges: bytes'); // download resume
52
+ header('Content-Disposition: attachment; filename=' . $file);
53
+
54
+ header('Content-Length: ' . $fsize);
55
+
56
+ readfile($_SERVER['DOCUMENT_ROOT'] . $fp);
57
+
58
+
59
+ $dbug .= "#read failed"; //if past readfile() then something went wrong
60
+
61
+ } else {
62
+
63
+ $dbug .= "#no file";
64
+ }
65
+
66
+ } else {
67
+
68
+ $dbug .= "#unreadable";
69
+ }
70
+
71
+ } else {
72
+
73
+ $dbug .= "#not an mp3";
74
+ }
75
+
76
+ } else {
77
+
78
+ $dbug .= "#no get param";
79
+ }
80
+
81
+ ?>
82
+ <!DOCTYPE html>
83
+ <html>
84
+ <head>
85
+ <title>Download MP3</title>
86
+ </head>
87
+ <body>
88
+
89
+ <?php
90
+ echo $js_pagetext;
91
+ $info = "<p>
92
+ Get: " . $_GET['mp3'] . "<br />
93
+ Sent: " . $sent . "<br />
94
+ File: " . $file . "<br />
95
+ Open: " . $_SERVER['DOCUMENT_ROOT'] . $fp . "<br />
96
+ Root: " . $rooturl . "<br />
97
+ pID: " . $playerID . "<br />
98
+ Dbug: " . $dbug . "<br /></p>";
99
+ echo $info;
100
+
101
+ if ( $playerID != "" ) {
102
+ ?>
103
+
104
+ <script type="text/javascript">
105
+ if ( typeof window.parent.MP3_JPLAYER.dl_dialogs !== 'undefined' ) {
106
+ window.parent.MP3_JPLAYER.dl_dialogs[<?php echo $playerID; ?>] = window.parent.MP3_JPLAYER.vars.message_fail;
107
+ }
108
+ </script>
109
+
110
+ <?php
111
+ }
112
+ ?>
113
+
114
+ </body>
115
  </html>
js/Jplayer2-6-0.swf DELETED
Binary file
js/Jplayer271.swf ADDED
@@ -0,0 +1,848 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+
4
+
5
+ <!DOCTYPE html>
6
+ <html lang="en" class="">
7
+ <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# object: http://ogp.me/ns/object# article: http://ogp.me/ns/article# profile: http://ogp.me/ns/profile#">
8
+ <meta charset='utf-8'>
9
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
10
+ <meta http-equiv="Content-Language" content="en">
11
+
12
+
13
+ <title>jPlayer/Jplayer.swf at master · happyworm/jPlayer · GitHub</title>
14
+ <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub">
15
+ <link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub">
16
+ <link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-114.png">
17
+ <link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114.png">
18
+ <link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-144.png">
19
+ <link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144.png">
20
+ <meta property="fb:app_id" content="1401488693436528">
21
+
22
+ <meta content="@github" name="twitter:site" /><meta content="summary" name="twitter:card" /><meta content="happyworm/jPlayer" name="twitter:title" /><meta content="jPlayer : HTML5 Audio &amp;amp; Video for jQuery" name="twitter:description" /><meta content="https://avatars0.githubusercontent.com/u/205061?v=2&amp;s=400" name="twitter:image:src" />
23
+ <meta content="GitHub" property="og:site_name" /><meta content="object" property="og:type" /><meta content="https://avatars0.githubusercontent.com/u/205061?v=2&amp;s=400" property="og:image" /><meta content="happyworm/jPlayer" property="og:title" /><meta content="https://github.com/happyworm/jPlayer" property="og:url" /><meta content="jPlayer : HTML5 Audio &amp; Video for jQuery" property="og:description" />
24
+
25
+ <meta name="browser-stats-url" content="/_stats">
26
+ <link rel="assets" href="https://assets-cdn.github.com/">
27
+ <link rel="conduit-xhr" href="https://ghconduit.com:25035">
28
+
29
+ <meta name="pjax-timeout" content="1000">
30
+
31
+ <meta name="msapplication-TileImage" content="/windows-tile.png">
32
+ <meta name="msapplication-TileColor" content="#ffffff">
33
+ <meta name="selected-link" value="repo_source" data-pjax-transient>
34
+ <meta name="google-analytics" content="UA-3769691-2">
35
+
36
+ <meta content="collector.githubapp.com" name="octolytics-host" /><meta content="collector-cdn.github.com" name="octolytics-script-host" /><meta content="github" name="octolytics-app-id" /><meta content="984E2693:7654:D458ED:543ED867" name="octolytics-dimension-request_id" />
37
+ <meta content="Rails, view, blob#show" name="analytics-event" />
38
+
39
+
40
+
41
+ <link rel="icon" type="image/x-icon" href="https://assets-cdn.github.com/favicon.ico">
42
+
43
+
44
+ <meta content="authenticity_token" name="csrf-param" />
45
+ <meta content="bGzUsIJ44f8O5nv5wqRe19OKLLupIvOSSD4pRAkbS7bMvVhYsa/4hkYS0Ct3m89WGISxpS8NO+RFc8k5qK06UA==" name="csrf-token" />
46
+
47
+ <link href="https://assets-cdn.github.com/assets/github-0771b929a54c98ad48c1075a82c42e8cd8afb8516f8b4f3da76a461695daaf80.css" media="all" rel="stylesheet" type="text/css" />
48
+ <link href="https://assets-cdn.github.com/assets/github2-c7c5c123bf8810b1bccded004dcae7b61fd9e418d4e372478b2b30c900f1ab24.css" media="all" rel="stylesheet" type="text/css" />
49
+
50
+
51
+
52
+
53
+ <meta http-equiv="x-pjax-version" content="dfea8f7810c8ca7d0e70bb85a4f96edc">
54
+
55
+
56
+ <meta name="description" content="jPlayer : HTML5 Audio &amp; Video for jQuery">
57
+ <meta name="go-import" content="github.com/happyworm/jPlayer git https://github.com/happyworm/jPlayer.git">
58
+
59
+ <meta content="205061" name="octolytics-dimension-user_id" /><meta content="happyworm" name="octolytics-dimension-user_login" /><meta content="521424" name="octolytics-dimension-repository_id" /><meta content="happyworm/jPlayer" name="octolytics-dimension-repository_nwo" /><meta content="true" name="octolytics-dimension-repository_public" /><meta content="false" name="octolytics-dimension-repository_is_fork" /><meta content="521424" name="octolytics-dimension-repository_network_root_id" /><meta content="happyworm/jPlayer" name="octolytics-dimension-repository_network_root_nwo" />
60
+ <link href="https://github.com/happyworm/jPlayer/commits/master.atom" rel="alternate" title="Recent Commits to jPlayer:master" type="application/atom+xml">
61
+
62
+ </head>
63
+
64
+
65
+ <body class="logged_out env-production windows vis-public page-blob">
66
+ <a href="#start-of-content" tabindex="1" class="accessibility-aid js-skip-to-content">Skip to content</a>
67
+ <div class="wrapper">
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+ <div class="header header-logged-out" role="banner">
76
+ <div class="container clearfix">
77
+
78
+ <a class="header-logo-wordmark" href="https://github.com/" ga-data-click="(Logged out) Header, go to homepage, icon:logo-wordmark">
79
+ <span class="mega-octicon octicon-logo-github"></span>
80
+ </a>
81
+
82
+ <div class="header-actions" role="navigation">
83
+ <a class="button primary" href="/join" data-ga-click="(Logged out) Header, clicked Sign up, text:sign-up">Sign up</a>
84
+ <a class="button signin" href="/login?return_to=%2Fhappyworm%2FjPlayer%2Fblob%2Fmaster%2Fjquery.jplayer%2FJplayer.swf" data-ga-click="(Logged out) Header, clicked Sign in, text:sign-in">Sign in</a>
85
+ </div>
86
+
87
+ <div class="site-search repo-scope js-site-search" role="search">
88
+ <form accept-charset="UTF-8" action="/happyworm/jPlayer/search" class="js-site-search-form" data-global-search-url="/search" data-repo-search-url="/happyworm/jPlayer/search" method="get"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;" /></div>
89
+ <input type="text"
90
+ class="js-site-search-field is-clearable"
91
+ data-hotkey="s"
92
+ name="q"
93
+ placeholder="Search"
94
+ data-global-scope-placeholder="Search GitHub"
95
+ data-repo-scope-placeholder="Search"
96
+ tabindex="1"
97
+ autocapitalize="off">
98
+ <div class="scope-badge">This repository</div>
99
+ </form>
100
+ </div>
101
+
102
+ <ul class="header-nav left" role="navigation">
103
+ <li class="header-nav-item">
104
+ <a class="header-nav-link" href="/explore" data-ga-click="(Logged out) Header, go to explore, text:explore">Explore</a>
105
+ </li>
106
+ <li class="header-nav-item">
107
+ <a class="header-nav-link" href="/features" data-ga-click="(Logged out) Header, go to features, text:features">Features</a>
108
+ </li>
109
+ <li class="header-nav-item">
110
+ <a class="header-nav-link" href="https://enterprise.github.com/" data-ga-click="(Logged out) Header, go to enterprise, text:enterprise">Enterprise</a>
111
+ </li>
112
+ <li class="header-nav-item">
113
+ <a class="header-nav-link" href="/blog" data-ga-click="(Logged out) Header, go to blog, text:blog">Blog</a>
114
+ </li>
115
+ </ul>
116
+
117
+ </div>
118
+ </div>
119
+
120
+
121
+
122
+ <div id="start-of-content" class="accessibility-aid"></div>
123
+ <div class="site" itemscope itemtype="http://schema.org/WebPage">
124
+ <div id="js-flash-container">
125
+
126
+ </div>
127
+ <div class="pagehead repohead instapaper_ignore readability-menu">
128
+ <div class="container">
129
+
130
+ <ul class="pagehead-actions">
131
+
132
+
133
+ <li>
134
+ <a href="/login?return_to=%2Fhappyworm%2FjPlayer"
135
+ class="minibutton with-count star-button tooltipped tooltipped-n"
136
+ aria-label="You must be signed in to star a repository" rel="nofollow">
137
+ <span class="octicon octicon-star"></span>
138
+ Star
139
+ </a>
140
+
141
+ <a class="social-count js-social-count" href="/happyworm/jPlayer/stargazers">
142
+ 2,565
143
+ </a>
144
+
145
+ </li>
146
+
147
+ <li>
148
+ <a href="/login?return_to=%2Fhappyworm%2FjPlayer"
149
+ class="minibutton with-count js-toggler-target fork-button tooltipped tooltipped-n"
150
+ aria-label="You must be signed in to fork a repository" rel="nofollow">
151
+ <span class="octicon octicon-repo-forked"></span>
152
+ Fork
153
+ </a>
154
+ <a href="/happyworm/jPlayer/network" class="social-count">
155
+ 749
156
+ </a>
157
+ </li>
158
+ </ul>
159
+
160
+ <h1 itemscope itemtype="http://data-vocabulary.org/Breadcrumb" class="entry-title public">
161
+ <span class="mega-octicon octicon-repo"></span>
162
+ <span class="author"><a href="/happyworm" class="url fn" itemprop="url" rel="author"><span itemprop="title">happyworm</span></a></span><!--
163
+ --><span class="path-divider">/</span><!--
164
+ --><strong><a href="/happyworm/jPlayer" class="js-current-repository js-repo-home-link">jPlayer</a></strong>
165
+
166
+ <span class="page-context-loader">
167
+ <img alt="" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
168
+ </span>
169
+
170
+ </h1>
171
+ </div><!-- /.container -->
172
+ </div><!-- /.repohead -->
173
+
174
+ <div class="container">
175
+ <div class="repository-with-sidebar repo-container new-discussion-timeline ">
176
+ <div class="repository-sidebar clearfix">
177
+
178
+ <div class="sunken-menu vertical-right repo-nav js-repo-nav js-repository-container-pjax js-octicon-loaders" role="navigation" data-issue-count-url="/happyworm/jPlayer/issues/counts">
179
+ <div class="sunken-menu-contents">
180
+ <ul class="sunken-menu-group">
181
+ <li class="tooltipped tooltipped-w" aria-label="Code">
182
+ <a href="/happyworm/jPlayer" aria-label="Code" class="selected js-selected-navigation-item sunken-menu-item" data-hotkey="g c" data-pjax="true" data-selected-links="repo_source repo_downloads repo_commits repo_releases repo_tags repo_branches /happyworm/jPlayer">
183
+ <span class="octicon octicon-code"></span> <span class="full-word">Code</span>
184
+ <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
185
+ </a> </li>
186
+
187
+ <li class="tooltipped tooltipped-w" aria-label="Issues">
188
+ <a href="/happyworm/jPlayer/issues" aria-label="Issues" class="js-selected-navigation-item sunken-menu-item js-disable-pjax" data-hotkey="g i" data-selected-links="repo_issues repo_labels repo_milestones /happyworm/jPlayer/issues">
189
+ <span class="octicon octicon-issue-opened"></span> <span class="full-word">Issues</span>
190
+ <span class="js-issue-replace-counter"></span>
191
+ <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
192
+ </a> </li>
193
+
194
+ <li class="tooltipped tooltipped-w" aria-label="Pull Requests">
195
+ <a href="/happyworm/jPlayer/pulls" aria-label="Pull Requests" class="js-selected-navigation-item sunken-menu-item js-disable-pjax" data-hotkey="g p" data-selected-links="repo_pulls /happyworm/jPlayer/pulls">
196
+ <span class="octicon octicon-git-pull-request"></span> <span class="full-word">Pull Requests</span>
197
+ <span class="js-pull-replace-counter"></span>
198
+ <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
199
+ </a> </li>
200
+
201
+
202
+ <li class="tooltipped tooltipped-w" aria-label="Wiki">
203
+ <a href="/happyworm/jPlayer/wiki" aria-label="Wiki" class="js-selected-navigation-item sunken-menu-item js-disable-pjax" data-hotkey="g w" data-selected-links="repo_wiki /happyworm/jPlayer/wiki">
204
+ <span class="octicon octicon-book"></span> <span class="full-word">Wiki</span>
205
+ <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
206
+ </a> </li>
207
+ </ul>
208
+ <div class="sunken-menu-separator"></div>
209
+ <ul class="sunken-menu-group">
210
+
211
+ <li class="tooltipped tooltipped-w" aria-label="Pulse">
212
+ <a href="/happyworm/jPlayer/pulse/weekly" aria-label="Pulse" class="js-selected-navigation-item sunken-menu-item" data-pjax="true" data-selected-links="pulse /happyworm/jPlayer/pulse/weekly">
213
+ <span class="octicon octicon-pulse"></span> <span class="full-word">Pulse</span>
214
+ <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
215
+ </a> </li>
216
+
217
+ <li class="tooltipped tooltipped-w" aria-label="Graphs">
218
+ <a href="/happyworm/jPlayer/graphs" aria-label="Graphs" class="js-selected-navigation-item sunken-menu-item" data-pjax="true" data-selected-links="repo_graphs repo_contributors /happyworm/jPlayer/graphs">
219
+ <span class="octicon octicon-graph"></span> <span class="full-word">Graphs</span>
220
+ <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
221
+ </a> </li>
222
+ </ul>
223
+
224
+
225
+ </div>
226
+ </div>
227
+
228
+ <div class="only-with-full-nav">
229
+
230
+
231
+ <div class="clone-url open"
232
+ data-protocol-type="http"
233
+ data-url="/users/set_protocol?protocol_selector=http&amp;protocol_type=clone">
234
+ <h3><span class="text-emphasized">HTTPS</span> clone URL</h3>
235
+ <div class="input-group">
236
+ <input type="text" class="input-mini input-monospace js-url-field"
237
+ value="https://github.com/happyworm/jPlayer.git" readonly="readonly">
238
+ <span class="input-group-button">
239
+ <button aria-label="Copy to clipboard" class="js-zeroclipboard minibutton zeroclipboard-button" data-clipboard-text="https://github.com/happyworm/jPlayer.git" data-copied-hint="Copied!" type="button"><span class="octicon octicon-clippy"></span></button>
240
+ </span>
241
+ </div>
242
+ </div>
243
+
244
+
245
+ <div class="clone-url "
246
+ data-protocol-type="subversion"
247
+ data-url="/users/set_protocol?protocol_selector=subversion&amp;protocol_type=clone">
248
+ <h3><span class="text-emphasized">Subversion</span> checkout URL</h3>
249
+ <div class="input-group">
250
+ <input type="text" class="input-mini input-monospace js-url-field"
251
+ value="https://github.com/happyworm/jPlayer" readonly="readonly">
252
+ <span class="input-group-button">
253
+ <button aria-label="Copy to clipboard" class="js-zeroclipboard minibutton zeroclipboard-button" data-clipboard-text="https://github.com/happyworm/jPlayer" data-copied-hint="Copied!" type="button"><span class="octicon octicon-clippy"></span></button>
254
+ </span>
255
+ </div>
256
+ </div>
257
+
258
+
259
+ <p class="clone-options">You can clone with
260
+ <a href="#" class="js-clone-selector" data-protocol="http">HTTPS</a>
261
+ or <a href="#" class="js-clone-selector" data-protocol="subversion">Subversion</a>.
262
+ <a href="https://help.github.com/articles/which-remote-url-should-i-use" class="help tooltipped tooltipped-n" aria-label="Get help on which URL is right for you.">
263
+ <span class="octicon octicon-question"></span>
264
+ </a>
265
+ </p>
266
+
267
+
268
+ <a href="http://windows.github.com" class="minibutton sidebar-button" title="Save happyworm/jPlayer to your computer and use it in GitHub Desktop." aria-label="Save happyworm/jPlayer to your computer and use it in GitHub Desktop.">
269
+ <span class="octicon octicon-device-desktop"></span>
270
+ Clone in Desktop
271
+ </a>
272
+
273
+ <a href="/happyworm/jPlayer/archive/master.zip"
274
+ class="minibutton sidebar-button"
275
+ aria-label="Download the contents of happyworm/jPlayer as a zip file"
276
+ title="Download the contents of happyworm/jPlayer as a zip file"
277
+ rel="nofollow">
278
+ <span class="octicon octicon-cloud-download"></span>
279
+ Download ZIP
280
+ </a>
281
+ </div>
282
+ </div><!-- /.repository-sidebar -->
283
+
284
+ <div id="js-repo-pjax-container" class="repository-content context-loader-container" data-pjax-container>
285
+
286
+
287
+ <a href="/happyworm/jPlayer/blob/5ebbd76b4e37145a20c28542b39ca7b8f2cac47a/jquery.jplayer/Jplayer.swf" class="hidden js-permalink-shortcut" data-hotkey="y">Permalink</a>
288
+
289
+ <!-- blob contrib key: blob_contributors:v21:69921493be5134b9cae03bcc0963aaf7 -->
290
+
291
+ <div class="file-navigation">
292
+
293
+ <div class="select-menu js-menu-container js-select-menu left">
294
+ <span class="minibutton select-menu-button js-menu-target css-truncate" data-hotkey="w"
295
+ data-master-branch="master"
296
+ data-ref="master"
297
+ title="master"
298
+ role="button" aria-label="Switch branches or tags" tabindex="0" aria-haspopup="true">
299
+ <span class="octicon octicon-git-branch"></span>
300
+ <i>branch:</i>
301
+ <span class="js-select-button css-truncate-target">master</span>
302
+ </span>
303
+
304
+ <div class="select-menu-modal-holder js-menu-content js-navigation-container" data-pjax aria-hidden="true">
305
+
306
+ <div class="select-menu-modal">
307
+ <div class="select-menu-header">
308
+ <span class="select-menu-title">Switch branches/tags</span>
309
+ <span class="octicon octicon-x js-menu-close" role="button" aria-label="Close"></span>
310
+ </div> <!-- /.select-menu-header -->
311
+
312
+ <div class="select-menu-filters">
313
+ <div class="select-menu-text-filter">
314
+ <input type="text" aria-label="Filter branches/tags" id="context-commitish-filter-field" class="js-filterable-field js-navigation-enable" placeholder="Filter branches/tags">
315
+ </div>
316
+ <div class="select-menu-tabs">
317
+ <ul>
318
+ <li class="select-menu-tab">
319
+ <a href="#" data-tab-filter="branches" class="js-select-menu-tab">Branches</a>
320
+ </li>
321
+ <li class="select-menu-tab">
322
+ <a href="#" data-tab-filter="tags" class="js-select-menu-tab">Tags</a>
323
+ </li>
324
+ </ul>
325
+ </div><!-- /.select-menu-tabs -->
326
+ </div><!-- /.select-menu-filters -->
327
+
328
+ <div class="select-menu-list select-menu-tab-bucket js-select-menu-tab-bucket" data-tab-filter="branches">
329
+
330
+ <div data-filterable-for="context-commitish-filter-field" data-filterable-type="substring">
331
+
332
+
333
+ <div class="select-menu-item js-navigation-item ">
334
+ <span class="select-menu-item-icon octicon octicon-check"></span>
335
+ <a href="/happyworm/jPlayer/blob/dev/jquery.jplayer/Jplayer.swf"
336
+ data-name="dev"
337
+ data-skip-pjax="true"
338
+ rel="nofollow"
339
+ class="js-navigation-open select-menu-item-text css-truncate-target"
340
+ title="dev">dev</a>
341
+ </div> <!-- /.select-menu-item -->
342
+ <div class="select-menu-item js-navigation-item selected">
343
+ <span class="select-menu-item-icon octicon octicon-check"></span>
344
+ <a href="/happyworm/jPlayer/blob/master/jquery.jplayer/Jplayer.swf"
345
+ data-name="master"
346
+ data-skip-pjax="true"
347
+ rel="nofollow"
348
+ class="js-navigation-open select-menu-item-text css-truncate-target"
349
+ title="master">master</a>
350
+ </div> <!-- /.select-menu-item -->
351
+ <div class="select-menu-item js-navigation-item ">
352
+ <span class="select-menu-item-icon octicon octicon-check"></span>
353
+ <a href="/happyworm/jPlayer/blob/v2.3/jquery.jplayer/Jplayer.swf"
354
+ data-name="v2.3"
355
+ data-skip-pjax="true"
356
+ rel="nofollow"
357
+ class="js-navigation-open select-menu-item-text css-truncate-target"
358
+ title="v2.3">v2.3</a>
359
+ </div> <!-- /.select-menu-item -->
360
+ <div class="select-menu-item js-navigation-item ">
361
+ <span class="select-menu-item-icon octicon octicon-check"></span>
362
+ <a href="/happyworm/jPlayer/blob/v2.4/jquery.jplayer/Jplayer.swf"
363
+ data-name="v2.4"
364
+ data-skip-pjax="true"
365
+ rel="nofollow"
366
+ class="js-navigation-open select-menu-item-text css-truncate-target"
367
+ title="v2.4">v2.4</a>
368
+ </div> <!-- /.select-menu-item -->
369
+ <div class="select-menu-item js-navigation-item ">
370
+ <span class="select-menu-item-icon octicon octicon-check"></span>
371
+ <a href="/happyworm/jPlayer/blob/v2.5/jquery.jplayer/Jplayer.swf"
372
+ data-name="v2.5"
373
+ data-skip-pjax="true"
374
+ rel="nofollow"
375
+ class="js-navigation-open select-menu-item-text css-truncate-target"
376
+ title="v2.5">v2.5</a>
377
+ </div> <!-- /.select-menu-item -->
378
+ <div class="select-menu-item js-navigation-item ">
379
+ <span class="select-menu-item-icon octicon octicon-check"></span>
380
+ <a href="/happyworm/jPlayer/blob/v2.6/jquery.jplayer/Jplayer.swf"
381
+ data-name="v2.6"
382
+ data-skip-pjax="true"
383
+ rel="nofollow"
384
+ class="js-navigation-open select-menu-item-text css-truncate-target"
385
+ title="v2.6">v2.6</a>
386
+ </div> <!-- /.select-menu-item -->
387
+ <div class="select-menu-item js-navigation-item ">
388
+ <span class="select-menu-item-icon octicon octicon-check"></span>
389
+ <a href="/happyworm/jPlayer/blob/v2.7/jquery.jplayer/Jplayer.swf"
390
+ data-name="v2.7"
391
+ data-skip-pjax="true"
392
+ rel="nofollow"
393
+ class="js-navigation-open select-menu-item-text css-truncate-target"
394
+ title="v2.7">v2.7</a>
395
+ </div> <!-- /.select-menu-item -->
396
+ </div>
397
+
398
+ <div class="select-menu-no-results">Nothing to show</div>
399
+ </div> <!-- /.select-menu-list -->
400
+
401
+ <div class="select-menu-list select-menu-tab-bucket js-select-menu-tab-bucket" data-tab-filter="tags">
402
+ <div data-filterable-for="context-commitish-filter-field" data-filterable-type="substring">
403
+
404
+
405
+ <div class="select-menu-item js-navigation-item ">
406
+ <span class="select-menu-item-icon octicon octicon-check"></span>
407
+ <a href="/happyworm/jPlayer/tree/2.7.1/jquery.jplayer/Jplayer.swf"
408
+ data-name="2.7.1"
409
+ data-skip-pjax="true"
410
+ rel="nofollow"
411
+ class="js-navigation-open select-menu-item-text css-truncate-target"
412
+ title="2.7.1">2.7.1</a>
413
+ </div> <!-- /.select-menu-item -->
414
+ <div class="select-menu-item js-navigation-item ">
415
+ <span class="select-menu-item-icon octicon octicon-check"></span>
416
+ <a href="/happyworm/jPlayer/tree/2.7.0/jquery.jplayer/Jplayer.swf"
417
+ data-name="2.7.0"
418
+ data-skip-pjax="true"
419
+ rel="nofollow"
420
+ class="js-navigation-open select-menu-item-text css-truncate-target"
421
+ title="2.7.0">2.7.0</a>
422
+ </div> <!-- /.select-menu-item -->
423
+ <div class="select-menu-item js-navigation-item ">
424
+ <span class="select-menu-item-icon octicon octicon-check"></span>
425
+ <a href="/happyworm/jPlayer/tree/2.6.4/jquery.jplayer/Jplayer.swf"
426
+ data-name="2.6.4"
427
+ data-skip-pjax="true"
428
+ rel="nofollow"
429
+ class="js-navigation-open select-menu-item-text css-truncate-target"
430
+ title="2.6.4">2.6.4</a>
431
+ </div> <!-- /.select-menu-item -->
432
+ <div class="select-menu-item js-navigation-item ">
433
+ <span class="select-menu-item-icon octicon octicon-check"></span>
434
+ <a href="/happyworm/jPlayer/tree/2.6.3/jquery.jplayer/Jplayer.swf"
435
+ data-name="2.6.3"
436
+ data-skip-pjax="true"
437
+ rel="nofollow"
438
+ class="js-navigation-open select-menu-item-text css-truncate-target"
439
+ title="2.6.3">2.6.3</a>
440
+ </div> <!-- /.select-menu-item -->
441
+ <div class="select-menu-item js-navigation-item ">
442
+ <span class="select-menu-item-icon octicon octicon-check"></span>
443
+ <a href="/happyworm/jPlayer/tree/2.6.2/jquery.jplayer/Jplayer.swf"
444
+ data-name="2.6.2"
445
+ data-skip-pjax="true"
446
+ rel="nofollow"
447
+ class="js-navigation-open select-menu-item-text css-truncate-target"
448
+ title="2.6.2">2.6.2</a>
449
+ </div> <!-- /.select-menu-item -->
450
+ <div class="select-menu-item js-navigation-item ">
451
+ <span class="select-menu-item-icon octicon octicon-check"></span>
452
+ <a href="/happyworm/jPlayer/tree/2.6.1/jquery.jplayer/Jplayer.swf"
453
+ data-name="2.6.1"
454
+ data-skip-pjax="true"
455
+ rel="nofollow"
456
+ class="js-navigation-open select-menu-item-text css-truncate-target"
457
+ title="2.6.1">2.6.1</a>
458
+ </div> <!-- /.select-menu-item -->
459
+ <div class="select-menu-item js-navigation-item ">
460
+ <span class="select-menu-item-icon octicon octicon-check"></span>
461
+ <a href="/happyworm/jPlayer/tree/2.6.0/jquery.jplayer/Jplayer.swf"
462
+ data-name="2.6.0"
463
+ data-skip-pjax="true"
464
+ rel="nofollow"
465
+ class="js-navigation-open select-menu-item-text css-truncate-target"
466
+ title="2.6.0">2.6.0</a>
467
+ </div> <!-- /.select-menu-item -->
468
+ <div class="select-menu-item js-navigation-item ">
469
+ <span class="select-menu-item-icon octicon octicon-check"></span>
470
+ <a href="/happyworm/jPlayer/tree/2.5.6/jquery.jplayer/Jplayer.swf"
471
+ data-name="2.5.6"
472
+ data-skip-pjax="true"
473
+ rel="nofollow"
474
+ class="js-navigation-open select-menu-item-text css-truncate-target"
475
+ title="2.5.6">2.5.6</a>
476
+ </div> <!-- /.select-menu-item -->
477
+ <div class="select-menu-item js-navigation-item ">
478
+ <span class="select-menu-item-icon octicon octicon-check"></span>
479
+ <a href="/happyworm/jPlayer/tree/2.5.5/jquery.jplayer/Jplayer.swf"
480
+ data-name="2.5.5"
481
+ data-skip-pjax="true"
482
+ rel="nofollow"
483
+ class="js-navigation-open select-menu-item-text css-truncate-target"
484
+ title="2.5.5">2.5.5</a>
485
+ </div> <!-- /.select-menu-item -->
486
+ <div class="select-menu-item js-navigation-item ">
487
+ <span class="select-menu-item-icon octicon octicon-check"></span>
488
+ <a href="/happyworm/jPlayer/tree/2.5.4/jquery.jplayer/Jplayer.swf"
489
+ data-name="2.5.4"
490
+ data-skip-pjax="true"
491
+ rel="nofollow"
492
+ class="js-navigation-open select-menu-item-text css-truncate-target"
493
+ title="2.5.4">2.5.4</a>
494
+ </div> <!-- /.select-menu-item -->
495
+ <div class="select-menu-item js-navigation-item ">
496
+ <span class="select-menu-item-icon octicon octicon-check"></span>
497
+ <a href="/happyworm/jPlayer/tree/2.5.3/jquery.jplayer/Jplayer.swf"
498
+ data-name="2.5.3"
499
+ data-skip-pjax="true"
500
+ rel="nofollow"
501
+ class="js-navigation-open select-menu-item-text css-truncate-target"
502
+ title="2.5.3">2.5.3</a>
503
+ </div> <!-- /.select-menu-item -->
504
+ <div class="select-menu-item js-navigation-item ">
505
+ <span class="select-menu-item-icon octicon octicon-check"></span>
506
+ <a href="/happyworm/jPlayer/tree/2.5.2/jquery.jplayer/Jplayer.swf"
507
+ data-name="2.5.2"
508
+ data-skip-pjax="true"
509
+ rel="nofollow"
510
+ class="js-navigation-open select-menu-item-text css-truncate-target"
511
+ title="2.5.2">2.5.2</a>
512
+ </div> <!-- /.select-menu-item -->
513
+ <div class="select-menu-item js-navigation-item ">
514
+ <span class="select-menu-item-icon octicon octicon-check"></span>
515
+ <a href="/happyworm/jPlayer/tree/2.5.1/jquery.jplayer/Jplayer.swf"
516
+ data-name="2.5.1"
517
+ data-skip-pjax="true"
518
+ rel="nofollow"
519
+ class="js-navigation-open select-menu-item-text css-truncate-target"
520
+ title="2.5.1">2.5.1</a>
521
+ </div> <!-- /.select-menu-item -->
522
+ <div class="select-menu-item js-navigation-item ">
523
+ <span class="select-menu-item-icon octicon octicon-check"></span>
524
+ <a href="/happyworm/jPlayer/tree/2.5.0/jquery.jplayer/Jplayer.swf"
525
+ data-name="2.5.0"
526
+ data-skip-pjax="true"
527
+ rel="nofollow"
528
+ class="js-navigation-open select-menu-item-text css-truncate-target"
529
+ title="2.5.0">2.5.0</a>
530
+ </div> <!-- /.select-menu-item -->
531
+ <div class="select-menu-item js-navigation-item ">
532
+ <span class="select-menu-item-icon octicon octicon-check"></span>
533
+ <a href="/happyworm/jPlayer/tree/2.4.2/jquery.jplayer/Jplayer.swf"
534
+ data-name="2.4.2"
535
+ data-skip-pjax="true"
536
+ rel="nofollow"
537
+ class="js-navigation-open select-menu-item-text css-truncate-target"
538
+ title="2.4.2">2.4.2</a>
539
+ </div> <!-- /.select-menu-item -->
540
+ <div class="select-menu-item js-navigation-item ">
541
+ <span class="select-menu-item-icon octicon octicon-check"></span>
542
+ <a href="/happyworm/jPlayer/tree/2.4.1/jquery.jplayer/Jplayer.swf"
543
+ data-name="2.4.1"
544
+ data-skip-pjax="true"
545
+ rel="nofollow"
546
+ class="js-navigation-open select-menu-item-text css-truncate-target"
547
+ title="2.4.1">2.4.1</a>
548
+ </div> <!-- /.select-menu-item -->
549
+ <div class="select-menu-item js-navigation-item ">
550
+ <span class="select-menu-item-icon octicon octicon-check"></span>
551
+ <a href="/happyworm/jPlayer/tree/2.4.0/jquery.jplayer/Jplayer.swf"
552
+ data-name="2.4.0"
553
+ data-skip-pjax="true"
554
+ rel="nofollow"
555
+ class="js-navigation-open select-menu-item-text css-truncate-target"
556
+ title="2.4.0">2.4.0</a>
557
+ </div> <!-- /.select-menu-item -->
558
+ <div class="select-menu-item js-navigation-item ">
559
+ <span class="select-menu-item-icon octicon octicon-check"></span>
560
+ <a href="/happyworm/jPlayer/tree/2.3.10/jquery.jplayer/Jplayer.swf"
561
+ data-name="2.3.10"
562
+ data-skip-pjax="true"
563
+ rel="nofollow"
564
+ class="js-navigation-open select-menu-item-text css-truncate-target"
565
+ title="2.3.10">2.3.10</a>
566
+ </div> <!-- /.select-menu-item -->
567
+ <div class="select-menu-item js-navigation-item ">
568
+ <span class="select-menu-item-icon octicon octicon-check"></span>
569
+ <a href="/happyworm/jPlayer/tree/2.3.9/jquery.jplayer/Jplayer.swf"
570
+ data-name="2.3.9"
571
+ data-skip-pjax="true"
572
+ rel="nofollow"
573
+ class="js-navigation-open select-menu-item-text css-truncate-target"
574
+ title="2.3.9">2.3.9</a>
575
+ </div> <!-- /.select-menu-item -->
576
+ <div class="select-menu-item js-navigation-item ">
577
+ <span class="select-menu-item-icon octicon octicon-check"></span>
578
+ <a href="/happyworm/jPlayer/tree/2.3.8/jquery.jplayer/Jplayer.swf"
579
+ data-name="2.3.8"
580
+ data-skip-pjax="true"
581
+ rel="nofollow"
582
+ class="js-navigation-open select-menu-item-text css-truncate-target"
583
+ title="2.3.8">2.3.8</a>
584
+ </div> <!-- /.select-menu-item -->
585
+ <div class="select-menu-item js-navigation-item ">
586
+ <span class="select-menu-item-icon octicon octicon-check"></span>
587
+ <a href="/happyworm/jPlayer/tree/2.3.7/jquery.jplayer/Jplayer.swf"
588
+ data-name="2.3.7"
589
+ data-skip-pjax="true"
590
+ rel="nofollow"
591
+ class="js-navigation-open select-menu-item-text css-truncate-target"
592
+ title="2.3.7">2.3.7</a>
593
+ </div> <!-- /.select-menu-item -->
594
+ <div class="select-menu-item js-navigation-item ">
595
+ <span class="select-menu-item-icon octicon octicon-check"></span>
596
+ <a href="/happyworm/jPlayer/tree/2.3.6/jquery.jplayer/Jplayer.swf"
597
+ data-name="2.3.6"
598
+ data-skip-pjax="true"
599
+ rel="nofollow"
600
+ class="js-navigation-open select-menu-item-text css-truncate-target"
601
+ title="2.3.6">2.3.6</a>
602
+ </div> <!-- /.select-menu-item -->
603
+ <div class="select-menu-item js-navigation-item ">
604
+ <span class="select-menu-item-icon octicon octicon-check"></span>
605
+ <a href="/happyworm/jPlayer/tree/2.3.5/jquery.jplayer/Jplayer.swf"
606
+ data-name="2.3.5"
607
+ data-skip-pjax="true"
608
+ rel="nofollow"
609
+ class="js-navigation-open select-menu-item-text css-truncate-target"
610
+ title="2.3.5">2.3.5</a>
611
+ </div> <!-- /.select-menu-item -->
612
+ <div class="select-menu-item js-navigation-item ">
613
+ <span class="select-menu-item-icon octicon octicon-check"></span>
614
+ <a href="/happyworm/jPlayer/tree/2.3.4/jquery.jplayer/Jplayer.swf"
615
+ data-name="2.3.4"
616
+ data-skip-pjax="true"
617
+ rel="nofollow"
618
+ class="js-navigation-open select-menu-item-text css-truncate-target"
619
+ title="2.3.4">2.3.4</a>
620
+ </div> <!-- /.select-menu-item -->
621
+ <div class="select-menu-item js-navigation-item ">
622
+ <span class="select-menu-item-icon octicon octicon-check"></span>
623
+ <a href="/happyworm/jPlayer/tree/2.3.3/jquery.jplayer/Jplayer.swf"
624
+ data-name="2.3.3"
625
+ data-skip-pjax="true"
626
+ rel="nofollow"
627
+ class="js-navigation-open select-menu-item-text css-truncate-target"
628
+ title="2.3.3">2.3.3</a>
629
+ </div> <!-- /.select-menu-item -->
630
+ <div class="select-menu-item js-navigation-item ">
631
+ <span class="select-menu-item-icon octicon octicon-check"></span>
632
+ <a href="/happyworm/jPlayer/tree/2.3.2/jquery.jplayer/Jplayer.swf"
633
+ data-name="2.3.2"
634
+ data-skip-pjax="true"
635
+ rel="nofollow"
636
+ class="js-navigation-open select-menu-item-text css-truncate-target"
637
+ title="2.3.2">2.3.2</a>
638
+ </div> <!-- /.select-menu-item -->
639
+ <div class="select-menu-item js-navigation-item ">
640
+ <span class="select-menu-item-icon octicon octicon-check"></span>
641
+ <a href="/happyworm/jPlayer/tree/2.3.0/jquery.jplayer/Jplayer.swf"
642
+ data-name="2.3.0"
643
+ data-skip-pjax="true"
644
+ rel="nofollow"
645
+ class="js-navigation-open select-menu-item-text css-truncate-target"
646
+ title="2.3.0">2.3.0</a>
647
+ </div> <!-- /.select-menu-item -->
648
+ <div class="select-menu-item js-navigation-item ">
649
+ <span class="select-menu-item-icon octicon octicon-check"></span>
650
+ <a href="/happyworm/jPlayer/tree/2.2.0/jquery.jplayer/Jplayer.swf"
651
+ data-name="2.2.0"
652
+ data-skip-pjax="true"
653
+ rel="nofollow"
654
+ class="js-navigation-open select-menu-item-text css-truncate-target"
655
+ title="2.2.0">2.2.0</a>
656
+ </div> <!-- /.select-menu-item -->
657
+ <div class="select-menu-item js-navigation-item ">
658
+ <span class="select-menu-item-icon octicon octicon-check"></span>
659
+ <a href="/happyworm/jPlayer/tree/2.1.0/jquery.jplayer/Jplayer.swf"
660
+ data-name="2.1.0"
661
+ data-skip-pjax="true"
662
+ rel="nofollow"
663
+ class="js-navigation-open select-menu-item-text css-truncate-target"
664
+ title="2.1.0">2.1.0</a>
665
+ </div> <!-- /.select-menu-item -->
666
+ <div class="select-menu-item js-navigation-item ">
667
+ <span class="select-menu-item-icon octicon octicon-check"></span>
668
+ <a href="/happyworm/jPlayer/tree/2.0.0/jquery.jplayer/Jplayer.swf"
669
+ data-name="2.0.0"
670
+ data-skip-pjax="true"
671
+ rel="nofollow"
672
+ class="js-navigation-open select-menu-item-text css-truncate-target"
673
+ title="2.0.0">2.0.0</a>
674
+ </div> <!-- /.select-menu-item -->
675
+ </div>
676
+
677
+ <div class="select-menu-no-results">Nothing to show</div>
678
+ </div> <!-- /.select-menu-list -->
679
+
680
+ </div> <!-- /.select-menu-modal -->
681
+ </div> <!-- /.select-menu-modal-holder -->
682
+ </div> <!-- /.select-menu -->
683
+
684
+ <div class="button-group right">
685
+ <a href="/happyworm/jPlayer/find/master"
686
+ class="js-show-file-finder minibutton empty-icon tooltipped tooltipped-s"
687
+ data-pjax
688
+ data-hotkey="t"
689
+ aria-label="Quickly jump between files">
690
+ <span class="octicon octicon-list-unordered"></span>
691
+ </a>
692
+ <button class="js-zeroclipboard minibutton zeroclipboard-button"
693
+ data-clipboard-text="jquery.jplayer/Jplayer.swf"
694
+ aria-label="Copy to clipboard"
695
+ data-copied-hint="Copied!">
696
+ <span class="octicon octicon-clippy"></span>
697
+ </button>
698
+ </div>
699
+
700
+ <div class="breadcrumb">
701
+ <span class='repo-root js-repo-root'><span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/happyworm/jPlayer" class="" data-branch="master" data-direction="back" data-pjax="true" itemscope="url"><span itemprop="title">jPlayer</span></a></span></span><span class="separator"> / </span><span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/happyworm/jPlayer/tree/master/jquery.jplayer" class="" data-branch="master" data-direction="back" data-pjax="true" itemscope="url"><span itemprop="title">jquery.jplayer</span></a></span><span class="separator"> / </span><strong class="final-path">Jplayer.swf</strong>
702
+ </div>
703
+ </div>
704
+
705
+
706
+ <div class="commit file-history-tease">
707
+ <div class="file-history-tease-header">
708
+ <img alt="Mark Panaghiston" class="avatar" data-user="1105524" height="24" src="https://avatars1.githubusercontent.com/u/1105524?v=2&amp;s=48" width="24" />
709
+ <span class="author"><a href="/thepag" rel="contributor">thepag</a></span>
710
+ <time datetime="2014-09-01T18:07:54Z" is="relative-time">Sep 1, 2014</time>
711
+ <div class="commit-title">
712
+ <a href="/happyworm/jPlayer/commit/94e3c7a838a6124c779e7bdb1efc16454a0383e9" class="message" data-pjax="true" title="Updated versioning to 2.7.0">Updated versioning to 2.7.0</a>
713
+ </div>
714
+ </div>
715
+
716
+ <div class="participation">
717
+ <p class="quickstat">
718
+ <a href="#blob_contributors_box" rel="facebox">
719
+ <strong>1</strong>
720
+ contributor
721
+ </a>
722
+ </p>
723
+
724
+ </div>
725
+ <div id="blob_contributors_box" style="display:none">
726
+ <h2 class="facebox-header">Users who have contributed to this file</h2>
727
+ <ul class="facebox-user-list">
728
+ <li class="facebox-user-list-item">
729
+ <img alt="Mark Panaghiston" data-user="1105524" height="24" src="https://avatars1.githubusercontent.com/u/1105524?v=2&amp;s=48" width="24" />
730
+ <a href="/thepag">thepag</a>
731
+ </li>
732
+ </ul>
733
+ </div>
734
+ </div>
735
+
736
+ <div class="file-box">
737
+ <div class="file">
738
+ <div class="meta clearfix">
739
+ <div class="info file-name">
740
+ <span>14.17 kb</span>
741
+ </div>
742
+ <div class="actions">
743
+ <div class="button-group">
744
+ <a href="/happyworm/jPlayer/raw/master/jquery.jplayer/Jplayer.swf" class="minibutton " id="raw-url">Raw</a>
745
+ <a href="/happyworm/jPlayer/commits/master/jquery.jplayer/Jplayer.swf" class="minibutton " rel="nofollow">History</a>
746
+ </div><!-- /.button-group -->
747
+
748
+ <a class="octicon-button tooltipped tooltipped-nw"
749
+ href="http://windows.github.com" aria-label="Open this file in GitHub for Windows">
750
+ <span class="octicon octicon-device-desktop"></span>
751
+ </a>
752
+
753
+
754
+ <a class="octicon-button danger disabled tooltipped tooltipped-w" href="#"
755
+ aria-label="You must be signed in to make or propose changes">
756
+ <span class="octicon octicon-trashcan"></span>
757
+ </a>
758
+ </div><!-- /.actions -->
759
+ </div>
760
+
761
+ <div class="blob-wrapper data type-text">
762
+ <div class="image">
763
+ <a href="/happyworm/jPlayer/blob/master/jquery.jplayer/Jplayer.swf?raw=true">View Raw</a>
764
+ </div>
765
+ </div>
766
+
767
+ </div>
768
+ </div>
769
+
770
+ <a href="#jump-to-line" rel="facebox[.linejump]" data-hotkey="l" style="display:none">Jump to Line</a>
771
+ <div id="jump-to-line" style="display:none">
772
+ <form accept-charset="UTF-8" class="js-jump-to-line-form">
773
+ <input class="linejump-input js-jump-to-line-field" type="text" placeholder="Jump to line&hellip;" autofocus>
774
+ <button type="submit" class="button">Go</button>
775
+ </form>
776
+ </div>
777
+
778
+ </div>
779
+
780
+ </div><!-- /.repo-container -->
781
+ <div class="modal-backdrop"></div>
782
+ </div><!-- /.container -->
783
+ </div><!-- /.site -->
784
+
785
+
786
+ </div><!-- /.wrapper -->
787
+
788
+ <div class="container">
789
+ <div class="site-footer" role="contentinfo">
790
+ <ul class="site-footer-links right">
791
+ <li><a href="https://status.github.com/">Status</a></li>
792
+ <li><a href="http://developer.github.com">API</a></li>
793
+ <li><a href="http://training.github.com">Training</a></li>
794
+ <li><a href="http://shop.github.com">Shop</a></li>
795
+ <li><a href="/blog">Blog</a></li>
796
+ <li><a href="/about">About</a></li>
797
+
798
+ </ul>
799
+
800
+ <a href="/" aria-label="Homepage">
801
+ <span class="mega-octicon octicon-mark-github" title="GitHub"></span>
802
+ </a>
803
+
804
+ <ul class="site-footer-links">
805
+ <li>&copy; 2014 <span title="0.03083s from github-fe135-cp1-prd.iad.github.net">GitHub</span>, Inc.</li>
806
+ <li><a href="/site/terms">Terms</a></li>
807
+ <li><a href="/site/privacy">Privacy</a></li>
808
+ <li><a href="/security">Security</a></li>
809
+ <li><a href="/contact">Contact</a></li>
810
+ </ul>
811
+ </div><!-- /.site-footer -->
812
+ </div><!-- /.container -->
813
+
814
+
815
+ <div class="fullscreen-overlay js-fullscreen-overlay" id="fullscreen_overlay">
816
+ <div class="fullscreen-container js-suggester-container">
817
+ <div class="textarea-wrap">
818
+ <textarea name="fullscreen-contents" id="fullscreen-contents" class="fullscreen-contents js-fullscreen-contents js-suggester-field" placeholder=""></textarea>
819
+ </div>
820
+ </div>
821
+ <div class="fullscreen-sidebar">
822
+ <a href="#" class="exit-fullscreen js-exit-fullscreen tooltipped tooltipped-w" aria-label="Exit Zen Mode">
823
+ <span class="mega-octicon octicon-screen-normal"></span>
824
+ </a>
825
+ <a href="#" class="theme-switcher js-theme-switcher tooltipped tooltipped-w"
826
+ aria-label="Switch themes">
827
+ <span class="octicon octicon-color-mode"></span>
828
+ </a>
829
+ </div>
830
+ </div>
831
+
832
+
833
+
834
+ <div id="ajax-error-message" class="flash flash-error">
835
+ <span class="octicon octicon-alert"></span>
836
+ <a href="#" class="octicon octicon-x flash-close js-ajax-error-dismiss" aria-label="Dismiss error"></a>
837
+ Something went wrong with that request. Please try again.
838
+ </div>
839
+
840
+
841
+ <script crossorigin="anonymous" src="https://assets-cdn.github.com/assets/frameworks-fb195fd1a4d42cc4b15379bdba88dece701142d2444f997052fadc7379f85f74.js" type="text/javascript"></script>
842
+ <script async="async" crossorigin="anonymous" src="https://assets-cdn.github.com/assets/github-e8da8dfac05100852faba69c2b092b7cdd15a013a04c518a79a3b71c58b0ded7.js" type="text/javascript"></script>
843
+
844
+
845
+ <script async src="https://www.google-analytics.com/analytics.js"></script>
846
+ </body>
847
+ </html>
848
+
js/jquery.jplayer.2.7.1.js ADDED
@@ -0,0 +1,3198 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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('&amp;').split('<').join('&lt;').split('>').join('&gt;').split('"').join('&quot;');
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
+ }));
js/jquery.jplayer.min.2.7.1.js ADDED
@@ -0,0 +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("&amp;").split("<").join("&lt;").split(">").join("&gt;").split('"').join("&quot;")},_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.jplayer.min2-6-0.js CHANGED
@@ -1,118 +1,3 @@
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.6.0
11
- * Date: 2nd April 2014
12
- */
13
 
14
- (function(b,f){"function"===typeof define&&define.amd?define(["jquery"],f):b.jQuery?f(b.jQuery):f(b.Zepto)})(this,function(b,f){b.fn.jPlayer=function(a){var c="string"===typeof a,d=Array.prototype.slice.call(arguments,1),e=this;a=!c&&d.length?b.extend.apply(null,[!0,a].concat(d)):a;if(c&&"_"===a.charAt(0))return e;c?this.each(function(){var c=b(this).data("jPlayer"),h=c&&b.isFunction(c[a])?c[a].apply(c,d):c;if(h!==c&&h!==f)return e=h,!1}):this.each(function(){var c=b(this).data("jPlayer");c?c.option(a||
15
- {}):b(this).data("jPlayer",new b.jPlayer(a,this))});return e};b.jPlayer=function(a,c){if(arguments.length){this.element=b(c);this.options=b.extend(!0,{},this.options,a);var d=this;this.element.bind("remove.jPlayer",function(){d.destroy()});this._init()}};"function"!==typeof b.fn.stop&&(b.fn.stop=function(){});b.jPlayer.emulateMethods="load play pause";b.jPlayer.emulateStatus="src readyState networkState currentTime duration paused ended playbackRate";b.jPlayer.emulateOptions="muted volume";b.jPlayer.reservedEvent=
16
- "ready flashreset resize repeat error warning";b.jPlayer.event={};b.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".split(" "),function(){b.jPlayer.event[this]="jPlayer_"+this});b.jPlayer.htmlEvent="loadstart abort emptied stalled loadedmetadata loadeddata canplay canplaythrough".split(" ");
17
- b.jPlayer.pause=function(){b.each(b.jPlayer.prototype.instances,function(a,c){c.data("jPlayer").status.srcSet&&c.jPlayer("pause")})};b.jPlayer.timeFormat={showHour:!1,showMin:!0,showSec:!0,padHour:!1,padMin:!0,padSec:!0,sepHour:":",sepMin:":",sepSec:""};var l=function(){this.init()};l.prototype={init:function(){this.options={timeFormat:b.jPlayer.timeFormat}},time:function(a){var c=new Date(1E3*(a&&"number"===typeof a?a:0)),b=c.getUTCHours();a=this.options.timeFormat.showHour?c.getUTCMinutes():c.getUTCMinutes()+
18
- 60*b;c=this.options.timeFormat.showMin?c.getUTCSeconds():c.getUTCSeconds()+60*a;b=this.options.timeFormat.padHour&&10>b?"0"+b:b;a=this.options.timeFormat.padMin&&10>a?"0"+a:a;c=this.options.timeFormat.padSec&&10>c?"0"+c:c;b=""+(this.options.timeFormat.showHour?b+this.options.timeFormat.sepHour:"");b+=this.options.timeFormat.showMin?a+this.options.timeFormat.sepMin:"";return b+=this.options.timeFormat.showSec?c+this.options.timeFormat.sepSec:""}};var n=new l;b.jPlayer.convertTime=function(a){return n.time(a)};
19
- b.jPlayer.uaBrowser=function(a){a=a.toLowerCase();var c=/(opera)(?:.*version)?[ \/]([\w.]+)/,b=/(msie) ([\w.]+)/,e=/(mozilla)(?:.*? rv:([\w.]+))?/;a=/(webkit)[ \/]([\w.]+)/.exec(a)||c.exec(a)||b.exec(a)||0>a.indexOf("compatible")&&e.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}};b.jPlayer.uaPlatform=function(a){var c=a.toLowerCase(),b=/(android)/,e=/(mobile)/;a=/(ipad|iphone|ipod|android|blackberry|playbook|windows ce|webos)/.exec(c)||[];c=/(ipad|playbook)/.exec(c)||!e.exec(c)&&b.exec(c)||
20
- [];a[1]&&(a[1]=a[1].replace(/\s/g,"_"));return{platform:a[1]||"",tablet:c[1]||""}};b.jPlayer.browser={};b.jPlayer.platform={};var k=b.jPlayer.uaBrowser(navigator.userAgent);k.browser&&(b.jPlayer.browser[k.browser]=!0,b.jPlayer.browser.version=k.version);k=b.jPlayer.uaPlatform(navigator.userAgent);k.platform&&(b.jPlayer.platform[k.platform]=!0,b.jPlayer.platform.mobile=!k.tablet,b.jPlayer.platform.tablet=!!k.tablet);b.jPlayer.getDocMode=function(){var a;b.jPlayer.browser.msie&&(document.documentMode?
21
- a=document.documentMode:(a=5,document.compatMode&&"CSS1Compat"===document.compatMode&&(a=7)));return a};b.jPlayer.browser.documentMode=b.jPlayer.getDocMode();b.jPlayer.nativeFeatures={init:function(){var a=document,c=a.createElement("video"),b={w3c:"fullscreenEnabled fullscreenElement requestFullscreen exitFullscreen fullscreenchange fullscreenerror".split(" "),moz:"mozFullScreenEnabled mozFullScreenElement mozRequestFullScreen mozCancelFullScreen mozfullscreenchange mozfullscreenerror".split(" "),
22
- webkit:" webkitCurrentFullScreenElement webkitRequestFullScreen webkitCancelFullScreen webkitfullscreenchange ".split(" "),webkitVideo:"webkitSupportsFullscreen webkitDisplayingFullscreen webkitEnterFullscreen webkitExitFullscreen ".split(" ")},e=["w3c","moz","webkit","webkitVideo"],g,h;this.fullscreen=c={support:{w3c:!!a[b.w3c[0]],moz:!!a[b.moz[0]],webkit:"function"===typeof a[b.webkit[3]],webkitVideo:"function"===typeof c[b.webkitVideo[2]]},used:{}};g=0;for(h=e.length;g<h;g++){var f=e[g];if(c.support[f]){c.spec=
23
- f;c.used[f]=!0;break}}if(c.spec){var m=b[c.spec];c.api={fullscreenEnabled:!0,fullscreenElement:function(c){c=c?c:a;return c[m[1]]},requestFullscreen:function(a){return a[m[2]]()},exitFullscreen:function(c){c=c?c:a;return c[m[3]]()}};c.event={fullscreenchange:m[4],fullscreenerror:m[5]}}else c.api={fullscreenEnabled:!1,fullscreenElement:function(){return null},requestFullscreen:function(){},exitFullscreen:function(){}},c.event={}}};b.jPlayer.nativeFeatures.init();b.jPlayer.focus=null;b.jPlayer.keyIgnoreElementNames=
24
- "INPUT TEXTAREA";var p=function(a){var c=b.jPlayer.focus,d;c&&(b.each(b.jPlayer.keyIgnoreElementNames.split(/\s+/g),function(c,b){if(a.target.nodeName.toUpperCase()===b.toUpperCase())return d=!0,!1}),d||b.each(c.options.keyBindings,function(d,g){if(g&&a.which===g.key&&b.isFunction(g.fn))return a.preventDefault(),g.fn(c),!1}))};b.jPlayer.keys=function(a){b(document.documentElement).unbind("keydown.jPlayer");a&&b(document.documentElement).bind("keydown.jPlayer",p)};b.jPlayer.keys(!0);b.jPlayer.prototype=
25
- {count:0,version:{script:"2.6.0",needFlash:"2.6.0",flash:"unknown"},options:{swfPath:"js",solution:"html, flash",supplied:"mp3",preload:"metadata",volume:0.8,muted:!1,remainingDuration:!1,toggleDuration:!1,playbackRate:1,defaultPlaybackRate:1,minPlaybackRate:0.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",
26
- 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"},smoothPlayBar:!1,fullScreen:!1,fullWindow:!1,autohide:{restored:!1,full:!0,
27
- fadeIn:200,fadeOut:600,hold:1E3},loop:!1,repeat:function(a){a.jPlayer.options.loop?b(this).unbind(".jPlayerRepeat").bind(b.jPlayer.event.ended+".jPlayer.jPlayerRepeat",function(){b(this).jPlayer("play")}):b(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/},
28
- 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(a){a.status.paused?a.play():a.pause()}},fullScreen:{key:13,fn:function(a){(a.status.video||a.options.audioFullScreen)&&a._setOption("fullScreen",!a.options.fullScreen)}},muted:{key:8,fn:function(a){a._muted(!a.options.muted)}},
29
- volumeUp:{key:38,fn:function(a){a.volume(a.options.volume+0.1)}},volumeDown:{key:40,fn:function(a){a.volume(a.options.volume-0.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%",
30
- 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; codecs="mp3"',flashCanPlay:!0,media:"audio"},m4a:{codec:'audio/mp4; codecs="mp4a.40.2"',flashCanPlay:!0,
31
- 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"},
32
- 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",
33
- flashCanPlay:!0,media:"video"},rtmpv:{codec:'video/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"video"}},_init:function(){var a=this;this.element.empty();this.status=b.extend({},this.status);this.internal=b.extend({},this.internal);this.options.timeFormat=b.extend({},b.jPlayer.timeFormat,this.options.timeFormat);this.internal.cmdsIgnored=b.jPlayer.platform.ipad||b.jPlayer.platform.iphone||b.jPlayer.platform.ipod;this.internal.domNode=this.element.get(0);this.options.keyEnabled&&!b.jPlayer.focus&&(b.jPlayer.focus=
34
- this);this.androidFix={setMedia:!1,play:!1,pause:!1,time:NaN};b.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);b.each(this.options.supplied.toLowerCase().split(","),function(c,d){var e=d.replace(/^\s+|\s+$/g,
35
- "");if(a.format[e]){var f=!1;b.each(a.formats,function(a,c){if(e===c)return f=!0,!1});f||a.formats.push(e)}});b.each(this.options.solution.toLowerCase().split(","),function(c,d){var e=d.replace(/^\s+|\s+$/g,"");if(a.solution[e]){var f=!1;b.each(a.solutions,function(a,c){if(e===c)return f=!0,!1});f||a.solutions.push(e)}});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);
36
- this.internal.self=b.extend({},{id:this.element.attr("id"),jq:this.element});this.internal.audio=b.extend({},{id:this.options.idPrefix+"_audio_"+this.count,jq:f});this.internal.video=b.extend({},{id:this.options.idPrefix+"_video_"+this.count,jq:f});this.internal.flash=b.extend({},{id:this.options.idPrefix+"_flash_"+this.count,jq:f,swf:this.options.swfPath+(".swf"!==this.options.swfPath.toLowerCase().slice(-4)?(this.options.swfPath&&"/"!==this.options.swfPath.slice(-1)?"/":"")+"Jplayer.swf":"")});
37
- this.internal.poster=b.extend({},{id:this.options.idPrefix+"_poster_"+this.count,jq:f});b.each(b.jPlayer.event,function(c,b){a.options[c]!==f&&(a.element.bind(b+".jPlayer",a.options[c]),a.options[c]=f)});this.require.audio=!1;this.require.video=!1;b.each(this.formats,function(c,b){a.require[a.format[b].media]=!0});this.options=this.require.video?b.extend(!0,{},this.optionsVideo,this.options):b.extend(!0,{},this.optionsAudio,this.options);this._setSize();this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls);
38
- this.status.noFullWindow=this._uaBlocklist(this.options.noFullWindow);this.status.noVolume=this._uaBlocklist(this.options.noVolume);b.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(){a.status.video&&!a.status.waitForPlay||a.internal.poster.jq.show()};this.element.append(this.htmlElement.poster);
39
- this.internal.poster.jq=b("#"+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(){a._trigger(b.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));
40
- 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={};b.each(this.formats,function(c,b){a.html.canPlay[b]=a.html[a.format[b].media].available&&""!==a.htmlElement[a.format[b].media].canPlayType(a.format[b].codec);
41
- a.flash.canPlay[b]=a.format[b].flashCanPlay&&a.flash.available});this.html.desired=!1;this.flash.desired=!1;b.each(this.solutions,function(c,d){if(0===c)a[d].desired=!0;else{var e=!1,f=!1;b.each(a.formats,function(c,b){a[a.solutions[0]].canPlay[b]&&("video"===a.format[b].media?f=!0:e=!0)});a[d].desired=a.require.audio&&!e||a.require.video&&!f}});this.html.support={};this.flash.support={};b.each(this.formats,function(c,b){a.html.support[b]=a.html.canPlay[b]&&a.html.desired;a.flash.support[b]=a.flash.canPlay[b]&&
42
- a.flash.desired});this.html.used=!1;this.flash.used=!1;b.each(this.solutions,function(c,d){b.each(a.formats,function(c,b){if(a[d].support[b])return a[d].used=!0,!1})});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:b.jPlayer.error.NO_SOLUTION,context:"{solution:'"+this.options.solution+"', supplied:'"+this.options.supplied+"'}",message:b.jPlayer.errorMsg.NO_SOLUTION,
43
- hint:b.jPlayer.errorHint.NO_SOLUTION}),this.css.jq.noSolution.length&&this.css.jq.noSolution.show());if(this.flash.used){var c,d="jQuery="+encodeURI(this.options.noConflict)+"&id="+encodeURI(this.internal.self.id)+"&vol="+this.options.volume+"&muted="+this.options.muted;if(b.jPlayer.browser.msie&&(9>Number(b.jPlayer.browser.version)||9>b.jPlayer.browser.documentMode)){d=['<param name="movie" value="'+this.internal.flash.swf+'" />','<param name="FlashVars" value="'+d+'" />','<param name="allowScriptAccess" value="always" />',
44
- '<param name="bgcolor" value="'+this.options.backgroundColor+'" />','<param name="wmode" value="'+this.options.wmode+'" />'];c=document.createElement('<object id="'+this.internal.flash.id+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="0" height="0" tabindex="-1"></object>');for(var e=0;e<d.length;e++)c.appendChild(document.createElement(d[e]))}else e=function(a,c,b){var d=document.createElement("param");d.setAttribute("name",c);d.setAttribute("value",b);a.appendChild(d)},c=document.createElement("object"),
45
- c.setAttribute("id",this.internal.flash.id),c.setAttribute("name",this.internal.flash.id),c.setAttribute("data",this.internal.flash.swf),c.setAttribute("type","application/x-shockwave-flash"),c.setAttribute("width","1"),c.setAttribute("height","1"),c.setAttribute("tabindex","-1"),e(c,"flashvars",d),e(c,"allowscriptaccess","always"),e(c,"bgcolor",this.options.backgroundColor),e(c,"wmode",this.options.wmode);this.element.append(c);this.internal.flash.jq=b(c)}this.status.playbackRateEnabled=this.html.used&&
46
- !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=b("#"+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=b("#"+this.internal.video.id),this.status.nativeVideoControls?
47
- this.internal.video.jq.css({width:this.status.width,height:this.status.height}):this.internal.video.jq.css({width:"0px",height:"0px"}),this.internal.video.jq.bind("click.jPlayer",function(){a._trigger(b.jPlayer.event.click)})));this.options.emulateHtml&&this._emulateHtmlBridge();this.html.used&&!this.flash.used&&setTimeout(function(){a.internal.ready=!0;a.version.flash="n/a";a._trigger(b.jPlayer.event.repeat);a._trigger(b.jPlayer.event.ready)},100);this._updateNativeVideoControls();this.css.jq.videoPlay.length&&
48
- this.css.jq.videoPlay.hide();b.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("");b.each(this.css.jq,function(a,c){c.length&&c.unbind(".jPlayer")});this.internal.poster.jq.unbind(".jPlayer");this.internal.video.jq&&this.internal.video.jq.unbind(".jPlayer");this._fullscreenRemoveEventListeners();this===b.jPlayer.focus&&(b.jPlayer.focus=null);
49
- 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(a){try{return a.canPlayType(this.format.mp3.codec),!0}catch(c){return!1}},_testPlaybackRate:function(a){a=document.createElement("string"===typeof a?a:"audio");try{return"playbackRate"in a?(a.playbackRate=0.5,0.5===a.playbackRate):!1}catch(c){return!1}},
50
- _uaBlocklist:function(a){var c=navigator.userAgent.toLowerCase(),d=!1;b.each(a,function(a,b){if(b&&b.test(c))return d=!0,!1});return d},_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?
51
- (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(a,c){var d=this;a.preload=this.options.preload;a.muted=this.options.muted;a.volume=this.options.volume;this.status.playbackRateEnabled&&(a.defaultPlaybackRate=this.options.defaultPlaybackRate,a.playbackRate=this.options.playbackRate);
52
- a.addEventListener("progress",function(){c.gate&&(d.internal.cmdsIgnored&&0<this.readyState&&(d.internal.cmdsIgnored=!1),d.androidFix.setMedia=!1,d.androidFix.play&&(d.androidFix.play=!1,d.play(d.androidFix.time)),d.androidFix.pause&&(d.androidFix.pause=!1,d.pause(d.androidFix.time)),d._getHtmlStatus(a),d._updateInterface(),d._trigger(b.jPlayer.event.progress))},!1);a.addEventListener("timeupdate",function(){c.gate&&(d._getHtmlStatus(a),d._updateInterface(),d._trigger(b.jPlayer.event.timeupdate))},
53
- !1);a.addEventListener("durationchange",function(){c.gate&&(d._getHtmlStatus(a),d._updateInterface(),d._trigger(b.jPlayer.event.durationchange))},!1);a.addEventListener("play",function(){c.gate&&(d._updateButtons(!0),d._html_checkWaitForPlay(),d._trigger(b.jPlayer.event.play))},!1);a.addEventListener("playing",function(){c.gate&&(d._updateButtons(!0),d._seeked(),d._trigger(b.jPlayer.event.playing))},!1);a.addEventListener("pause",function(){c.gate&&(d._updateButtons(!1),d._trigger(b.jPlayer.event.pause))},
54
- !1);a.addEventListener("waiting",function(){c.gate&&(d._seeking(),d._trigger(b.jPlayer.event.waiting))},!1);a.addEventListener("seeking",function(){c.gate&&(d._seeking(),d._trigger(b.jPlayer.event.seeking))},!1);a.addEventListener("seeked",function(){c.gate&&(d._seeked(),d._trigger(b.jPlayer.event.seeked))},!1);a.addEventListener("volumechange",function(){c.gate&&(d.options.volume=a.volume,d.options.muted=a.muted,d._updateMute(),d._updateVolume(),d._trigger(b.jPlayer.event.volumechange))},!1);a.addEventListener("ratechange",
55
- function(){c.gate&&(d.options.defaultPlaybackRate=a.defaultPlaybackRate,d.options.playbackRate=a.playbackRate,d._updatePlaybackRate(),d._trigger(b.jPlayer.event.ratechange))},!1);a.addEventListener("suspend",function(){c.gate&&(d._seeked(),d._trigger(b.jPlayer.event.suspend))},!1);a.addEventListener("ended",function(){c.gate&&(b.jPlayer.browser.webkit||(d.htmlElement.media.currentTime=0),d.htmlElement.media.pause(),d._updateButtons(!1),d._getHtmlStatus(a,!0),d._updateInterface(),d._trigger(b.jPlayer.event.ended))},
56
- !1);a.addEventListener("error",function(){c.gate&&(d._updateButtons(!1),d._seeked(),d.status.srcSet&&(clearTimeout(d.internal.htmlDlyCmdId),d.status.waitForLoad=!0,d.status.waitForPlay=!0,d.status.video&&!d.status.nativeVideoControls&&d.internal.video.jq.css({width:"0px",height:"0px"}),d._validString(d.status.media.poster)&&!d.status.nativeVideoControls&&d.internal.poster.jq.show(),d.css.jq.videoPlay.length&&d.css.jq.videoPlay.show(),d._error({type:b.jPlayer.error.URL,context:d.status.src,message:b.jPlayer.errorMsg.URL,
57
- hint:b.jPlayer.errorHint.URL})))},!1);b.each(b.jPlayer.htmlEvent,function(e,g){a.addEventListener(this,function(){c.gate&&d._trigger(b.jPlayer.event[g])},!1)})},_getHtmlStatus:function(a,c){var b=0,e=0,g=0,f=0;isFinite(a.duration)&&(this.status.duration=a.duration);b=a.currentTime;e=0<this.status.duration?100*b/this.status.duration:0;"object"===typeof a.seekable&&0<a.seekable.length?(g=0<this.status.duration?100*a.seekable.end(a.seekable.length-1)/this.status.duration:100,f=0<this.status.duration?
58
- 100*a.currentTime/a.seekable.end(a.seekable.length-1):0):(g=100,f=e);c&&(e=f=b=0);this.status.seekPercent=g;this.status.currentPercentRelative=f;this.status.currentPercentAbsolute=e;this.status.currentTime=b;this.status.remaining=this.status.duration-this.status.currentTime;this.status.videoWidth=a.videoWidth;this.status.videoHeight=a.videoHeight;this.status.readyState=a.readyState;this.status.networkState=a.networkState;this.status.playbackRate=a.playbackRate;this.status.ended=a.ended},_resetStatus:function(){this.status=
59
- b.extend({},this.status,b.jPlayer.prototype.status)},_trigger:function(a,c,d){a=b.Event(a);a.jPlayer={};a.jPlayer.version=b.extend({},this.version);a.jPlayer.options=b.extend(!0,{},this.options);a.jPlayer.status=b.extend(!0,{},this.status);a.jPlayer.html=b.extend(!0,{},this.html);a.jPlayer.flash=b.extend(!0,{},this.flash);c&&(a.jPlayer.error=b.extend({},c));d&&(a.jPlayer.warning=b.extend({},d));this.element.trigger(a)},jPlayerFlashEvent:function(a,c){if(a===b.jPlayer.event.ready)if(!this.internal.ready)this.internal.ready=
60
- !0,this.internal.flash.jq.css({width:"0px",height:"0px"}),this.version.flash=c.version,this.version.needFlash!==this.version.flash&&this._error({type:b.jPlayer.error.VERSION,context:this.version.flash,message:b.jPlayer.errorMsg.VERSION+this.version.flash,hint:b.jPlayer.errorHint.VERSION}),this._trigger(b.jPlayer.event.repeat),this._trigger(a);else if(this.flash.gate){if(this.status.srcSet){var d=this.status.currentTime,e=this.status.paused;this.setMedia(this.status.media);this.volumeWorker(this.options.volume);
61
- 0<d&&(e?this.pause(d):this.play(d))}this._trigger(b.jPlayer.event.flashreset)}if(this.flash.gate)switch(a){case b.jPlayer.event.progress:this._getFlashStatus(c);this._updateInterface();this._trigger(a);break;case b.jPlayer.event.timeupdate:this._getFlashStatus(c);this._updateInterface();this._trigger(a);break;case b.jPlayer.event.play:this._seeked();this._updateButtons(!0);this._trigger(a);break;case b.jPlayer.event.pause:this._updateButtons(!1);this._trigger(a);break;case b.jPlayer.event.ended:this._updateButtons(!1);
62
- this._trigger(a);break;case b.jPlayer.event.click:this._trigger(a);break;case b.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);
63
- this._error({type:b.jPlayer.error.URL,context:c.src,message:b.jPlayer.errorMsg.URL,hint:b.jPlayer.errorHint.URL});break;case b.jPlayer.event.seeking:this._seeking();this._trigger(a);break;case b.jPlayer.event.seeked:this._seeked();this._trigger(a);break;case b.jPlayer.event.ready:break;default:this._trigger(a)}return!1},_getFlashStatus:function(a){this.status.seekPercent=a.seekPercent;this.status.currentPercentRelative=a.currentPercentRelative;this.status.currentPercentAbsolute=a.currentPercentAbsolute;
64
- this.status.currentTime=a.currentTime;this.status.duration=a.duration;this.status.remaining=a.duration-a.currentTime;this.status.videoWidth=a.videoWidth;this.status.videoHeight=a.videoHeight;this.status.readyState=4;this.status.networkState=0;this.status.playbackRate=1;this.status.ended=!1},_updateButtons:function(a){a===f?a=!this.status.paused:this.status.paused=!a;this.css.jq.play.length&&this.css.jq.pause.length&&(a?(this.css.jq.play.hide(),this.css.jq.pause.show()):(this.css.jq.play.show(),this.css.jq.pause.hide()));
65
- 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()))},
66
- _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 a="";this.css.jq.currentTime.length&&(a=this._convertTime(this.status.currentTime),a!==this.css.jq.currentTime.text()&&this.css.jq.currentTime.text(this._convertTime(this.status.currentTime)));
67
- var a="",a=this.status.duration,c=this.status.remaining;this.css.jq.duration.length&&("string"===typeof this.status.media.duration?a=this.status.media.duration:("number"===typeof this.status.media.duration&&(a=this.status.media.duration,c=a-this.status.currentTime),a=this.options.remainingDuration?(0<c?"-":"")+this._convertTime(c):this._convertTime(a)),a!==this.css.jq.duration.text()&&this.css.jq.duration.text(a))},_convertTime:l.prototype.time,_seeking:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.addClass("jp-seeking-bg")},
68
- _seeked:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.removeClass("jp-seeking-bg")},_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(a){return a.split("&").join("&amp;").split("<").join("&lt;").split(">").join("&gt;").split('"').join("&quot;")},_qualifyURL:function(a){var c=document.createElement("div");c.innerHTML='<a href="'+this._escapeHtml(a)+'">x</a>';return c.firstChild.href},
69
- _absoluteMediaUrls:function(a){var c=this;b.each(a,function(b,e){e&&c.format[b]&&(a[b]=c._qualifyURL(e))});return a},setMedia:function(a){var c=this,d=!1,e=this.status.media.poster!==a.poster;this._resetMedia();this._resetGate();this._resetActive();this.androidFix.setMedia=!1;this.androidFix.play=!1;this.androidFix.pause=!1;a=this._absoluteMediaUrls(a);b.each(this.formats,function(e,f){var k="video"===c.format[f].media;b.each(c.solutions,function(e,g){if(c[g].support[f]&&c._validString(a[f])){var l=
70
- "html"===g;k?(l?(c.html.video.gate=!0,c._html_setVideo(a),c.html.active=!0):(c.flash.gate=!0,c._flash_setVideo(a),c.flash.active=!0),c.css.jq.videoPlay.length&&c.css.jq.videoPlay.show(),c.status.video=!0):(l?(c.html.audio.gate=!0,c._html_setAudio(a),c.html.active=!0,b.jPlayer.platform.android&&(c.androidFix.setMedia=!0)):(c.flash.gate=!0,c._flash_setAudio(a),c.flash.active=!0),c.css.jq.videoPlay.length&&c.css.jq.videoPlay.hide(),c.status.video=!1);d=!0;return!1}});if(d)return!1});d?(this.status.nativeVideoControls&&
71
- this.html.video.gate||!this._validString(a.poster)||(e?this.htmlElement.poster.src=a.poster:this.internal.poster.jq.show()),this.css.jq.title.length&&"string"===typeof a.title&&(this.css.jq.title.html(a.title),this.htmlElement.audio&&this.htmlElement.audio.setAttribute("title",a.title),this.htmlElement.video&&this.htmlElement.video.setAttribute("title",a.title)),this.status.srcSet=!0,this.status.media=b.extend({},a),this._updateButtons(!1),this._updateInterface(),this._trigger(b.jPlayer.event.setmedia)):
72
- this._error({type:b.jPlayer.error.NO_SUPPORT,context:"{supplied:'"+this.options.supplied+"'}",message:b.jPlayer.errorMsg.NO_SUPPORT,hint:b.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():
73
- 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&&(b.jPlayer.focus=this)},play:function(a){a="number"===typeof a?a:NaN;this.status.srcSet?(this.focus(),this.html.active?this._html_play(a):this.flash.active&&this._flash_play(a)):this._urlNotSetError("play")},videoPlay:function(){this.play()},
74
- pause:function(a){a="number"===typeof a?a:NaN;this.status.srcSet?this.html.active?this._html_pause(a):this.flash.active&&this._flash_pause(a):this._urlNotSetError("pause")},tellOthers:function(a,c){var d=this,e="function"===typeof c,g=Array.prototype.slice.call(arguments);"string"===typeof a&&(e&&g.splice(1,1),b.each(this.instances,function(){d.element!==this&&(e&&!c.call(this.data("jPlayer"),d)||this.jPlayer.apply(this,g))}))},pauseOthers:function(a){this.tellOthers("pause",function(){return this.status.srcSet},
75
- a)},stop:function(){this.status.srcSet?this.html.active?this._html_pause(0):this.flash.active&&this._flash_pause(0):this._urlNotSetError("stop")},playHead:function(a){a=this._limitValue(a,0,100);this.status.srcSet?this.html.active?this._html_playHead(a):this.flash.active&&this._flash_playHead(a):this._urlNotSetError("playHead")},_muted:function(a){this.mutedWorker(a);this.options.globalVolume&&this.tellOthers("mutedWorker",function(){return this.options.globalVolume},a)},mutedWorker:function(a){this.options.muted=
76
- a;this.html.used&&this._html_setProperty("muted",a);this.flash.used&&this._flash_mute(a);this.html.video.gate||this.html.audio.gate||(this._updateMute(a),this._updateVolume(this.options.volume),this._trigger(b.jPlayer.event.volumechange))},mute:function(a){a=a===f?!0:!!a;this._muted(a)},unmute:function(a){a=a===f?!0:!!a;this._muted(!a)},_updateMute:function(a){a===f&&(a=this.options.muted);this.css.jq.mute.length&&this.css.jq.unmute.length&&(this.status.noVolume?(this.css.jq.mute.hide(),this.css.jq.unmute.hide()):
77
- a?(this.css.jq.mute.hide(),this.css.jq.unmute.show()):(this.css.jq.mute.show(),this.css.jq.unmute.hide()))},volume:function(a){this.volumeWorker(a);this.options.globalVolume&&this.tellOthers("volumeWorker",function(){return this.options.globalVolume},a)},volumeWorker:function(a){a=this._limitValue(a,0,1);this.options.volume=a;this.html.used&&this._html_setProperty("volume",a);this.flash.used&&this._flash_volume(a);this.html.video.gate||this.html.audio.gate||(this._updateVolume(a),this._trigger(b.jPlayer.event.volumechange))},
78
- volumeBar:function(a){if(this.css.jq.volumeBar.length){var c=b(a.currentTarget),d=c.offset(),e=a.pageX-d.left,g=c.width();a=c.height()-a.pageY+d.top;c=c.height();this.options.verticalVolume?this.volume(a/c):this.volume(e/g)}this.options.muted&&this._muted(!1)},_updateVolume:function(a){a===f&&(a=this.options.volume);a=this.options.muted?0:a;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&&
79
- 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*a+"%")),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.show())},volumeMax:function(){this.volume(1);this.options.muted&&this._muted(!1)},_cssSelectorAncestor:function(a){var c=this;this.options.cssSelectorAncestor=a;this._removeUiClass();this.ancestorJq=a?b(a):
80
- [];a&&1!==this.ancestorJq.length&&this._warning({type:b.jPlayer.warning.CSS_SELECTOR_COUNT,context:a,message:b.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.ancestorJq.length+" found for cssSelectorAncestor.",hint:b.jPlayer.warningHint.CSS_SELECTOR_COUNT});this._addUiClass();b.each(this.options.cssSelector,function(a,b){c._cssSelector(a,b)});this._updateInterface();this._updateButtons();this._updateAutohide();this._updateVolume();this._updateMute()},_cssSelector:function(a,c){var d=this;"string"===typeof c?
81
- b.jPlayer.prototype.options.cssSelector[a]?(this.css.jq[a]&&this.css.jq[a].length&&this.css.jq[a].unbind(".jPlayer"),this.options.cssSelector[a]=c,this.css.cs[a]=this.options.cssSelectorAncestor+" "+c,this.css.jq[a]=c?b(this.css.cs[a]):[],this.css.jq[a].length&&this[a]&&this.css.jq[a].bind("click.jPlayer",function(c){c.preventDefault();d[a](c);b(this).blur()}),c&&1!==this.css.jq[a].length&&this._warning({type:b.jPlayer.warning.CSS_SELECTOR_COUNT,context:this.css.cs[a],message:b.jPlayer.warningMsg.CSS_SELECTOR_COUNT+
82
- this.css.jq[a].length+" found for "+a+" method.",hint:b.jPlayer.warningHint.CSS_SELECTOR_COUNT})):this._warning({type:b.jPlayer.warning.CSS_SELECTOR_METHOD,context:a,message:b.jPlayer.warningMsg.CSS_SELECTOR_METHOD,hint:b.jPlayer.warningHint.CSS_SELECTOR_METHOD}):this._warning({type:b.jPlayer.warning.CSS_SELECTOR_STRING,context:c,message:b.jPlayer.warningMsg.CSS_SELECTOR_STRING,hint:b.jPlayer.warningHint.CSS_SELECTOR_STRING})},duration:function(a){this.options.toggleDuration&&this._setOption("remainingDuration",
83
- !this.options.remainingDuration)},seekBar:function(a){if(this.css.jq.seekBar.length){var c=b(a.currentTarget),d=c.offset();a=a.pageX-d.left;c=c.width();this.playHead(100*a/c)}},playbackRate:function(a){this._setOption("playbackRate",a)},playbackRateBar:function(a){if(this.css.jq.playbackRateBar.length){var c=b(a.currentTarget),d=c.offset(),e=a.pageX-d.left,g=c.width();a=c.height()-a.pageY+d.top;c=c.height();this.playbackRate((this.options.verticalPlaybackRate?a/c:e/g)*(this.options.maxPlaybackRate-
84
- this.options.minPlaybackRate)+this.options.minPlaybackRate)}},_updatePlaybackRate:function(){var a=(this.options.playbackRate-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*a+"%"))):(this.css.jq.playbackRateBar.length&&
85
- this.css.jq.playbackRateBar.hide(),this.css.jq.playbackRateBarValue.length&&this.css.jq.playbackRateBarValue.hide())},repeat:function(){this._loop(!0)},repeatOff:function(){this._loop(!1)},_loop:function(a){this.options.loop!==a&&(this.options.loop=a,this._updateButtons(),this._trigger(b.jPlayer.event.repeat))},option:function(a,c){var d=a;if(0===arguments.length)return b.extend(!0,{},this.options);if("string"===typeof a){var e=a.split(".");if(c===f){for(var d=b.extend(!0,{},this.options),g=0;g<e.length;g++)if(d[e[g]]!==
86
- f)d=d[e[g]];else return this._warning({type:b.jPlayer.warning.OPTION_KEY,context:a,message:b.jPlayer.warningMsg.OPTION_KEY,hint:b.jPlayer.warningHint.OPTION_KEY}),f;return d}for(var g=d={},h=0;h<e.length;h++)h<e.length-1?(g[e[h]]={},g=g[e[h]]):g[e[h]]=c}this._setOptions(d);return this},_setOptions:function(a){var c=this;b.each(a,function(a,b){c._setOption(a,b)});return this},_setOption:function(a,c){var d=this;switch(a){case "volume":this.volume(c);break;case "muted":this._muted(c);break;case "globalVolume":this.options[a]=
87
- c;break;case "cssSelectorAncestor":this._cssSelectorAncestor(c);break;case "cssSelector":b.each(c,function(a,c){d._cssSelector(a,c)});break;case "playbackRate":this.options[a]=c=this._limitValue(c,this.options.minPlaybackRate,this.options.maxPlaybackRate);this.html.used&&this._html_setProperty("playbackRate",c);this._updatePlaybackRate();break;case "defaultPlaybackRate":this.options[a]=c=this._limitValue(c,this.options.minPlaybackRate,this.options.maxPlaybackRate);this.html.used&&this._html_setProperty("defaultPlaybackRate",
88
- c);this._updatePlaybackRate();break;case "minPlaybackRate":this.options[a]=c=this._limitValue(c,0.1,this.options.maxPlaybackRate-0.1);this._updatePlaybackRate();break;case "maxPlaybackRate":this.options[a]=c=this._limitValue(c,this.options.minPlaybackRate+0.1,16);this._updatePlaybackRate();break;case "fullScreen":if(this.options[a]!==c){var e=b.jPlayer.nativeFeatures.fullscreen.used.webkitVideo;if(!e||e&&!this.status.waitForPlay)e||(this.options[a]=c),c?this._requestFullscreen():this._exitFullscreen(),
89
- e||this._setOption("fullWindow",c)}break;case "fullWindow":this.options[a]!==c&&(this._removeUiClass(),this.options[a]=c,this._refreshSize());break;case "size":this.options.fullWindow||this.options[a].cssClass===c.cssClass||this._removeUiClass();this.options[a]=b.extend({},this.options[a],c);this._refreshSize();break;case "sizeFull":this.options.fullWindow&&this.options[a].cssClass!==c.cssClass&&this._removeUiClass();this.options[a]=b.extend({},this.options[a],c);this._refreshSize();break;case "autohide":this.options[a]=
90
- b.extend({},this.options[a],c);this._updateAutohide();break;case "loop":this._loop(c);break;case "remainingDuration":this.options[a]=c;this._updateInterface();break;case "toggleDuration":this.options[a]=c;break;case "nativeVideoControls":this.options[a]=b.extend({},this.options[a],c);this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls);this._restrictNativeVideoControls();this._updateNativeVideoControls();break;case "noFullWindow":this.options[a]=b.extend({},this.options[a],
91
- c);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[a]=b.extend({},this.options[a],c);this.status.noVolume=this._uaBlocklist(this.options.noVolume);this._updateVolume();this._updateMute();break;case "emulateHtml":this.options[a]!==c&&((this.options[a]=c)?this._emulateHtmlBridge():this._destroyHtmlBridge());
92
- break;case "timeFormat":this.options[a]=b.extend({},this.options[a],c);break;case "keyEnabled":this.options[a]=c;c||this!==b.jPlayer.focus||(b.jPlayer.focus=null);break;case "keyBindings":this.options[a]=b.extend(!0,{},this.options[a],c);break;case "audioFullScreen":this.options[a]=c}return this},_refreshSize:function(){this._setSize();this._addUiClass();this._updateSize();this._updateButtons();this._updateAutohide();this._trigger(b.jPlayer.event.resize)},_setSize:function(){this.options.fullWindow?
93
- (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)},
94
- _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 a=this,
95
- c=function(){a.css.jq.gui.fadeIn(a.options.autohide.fadeIn,function(){clearTimeout(a.internal.autohideId);a.internal.autohideId=setTimeout(function(){a.css.jq.gui.fadeOut(a.options.autohide.fadeOut)},a.options.autohide.hold)})};this.css.jq.gui.length&&(this.css.jq.gui.stop(!0,!0),clearTimeout(this.internal.autohideId),this.element.unbind(".jPlayerAutohide"),this.css.jq.gui.unbind(".jPlayerAutohide"),this.status.nativeVideoControls?this.css.jq.gui.hide():this.options.fullWindow&&this.options.autohide.full||
96
- !this.options.fullWindow&&this.options.autohide.restored?(this.element.bind("mousemove.jPlayer.jPlayerAutohide",c),this.css.jq.gui.bind("mousemove.jPlayer.jPlayerAutohide",c),this.css.jq.gui.hide()):this.css.jq.gui.show())},fullScreen:function(){this._setOption("fullScreen",!0)},restoreScreen:function(){this._setOption("fullScreen",!1)},_fullscreenAddEventListeners:function(){var a=this,c=b.jPlayer.nativeFeatures.fullscreen;c.api.fullscreenEnabled&&c.event.fullscreenchange&&("function"!==typeof this.internal.fullscreenchangeHandler&&
97
- (this.internal.fullscreenchangeHandler=function(){a._fullscreenchange()}),document.addEventListener(c.event.fullscreenchange,this.internal.fullscreenchangeHandler,!1))},_fullscreenRemoveEventListeners:function(){var a=b.jPlayer.nativeFeatures.fullscreen;this.internal.fullscreenchangeHandler&&document.removeEventListener(a.event.fullscreenchange,this.internal.fullscreenchangeHandler,!1)},_fullscreenchange:function(){this.options.fullScreen&&!b.jPlayer.nativeFeatures.fullscreen.api.fullscreenElement()&&
98
- this._setOption("fullScreen",!1)},_requestFullscreen:function(){var a=this.ancestorJq.length?this.ancestorJq[0]:this.element[0],c=b.jPlayer.nativeFeatures.fullscreen;c.used.webkitVideo&&(a=this.htmlElement.video);c.api.fullscreenEnabled&&c.api.requestFullscreen(a)},_exitFullscreen:function(){var a=b.jPlayer.nativeFeatures.fullscreen,c;a.used.webkitVideo&&(c=this.htmlElement.video);a.api.fullscreenEnabled&&a.api.exitFullscreen(c)},_html_initMedia:function(a){var c=b(this.htmlElement.media).empty();
99
- b.each(a.track||[],function(a,b){var g=document.createElement("track");g.setAttribute("kind",b.kind?b.kind:"");g.setAttribute("src",b.src?b.src:"");g.setAttribute("srclang",b.srclang?b.srclang:"");g.setAttribute("label",b.label?b.label:"");b.def&&g.setAttribute("default",b.def);c.append(g)});this.htmlElement.media.src=this.status.src;"none"!==this.options.preload&&this._html_load();this._trigger(b.jPlayer.event.timeupdate)},_html_setFormat:function(a){var c=this;b.each(this.formats,function(b,e){if(c.html.support[e]&&
100
- a[e])return c.status.src=a[e],c.status.format[e]=!0,c.status.formatType=e,!1})},_html_setAudio:function(a){this._html_setFormat(a);this.htmlElement.media=this.htmlElement.audio;this._html_initMedia(a)},_html_setVideo:function(a){this._html_setFormat(a);this.status.nativeVideoControls&&(this.htmlElement.video.poster=this._validString(a.poster)?a.poster:"");this.htmlElement.media=this.htmlElement.video;this._html_initMedia(a)},_html_resetMedia:function(){this.htmlElement.media&&(this.htmlElement.media.id!==
101
- 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(a){var b=this,d=this.htmlElement.media;this.androidFix.pause=!1;
102
- this._html_load();if(this.androidFix.setMedia)this.androidFix.play=!0,this.androidFix.time=a;else if(isNaN(a))d.play();else{this.internal.cmdsIgnored&&d.play();try{if(!d.seekable||"object"===typeof d.seekable&&0<d.seekable.length)d.currentTime=a,d.play();else throw 1;}catch(e){this.internal.htmlDlyCmdId=setTimeout(function(){b.play(a)},250);return}}this._html_checkWaitForPlay()},_html_pause:function(a){var b=this,d=this.htmlElement.media;this.androidFix.play=!1;0<a?this._html_load():clearTimeout(this.internal.htmlDlyCmdId);
103
- d.pause();if(this.androidFix.setMedia)this.androidFix.pause=!0,this.androidFix.time=a;else if(!isNaN(a))try{if(!d.seekable||"object"===typeof d.seekable&&0<d.seekable.length)d.currentTime=a;else throw 1;}catch(e){this.internal.htmlDlyCmdId=setTimeout(function(){b.pause(a)},250);return}0<a&&this._html_checkWaitForPlay()},_html_playHead:function(a){var b=this,d=this.htmlElement.media;this._html_load();try{if("object"===typeof d.seekable&&0<d.seekable.length)d.currentTime=a*d.seekable.end(d.seekable.length-
104
- 1)/100;else if(0<d.duration&&!isNaN(d.duration))d.currentTime=a*d.duration/100;else throw"e";}catch(e){this.internal.htmlDlyCmdId=setTimeout(function(){b.playHead(a)},250);return}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})))},
105
- _html_setProperty:function(a,b){this.html.audio.available&&(this.htmlElement.audio[a]=b);this.html.video.available&&(this.htmlElement.video[a]=b)},_flash_setAudio:function(a){var c=this;try{b.each(this.formats,function(b,d){if(c.flash.support[d]&&a[d]){switch(d){case "m4a":case "fla":c._getMovie().fl_setAudio_m4a(a[d]);break;case "mp3":c._getMovie().fl_setAudio_mp3(a[d]);break;case "rtmpa":c._getMovie().fl_setAudio_rtmp(a[d])}c.status.src=a[d];c.status.format[d]=!0;c.status.formatType=d;return!1}}),
106
- "auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(d){this._flashError(d)}},_flash_setVideo:function(a){var c=this;try{b.each(this.formats,function(b,d){if(c.flash.support[d]&&a[d]){switch(d){case "m4v":case "flv":c._getMovie().fl_setVideo_m4v(a[d]);break;case "rtmpv":c._getMovie().fl_setVideo_rtmp(a[d])}c.status.src=a[d];c.status.format[d]=!0;c.status.formatType=d;return!1}}),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(d){this._flashError(d)}},
107
- _flash_resetMedia:function(){this.internal.flash.jq.css({width:"0px",height:"0px"});this._flash_pause(NaN)},_flash_clearMedia:function(){try{this._getMovie().fl_clearMedia()}catch(a){this._flashError(a)}},_flash_load:function(){try{this._getMovie().fl_load()}catch(a){this._flashError(a)}this.status.waitForLoad=!1},_flash_play:function(a){try{this._getMovie().fl_play(a)}catch(b){this._flashError(b)}this.status.waitForLoad=!1;this._flash_checkWaitForPlay()},_flash_pause:function(a){try{this._getMovie().fl_pause(a)}catch(b){this._flashError(b)}0<
108
- a&&(this.status.waitForLoad=!1,this._flash_checkWaitForPlay())},_flash_playHead:function(a){try{this._getMovie().fl_play_head(a)}catch(b){this._flashError(b)}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(a){try{this._getMovie().fl_volume(a)}catch(b){this._flashError(b)}},
109
- _flash_mute:function(a){try{this._getMovie().fl_mute(a)}catch(b){this._flashError(b)}},_getMovie:function(){return document[this.internal.flash.id]},_getFlashPluginVersion:function(){var a=0,b;if(window.ActiveXObject)try{if(b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")){var d=b.GetVariable("$version");d&&(d=d.split(" ")[1].split(","),a=parseInt(d[0],10)+"."+parseInt(d[1],10))}}catch(e){}else navigator.plugins&&0<navigator.mimeTypes.length&&(b=navigator.plugins["Shockwave Flash"])&&(a=navigator.plugins["Shockwave Flash"].description.replace(/.*\s(\d+\.\d+).*/,
110
- "$1"));return 1*a},_checkForFlash:function(a){var b=!1;this._getFlashPluginVersion()>=a&&(b=!0);return b},_validString:function(a){return a&&"string"===typeof a},_limitValue:function(a,b,d){return a<b?b:a>d?d:a},_urlNotSetError:function(a){this._error({type:b.jPlayer.error.URL_NOT_SET,context:a,message:b.jPlayer.errorMsg.URL_NOT_SET,hint:b.jPlayer.errorHint.URL_NOT_SET})},_flashError:function(a){var c;c=this.internal.ready?"FLASH_DISABLED":"FLASH";this._error({type:b.jPlayer.error[c],context:this.internal.flash.swf,
111
- message:b.jPlayer.errorMsg[c]+a.message,hint:b.jPlayer.errorHint[c]});this.internal.flash.jq.css({width:"1px",height:"1px"})},_error:function(a){this._trigger(b.jPlayer.event.error,a);this.options.errorAlerts&&this._alert("Error!"+(a.message?"\n"+a.message:"")+(a.hint?"\n"+a.hint:"")+"\nContext: "+a.context)},_warning:function(a){this._trigger(b.jPlayer.event.warning,f,a);this.options.warningAlerts&&this._alert("Warning!"+(a.message?"\n"+a.message:"")+(a.hint?"\n"+a.hint:"")+"\nContext: "+a.context)},
112
- _alert:function(a){a="jPlayer "+this.version.script+" : id='"+this.internal.self.id+"' : "+a;this.options.consoleAlerts?window.console&&window.console.log&&window.console.log(a):alert(a)},_emulateHtmlBridge:function(){var a=this;b.each(b.jPlayer.emulateMethods.split(/\s+/g),function(b,d){a.internal.domNode[d]=function(b){a[d](b)}});b.each(b.jPlayer.event,function(c,d){var e=!0;b.each(b.jPlayer.reservedEvent.split(/\s+/g),function(a,b){if(b===c)return e=!1});e&&a.element.bind(d+".jPlayer.jPlayerHtml",
113
- function(){a._emulateHtmlUpdate();var b=document.createEvent("Event");b.initEvent(c,!1,!0);a.internal.domNode.dispatchEvent(b)})})},_emulateHtmlUpdate:function(){var a=this;b.each(b.jPlayer.emulateStatus.split(/\s+/g),function(b,d){a.internal.domNode[d]=a.status[d]});b.each(b.jPlayer.emulateOptions.split(/\s+/g),function(b,d){a.internal.domNode[d]=a.options[d]})},_destroyHtmlBridge:function(){var a=this;this.element.unbind(".jPlayerHtml");b.each((b.jPlayer.emulateMethods+" "+b.jPlayer.emulateStatus+
114
- " "+b.jPlayer.emulateOptions).split(/\s+/g),function(b,d){delete a.internal.domNode[d]})}};b.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"};b.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: ",
115
- 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 "+b.jPlayer.prototype.version.script+" needs Jplayer.swf version "+b.jPlayer.prototype.version.needFlash+" but found "};b.jPlayer.errorHint=
116
- {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."};b.jPlayer.warning={CSS_SELECTOR_COUNT:"e_css_selector_count",CSS_SELECTOR_METHOD:"e_css_selector_method",
117
- CSS_SELECTOR_STRING:"e_css_selector_string",OPTION_KEY:"e_option_key"};b.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."};b.jPlayer.warningHint={CSS_SELECTOR_COUNT:"Check your css selector and the ancestor.",
118
- 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("&amp;").split("<").join("&lt;").split(">").join("&gt;").split('"').join("&quot;")},_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
 
3
+ },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 CHANGED
@@ -1,167 +1,167 @@
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);
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/jquery.ui.touch-punch.min.js CHANGED
@@ -1,11 +1,11 @@
1
- /*
2
- * jQuery UI Touch Punch 0.2.2
3
- *
4
- * Copyright 2011, Dave Furfero
5
- * Dual licensed under the MIT or GPL Version 2 licenses.
6
- *
7
- * Depends:
8
- * jquery.ui.widget.js
9
- * jquery.ui.mouse.js
10
- */
11
  (function(b){b.support.touch="ontouchend" in document;if(!b.support.touch){return;}var c=b.ui.mouse.prototype,e=c._mouseInit,a;function d(g,h){if(g.originalEvent.touches.length>1){return;}g.preventDefault();var i=g.originalEvent.changedTouches[0],f=document.createEvent("MouseEvents");f.initMouseEvent(h,true,true,window,1,i.screenX,i.screenY,i.clientX,i.clientY,false,false,false,false,0,null);g.target.dispatchEvent(f);}c._touchStart=function(g){var f=this;if(a||!f._mouseCapture(g.originalEvent.changedTouches[0])){return;}a=true;f._touchMoved=false;d(g,"mouseover");d(g,"mousemove");d(g,"mousedown");};c._touchMove=function(f){if(!a){return;}this._touchMoved=true;d(f,"mousemove");};c._touchEnd=function(f){if(!a){return;}d(f,"mouseup");d(f,"mouseout");if(!this._touchMoved){d(f,"click");}a=false;};c._mouseInit=function(){var f=this;f.element.bind("touchstart",b.proxy(f,"_touchStart")).bind("touchmove",b.proxy(f,"_touchMove")).bind("touchend",b.proxy(f,"_touchEnd"));e.call(f);};})(jQuery);
1
+ /*
2
+ * jQuery UI Touch Punch 0.2.2
3
+ *
4
+ * Copyright 2011, Dave Furfero
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ *
7
+ * Depends:
8
+ * jquery.ui.widget.js
9
+ * jquery.ui.mouse.js
10
+ */
11
  (function(b){b.support.touch="ontouchend" in document;if(!b.support.touch){return;}var c=b.ui.mouse.prototype,e=c._mouseInit,a;function d(g,h){if(g.originalEvent.touches.length>1){return;}g.preventDefault();var i=g.originalEvent.changedTouches[0],f=document.createEvent("MouseEvents");f.initMouseEvent(h,true,true,window,1,i.screenX,i.screenY,i.clientX,i.clientY,false,false,false,false,0,null);g.target.dispatchEvent(f);}c._touchStart=function(g){var f=this;if(a||!f._mouseCapture(g.originalEvent.changedTouches[0])){return;}a=true;f._touchMoved=false;d(g,"mouseover");d(g,"mousemove");d(g,"mousedown");};c._touchMove=function(f){if(!a){return;}this._touchMoved=true;d(f,"mousemove");};c._touchEnd=function(f){if(!a){return;}d(f,"mouseup");d(f,"mouseout");if(!this._touchMoved){d(f,"click");}a=false;};c._mouseInit=function(){var f=this;f.element.bind("touchstart",b.proxy(f,"_touchStart")).bind("touchmove",b.proxy(f,"_touchMove")).bind("touchend",b.proxy(f,"_touchEnd"));e.call(f);};})(jQuery);
js/mp3-jplayer-1.8.8.js CHANGED
@@ -1,777 +1,1552 @@
1
  /*
2
- MP3-jPlayer 1.8.8
 
 
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
  dl_domain: '',
 
17
  jp_audio: {},
 
18
  jp_seekable: 0,
 
19
  sliding: false,
 
20
  launched_ID: null,
 
21
  jpID: '#mp3_jplayer_1_8',
 
22
  plugin_path: '',
23
 
 
 
24
  vars: {
 
25
  play_f: false,
 
26
  stylesheet_url: '',
 
27
  dload_text: 'DOWNLOAD MP3',
 
28
  pp_width: 280,
 
29
  pp_maxheight: 350,
 
30
  pp_bodycolour: '#fff',
 
31
  pp_bodyimg: '',
 
32
  pp_fixedcss: false,
 
33
  pp_windowheight: 600,
 
34
  pp_playerheight: 100+142,
 
35
  force_dload: false,
 
36
  message_interval: '<h2>Download MP3</h2><p style="margin-top:34px !important;">Your download should start in a second!</p>',
 
37
  message_ok: '',
 
38
  message_indark: '<h2>Download MP3</h2><p>Your download should start in a second!</p>',
 
39
  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>',
 
40
  message_fail: '<h2>Download Failed</h2><p>Sorry, something went wrong!</p>',
 
41
  message_timeout: '<h2>Download<br />Unavailable</h2><p>please try again later!</p>',
 
42
  dl_remote_path: ''
 
43
  },
44
 
 
 
45
  eID: {
 
46
  play: '#playpause_mp3j_',
 
47
  playW: '#playpause_wrap_mp3j_',
 
48
  stp: '#stop_mp3j_',
 
49
  prev: '#Prev_mp3j_',
 
50
  next: '#Next_mp3j_',
 
51
  vol: '#vol_mp3j_',
 
52
  loader: '#load_mp3j_',
 
53
  pos: '#posbar_mp3j_',
 
54
  poscol: '#poscol_mp3j_',
 
55
  title: '#T_mp3j_',
 
56
  caption: '#C_mp3j_',
 
57
  pT: '#P-Time-MI_',
 
58
  tT: '#T-Time-MI_',
 
59
  dload: '#download_mp3j_',
 
60
  plwrap: '#L_mp3j_',
 
61
  ul: '#UL_mp3j_',
 
62
  a: 'mp3j_A_', //No hash!
 
63
  indiM: '#statusMI_',
 
64
  toglist: '#playlist-toggle_',
 
65
  lPP: '#lpp_mp3j_',
 
66
  pplink: '#mp3j_popout_',
 
67
  img: '#MI_image_'
 
68
  },
69
 
 
 
70
  init: function () {
 
71
  var plpath, that = this;
 
72
 
 
73
  plpath = this.plugin_path.split('/');
 
74
  this.dl_domain = plpath[2].replace(/^www./i, "");
 
75
 
 
76
  this.unwrap();
 
77
  this.write_controls();
 
78
  jQuery(this.jpID).jPlayer({
 
79
  ready: function () {
 
80
  that.startup();
 
81
  },
82
- //swfPath: that.plugin_path + '/js',
83
- swfPath: that.plugin_path + '/js/Jplayer2-6-0.swf',
 
84
  volume: 1,
 
85
  supplied: "mp3",
 
86
  wmode: "window",
 
87
  solution:"html, flash",
 
88
  preload: "none"
 
89
  });
 
90
  jQuery(this.jpID).bind(jQuery.jPlayer.event.ended, function(event) {
 
91
  that.E_complete(that.tID);
 
92
  });
 
93
  jQuery(this.jpID).bind(jQuery.jPlayer.event.timeupdate, function(event) {
 
94
  var lp = that.get_loaded(event);
 
95
  var ppA = event.jPlayer.status.currentPercentAbsolute;
 
96
  var pt = event.jPlayer.status.currentTime;
 
97
  var tt = event.jPlayer.status.duration;
 
98
  that.E_update(that.tID, lp, ppA, pt, tt);
 
99
  });
 
100
  jQuery(this.jpID).bind(jQuery.jPlayer.event.ready, function(event) {
 
101
  if(event.jPlayer.html.used && event.jPlayer.html.audio.available) {
 
102
  that.jp_audio = jQuery(that.jpID).data("jPlayer").htmlElement.audio;
 
103
  } else {
 
104
  that.jp_audio = 'flash';
 
105
  }
 
106
  });
 
107
  jQuery(this.jpID).bind(jQuery.jPlayer.event.progress, function(event) {
 
108
  var lp = that.get_loaded(event);
 
109
  var pt = event.jPlayer.status.currentTime;
 
110
  var tt = event.jPlayer.status.duration;
 
111
  that.E_loading( that.tID, lp, tt, pt );
 
112
  });
 
113
  },
 
114
 
 
115
  get_loaded: function (event) {
 
116
  var lp;
 
117
  if ( typeof this.jp_audio.buffered === "object" ) {
 
118
  if( this.jp_audio.buffered.length > 0 && this.jp_audio.duration > 0 ) {
 
119
  lp = 100 * this.jp_audio.buffered.end(this.jp_audio.buffered.length-1) / this.jp_audio.duration;
 
120
  } else {
 
121
  lp = 0;
 
122
  }
 
123
  } else {
 
124
  lp = event.jPlayer.status.seekPercent;
 
125
  }
 
126
  this.jp_seekable = event.jPlayer.status.seekPercent; //use this for slider calcs for both html/flash solution
 
127
  this.load_pc = lp;
 
128
  return lp;
 
129
  },
 
130
 
 
131
  Tformat: function ( sec ) {
 
132
  var t = sec,
 
133
  s = Math.floor((t)%60),
 
134
  m = Math.floor((t/60)%60),
 
135
  h = Math.floor(t/3600);
 
136
  return ((h > 0) ? h+':' : '') + ((m > 9) ? m : '0'+m) + ':' + ((s > 9) ? s : '0'+s);
 
137
  },
138
 
 
 
139
  E_loading: function ( j, lp, tt, pt ) {
 
140
  if (j !== '') {
 
141
  jQuery(this.eID.loader + j).css( "width", lp + '%' );
 
142
  if (this.pl_info[j].type === 'MI') {
 
143
  if (tt > 0 && this.played_t > 0) {
 
144
  jQuery(this.eID.tT + j).text(this.Tformat(tt));
 
145
  }
 
146
  }
 
147
  if ( this.jp_audio !== 'flash' && lp < 100 ) {
 
148
  if ( pt === this.played_t && this.state === 'playing' && pt > 0 && !this.sliding ) {
 
149
  if (this.pl_info[j].type === 'MI') {
 
150
  jQuery(this.eID.indiM + j).empty().append('<span class="mp3-finding"></span><span class="mp3-tint"></span>Buffering');
 
151
  }
 
152
  if (this.pl_info[j].type === 'single' ) {
 
153
  jQuery(this.eID.indiM + j).empty().append('<span class="Smp3-finding"></span><span class="mp3-gtint"></span> ' + this.Tformat(pt));
 
154
  }
 
155
  }
 
156
  this.played_t = pt;
 
157
  }
 
158
  }
 
159
  },
 
160
 
 
161
  E_update: function (j, lp, ppA, pt, tt) {
 
162
  if (j !== '') {
 
163
  jQuery(this.eID.loader + j).css( "width", lp + '%' );
 
164
  jQuery(this.eID.poscol + j).css( "width", ppA + '%' );
 
165
  if ( jQuery(this.eID.pos + j + ' div.ui-widget-header').length > 0 ) {
 
166
  jQuery(this.eID.pos + j).slider('option', 'value', 10*ppA);
 
167
  }
 
168
  if (pt > 0) {
 
169
  jQuery(this.eID.pos + j).css( 'visibility', 'visible' );
 
170
  }
 
171
  if (this.pl_info[j].type === 'MI') {
 
172
  jQuery(this.eID.pT + j).text(this.Tformat(pt));
 
173
  }
 
174
  if ('playing' === this.state) {
 
175
  if ('MI' === this.pl_info[j].type) {
 
176
  if (tt > 0 && this.played_t === pt && lp < 100 && !this.sliding ) {
 
177
  jQuery(this.eID.indiM + j).empty().append('<span class="mp3-finding"></span><span class="mp3-tint"></span>Buffering');
 
178
  jQuery(this.eID.tT + j).text(this.Tformat(tt));
 
179
  } else if (pt > 0) {
 
180
  jQuery(this.eID.indiM + j).empty().append('Playing');
 
181
  jQuery(this.eID.tT + j).text(this.Tformat(tt));
 
182
  }
 
183
  }
 
184
  if ('single' === this.pl_info[j].type){
 
185
  if (pt > 0 ) {
 
186
  if (this.played_t === pt && lp < 100 && !this.sliding ) {
 
187
  jQuery(this.eID.indiM + j).empty().append('<span class="Smp3-finding"></span><span class="mp3-gtint"></span> ' + this.Tformat(pt));
 
188
  } else {
 
189
  jQuery(this.eID.indiM + j).empty().append('<span class="mp3-tint tintmarg"></span> ' + this.Tformat(pt));
 
190
  }
 
191
  }
 
192
  }
 
193
  }
 
194
  this.played_t = pt;
 
195
  }
 
196
  },
 
197
 
 
198
  E_complete: function (j) {
 
199
  var p = this.pl_info[j];
 
200
  if ('MI' === p.type) {
 
201
  if (p.loop || p.tr+1 < p.list.length) {
 
202
  this.E_change_track(j, 'next');
 
203
  } else {
 
204
  this.E_dblstop(j);
 
205
  this.startup();
 
206
  }
 
207
  }
 
208
  if ('single' === p.type) {
 
209
  if (p.loop) {
 
210
  this.E_change_track(j, 'next');
 
211
  } else {
 
212
  this.E_stop(j);
 
213
  this.startup();
 
214
  }
 
215
  }
 
216
  },
 
217
 
 
218
  write_controls: function () {
 
219
  var j;
 
220
  for (j = 0; j < this.pl_info.length; j += 1) {
 
221
  this.setup_a_player(j);
 
222
  }
 
223
  },
 
224
 
 
225
  startup: function () {
 
226
  var j;
 
227
  for (j = 0; j < this.pl_info.length; j += 1) {
 
228
  //if (this.pl_info[j].autoplay) {
 
229
  if ( this.pl_info[j].autoplay && (this.pl_info[j].type === 'single' || this.pl_info[j].type === 'MI') ) {
 
230
  this.pl_info[j].autoplay = false;
 
231
  this.E_change_track(j, this.pl_info[j].tr);
 
232
  return;
 
233
  }
 
234
  }
 
235
  },
 
236
 
 
237
  setup_a_player: function (j) {
 
238
  var i, li, sel, that = this, p = this.pl_info[j];
 
239
 
 
240
  //PLAYLISTERS and SINGLES
 
241
  if ('MI' === p.type || 'single' === p.type) {
 
242
 
 
243
  jQuery(this.eID.vol + j).slider({
 
244
  value : p.vol,
 
245
  max: 100,
 
246
  range: 'min',
 
247
  animate: false,
 
248
  slide: function (event, ui) {
 
249
  p.vol = ui.value;
 
250
  if (j === that.tID) {
 
251
  jQuery(that.jpID).jPlayer("volume", ui.value/100);
 
252
  }
 
253
  }
 
254
  });
 
255
 
 
256
  jQuery(this.eID.pos + j).mouseup(function (e) { //for posbar
 
257
  that.sliding = false;
 
258
  });
 
259
 
 
260
  sel = ('MI' === p.type) ? this.eID.play : this.eID.playW;
 
261
  jQuery(sel + j).click(function () { //play-pause click
 
262
  that.E_change_track(j, p.tr);
 
263
  jQuery(this).blur();
 
264
  });
 
265
  jQuery(sel + j).dblclick(function () { //play-pause dbl click
 
266
  if (that.state !== "playing") {
 
267
  that.E_change_track(j, p.tr);
 
268
  }
 
269
  jQuery(this).blur();
 
270
  });
 
271
 
 
272
  this.titles(j, p.tr);
 
273
  }
 
274
 
 
275
  //PLAYLISTERS
 
276
  if ('MI' === p.type) {
 
277
  jQuery(this.eID.pT + j).text('00:00');
 
278
  jQuery(this.eID.indiM + j).text('Ready');
 
279
  jQuery(this.eID.stp + j).click(function () {
 
280
  that.E_stop(j);
 
281
  });
 
282
  jQuery(this.eID.stp + j).dblclick(function () {
 
283
  that.E_dblstop(j);
 
284
  });
 
285
 
 
286
  jQuery(this.eID.plwrap + j).hide();
 
287
  if (p.list.length > 1) {
 
288
  jQuery(this.eID.next + j).click(function () {
 
289
  that.E_change_track(j, 'next');
 
290
  });
 
291
  jQuery(this.eID.prev + j).click(function () {
 
292
  that.E_change_track(j, 'prev');
 
293
  });
 
294
  jQuery(this.eID.ul + j).empty();
 
295
  for (i = 0; i < p.list.length; i += 1) {
 
296
  li = '<li>';
 
297
  li += '<a href="#" id="' + this.eID.a + j + '_' + i + '">' + p.list[i].name + '</a></li>';
 
298
  jQuery(this.eID.ul + j).append(li);
 
299
  this.add_ul_click(j, i);
 
300
  }
 
301
  jQuery('#' + this.eID.a + j + '_' + p.tr).addClass('mp3j_A_current');
 
302
  jQuery(this.eID.toglist + j).click(function () {
 
303
  that.togglelist(j);
 
304
  });
 
305
  if (p.lstate === true) {
 
306
  jQuery(this.eID.plwrap + j).show();
 
307
  }
 
308
  }
 
309
 
 
310
  this.writedownload(j, p.tr);
 
311
  if ( this.vars.force_dload === true ) {
 
312
  this.dl_closeinfo_click(j);
 
313
  }
 
314
 
 
315
  jQuery(this.eID.lPP + j).click(function () {
 
316
  return that.E_launchPP(j);
 
317
  });
 
318
  }
 
319
 
 
320
  //POPOUT LINKS
 
321
  if ('popout' === p.type) {
 
322
  jQuery(this.eID.pplink + j).click(function () {
 
323
  return that.E_launchPP(j);
 
324
  });
 
325
  }
 
326
  },
 
327
 
 
328
  add_ul_click: function (j, i) { //playlist item click
 
329
  var that = this;
 
330
  jQuery('#' + this.eID.a + j + "_" + i).click(function (e) {
 
331
  that.E_change_track(j, i);
 
332
  e.preventDefault();
 
333
  });
 
334
  },
 
335
 
 
336
  unwrap: function () {
 
337
  var i, j, arr;
 
338
  if (this.vars.play_f === true && typeof this.lists !== "undefined" && this.lists.length > 0) {
 
339
  for (i = 0; i < this.lists.length; i += 1) {
 
340
  arr = this.lists[i];
 
341
  for (j = 0; j < arr.length; j += 1) {
 
342
  arr[j].mp3 = this.f_undo.f_con(arr[j].mp3);
 
343
  }
 
344
  }
 
345
  }
 
346
  },
 
347
 
 
348
  f_undo: {
 
349
  keyStr : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
 
350
  f_con : function (input) {
 
351
  var output = "", i = 0, chr1, chr2, chr3, enc1, enc2, enc3, enc4;
 
352
  input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
 
353
  while (i < input.length) {
 
354
  enc1 = this.keyStr.indexOf(input.charAt(i++)); enc2 = this.keyStr.indexOf(input.charAt(i++));
 
355
  enc3 = this.keyStr.indexOf(input.charAt(i++)); enc4 = this.keyStr.indexOf(input.charAt(i++));
 
356
  chr1 = (enc1 << 2) | (enc2 >> 4); chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); chr3 = ((enc3 & 3) << 6) | enc4;
 
357
  output = output + String.fromCharCode(chr1);
 
358
  if (enc3 !== 64) { output = output + String.fromCharCode(chr2); }
 
359
  if (enc4 !== 64) { output = output + String.fromCharCode(chr3); }
 
360
  }
 
361
  output = this.utf8_f_con(output);
 
362
  return output;
 
363
  },
 
364
  utf8_f_con : function (utftext) {
 
365
  var string = "", i = 0, c, c1, c2, c3;
 
366
  while (i < utftext.length) {
 
367
  c = utftext.charCodeAt(i);
 
368
  if (c < 128) {
 
369
  string += String.fromCharCode(c); i++;
 
370
  } else if ((c > 191) && (c < 224)) {
 
371
  c2 = utftext.charCodeAt(i + 1); string += String.fromCharCode(((c & 31) << 6) | (c2 & 63)); i += 2;
 
372
  } else {
 
373
  c2 = utftext.charCodeAt(i + 1); c3 = utftext.charCodeAt(i + 2); string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63)); i += 3;
 
374
  }
 
375
  }
 
376
  return string;
 
377
  }
 
378
  },
 
379
 
380
 
 
 
381
  E_stop: function (j) {
 
382
  if (j === this.tID && j !== '') {
 
383
  this.clearit();
 
384
  if ( jQuery(this.eID.pos + j + ' div.ui-widget-header').length > 0 ) {
 
385
  jQuery(this.eID.pos + j).slider('destroy');
 
386
  }
 
387
  jQuery(this.eID.loader + j).css( "width", '0%' );
 
388
  this.button(j, 'play');
 
389
  if (this.pl_info[j].type === 'MI') {
 
390
  jQuery(this.eID.poscol + j).css( "width", '0%' );
 
391
  jQuery(this.eID.tT + j).empty();
 
392
  jQuery(this.eID.indiM + j).text('Stopped');
 
393
  jQuery(this.eID.pT + j).text(this.Tformat(0));
 
394
  } else {
 
395
  jQuery(this.eID.indiM + j).empty();
 
396
  }
 
397
  this.load_pc = 0;
 
398
  this.played_t = 0;
 
399
  }
 
400
  },
 
401
 
 
402
  E_dblstop: function (j) {
 
403
  this.listclass(j, this.pl_info[j].tr, 0);
 
404
  if ( this.pl_info[j].tr !== 0 ) {
 
405
  this.titles(j, 0);
 
406
  }
 
407
  this.writedownload(j, 0);
 
408
  this.E_stop(j);
 
409
  jQuery(this.eID.indiM + j).text('Ready');
 
410
  this.pl_info[j].tr = 0;
 
411
  },
 
412
 
 
413
  E_change_track: function (j, change) {
 
414
  var track, txt, p = this.pl_info[j];
 
415
  if (j === this.tID && change === p.tr) {
 
416
  if ('playing' === this.state) {
 
417
  if (this.load_pc === 0) {
 
418
  this.E_stop(j);
 
419
  } else {
 
420
  this.pauseit();
 
421
  this.button(j, 'play');
 
422
  if ('MI' === p.type) {
 
423
  jQuery(this.eID.indiM + j).text('Paused');
 
424
  }
 
425
  }
 
426
  return;
 
427
  } else if ('paused' === this.state || 'set' === this.state) {
 
428
  this.playit();
 
429
  this.button(j, 'pause');
 
430
  return;
 
431
  }
 
432
  }
 
433
  this.E_stop(this.tID);
 
434
  if ('prev' === change) {
 
435
  track = (p.tr-1 < 0) ? p.list.length-1 : p.tr-1;
 
436
  } else if ('next' === change) {
 
437
  track = (p.tr+1 < p.list.length) ? p.tr+1 : 0;
 
438
  } else {
 
439
  track = change;
 
440
  }
 
441
  jQuery(this.jpID).jPlayer("volume", 1 ); //Vol scaling fix
 
442
  this.setit(p.list[track].mp3);
 
443
  this.playit();
 
444
  jQuery(this.jpID).jPlayer("volume", p.vol/100 ); //Reset to correct vol
 
445
  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>';
 
446
  jQuery(this.eID.indiM + j).empty().append(txt);
 
447
  this.button(j, 'pause');
 
448
  this.makeslider(j);
 
449
  if ('MI' === p.type) {
 
450
  this.listclass(j, p.tr, track);
 
451
  if ( p.tr !== track ) {
 
452
  this.titles(j, track);
 
453
  }
 
454
  if (p.download) {
 
455
  this.writedownload(j, track);
 
456
  jQuery(this.eID.dload + j).hide().addClass('whilelinks').fadeIn(400);
 
457
  }
 
458
  }
 
459
  p.tr = track;
 
460
  this.tID = j;
 
461
  },
 
462
 
 
463
  E_launchPP: function (j) {
 
464
  var li_height = 28;
 
465
  if ( this.pl_info[j].height !== false ) {
 
466
  this.vars.pp_playerheight = 100 + this.pl_info[j].height;
 
467
  }
 
468
  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;
 
469
  if ( this.vars.pp_windowheight > this.vars.pp_maxheight ) {
 
470
  this.vars.pp_windowheight = this.vars.pp_maxheight;
 
471
  }
 
472
  this.launched_ID = j;
 
473
  this.was_playing = ( this.state === "playing" ) ? true : false;
 
474
 
 
475
  this.E_stop(this.tID);
 
476
  this.setit(this.plugin_path + '/mp3/silence.mp3');
 
477
  this.playit(); //make chrome let go of last track (incase it didn't finish loading)
 
478
  this.clearit();
 
479
 
 
480
  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');
 
481
  if ( this.pl_info[j].lstate === true ) {
 
482
  newwindow.resizeTo( this.vars.pp_width, this.vars.pp_windowheight );
 
483
  } else {
 
484
  newwindow.resizeTo( this.vars.pp_width, this.vars.pp_playerheight );
 
485
  }
 
486
  if (window.focus) {
 
487
  newwindow.focus();
 
488
  }
 
489
  return false;
 
490
  },
 
491
 
 
492
  setit: function (file) {
 
493
  this.state = 'set';
 
494
  jQuery(this.jpID).jPlayer("setMedia", {mp3: file});
 
495
  },
 
496
  playit: function () {
 
497
  this.state = 'playing';
 
498
  jQuery(this.jpID).jPlayer("play");
 
499
  },
 
500
  pauseit: function () {
 
501
  this.state = 'paused';
 
502
  jQuery(this.jpID).jPlayer("pause");
 
503
  },
 
504
  clearit: function () {
 
505
  this.state = '';
 
506
  jQuery(this.jpID).jPlayer("clearMedia");
 
507
  },
 
508
 
 
509
  button: function (j, type) {
 
510
  if (j === '') { return; }
 
511
  if ('pause' === type) {
 
512
  if (this.pl_info[j].play_txt === '#USE_G#') {
 
513
  jQuery(this.eID.play + j).removeClass('buttons_mp3j').addClass('buttons_mp3jpause');
 
514
  } else {
 
515
  jQuery(this.eID.play + j).text(this.pl_info[j].pause_txt);
 
516
  }
 
517
  }
 
518
  if ('play' === type) {
 
519
  if (this.pl_info[j].play_txt === '#USE_G#') {
 
520
  jQuery(this.eID.play + j).removeClass('buttons_mp3jpause').addClass('buttons_mp3j');
 
521
  } else {
 
522
  jQuery(this.eID.play + j).text(this.pl_info[j].play_txt);
 
523
  }
 
524
  }
 
525
  },
 
526
 
 
527
  listclass: function ( j, rem, add ) {
 
528
  jQuery('#'+ this.eID.a + j +'_'+ rem).removeClass('mp3j_A_current');
 
529
  jQuery('#'+ this.eID.a + j +'_'+ add).addClass('mp3j_A_current');
 
530
  },
 
531
 
 
532
  titles: function ( j, track ) {
 
533
  var p = this.pl_info[j], Olink = '', Clink = '';
 
534
  if (p.type === "MI") {
 
535
  jQuery(this.eID.title + j).empty().append(p.list[track].name).append('<br /><span>' + p.list[track].artist + '</span>');
 
536
  if (p.list[track].image !== '') {
 
537
  if (p.list[track].imgurl !== '') {
 
538
  Olink = '<a href="' + p.list[track].imgurl + '">';
 
539
  Clink = '</a>';
 
540
  }
 
541
  jQuery(this.eID.img + j).empty().hide().append(Olink + '<img src="' + p.list[track].image + '" />' + Clink).fadeIn(300);
 
542
  }
 
543
  }
 
544
  },
 
545
 
 
546
  writedownload: function ( j, track ) {
 
547
  var p = this.pl_info[j];
 
548
  if (p.download) {
 
549
  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>');
 
550
  if ( this.vars.force_dload === true ) {
 
551
  this.dl_button_click( j );
 
552
  }
 
553
  }
 
554
  },
 
555
 
 
556
  togglelist: function ( j ) {
 
557
  if (this.pl_info[j].lstate === true) {
 
558
  jQuery(this.eID.plwrap + j).fadeOut(300);
 
559
  jQuery(this.eID.toglist + j).text('SHOW');
 
560
  this.pl_info[j].lstate = false;
 
561
  } else if (this.pl_info[j].lstate === false) {
 
562
  jQuery(this.eID.plwrap + j).fadeIn("slow");
 
563
  jQuery(this.eID.toglist + j).text('HIDE');
 
564
  this.pl_info[j].lstate = true;
 
565
  }
 
566
  },
 
567
 
 
568
  makeslider: function (j) {
 
569
  var phmove, cssmove, that = this;
 
570
  jQuery(this.eID.pos + j).css( 'visibility', 'hidden' );
 
571
  jQuery(this.eID.pos + j).slider({
 
572
  max: 1000,
 
573
  range: 'min',
 
574
  animate: false,
 
575
  slide: function (event, ui) {
 
576
  if ((ui.value/10) < that.load_pc) {
 
577
  cssmove = ui.value/10;
 
578
  phmove = ui.value*(10.0/that.jp_seekable);
 
579
  } else {
 
580
  cssmove = 0.99*that.load_pc;
 
581
  phmove = (9.9*that.load_pc)*(10.0/that.jp_seekable);
 
582
  }
 
583
  jQuery(that.eID.poscol + j).css('width', cssmove + '%');
 
584
  jQuery(that.jpID).jPlayer("playHead", phmove );
 
585
  if (that.state === 'paused') {
 
586
  that.button(j, 'pause');
 
587
  that.playit();
 
588
  }
 
589
  that.state = 'playing';
 
590
  that.sliding = true;
 
591
  }
 
592
  });
 
593
  }
 
594
 
 
595
  };
596
 
 
 
597
  // Force browser download
 
598
  MP3_JPLAYER.dl_button_click = function ( j ) {
 
599
  var that = this, p = this.pl_info[j];
 
600
  jQuery('#mp3j_dlanchor_' + j).click(function (e) {
 
601
  that.dl_runinfo( p.list[p.tr].mp3, j, e );
 
602
  e.preventDefault();
 
603
  });
 
604
  };
605
 
 
 
606
  MP3_JPLAYER.dl_closeinfo_click = function ( j ) {
 
607
  var that = this;
 
608
  jQuery('#mp3j_finfo_close_' + j).click(function () {
 
609
  that.dl_dialogue( j, '', 'close');
 
610
  that.clear_timers( j );
 
611
  });
 
612
  };
613
 
 
 
614
  MP3_JPLAYER.dl_runinfo = function ( get, j, e ) {
 
615
  var can_write,
 
616
  dlpath,
 
617
  message,
 
618
  that = this,
 
619
  dlframe = false,
 
620
  p = this.pl_info[j],
 
621
  is_local = this.is_local_dload( get );
 
622
 
 
623
  var enc_get;
 
624
 
 
625
  if ( !this.intervalIDs[ j ] && !this.timeoutIDs[ j ] ) { //if timers not already running for this player
 
626
  can_write = this.write_cookie('mp3Download' + j, 'waiting', '');
 
627
  if ( is_local ) {
 
628
  if ( can_write !== false ) {
 
629
  this.dl_dialogue( j, this.vars.message_interval, 'check');
 
630
  } else {
 
631
  this.dl_dialogue( j, this.vars.message_indark, 'indark');
 
632
  }
 
633
  this.intervalIDs[ j ] = setInterval( function(){ that.dl_interval_check( j, can_write ); }, 500);
 
634
  this.timeoutIDs[ j ] = setTimeout( function(){ that.dl_timeout( j, can_write ); }, 7000);
 
635
  dlframe = true;
 
636
  } else {
 
637
  if ( this.vars.dl_remote_path === '' ) {
 
638
  message = this.vars.message_promtlink.replace('#1', get);
 
639
  message = message.replace('#2', p.list[p.tr].name);
 
640
  this.dl_dialogue( j, message, 'indark');
 
641
  } else {
 
642
  message = this.vars.message_indark.replace('#1', get);
 
643
  message = message.replace('#2', p.list[p.tr].name);
 
644
  this.dl_dialogue( j, message, 'indark');
 
645
  dlframe = true;
 
646
  }
 
647
  }
 
648
  this.dl_dialogs[ j ] = 'false';
 
649
  if ( dlframe ) {
 
650
  dlpath = this.get_dloader_path( get );
 
651
  enc_get = encodeURIComponent( get );
 
652
  //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>');
 
653
  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>');
 
654
  }
 
655
  }
 
656
  };
657
 
 
 
658
  MP3_JPLAYER.dl_interval_check = function ( j, can_write ) {
 
659
  if ( can_write !== false && this.read_cookie('mp3Download' + j) === 'true' ) { //got cookie back, all should be good
 
660
  this.dl_dialogue( j, this.vars.message_ok, 'hide');
 
661
  //jQuery('#debug').append('<br />check: cookie '+j+' true');
 
662
  this.clear_timers( j );
 
663
  } else if ( this.dl_dialogs[ j ] !== 'false' ) { //got a message back
 
664
  this.dl_dialogue( j, this.dl_dialogs[ j ], 'add');
 
665
  //jQuery('#debug').append('<br />check: dialog'+j+' true');
 
666
  this.clear_timers( j );
 
667
  } //else {
 
668
  //jQuery('#debug').append('<br />check: neither '+j+'...# ');
 
669
  //}
 
670
  };
671
 
 
 
672
  MP3_JPLAYER.dl_timeout = function ( j, can_write ) {
 
673
  this.clear_timers( j );
 
674
  if ( can_write !== false ) {
 
675
  this.dl_dialogue( j, this.vars.message_timeout, 'add');
 
676
  }
 
677
  //jQuery('#debug').append('<br />no responses ('+j+' timed out) ');
 
678
  };
679
 
 
 
680
  MP3_JPLAYER.clear_timers = function ( j ) {
 
681
  if ( this.intervalIDs[ j ] !== null && this.timeoutIDs[ j ] !== null ) {
 
682
  clearInterval( this.intervalIDs[j] );
 
683
  clearTimeout( this.timeoutIDs[j] );
 
684
  this.intervalIDs[ j ] = null;
 
685
  this.timeoutIDs[j] = null;
 
686
  }
 
687
  jQuery('#mp3j_dlf_' + j).empty(); //ditch iframe
 
688
  this.write_cookie('mp3Download' + j, '', -1); //clear any cookie
 
689
  //jQuery('#debug').append('<br />cookie/frame '+j+' cleared');
 
690
  };
691
 
 
 
692
  MP3_JPLAYER.dl_dialogue = function ( j, text, state ) {
 
693
  if ( 'check' === state ) {
 
694
  jQuery('#mp3j_finfo_gif_' + j).show();
 
695
  jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
 
696
  jQuery('#mp3j_finfo_' + j).show();
 
697
  } else if ( 'add' === state ) {
 
698
  jQuery('#mp3j_finfo_gif_' + j).hide();
 
699
  jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
 
700
  } else if ( 'indark' === state ) {
 
701
  jQuery('#mp3j_finfo_gif_' + j).hide();
 
702
  jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
 
703
  jQuery('#mp3j_finfo_' + j).fadeIn(100);
 
704
  } else if ( 'close' === state ) {
 
705
  jQuery('#mp3j_finfo_gif_' + j).hide();
 
706
  jQuery('#mp3j_finfo_' + j).hide();
 
707
  } else {
 
708
  jQuery('#mp3j_finfo_gif_' + j).hide();
 
709
  if ( text !== '' ) {
 
710
  jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
 
711
  }
 
712
  jQuery('#mp3j_finfo_' + j).fadeOut(1000);
 
713
  }
 
714
  };
715
 
 
 
716
  MP3_JPLAYER.read_cookie = function ( name ) {
 
717
  var i, cookie, allCookies = document.cookie.split('; ');
 
718
  if ( allCookies.length > 0 ) {
 
719
  for ( i = 0; i < allCookies.length; i += 1 ) {
 
720
  cookie = allCookies[i].split( '=' );
 
721
  if ( cookie[0] === name ) {
 
722
  return cookie[1];
 
723
  }
 
724
  }
 
725
  }
 
726
  return false;
 
727
  };
728
 
 
 
729
  MP3_JPLAYER.write_cookie = function ( name, value, days ) {
 
730
  var date, expires = "";
 
731
  if ( days ) {
 
732
  date = new Date();
 
733
  date.setTime( date.getTime() + (days*24*60*60*1000) );
 
734
  expires = "; expires=" + date.toGMTString();
 
735
  }
 
736
  document.cookie = name + "=" + value + expires + "; path=/";
 
737
  return this.read_cookie( name );
 
738
  };
739
 
 
 
740
  MP3_JPLAYER.get_dloader_path = function ( loc ) {
 
741
  var k, path = "", file = "", chunks;
 
742
  chunks = loc.split('/');
 
743
  file = chunks[chunks.length-1];
 
744
  //jQuery('#debug').append('<br />');
 
745
  //for ( k = 0; k < chunks.length; k += 1 ) {
 
746
  // jQuery('#debug').append('<br />[' + k + '] ' + chunks[k]);
 
747
  //}
 
748
  //jQuery('#debug').append('<br />file:' + file);
 
749
  if ( loc.charAt(0) === '/' ) {
 
750
  path = this.plugin_path + '/download.php';
 
751
  } else {
 
752
  path = chunks[2].replace(/^www./i, "");
 
753
  if ( path === this.dl_domain ) {
 
754
  path = this.plugin_path + '/download.php';
 
755
  } else {
 
756
  path = chunks[0] + '//' + chunks[2] + this.vars.dl_remote_path;
 
757
  }
 
758
  }
 
759
  //jQuery('#debug').append('<br />path:' + path);
 
760
  return path;
 
761
  };
762
 
 
 
763
  MP3_JPLAYER.is_local_dload = function ( loc ) {
 
764
  var domain = "", file = "", chunks, is_local = false;
 
765
  chunks = loc.split('/');
 
766
  file = chunks[chunks.length-1];
 
767
  if ( loc.charAt(0) === '/' ) {
 
768
  is_local = true;
 
769
  } else {
 
770
  domain = chunks[2].replace(/^www./i, "");
 
771
  if ( domain === this.dl_domain ) {
 
772
  is_local = true;
 
773
  }
 
774
  }
 
775
  return is_local;
 
776
  };
777
 
 
 
1
  /*
2
+
3
+ MP3-jPlayer 1.8.9
4
+
5
  www.sjward.org
6
+
7
  */
8
 
9
+
10
+
11
  var MP3_JPLAYER = {
12
+
13
 
14
+
15
  tID: '',
16
+
17
  state: '',
18
+
19
  pl_info: [],
20
+
21
  load_pc: 0,
22
+
23
  played_t: 0,
24
+
25
  dl_dialogs: [],
26
+
27
  timeoutIDs: [],
28
+
29
  intervalIDs: [],
30
+
31
  dl_domain: '',
32
+
33
  jp_audio: {},
34
+
35
  jp_seekable: 0,
36
+
37
  sliding: false,
38
+
39
  launched_ID: null,
40
+
41
  jpID: '#mp3_jplayer_1_8',
42
+
43
  plugin_path: '',
44
 
45
+
46
+
47
  vars: {
48
+
49
  play_f: false,
50
+
51
  stylesheet_url: '',
52
+
53
  dload_text: 'DOWNLOAD MP3',
54
+
55
  pp_width: 280,
56
+
57
  pp_maxheight: 350,
58
+
59
  pp_bodycolour: '#fff',
60
+
61
  pp_bodyimg: '',
62
+
63
  pp_fixedcss: false,
64
+
65
  pp_windowheight: 600,
66
+
67
  pp_playerheight: 100+142,
68
+
69
  force_dload: false,
70
+
71
  message_interval: '<h2>Download MP3</h2><p style="margin-top:34px !important;">Your download should start in a second!</p>',
72
+
73
  message_ok: '',
74
+
75
  message_indark: '<h2>Download MP3</h2><p>Your download should start in a second!</p>',
76
+
77
  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>',
78
+
79
  message_fail: '<h2>Download Failed</h2><p>Sorry, something went wrong!</p>',
80
+
81
  message_timeout: '<h2>Download<br />Unavailable</h2><p>please try again later!</p>',
82
+
83
  dl_remote_path: ''
84
+
85
  },
86
 
87
+
88
+
89
  eID: {
90
+
91
  play: '#playpause_mp3j_',
92
+
93
  playW: '#playpause_wrap_mp3j_',
94
+
95
  stp: '#stop_mp3j_',
96
+
97
  prev: '#Prev_mp3j_',
98
+
99
  next: '#Next_mp3j_',
100
+
101
  vol: '#vol_mp3j_',
102
+
103
  loader: '#load_mp3j_',
104
+
105
  pos: '#posbar_mp3j_',
106
+
107
  poscol: '#poscol_mp3j_',
108
+
109
  title: '#T_mp3j_',
110
+
111
  caption: '#C_mp3j_',
112
+
113
  pT: '#P-Time-MI_',
114
+
115
  tT: '#T-Time-MI_',
116
+
117
  dload: '#download_mp3j_',
118
+
119
  plwrap: '#L_mp3j_',
120
+
121
  ul: '#UL_mp3j_',
122
+
123
  a: 'mp3j_A_', //No hash!
124
+
125
  indiM: '#statusMI_',
126
+
127
  toglist: '#playlist-toggle_',
128
+
129
  lPP: '#lpp_mp3j_',
130
+
131
  pplink: '#mp3j_popout_',
132
+
133
  img: '#MI_image_'
134
+
135
  },
136
 
137
+
138
+
139
  init: function () {
140
+
141
  var plpath, that = this;
142
+
143
 
144
+
145
  plpath = this.plugin_path.split('/');
146
+
147
  this.dl_domain = plpath[2].replace(/^www./i, "");
148
+
149
 
150
+
151
  this.unwrap();
152
+
153
  this.write_controls();
154
+
155
  jQuery(this.jpID).jPlayer({
156
+
157
  ready: function () {
158
+
159
  that.startup();
160
+
161
  },
162
+
163
+ swfPath: that.plugin_path + '/js/Jplayer271.swf',
164
+
165
  volume: 1,
166
+
167
  supplied: "mp3",
168
+
169
  wmode: "window",
170
+
171
  solution:"html, flash",
172
+
173
  preload: "none"
174
+
175
  });
176
+
177
  jQuery(this.jpID).bind(jQuery.jPlayer.event.ended, function(event) {
178
+
179
  that.E_complete(that.tID);
180
+
181
  });
182
+
183
  jQuery(this.jpID).bind(jQuery.jPlayer.event.timeupdate, function(event) {
184
+
185
  var lp = that.get_loaded(event);
186
+
187
  var ppA = event.jPlayer.status.currentPercentAbsolute;
188
+
189
  var pt = event.jPlayer.status.currentTime;
190
+
191
  var tt = event.jPlayer.status.duration;
192
+
193
  that.E_update(that.tID, lp, ppA, pt, tt);
194
+
195
  });
196
+
197
  jQuery(this.jpID).bind(jQuery.jPlayer.event.ready, function(event) {
198
+
199
  if(event.jPlayer.html.used && event.jPlayer.html.audio.available) {
200
+
201
  that.jp_audio = jQuery(that.jpID).data("jPlayer").htmlElement.audio;
202
+
203
  } else {
204
+
205
  that.jp_audio = 'flash';
206
+
207
  }
208
+
209
  });
210
+
211
  jQuery(this.jpID).bind(jQuery.jPlayer.event.progress, function(event) {
212
+
213
  var lp = that.get_loaded(event);
214
+
215
  var pt = event.jPlayer.status.currentTime;
216
+
217
  var tt = event.jPlayer.status.duration;
218
+
219
  that.E_loading( that.tID, lp, tt, pt );
220
+
221
  });
222
+
223
  },
224
+
225
 
226
+
227
  get_loaded: function (event) {
228
+
229
  var lp;
230
+
231
  if ( typeof this.jp_audio.buffered === "object" ) {
232
+
233
  if( this.jp_audio.buffered.length > 0 && this.jp_audio.duration > 0 ) {
234
+
235
  lp = 100 * this.jp_audio.buffered.end(this.jp_audio.buffered.length-1) / this.jp_audio.duration;
236
+
237
  } else {
238
+
239
  lp = 0;
240
+
241
  }
242
+
243
  } else {
244
+
245
  lp = event.jPlayer.status.seekPercent;
246
+
247
  }
248
+
249
  this.jp_seekable = event.jPlayer.status.seekPercent; //use this for slider calcs for both html/flash solution
250
+
251
  this.load_pc = lp;
252
+
253
  return lp;
254
+
255
  },
256
+
257
 
258
+
259
  Tformat: function ( sec ) {
260
+
261
  var t = sec,
262
+
263
  s = Math.floor((t)%60),
264
+
265
  m = Math.floor((t/60)%60),
266
+
267
  h = Math.floor(t/3600);
268
+
269
  return ((h > 0) ? h+':' : '') + ((m > 9) ? m : '0'+m) + ':' + ((s > 9) ? s : '0'+s);
270
+
271
  },
272
 
273
+
274
+
275
  E_loading: function ( j, lp, tt, pt ) {
276
+
277
  if (j !== '') {
278
+
279
  jQuery(this.eID.loader + j).css( "width", lp + '%' );
280
+
281
  if (this.pl_info[j].type === 'MI') {
282
+
283
  if (tt > 0 && this.played_t > 0) {
284
+
285
  jQuery(this.eID.tT + j).text(this.Tformat(tt));
286
+
287
  }
288
+
289
  }
290
+
291
  if ( this.jp_audio !== 'flash' && lp < 100 ) {
292
+
293
  if ( pt === this.played_t && this.state === 'playing' && pt > 0 && !this.sliding ) {
294
+
295
  if (this.pl_info[j].type === 'MI') {
296
+
297
  jQuery(this.eID.indiM + j).empty().append('<span class="mp3-finding"></span><span class="mp3-tint"></span>Buffering');
298
+
299
  }
300
+
301
  if (this.pl_info[j].type === 'single' ) {
302
+
303
  jQuery(this.eID.indiM + j).empty().append('<span class="Smp3-finding"></span><span class="mp3-gtint"></span> ' + this.Tformat(pt));
304
+
305
  }
306
+
307
  }
308
+
309
  this.played_t = pt;
310
+
311
  }
312
+
313
  }
314
+
315
  },
316
+
317
 
318
+
319
  E_update: function (j, lp, ppA, pt, tt) {
320
+
321
  if (j !== '') {
322
+
323
  jQuery(this.eID.loader + j).css( "width", lp + '%' );
324
+
325
  jQuery(this.eID.poscol + j).css( "width", ppA + '%' );
326
+
327
  if ( jQuery(this.eID.pos + j + ' div.ui-widget-header').length > 0 ) {
328
+
329
  jQuery(this.eID.pos + j).slider('option', 'value', 10*ppA);
330
+
331
  }
332
+
333
  if (pt > 0) {
334
+
335
  jQuery(this.eID.pos + j).css( 'visibility', 'visible' );
336
+
337
  }
338
+
339
  if (this.pl_info[j].type === 'MI') {
340
+
341
  jQuery(this.eID.pT + j).text(this.Tformat(pt));
342
+
343
  }
344
+
345
  if ('playing' === this.state) {
346
+
347
  if ('MI' === this.pl_info[j].type) {
348
+
349
  if (tt > 0 && this.played_t === pt && lp < 100 && !this.sliding ) {
350
+
351
  jQuery(this.eID.indiM + j).empty().append('<span class="mp3-finding"></span><span class="mp3-tint"></span>Buffering');
352
+
353
  jQuery(this.eID.tT + j).text(this.Tformat(tt));
354
+
355
  } else if (pt > 0) {
356
+
357
  jQuery(this.eID.indiM + j).empty().append('Playing');
358
+
359
  jQuery(this.eID.tT + j).text(this.Tformat(tt));
360
+
361
  }
362
+
363
  }
364
+
365
  if ('single' === this.pl_info[j].type){
366
+
367
  if (pt > 0 ) {
368
+
369
  if (this.played_t === pt && lp < 100 && !this.sliding ) {
370
+
371
  jQuery(this.eID.indiM + j).empty().append('<span class="Smp3-finding"></span><span class="mp3-gtint"></span> ' + this.Tformat(pt));
372
+
373
  } else {
374
+
375
  jQuery(this.eID.indiM + j).empty().append('<span class="mp3-tint tintmarg"></span> ' + this.Tformat(pt));
376
+
377
  }
378
+
379
  }
380
+
381
  }
382
+
383
  }
384
+
385
  this.played_t = pt;
386
+
387
  }
388
+
389
  },
390
+
391
 
392
+
393
  E_complete: function (j) {
394
+
395
  var p = this.pl_info[j];
396
+
397
  if ('MI' === p.type) {
398
+
399
  if (p.loop || p.tr+1 < p.list.length) {
400
+
401
  this.E_change_track(j, 'next');
402
+
403
  } else {
404
+
405
  this.E_dblstop(j);
406
+
407
  this.startup();
408
+
409
  }
410
+
411
  }
412
+
413
  if ('single' === p.type) {
414
+
415
  if (p.loop) {
416
+
417
  this.E_change_track(j, 'next');
418
+
419
  } else {
420
+
421
  this.E_stop(j);
422
+
423
  this.startup();
424
+
425
  }
426
+
427
  }
428
+
429
  },
430
+
431
 
432
+
433
  write_controls: function () {
434
+
435
  var j;
436
+
437
  for (j = 0; j < this.pl_info.length; j += 1) {
438
+
439
  this.setup_a_player(j);
440
+
441
  }
442
+
443
  },
444
+
445
 
446
+
447
  startup: function () {
448
+
449
  var j;
450
+
451
  for (j = 0; j < this.pl_info.length; j += 1) {
452
+
453
  //if (this.pl_info[j].autoplay) {
454
+
455
  if ( this.pl_info[j].autoplay && (this.pl_info[j].type === 'single' || this.pl_info[j].type === 'MI') ) {
456
+
457
  this.pl_info[j].autoplay = false;
458
+
459
  this.E_change_track(j, this.pl_info[j].tr);
460
+
461
  return;
462
+
463
  }
464
+
465
  }
466
+
467
  },
468
+
469
 
470
+
471
  setup_a_player: function (j) {
472
+
473
  var i, li, sel, that = this, p = this.pl_info[j];
474
+
475
 
476
+
477
  //PLAYLISTERS and SINGLES
478
+
479
  if ('MI' === p.type || 'single' === p.type) {
480
+
481
 
482
+
483
  jQuery(this.eID.vol + j).slider({
484
+
485
  value : p.vol,
486
+
487
  max: 100,
488
+
489
  range: 'min',
490
+
491
  animate: false,
492
+
493
  slide: function (event, ui) {
494
+
495
  p.vol = ui.value;
496
+
497
  if (j === that.tID) {
498
+
499
  jQuery(that.jpID).jPlayer("volume", ui.value/100);
500
+
501
  }
502
+
503
  }
504
+
505
  });
506
+
507
 
508
+
509
  jQuery(this.eID.pos + j).mouseup(function (e) { //for posbar
510
+
511
  that.sliding = false;
512
+
513
  });
514
+
515
 
516
+
517
  sel = ('MI' === p.type) ? this.eID.play : this.eID.playW;
518
+
519
  jQuery(sel + j).click(function () { //play-pause click
520
+
521
  that.E_change_track(j, p.tr);
522
+
523
  jQuery(this).blur();
524
+
525
  });
526
+
527
  jQuery(sel + j).dblclick(function () { //play-pause dbl click
528
+
529
  if (that.state !== "playing") {
530
+
531
  that.E_change_track(j, p.tr);
532
+
533
  }
534
+
535
  jQuery(this).blur();
536
+
537
  });
538
+
539
 
540
+
541
  this.titles(j, p.tr);
542
+
543
  }
544
+
545
 
546
+
547
  //PLAYLISTERS
548
+
549
  if ('MI' === p.type) {
550
+
551
  jQuery(this.eID.pT + j).text('00:00');
552
+
553
  jQuery(this.eID.indiM + j).text('Ready');
554
+
555
  jQuery(this.eID.stp + j).click(function () {
556
+
557
  that.E_stop(j);
558
+
559
  });
560
+
561
  jQuery(this.eID.stp + j).dblclick(function () {
562
+
563
  that.E_dblstop(j);
564
+
565
  });
566
+
567
 
568
+
569
  jQuery(this.eID.plwrap + j).hide();
570
+
571
  if (p.list.length > 1) {
572
+
573
  jQuery(this.eID.next + j).click(function () {
574
+
575
  that.E_change_track(j, 'next');
576
+
577
  });
578
+
579
  jQuery(this.eID.prev + j).click(function () {
580
+
581
  that.E_change_track(j, 'prev');
582
+
583
  });
584
+
585
  jQuery(this.eID.ul + j).empty();
586
+
587
  for (i = 0; i < p.list.length; i += 1) {
588
+
589
  li = '<li>';
590
+
591
  li += '<a href="#" id="' + this.eID.a + j + '_' + i + '">' + p.list[i].name + '</a></li>';
592
+
593
  jQuery(this.eID.ul + j).append(li);
594
+
595
  this.add_ul_click(j, i);
596
+
597
  }
598
+
599
  jQuery('#' + this.eID.a + j + '_' + p.tr).addClass('mp3j_A_current');
600
+
601
  jQuery(this.eID.toglist + j).click(function () {
602
+
603
  that.togglelist(j);
604
+
605
  });
606
+
607
  if (p.lstate === true) {
608
+
609
  jQuery(this.eID.plwrap + j).show();
610
+
611
  }
612
+
613
  }
614
+
615
 
616
+
617
  this.writedownload(j, p.tr);
618
+
619
  if ( this.vars.force_dload === true ) {
620
+
621
  this.dl_closeinfo_click(j);
622
+
623
  }
624
+
625
 
626
+
627
  jQuery(this.eID.lPP + j).click(function () {
628
+
629
  return that.E_launchPP(j);
630
+
631
  });
632
+
633
  }
634
+
635
 
636
+
637
  //POPOUT LINKS
638
+
639
  if ('popout' === p.type) {
640
+
641
  jQuery(this.eID.pplink + j).click(function () {
642
+
643
  return that.E_launchPP(j);
644
+
645
  });
646
+
647
  }
648
+
649
  },
650
+
651
 
652
+
653
  add_ul_click: function (j, i) { //playlist item click
654
+
655
  var that = this;
656
+
657
  jQuery('#' + this.eID.a + j + "_" + i).click(function (e) {
658
+
659
  that.E_change_track(j, i);
660
+
661
  e.preventDefault();
662
+
663
  });
664
+
665
  },
666
+
667
 
668
+
669
  unwrap: function () {
670
+
671
  var i, j, arr;
672
+
673
  if (this.vars.play_f === true && typeof this.lists !== "undefined" && this.lists.length > 0) {
674
+
675
  for (i = 0; i < this.lists.length; i += 1) {
676
+
677
  arr = this.lists[i];
678
+
679
  for (j = 0; j < arr.length; j += 1) {
680
+
681
  arr[j].mp3 = this.f_undo.f_con(arr[j].mp3);
682
+
683
  }
684
+
685
  }
686
+
687
  }
688
+
689
  },
690
+
691
 
692
+
693
  f_undo: {
694
+
695
  keyStr : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
696
+
697
  f_con : function (input) {
698
+
699
  var output = "", i = 0, chr1, chr2, chr3, enc1, enc2, enc3, enc4;
700
+
701
  input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
702
+
703
  while (i < input.length) {
704
+
705
  enc1 = this.keyStr.indexOf(input.charAt(i++)); enc2 = this.keyStr.indexOf(input.charAt(i++));
706
+
707
  enc3 = this.keyStr.indexOf(input.charAt(i++)); enc4 = this.keyStr.indexOf(input.charAt(i++));
708
+
709
  chr1 = (enc1 << 2) | (enc2 >> 4); chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); chr3 = ((enc3 & 3) << 6) | enc4;
710
+
711
  output = output + String.fromCharCode(chr1);
712
+
713
  if (enc3 !== 64) { output = output + String.fromCharCode(chr2); }
714
+
715
  if (enc4 !== 64) { output = output + String.fromCharCode(chr3); }
716
+
717
  }
718
+
719
  output = this.utf8_f_con(output);
720
+
721
  return output;
722
+
723
  },
724
+
725
  utf8_f_con : function (utftext) {
726
+
727
  var string = "", i = 0, c, c1, c2, c3;
728
+
729
  while (i < utftext.length) {
730
+
731
  c = utftext.charCodeAt(i);
732
+
733
  if (c < 128) {
734
+
735
  string += String.fromCharCode(c); i++;
736
+
737
  } else if ((c > 191) && (c < 224)) {
738
+
739
  c2 = utftext.charCodeAt(i + 1); string += String.fromCharCode(((c & 31) << 6) | (c2 & 63)); i += 2;
740
+
741
  } else {
742
+
743
  c2 = utftext.charCodeAt(i + 1); c3 = utftext.charCodeAt(i + 2); string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63)); i += 3;
744
+
745
  }
746
+
747
  }
748
+
749
  return string;
750
+
751
  }
752
+
753
  },
754
+
755
 
756
 
757
+
758
+
759
  E_stop: function (j) {
760
+
761
  if (j === this.tID && j !== '') {
762
+
763
  this.clearit();
764
+
765
  if ( jQuery(this.eID.pos + j + ' div.ui-widget-header').length > 0 ) {
766
+
767
  jQuery(this.eID.pos + j).slider('destroy');
768
+
769
  }
770
+
771
  jQuery(this.eID.loader + j).css( "width", '0%' );
772
+
773
  this.button(j, 'play');
774
+
775
  if (this.pl_info[j].type === 'MI') {
776
+
777
  jQuery(this.eID.poscol + j).css( "width", '0%' );
778
+
779
  jQuery(this.eID.tT + j).empty();
780
+
781
  jQuery(this.eID.indiM + j).text('Stopped');
782
+
783
  jQuery(this.eID.pT + j).text(this.Tformat(0));
784
+
785
  } else {
786
+
787
  jQuery(this.eID.indiM + j).empty();
788
+
789
  }
790
+
791
  this.load_pc = 0;
792
+
793
  this.played_t = 0;
794
+
795
  }
796
+
797
  },
798
+
799
 
800
+
801
  E_dblstop: function (j) {
802
+
803
  this.listclass(j, this.pl_info[j].tr, 0);
804
+
805
  if ( this.pl_info[j].tr !== 0 ) {
806
+
807
  this.titles(j, 0);
808
+
809
  }
810
+
811
  this.writedownload(j, 0);
812
+
813
  this.E_stop(j);
814
+
815
  jQuery(this.eID.indiM + j).text('Ready');
816
+
817
  this.pl_info[j].tr = 0;
818
+
819
  },
820
+
821
 
822
+
823
  E_change_track: function (j, change) {
824
+
825
  var track, txt, p = this.pl_info[j];
826
+
827
  if (j === this.tID && change === p.tr) {
828
+
829
  if ('playing' === this.state) {
830
+
831
  if (this.load_pc === 0) {
832
+
833
  this.E_stop(j);
834
+
835
  } else {
836
+
837
  this.pauseit();
838
+
839
  this.button(j, 'play');
840
+
841
  if ('MI' === p.type) {
842
+
843
  jQuery(this.eID.indiM + j).text('Paused');
844
+
845
  }
846
+
847
  }
848
+
849
  return;
850
+
851
  } else if ('paused' === this.state || 'set' === this.state) {
852
+
853
  this.playit();
854
+
855
  this.button(j, 'pause');
856
+
857
  return;
858
+
859
  }
860
+
861
  }
862
+
863
  this.E_stop(this.tID);
864
+
865
  if ('prev' === change) {
866
+
867
  track = (p.tr-1 < 0) ? p.list.length-1 : p.tr-1;
868
+
869
  } else if ('next' === change) {
870
+
871
  track = (p.tr+1 < p.list.length) ? p.tr+1 : 0;
872
+
873
  } else {
874
+
875
  track = change;
876
+
877
  }
878
+
879
  jQuery(this.jpID).jPlayer("volume", 1 ); //Vol scaling fix
880
+
881
  this.setit(p.list[track].mp3);
882
+
883
  this.playit();
884
+
885
  jQuery(this.jpID).jPlayer("volume", p.vol/100 ); //Reset to correct vol
886
+
887
  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>';
888
+
889
  jQuery(this.eID.indiM + j).empty().append(txt);
890
+
891
  this.button(j, 'pause');
892
+
893
  this.makeslider(j);
894
+
895
  if ('MI' === p.type) {
896
+
897
  this.listclass(j, p.tr, track);
898
+
899
  if ( p.tr !== track ) {
900
+
901
  this.titles(j, track);
902
+
903
  }
904
+
905
  if (p.download) {
906
+
907
  this.writedownload(j, track);
908
+
909
  jQuery(this.eID.dload + j).hide().addClass('whilelinks').fadeIn(400);
910
+
911
  }
912
+
913
  }
914
+
915
  p.tr = track;
916
+
917
  this.tID = j;
918
+
919
  },
920
+
921
 
922
+
923
  E_launchPP: function (j) {
924
+
925
  var li_height = 28;
926
+
927
  if ( this.pl_info[j].height !== false ) {
928
+
929
  this.vars.pp_playerheight = 100 + this.pl_info[j].height;
930
+
931
  }
932
+
933
  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;
934
+
935
  if ( this.vars.pp_windowheight > this.vars.pp_maxheight ) {
936
+
937
  this.vars.pp_windowheight = this.vars.pp_maxheight;
938
+
939
  }
940
+
941
  this.launched_ID = j;
942
+
943
  this.was_playing = ( this.state === "playing" ) ? true : false;
944
+
945
 
946
+
947
  this.E_stop(this.tID);
948
+
949
  this.setit(this.plugin_path + '/mp3/silence.mp3');
950
+
951
  this.playit(); //make chrome let go of last track (incase it didn't finish loading)
952
+
953
  this.clearit();
954
+
955
 
956
+
957
  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');
958
+
959
  if ( this.pl_info[j].lstate === true ) {
960
+
961
  newwindow.resizeTo( this.vars.pp_width, this.vars.pp_windowheight );
962
+
963
  } else {
964
+
965
  newwindow.resizeTo( this.vars.pp_width, this.vars.pp_playerheight );
966
+
967
  }
968
+
969
  if (window.focus) {
970
+
971
  newwindow.focus();
972
+
973
  }
974
+
975
  return false;
976
+
977
  },
978
+
979
 
980
+
981
  setit: function (file) {
982
+
983
  this.state = 'set';
984
+
985
  jQuery(this.jpID).jPlayer("setMedia", {mp3: file});
986
+
987
  },
988
+
989
  playit: function () {
990
+
991
  this.state = 'playing';
992
+
993
  jQuery(this.jpID).jPlayer("play");
994
+
995
  },
996
+
997
  pauseit: function () {
998
+
999
  this.state = 'paused';
1000
+
1001
  jQuery(this.jpID).jPlayer("pause");
1002
+
1003
  },
1004
+
1005
  clearit: function () {
1006
+
1007
  this.state = '';
1008
+
1009
  jQuery(this.jpID).jPlayer("clearMedia");
1010
+
1011
  },
1012
+
1013
 
1014
+
1015
  button: function (j, type) {
1016
+
1017
  if (j === '') { return; }
1018
+
1019
  if ('pause' === type) {
1020
+
1021
  if (this.pl_info[j].play_txt === '#USE_G#') {
1022
+
1023
  jQuery(this.eID.play + j).removeClass('buttons_mp3j').addClass('buttons_mp3jpause');
1024
+
1025
  } else {
1026
+
1027
  jQuery(this.eID.play + j).text(this.pl_info[j].pause_txt);
1028
+
1029
  }
1030
+
1031
  }
1032
+
1033
  if ('play' === type) {
1034
+
1035
  if (this.pl_info[j].play_txt === '#USE_G#') {
1036
+
1037
  jQuery(this.eID.play + j).removeClass('buttons_mp3jpause').addClass('buttons_mp3j');
1038
+
1039
  } else {
1040
+
1041
  jQuery(this.eID.play + j).text(this.pl_info[j].play_txt);
1042
+
1043
  }
1044
+
1045
  }
1046
+
1047
  },
1048
+
1049
 
1050
+
1051
  listclass: function ( j, rem, add ) {
1052
+
1053
  jQuery('#'+ this.eID.a + j +'_'+ rem).removeClass('mp3j_A_current');
1054
+
1055
  jQuery('#'+ this.eID.a + j +'_'+ add).addClass('mp3j_A_current');
1056
+
1057
  },
1058
+
1059
 
1060
+
1061
  titles: function ( j, track ) {
1062
+
1063
  var p = this.pl_info[j], Olink = '', Clink = '';
1064
+
1065
  if (p.type === "MI") {
1066
+
1067
  jQuery(this.eID.title + j).empty().append(p.list[track].name).append('<br /><span>' + p.list[track].artist + '</span>');
1068
+
1069
  if (p.list[track].image !== '') {
1070
+
1071
  if (p.list[track].imgurl !== '') {
1072
+
1073
  Olink = '<a href="' + p.list[track].imgurl + '">';
1074
+
1075
  Clink = '</a>';
1076
+
1077
  }
1078
+
1079
  jQuery(this.eID.img + j).empty().hide().append(Olink + '<img src="' + p.list[track].image + '" />' + Clink).fadeIn(300);
1080
+
1081
  }
1082
+
1083
  }
1084
+
1085
  },
1086
+
1087
 
1088
+
1089
  writedownload: function ( j, track ) {
1090
+
1091
  var p = this.pl_info[j];
1092
+
1093
  if (p.download) {
1094
+
1095
  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>');
1096
+
1097
  if ( this.vars.force_dload === true ) {
1098
+
1099
  this.dl_button_click( j );
1100
+
1101
  }
1102
+
1103
  }
1104
+
1105
  },
1106
+
1107
 
1108
+
1109
  togglelist: function ( j ) {
1110
+
1111
  if (this.pl_info[j].lstate === true) {
1112
+
1113
  jQuery(this.eID.plwrap + j).fadeOut(300);
1114
+
1115
  jQuery(this.eID.toglist + j).text('SHOW');
1116
+
1117
  this.pl_info[j].lstate = false;
1118
+
1119
  } else if (this.pl_info[j].lstate === false) {
1120
+
1121
  jQuery(this.eID.plwrap + j).fadeIn("slow");
1122
+
1123
  jQuery(this.eID.toglist + j).text('HIDE');
1124
+
1125
  this.pl_info[j].lstate = true;
1126
+
1127
  }
1128
+
1129
  },
1130
+
1131
 
1132
+
1133
  makeslider: function (j) {
1134
+
1135
  var phmove, cssmove, that = this;
1136
+
1137
  jQuery(this.eID.pos + j).css( 'visibility', 'hidden' );
1138
+
1139
  jQuery(this.eID.pos + j).slider({
1140
+
1141
  max: 1000,
1142
+
1143
  range: 'min',
1144
+
1145
  animate: false,
1146
+
1147
  slide: function (event, ui) {
1148
+
1149
  if ((ui.value/10) < that.load_pc) {
1150
+
1151
  cssmove = ui.value/10;
1152
+
1153
  phmove = ui.value*(10.0/that.jp_seekable);
1154
+
1155
  } else {
1156
+
1157
  cssmove = 0.99*that.load_pc;
1158
+
1159
  phmove = (9.9*that.load_pc)*(10.0/that.jp_seekable);
1160
+
1161
  }
1162
+
1163
  jQuery(that.eID.poscol + j).css('width', cssmove + '%');
1164
+
1165
  jQuery(that.jpID).jPlayer("playHead", phmove );
1166
+
1167
  if (that.state === 'paused') {
1168
+
1169
  that.button(j, 'pause');
1170
+
1171
  that.playit();
1172
+
1173
  }
1174
+
1175
  that.state = 'playing';
1176
+
1177
  that.sliding = true;
1178
+
1179
  }
1180
+
1181
  });
1182
+
1183
  }
1184
+
1185
 
1186
+
1187
  };
1188
 
1189
+
1190
+
1191
  // Force browser download
1192
+
1193
  MP3_JPLAYER.dl_button_click = function ( j ) {
1194
+
1195
  var that = this, p = this.pl_info[j];
1196
+
1197
  jQuery('#mp3j_dlanchor_' + j).click(function (e) {
1198
+
1199
  that.dl_runinfo( p.list[p.tr].mp3, j, e );
1200
+
1201
  e.preventDefault();
1202
+
1203
  });
1204
+
1205
  };
1206
 
1207
+
1208
+
1209
  MP3_JPLAYER.dl_closeinfo_click = function ( j ) {
1210
+
1211
  var that = this;
1212
+
1213
  jQuery('#mp3j_finfo_close_' + j).click(function () {
1214
+
1215
  that.dl_dialogue( j, '', 'close');
1216
+
1217
  that.clear_timers( j );
1218
+
1219
  });
1220
+
1221
  };
1222
 
1223
+
1224
+
1225
  MP3_JPLAYER.dl_runinfo = function ( get, j, e ) {
1226
+
1227
  var can_write,
1228
+
1229
  dlpath,
1230
+
1231
  message,
1232
+
1233
  that = this,
1234
+
1235
  dlframe = false,
1236
+
1237
  p = this.pl_info[j],
1238
+
1239
  is_local = this.is_local_dload( get );
1240
+
1241
 
1242
+
1243
  var enc_get;
1244
+
1245
 
1246
+
1247
  if ( !this.intervalIDs[ j ] && !this.timeoutIDs[ j ] ) { //if timers not already running for this player
1248
+
1249
  can_write = this.write_cookie('mp3Download' + j, 'waiting', '');
1250
+
1251
  if ( is_local ) {
1252
+
1253
  if ( can_write !== false ) {
1254
+
1255
  this.dl_dialogue( j, this.vars.message_interval, 'check');
1256
+
1257
  } else {
1258
+
1259
  this.dl_dialogue( j, this.vars.message_indark, 'indark');
1260
+
1261
  }
1262
+
1263
  this.intervalIDs[ j ] = setInterval( function(){ that.dl_interval_check( j, can_write ); }, 500);
1264
+
1265
  this.timeoutIDs[ j ] = setTimeout( function(){ that.dl_timeout( j, can_write ); }, 7000);
1266
+
1267
  dlframe = true;
1268
+
1269
  } else {
1270
+
1271
  if ( this.vars.dl_remote_path === '' ) {
1272
+
1273
  message = this.vars.message_promtlink.replace('#1', get);
1274
+
1275
  message = message.replace('#2', p.list[p.tr].name);
1276
+
1277
  this.dl_dialogue( j, message, 'indark');
1278
+
1279
  } else {
1280
+
1281
  message = this.vars.message_indark.replace('#1', get);
1282
+
1283
  message = message.replace('#2', p.list[p.tr].name);
1284
+
1285
  this.dl_dialogue( j, message, 'indark');
1286
+
1287
  dlframe = true;
1288
+
1289
  }
1290
+
1291
  }
1292
+
1293
  this.dl_dialogs[ j ] = 'false';
1294
+
1295
  if ( dlframe ) {
1296
+
1297
  dlpath = this.get_dloader_path( get );
1298
+
1299
  enc_get = encodeURIComponent( get );
1300
+
1301
  //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>');
1302
+
1303
  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>');
1304
+
1305
  }
1306
+
1307
  }
1308
+
1309
  };
1310
 
1311
+
1312
+
1313
  MP3_JPLAYER.dl_interval_check = function ( j, can_write ) {
1314
+
1315
  if ( can_write !== false && this.read_cookie('mp3Download' + j) === 'true' ) { //got cookie back, all should be good
1316
+
1317
  this.dl_dialogue( j, this.vars.message_ok, 'hide');
1318
+
1319
  //jQuery('#debug').append('<br />check: cookie '+j+' true');
1320
+
1321
  this.clear_timers( j );
1322
+
1323
  } else if ( this.dl_dialogs[ j ] !== 'false' ) { //got a message back
1324
+
1325
  this.dl_dialogue( j, this.dl_dialogs[ j ], 'add');
1326
+
1327
  //jQuery('#debug').append('<br />check: dialog'+j+' true');
1328
+
1329
  this.clear_timers( j );
1330
+
1331
  } //else {
1332
+
1333
  //jQuery('#debug').append('<br />check: neither '+j+'...# ');
1334
+
1335
  //}
1336
+
1337
  };
1338
 
1339
+
1340
+
1341
  MP3_JPLAYER.dl_timeout = function ( j, can_write ) {
1342
+
1343
  this.clear_timers( j );
1344
+
1345
  if ( can_write !== false ) {
1346
+
1347
  this.dl_dialogue( j, this.vars.message_timeout, 'add');
1348
+
1349
  }
1350
+
1351
  //jQuery('#debug').append('<br />no responses ('+j+' timed out) ');
1352
+
1353
  };
1354
 
1355
+
1356
+
1357
  MP3_JPLAYER.clear_timers = function ( j ) {
1358
+
1359
  if ( this.intervalIDs[ j ] !== null && this.timeoutIDs[ j ] !== null ) {
1360
+
1361
  clearInterval( this.intervalIDs[j] );
1362
+
1363
  clearTimeout( this.timeoutIDs[j] );
1364
+
1365
  this.intervalIDs[ j ] = null;
1366
+
1367
  this.timeoutIDs[j] = null;
1368
+
1369
  }
1370
+
1371
  jQuery('#mp3j_dlf_' + j).empty(); //ditch iframe
1372
+
1373
  this.write_cookie('mp3Download' + j, '', -1); //clear any cookie
1374
+
1375
  //jQuery('#debug').append('<br />cookie/frame '+j+' cleared');
1376
+
1377
  };
1378
 
1379
+
1380
+
1381
  MP3_JPLAYER.dl_dialogue = function ( j, text, state ) {
1382
+
1383
  if ( 'check' === state ) {
1384
+
1385
  jQuery('#mp3j_finfo_gif_' + j).show();
1386
+
1387
  jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
1388
+
1389
  jQuery('#mp3j_finfo_' + j).show();
1390
+
1391
  } else if ( 'add' === state ) {
1392
+
1393
  jQuery('#mp3j_finfo_gif_' + j).hide();
1394
+
1395
  jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
1396
+
1397
  } else if ( 'indark' === state ) {
1398
+
1399
  jQuery('#mp3j_finfo_gif_' + j).hide();
1400
+
1401
  jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
1402
+
1403
  jQuery('#mp3j_finfo_' + j).fadeIn(100);
1404
+
1405
  } else if ( 'close' === state ) {
1406
+
1407
  jQuery('#mp3j_finfo_gif_' + j).hide();
1408
+
1409
  jQuery('#mp3j_finfo_' + j).hide();
1410
+
1411
  } else {
1412
+
1413
  jQuery('#mp3j_finfo_gif_' + j).hide();
1414
+
1415
  if ( text !== '' ) {
1416
+
1417
  jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
1418
+
1419
  }
1420
+
1421
  jQuery('#mp3j_finfo_' + j).fadeOut(1000);
1422
+
1423
  }
1424
+
1425
  };
1426
 
1427
+
1428
+
1429
  MP3_JPLAYER.read_cookie = function ( name ) {
1430
+
1431
  var i, cookie, allCookies = document.cookie.split('; ');
1432
+
1433
  if ( allCookies.length > 0 ) {
1434
+
1435
  for ( i = 0; i < allCookies.length; i += 1 ) {
1436
+
1437
  cookie = allCookies[i].split( '=' );
1438
+
1439
  if ( cookie[0] === name ) {
1440
+
1441
  return cookie[1];
1442
+
1443
  }
1444
+
1445
  }
1446
+
1447
  }
1448
+
1449
  return false;
1450
+
1451
  };
1452
 
1453
+
1454
+
1455
  MP3_JPLAYER.write_cookie = function ( name, value, days ) {
1456
+
1457
  var date, expires = "";
1458
+
1459
  if ( days ) {
1460
+
1461
  date = new Date();
1462
+
1463
  date.setTime( date.getTime() + (days*24*60*60*1000) );
1464
+
1465
  expires = "; expires=" + date.toGMTString();
1466
+
1467
  }
1468
+
1469
  document.cookie = name + "=" + value + expires + "; path=/";
1470
+
1471
  return this.read_cookie( name );
1472
+
1473
  };
1474
 
1475
+
1476
+
1477
  MP3_JPLAYER.get_dloader_path = function ( loc ) {
1478
+
1479
  var k, path = "", file = "", chunks;
1480
+
1481
  chunks = loc.split('/');
1482
+
1483
  file = chunks[chunks.length-1];
1484
+
1485
  //jQuery('#debug').append('<br />');
1486
+
1487
  //for ( k = 0; k < chunks.length; k += 1 ) {
1488
+
1489
  // jQuery('#debug').append('<br />[' + k + '] ' + chunks[k]);
1490
+
1491
  //}
1492
+
1493
  //jQuery('#debug').append('<br />file:' + file);
1494
+
1495
  if ( loc.charAt(0) === '/' ) {
1496
+
1497
  path = this.plugin_path + '/download.php';
1498
+
1499
  } else {
1500
+
1501
  path = chunks[2].replace(/^www./i, "");
1502
+
1503
  if ( path === this.dl_domain ) {
1504
+
1505
  path = this.plugin_path + '/download.php';
1506
+
1507
  } else {
1508
+
1509
  path = chunks[0] + '//' + chunks[2] + this.vars.dl_remote_path;
1510
+
1511
  }
1512
+
1513
  }
1514
+
1515
  //jQuery('#debug').append('<br />path:' + path);
1516
+
1517
  return path;
1518
+
1519
  };
1520
 
1521
+
1522
+
1523
  MP3_JPLAYER.is_local_dload = function ( loc ) {
1524
+
1525
  var domain = "", file = "", chunks, is_local = false;
1526
+
1527
  chunks = loc.split('/');
1528
+
1529
  file = chunks[chunks.length-1];
1530
+
1531
  if ( loc.charAt(0) === '/' ) {
1532
+
1533
  is_local = true;
1534
+
1535
  } else {
1536
+
1537
  domain = chunks[2].replace(/^www./i, "");
1538
+
1539
  if ( domain === this.dl_domain ) {
1540
+
1541
  is_local = true;
1542
+
1543
  }
1544
+
1545
  }
1546
+
1547
  return is_local;
1548
+
1549
  };
1550
 
1551
+
1552
+
js/mp3-jplayer-1.8.9.js ADDED
@@ -0,0 +1,776 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
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
+ dl_domain: '',
17
+ jp_audio: {},
18
+ jp_seekable: 0,
19
+ sliding: false,
20
+ launched_ID: null,
21
+ jpID: '#mp3_jplayer_1_8',
22
+ plugin_path: '',
23
+
24
+ vars: {
25
+ play_f: false,
26
+ stylesheet_url: '',
27
+ dload_text: 'DOWNLOAD MP3',
28
+ pp_width: 280,
29
+ pp_maxheight: 350,
30
+ pp_bodycolour: '#fff',
31
+ pp_bodyimg: '',
32
+ pp_fixedcss: false,
33
+ pp_windowheight: 600,
34
+ pp_playerheight: 100+142,
35
+ force_dload: false,
36
+ message_interval: '<h2>Download MP3</h2><p style="margin-top:34px !important;">Your download should start in a second!</p>',
37
+ message_ok: '',
38
+ message_indark: '<h2>Download MP3</h2><p>Your download should start in a second!</p>',
39
+ 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>',
40
+ message_fail: '<h2>Download Failed</h2><p>Sorry, something went wrong!</p>',
41
+ message_timeout: '<h2>Download<br />Unavailable</h2><p>please try again later!</p>',
42
+ dl_remote_path: ''
43
+ },
44
+
45
+ eID: {
46
+ play: '#playpause_mp3j_',
47
+ playW: '#playpause_wrap_mp3j_',
48
+ stp: '#stop_mp3j_',
49
+ prev: '#Prev_mp3j_',
50
+ next: '#Next_mp3j_',
51
+ vol: '#vol_mp3j_',
52
+ loader: '#load_mp3j_',
53
+ pos: '#posbar_mp3j_',
54
+ poscol: '#poscol_mp3j_',
55
+ title: '#T_mp3j_',
56
+ caption: '#C_mp3j_',
57
+ pT: '#P-Time-MI_',
58
+ tT: '#T-Time-MI_',
59
+ dload: '#download_mp3j_',
60
+ plwrap: '#L_mp3j_',
61
+ ul: '#UL_mp3j_',
62
+ a: 'mp3j_A_', //No hash!
63
+ indiM: '#statusMI_',
64
+ toglist: '#playlist-toggle_',
65
+ lPP: '#lpp_mp3j_',
66
+ pplink: '#mp3j_popout_',
67
+ img: '#MI_image_'
68
+ },
69
+
70
+ init: function () {
71
+ var plpath, that = this;
72
+
73
+ plpath = this.plugin_path.split('/');
74
+ this.dl_domain = plpath[2].replace(/^www./i, "");
75
+
76
+ this.unwrap();
77
+ this.write_controls();
78
+ jQuery(this.jpID).jPlayer({
79
+ ready: function () {
80
+ that.startup();
81
+ },
82
+ swfPath: that.plugin_path + '/js/Jplayer271.swf',
83
+ volume: 1,
84
+ supplied: "mp3",
85
+ wmode: "window",
86
+ solution:"html, flash",
87
+ preload: "none"
88
+ });
89
+ jQuery(this.jpID).bind(jQuery.jPlayer.event.ended, function(event) {
90
+ that.E_complete(that.tID);
91
+ });
92
+ jQuery(this.jpID).bind(jQuery.jPlayer.event.timeupdate, function(event) {
93
+ var lp = that.get_loaded(event);
94
+ var ppA = event.jPlayer.status.currentPercentAbsolute;
95
+ var pt = event.jPlayer.status.currentTime;
96
+ var tt = event.jPlayer.status.duration;
97
+ that.E_update(that.tID, lp, ppA, pt, tt);
98
+ });
99
+ jQuery(this.jpID).bind(jQuery.jPlayer.event.ready, function(event) {
100
+ if(event.jPlayer.html.used && event.jPlayer.html.audio.available) {
101
+ that.jp_audio = jQuery(that.jpID).data("jPlayer").htmlElement.audio;
102
+ } else {
103
+ that.jp_audio = 'flash';
104
+ }
105
+ });
106
+ jQuery(this.jpID).bind(jQuery.jPlayer.event.progress, function(event) {
107
+ var lp = that.get_loaded(event);
108
+ var pt = event.jPlayer.status.currentTime;
109
+ var tt = event.jPlayer.status.duration;
110
+ that.E_loading( that.tID, lp, tt, pt );
111
+ });
112
+ },
113
+
114
+ get_loaded: function (event) {
115
+ var lp;
116
+ if ( typeof this.jp_audio.buffered === "object" ) {
117
+ if( this.jp_audio.buffered.length > 0 && this.jp_audio.duration > 0 ) {
118
+ lp = 100 * this.jp_audio.buffered.end(this.jp_audio.buffered.length-1) / this.jp_audio.duration;
119
+ } else {
120
+ lp = 0;
121
+ }
122
+ } else {
123
+ lp = event.jPlayer.status.seekPercent;
124
+ }
125
+ this.jp_seekable = event.jPlayer.status.seekPercent; //use this for slider calcs for both html/flash solution
126
+ this.load_pc = lp;
127
+ return lp;
128
+ },
129
+
130
+ Tformat: function ( sec ) {
131
+ var t = sec,
132
+ s = Math.floor((t)%60),
133
+ m = Math.floor((t/60)%60),
134
+ h = Math.floor(t/3600);
135
+ return ((h > 0) ? h+':' : '') + ((m > 9) ? m : '0'+m) + ':' + ((s > 9) ? s : '0'+s);
136
+ },
137
+
138
+ E_loading: function ( j, lp, tt, pt ) {
139
+ if (j !== '') {
140
+ jQuery(this.eID.loader + j).css( "width", lp + '%' );
141
+ if (this.pl_info[j].type === 'MI') {
142
+ if (tt > 0 && this.played_t > 0) {
143
+ jQuery(this.eID.tT + j).text(this.Tformat(tt));
144
+ }
145
+ }
146
+ if ( this.jp_audio !== 'flash' && lp < 100 ) {
147
+ if ( pt === this.played_t && this.state === 'playing' && pt > 0 && !this.sliding ) {
148
+ if (this.pl_info[j].type === 'MI') {
149
+ jQuery(this.eID.indiM + j).empty().append('<span class="mp3-finding"></span><span class="mp3-tint"></span>Buffering');
150
+ }
151
+ if (this.pl_info[j].type === 'single' ) {
152
+ jQuery(this.eID.indiM + j).empty().append('<span class="Smp3-finding"></span><span class="mp3-gtint"></span> ' + this.Tformat(pt));
153
+ }
154
+ }
155
+ this.played_t = pt;
156
+ }
157
+ }
158
+ },
159
+
160
+ E_update: function (j, lp, ppA, pt, tt) {
161
+ if (j !== '') {
162
+ jQuery(this.eID.loader + j).css( "width", lp + '%' );
163
+ jQuery(this.eID.poscol + j).css( "width", ppA + '%' );
164
+ if ( jQuery(this.eID.pos + j + ' div.ui-widget-header').length > 0 ) {
165
+ jQuery(this.eID.pos + j).slider('option', 'value', 10*ppA);
166
+ }
167
+ if (pt > 0) {
168
+ jQuery(this.eID.pos + j).css( 'visibility', 'visible' );
169
+ }
170
+ if (this.pl_info[j].type === 'MI') {
171
+ jQuery(this.eID.pT + j).text(this.Tformat(pt));
172
+ }
173
+ if ('playing' === this.state) {
174
+ if ('MI' === this.pl_info[j].type) {
175
+ if (tt > 0 && this.played_t === pt && lp < 100 && !this.sliding ) {
176
+ jQuery(this.eID.indiM + j).empty().append('<span class="mp3-finding"></span><span class="mp3-tint"></span>Buffering');
177
+ jQuery(this.eID.tT + j).text(this.Tformat(tt));
178
+ } else if (pt > 0) {
179
+ jQuery(this.eID.indiM + j).empty().append('Playing');
180
+ jQuery(this.eID.tT + j).text(this.Tformat(tt));
181
+ }
182
+ }
183
+ if ('single' === this.pl_info[j].type){
184
+ if (pt > 0 ) {
185
+ if (this.played_t === pt && lp < 100 && !this.sliding ) {
186
+ jQuery(this.eID.indiM + j).empty().append('<span class="Smp3-finding"></span><span class="mp3-gtint"></span> ' + this.Tformat(pt));
187
+ } else {
188
+ jQuery(this.eID.indiM + j).empty().append('<span class="mp3-tint tintmarg"></span> ' + this.Tformat(pt));
189
+ }
190
+ }
191
+ }
192
+ }
193
+ this.played_t = pt;
194
+ }
195
+ },
196
+
197
+ E_complete: function (j) {
198
+ var p = this.pl_info[j];
199
+ if ('MI' === p.type) {
200
+ if (p.loop || p.tr+1 < p.list.length) {
201
+ this.E_change_track(j, 'next');
202
+ } else {
203
+ this.E_dblstop(j);
204
+ this.startup();
205
+ }
206
+ }
207
+ if ('single' === p.type) {
208
+ if (p.loop) {
209
+ this.E_change_track(j, 'next');
210
+ } else {
211
+ this.E_stop(j);
212
+ this.startup();
213
+ }
214
+ }
215
+ },
216
+
217
+ write_controls: function () {
218
+ var j;
219
+ for (j = 0; j < this.pl_info.length; j += 1) {
220
+ this.setup_a_player(j);
221
+ }
222
+ },
223
+
224
+ startup: function () {
225
+ var j;
226
+ for (j = 0; j < this.pl_info.length; j += 1) {
227
+ //if (this.pl_info[j].autoplay) {
228
+ if ( this.pl_info[j].autoplay && (this.pl_info[j].type === 'single' || this.pl_info[j].type === 'MI') ) {
229
+ this.pl_info[j].autoplay = false;
230
+ this.E_change_track(j, this.pl_info[j].tr);
231
+ return;
232
+ }
233
+ }
234
+ },
235
+
236
+ setup_a_player: function (j) {
237
+ var i, li, sel, that = this, p = this.pl_info[j];
238
+
239
+ //PLAYLISTERS and SINGLES
240
+ if ('MI' === p.type || 'single' === p.type) {
241
+
242
+ jQuery(this.eID.vol + j).slider({
243
+ value : p.vol,
244
+ max: 100,
245
+ range: 'min',
246
+ animate: false,
247
+ slide: function (event, ui) {
248
+ p.vol = ui.value;
249
+ if (j === that.tID) {
250
+ jQuery(that.jpID).jPlayer("volume", ui.value/100);
251
+ }
252
+ }
253
+ });
254
+
255
+ jQuery(this.eID.pos + j).mouseup(function (e) { //for posbar
256
+ that.sliding = false;
257
+ });
258
+
259
+ sel = ('MI' === p.type) ? this.eID.play : this.eID.playW;
260
+ jQuery(sel + j).click(function () { //play-pause click
261
+ that.E_change_track(j, p.tr);
262
+ jQuery(this).blur();
263
+ });
264
+ jQuery(sel + j).dblclick(function () { //play-pause dbl click
265
+ if (that.state !== "playing") {
266
+ that.E_change_track(j, p.tr);
267
+ }
268
+ jQuery(this).blur();
269
+ });
270
+
271
+ this.titles(j, p.tr);
272
+ }
273
+
274
+ //PLAYLISTERS
275
+ if ('MI' === p.type) {
276
+ jQuery(this.eID.pT + j).text('00:00');
277
+ jQuery(this.eID.indiM + j).text('Ready');
278
+ jQuery(this.eID.stp + j).click(function () {
279
+ that.E_stop(j);
280
+ });
281
+ jQuery(this.eID.stp + j).dblclick(function () {
282
+ that.E_dblstop(j);
283
+ });
284
+
285
+ jQuery(this.eID.plwrap + j).hide();
286
+ if (p.list.length > 1) {
287
+ jQuery(this.eID.next + j).click(function () {
288
+ that.E_change_track(j, 'next');
289
+ });
290
+ jQuery(this.eID.prev + j).click(function () {
291
+ that.E_change_track(j, 'prev');
292
+ });
293
+ jQuery(this.eID.ul + j).empty();
294
+ for (i = 0; i < p.list.length; i += 1) {
295
+ li = '<li>';
296
+ li += '<a href="#" id="' + this.eID.a + j + '_' + i + '">' + p.list[i].name + '</a></li>';
297
+ jQuery(this.eID.ul + j).append(li);
298
+ this.add_ul_click(j, i);
299
+ }
300
+ jQuery('#' + this.eID.a + j + '_' + p.tr).addClass('mp3j_A_current');
301
+ jQuery(this.eID.toglist + j).click(function () {
302
+ that.togglelist(j);
303
+ });
304
+ if (p.lstate === true) {
305
+ jQuery(this.eID.plwrap + j).show();
306
+ }
307
+ }
308
+
309
+ this.writedownload(j, p.tr);
310
+ if ( this.vars.force_dload === true ) {
311
+ this.dl_closeinfo_click(j);
312
+ }
313
+
314
+ jQuery(this.eID.lPP + j).click(function () {
315
+ return that.E_launchPP(j);
316
+ });
317
+ }
318
+
319
+ //POPOUT LINKS
320
+ if ('popout' === p.type) {
321
+ jQuery(this.eID.pplink + j).click(function () {
322
+ return that.E_launchPP(j);
323
+ });
324
+ }
325
+ },
326
+
327
+ add_ul_click: function (j, i) { //playlist item click
328
+ var that = this;
329
+ jQuery('#' + this.eID.a + j + "_" + i).click(function (e) {
330
+ that.E_change_track(j, i);
331
+ e.preventDefault();
332
+ });
333
+ },
334
+
335
+ unwrap: function () {
336
+ var i, j, arr;
337
+ if (this.vars.play_f === true && typeof this.lists !== "undefined" && this.lists.length > 0) {
338
+ for (i = 0; i < this.lists.length; i += 1) {
339
+ arr = this.lists[i];
340
+ for (j = 0; j < arr.length; j += 1) {
341
+ arr[j].mp3 = this.f_undo.f_con(arr[j].mp3);
342
+ }
343
+ }
344
+ }
345
+ },
346
+
347
+ f_undo: {
348
+ keyStr : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
349
+ f_con : function (input) {
350
+ var output = "", i = 0, chr1, chr2, chr3, enc1, enc2, enc3, enc4;
351
+ input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
352
+ while (i < input.length) {
353
+ enc1 = this.keyStr.indexOf(input.charAt(i++)); enc2 = this.keyStr.indexOf(input.charAt(i++));
354
+ enc3 = this.keyStr.indexOf(input.charAt(i++)); enc4 = this.keyStr.indexOf(input.charAt(i++));
355
+ chr1 = (enc1 << 2) | (enc2 >> 4); chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); chr3 = ((enc3 & 3) << 6) | enc4;
356
+ output = output + String.fromCharCode(chr1);
357
+ if (enc3 !== 64) { output = output + String.fromCharCode(chr2); }
358
+ if (enc4 !== 64) { output = output + String.fromCharCode(chr3); }
359
+ }
360
+ output = this.utf8_f_con(output);
361
+ return output;
362
+ },
363
+ utf8_f_con : function (utftext) {
364
+ var string = "", i = 0, c, c1, c2, c3;
365
+ while (i < utftext.length) {
366
+ c = utftext.charCodeAt(i);
367
+ if (c < 128) {
368
+ string += String.fromCharCode(c); i++;
369
+ } else if ((c > 191) && (c < 224)) {
370
+ c2 = utftext.charCodeAt(i + 1); string += String.fromCharCode(((c & 31) << 6) | (c2 & 63)); i += 2;
371
+ } else {
372
+ c2 = utftext.charCodeAt(i + 1); c3 = utftext.charCodeAt(i + 2); string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63)); i += 3;
373
+ }
374
+ }
375
+ return string;
376
+ }
377
+ },
378
+
379
+
380
+ E_stop: function (j) {
381
+ if (j === this.tID && j !== '') {
382
+ this.clearit();
383
+ if ( jQuery(this.eID.pos + j + ' div.ui-widget-header').length > 0 ) {
384
+ jQuery(this.eID.pos + j).slider('destroy');
385
+ }
386
+ jQuery(this.eID.loader + j).css( "width", '0%' );
387
+ this.button(j, 'play');
388
+ if (this.pl_info[j].type === 'MI') {
389
+ jQuery(this.eID.poscol + j).css( "width", '0%' );
390
+ jQuery(this.eID.tT + j).empty();
391
+ jQuery(this.eID.indiM + j).text('Stopped');
392
+ jQuery(this.eID.pT + j).text(this.Tformat(0));
393
+ } else {
394
+ jQuery(this.eID.indiM + j).empty();
395
+ }
396
+ this.load_pc = 0;
397
+ this.played_t = 0;
398
+ }
399
+ },
400
+
401
+ E_dblstop: function (j) {
402
+ this.listclass(j, this.pl_info[j].tr, 0);
403
+ if ( this.pl_info[j].tr !== 0 ) {
404
+ this.titles(j, 0);
405
+ }
406
+ this.writedownload(j, 0);
407
+ this.E_stop(j);
408
+ jQuery(this.eID.indiM + j).text('Ready');
409
+ this.pl_info[j].tr = 0;
410
+ },
411
+
412
+ E_change_track: function (j, change) {
413
+ var track, txt, p = this.pl_info[j];
414
+ if (j === this.tID && change === p.tr) {
415
+ if ('playing' === this.state) {
416
+ if (this.load_pc === 0) {
417
+ this.E_stop(j);
418
+ } else {
419
+ this.pauseit();
420
+ this.button(j, 'play');
421
+ if ('MI' === p.type) {
422
+ jQuery(this.eID.indiM + j).text('Paused');
423
+ }
424
+ }
425
+ return;
426
+ } else if ('paused' === this.state || 'set' === this.state) {
427
+ this.playit();
428
+ this.button(j, 'pause');
429
+ return;
430
+ }
431
+ }
432
+ this.E_stop(this.tID);
433
+ if ('prev' === change) {
434
+ track = (p.tr-1 < 0) ? p.list.length-1 : p.tr-1;
435
+ } else if ('next' === change) {
436
+ track = (p.tr+1 < p.list.length) ? p.tr+1 : 0;
437
+ } else {
438
+ track = change;
439
+ }
440
+ jQuery(this.jpID).jPlayer("volume", 1 ); //Vol scaling fix
441
+ this.setit(p.list[track].mp3);
442
+ this.playit();
443
+ jQuery(this.jpID).jPlayer("volume", p.vol/100 ); //Reset to correct vol
444
+ 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>';
445
+ jQuery(this.eID.indiM + j).empty().append(txt);
446
+ this.button(j, 'pause');
447
+ this.makeslider(j);
448
+ if ('MI' === p.type) {
449
+ this.listclass(j, p.tr, track);
450
+ if ( p.tr !== track ) {
451
+ this.titles(j, track);
452
+ }
453
+ if (p.download) {
454
+ this.writedownload(j, track);
455
+ jQuery(this.eID.dload + j).hide().addClass('whilelinks').fadeIn(400);
456
+ }
457
+ }
458
+ p.tr = track;
459
+ this.tID = j;
460
+ },
461
+
462
+ E_launchPP: function (j) {
463
+ var li_height = 28;
464
+ if ( this.pl_info[j].height !== false ) {
465
+ this.vars.pp_playerheight = 100 + this.pl_info[j].height;
466
+ }
467
+ 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;
468
+ if ( this.vars.pp_windowheight > this.vars.pp_maxheight ) {
469
+ this.vars.pp_windowheight = this.vars.pp_maxheight;
470
+ }
471
+ this.launched_ID = j;
472
+ this.was_playing = ( this.state === "playing" ) ? true : false;
473
+
474
+ this.E_stop(this.tID);
475
+ this.setit(this.plugin_path + '/mp3/silence.mp3');
476
+ this.playit(); //make chrome let go of last track (incase it didn't finish loading)
477
+ this.clearit();
478
+
479
+ 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');
480
+ if ( this.pl_info[j].lstate === true ) {
481
+ newwindow.resizeTo( this.vars.pp_width, this.vars.pp_windowheight );
482
+ } else {
483
+ newwindow.resizeTo( this.vars.pp_width, this.vars.pp_playerheight );
484
+ }
485
+ if (window.focus) {
486
+ newwindow.focus();
487
+ }
488
+ return false;
489
+ },
490
+
491
+ setit: function (file) {
492
+ this.state = 'set';
493
+ jQuery(this.jpID).jPlayer("setMedia", {mp3: file});
494
+ },
495
+ playit: function () {
496
+ this.state = 'playing';
497
+ jQuery(this.jpID).jPlayer("play");
498
+ },
499
+ pauseit: function () {
500
+ this.state = 'paused';
501
+ jQuery(this.jpID).jPlayer("pause");
502
+ },
503
+ clearit: function () {
504
+ this.state = '';
505
+ jQuery(this.jpID).jPlayer("clearMedia");
506
+ },
507
+
508
+ button: function (j, type) {
509
+ if (j === '') { return; }
510
+ if ('pause' === type) {
511
+ if (this.pl_info[j].play_txt === '#USE_G#') {
512
+ jQuery(this.eID.play + j).removeClass('buttons_mp3j').addClass('buttons_mp3jpause');
513
+ } else {
514
+ jQuery(this.eID.play + j).text(this.pl_info[j].pause_txt);
515
+ }
516
+ }
517
+ if ('play' === type) {
518
+ if (this.pl_info[j].play_txt === '#USE_G#') {
519
+ jQuery(this.eID.play + j).removeClass('buttons_mp3jpause').addClass('buttons_mp3j');
520
+ } else {
521
+ jQuery(this.eID.play + j).text(this.pl_info[j].play_txt);
522
+ }
523
+ }
524
+ },
525
+
526
+ listclass: function ( j, rem, add ) {
527
+ jQuery('#'+ this.eID.a + j +'_'+ rem).removeClass('mp3j_A_current');
528
+ jQuery('#'+ this.eID.a + j +'_'+ add).addClass('mp3j_A_current');
529
+ },
530
+
531
+ titles: function ( j, track ) {
532
+ var p = this.pl_info[j], Olink = '', Clink = '';
533
+ if (p.type === "MI") {
534
+ jQuery(this.eID.title + j).empty().append(p.list[track].name).append('<br /><span>' + p.list[track].artist + '</span>');
535
+ if (p.list[track].image !== '') {
536
+ if (p.list[track].imgurl !== '') {
537
+ Olink = '<a href="' + p.list[track].imgurl + '">';
538
+ Clink = '</a>';
539
+ }
540
+ jQuery(this.eID.img + j).empty().hide().append(Olink + '<img src="' + p.list[track].image + '" />' + Clink).fadeIn(300);
541
+ }
542
+ }
543
+ },
544
+
545
+ writedownload: function ( j, track ) {
546
+ var p = this.pl_info[j];
547
+ if (p.download) {
548
+ 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>');
549
+ if ( this.vars.force_dload === true ) {
550
+ this.dl_button_click( j );
551
+ }
552
+ }
553
+ },
554
+
555
+ togglelist: function ( j ) {
556
+ if (this.pl_info[j].lstate === true) {
557
+ jQuery(this.eID.plwrap + j).fadeOut(300);
558
+ jQuery(this.eID.toglist + j).text('SHOW');
559
+ this.pl_info[j].lstate = false;
560
+ } else if (this.pl_info[j].lstate === false) {
561
+ jQuery(this.eID.plwrap + j).fadeIn("slow");
562
+ jQuery(this.eID.toglist + j).text('HIDE');
563
+ this.pl_info[j].lstate = true;
564
+ }
565
+ },
566
+
567
+ makeslider: function (j) {
568
+ var phmove, cssmove, that = this;
569
+ jQuery(this.eID.pos + j).css( 'visibility', 'hidden' );
570
+ jQuery(this.eID.pos + j).slider({
571
+ max: 1000,
572
+ range: 'min',
573
+ animate: false,
574
+ slide: function (event, ui) {
575
+ if ((ui.value/10) < that.load_pc) {
576
+ cssmove = ui.value/10;
577
+ phmove = ui.value*(10.0/that.jp_seekable);
578
+ } else {
579
+ cssmove = 0.99*that.load_pc;
580
+ phmove = (9.9*that.load_pc)*(10.0/that.jp_seekable);
581
+ }
582
+ jQuery(that.eID.poscol + j).css('width', cssmove + '%');
583
+ jQuery(that.jpID).jPlayer("playHead", phmove );
584
+ if (that.state === 'paused') {
585
+ that.button(j, 'pause');
586
+ that.playit();
587
+ }
588
+ that.state = 'playing';
589
+ that.sliding = true;
590
+ }
591
+ });
592
+ }
593
+
594
+ };
595
+
596
+ // Force browser download
597
+ MP3_JPLAYER.dl_button_click = function ( j ) {
598
+ var that = this, p = this.pl_info[j];
599
+ jQuery('#mp3j_dlanchor_' + j).click(function (e) {
600
+ that.dl_runinfo( p.list[p.tr].mp3, j, e );
601
+ e.preventDefault();
602
+ });
603
+ };
604
+
605
+ MP3_JPLAYER.dl_closeinfo_click = function ( j ) {
606
+ var that = this;
607
+ jQuery('#mp3j_finfo_close_' + j).click(function () {
608
+ that.dl_dialogue( j, '', 'close');
609
+ that.clear_timers( j );
610
+ });
611
+ };
612
+
613
+ MP3_JPLAYER.dl_runinfo = function ( get, j, e ) {
614
+ var can_write,
615
+ dlpath,
616
+ message,
617
+ that = this,
618
+ dlframe = false,
619
+ p = this.pl_info[j],
620
+ is_local = this.is_local_dload( get );
621
+
622
+ var enc_get;
623
+
624
+ if ( !this.intervalIDs[ j ] && !this.timeoutIDs[ j ] ) { //if timers not already running for this player
625
+ can_write = this.write_cookie('mp3Download' + j, 'waiting', '');
626
+ if ( is_local ) {
627
+ if ( can_write !== false ) {
628
+ this.dl_dialogue( j, this.vars.message_interval, 'check');
629
+ } else {
630
+ this.dl_dialogue( j, this.vars.message_indark, 'indark');
631
+ }
632
+ this.intervalIDs[ j ] = setInterval( function(){ that.dl_interval_check( j, can_write ); }, 500);
633
+ this.timeoutIDs[ j ] = setTimeout( function(){ that.dl_timeout( j, can_write ); }, 7000);
634
+ dlframe = true;
635
+ } else {
636
+ if ( this.vars.dl_remote_path === '' ) {
637
+ message = this.vars.message_promtlink.replace('#1', get);
638
+ message = message.replace('#2', p.list[p.tr].name);
639
+ this.dl_dialogue( j, message, 'indark');
640
+ } else {
641
+ message = this.vars.message_indark.replace('#1', get);
642
+ message = message.replace('#2', p.list[p.tr].name);
643
+ this.dl_dialogue( j, message, 'indark');
644
+ dlframe = true;
645
+ }
646
+ }
647
+ this.dl_dialogs[ j ] = 'false';
648
+ if ( dlframe ) {
649
+ dlpath = this.get_dloader_path( get );
650
+ enc_get = encodeURIComponent( get );
651
+ //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>');
652
+ 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>');
653
+ }
654
+ }
655
+ };
656
+
657
+ MP3_JPLAYER.dl_interval_check = function ( j, can_write ) {
658
+ if ( can_write !== false && this.read_cookie('mp3Download' + j) === 'true' ) { //got cookie back, all should be good
659
+ this.dl_dialogue( j, this.vars.message_ok, 'hide');
660
+ //jQuery('#debug').append('<br />check: cookie '+j+' true');
661
+ this.clear_timers( j );
662
+ } else if ( this.dl_dialogs[ j ] !== 'false' ) { //got a message back
663
+ this.dl_dialogue( j, this.dl_dialogs[ j ], 'add');
664
+ //jQuery('#debug').append('<br />check: dialog'+j+' true');
665
+ this.clear_timers( j );
666
+ } //else {
667
+ //jQuery('#debug').append('<br />check: neither '+j+'...# ');
668
+ //}
669
+ };
670
+
671
+ MP3_JPLAYER.dl_timeout = function ( j, can_write ) {
672
+ this.clear_timers( j );
673
+ if ( can_write !== false ) {
674
+ this.dl_dialogue( j, this.vars.message_timeout, 'add');
675
+ }
676
+ //jQuery('#debug').append('<br />no responses ('+j+' timed out) ');
677
+ };
678
+
679
+ MP3_JPLAYER.clear_timers = function ( j ) {
680
+ if ( this.intervalIDs[ j ] !== null && this.timeoutIDs[ j ] !== null ) {
681
+ clearInterval( this.intervalIDs[j] );
682
+ clearTimeout( this.timeoutIDs[j] );
683
+ this.intervalIDs[ j ] = null;
684
+ this.timeoutIDs[j] = null;
685
+ }
686
+ jQuery('#mp3j_dlf_' + j).empty(); //ditch iframe
687
+ this.write_cookie('mp3Download' + j, '', -1); //clear any cookie
688
+ //jQuery('#debug').append('<br />cookie/frame '+j+' cleared');
689
+ };
690
+
691
+ MP3_JPLAYER.dl_dialogue = function ( j, text, state ) {
692
+ if ( 'check' === state ) {
693
+ jQuery('#mp3j_finfo_gif_' + j).show();
694
+ jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
695
+ jQuery('#mp3j_finfo_' + j).show();
696
+ } else if ( 'add' === state ) {
697
+ jQuery('#mp3j_finfo_gif_' + j).hide();
698
+ jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
699
+ } else if ( 'indark' === state ) {
700
+ jQuery('#mp3j_finfo_gif_' + j).hide();
701
+ jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
702
+ jQuery('#mp3j_finfo_' + j).fadeIn(100);
703
+ } else if ( 'close' === state ) {
704
+ jQuery('#mp3j_finfo_gif_' + j).hide();
705
+ jQuery('#mp3j_finfo_' + j).hide();
706
+ } else {
707
+ jQuery('#mp3j_finfo_gif_' + j).hide();
708
+ if ( text !== '' ) {
709
+ jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
710
+ }
711
+ jQuery('#mp3j_finfo_' + j).fadeOut(1000);
712
+ }
713
+ };
714
+
715
+ MP3_JPLAYER.read_cookie = function ( name ) {
716
+ var i, cookie, allCookies = document.cookie.split('; ');
717
+ if ( allCookies.length > 0 ) {
718
+ for ( i = 0; i < allCookies.length; i += 1 ) {
719
+ cookie = allCookies[i].split( '=' );
720
+ if ( cookie[0] === name ) {
721
+ return cookie[1];
722
+ }
723
+ }
724
+ }
725
+ return false;
726
+ };
727
+
728
+ MP3_JPLAYER.write_cookie = function ( name, value, days ) {
729
+ var date, expires = "";
730
+ if ( days ) {
731
+ date = new Date();
732
+ date.setTime( date.getTime() + (days*24*60*60*1000) );
733
+ expires = "; expires=" + date.toGMTString();
734
+ }
735
+ document.cookie = name + "=" + value + expires + "; path=/";
736
+ return this.read_cookie( name );
737
+ };
738
+
739
+ MP3_JPLAYER.get_dloader_path = function ( loc ) {
740
+ var k, path = "", file = "", chunks;
741
+ chunks = loc.split('/');
742
+ file = chunks[chunks.length-1];
743
+ //jQuery('#debug').append('<br />');
744
+ //for ( k = 0; k < chunks.length; k += 1 ) {
745
+ // jQuery('#debug').append('<br />[' + k + '] ' + chunks[k]);
746
+ //}
747
+ //jQuery('#debug').append('<br />file:' + file);
748
+ if ( loc.charAt(0) === '/' ) {
749
+ path = this.plugin_path + '/download.php';
750
+ } else {
751
+ path = chunks[2].replace(/^www./i, "");
752
+ if ( path === this.dl_domain ) {
753
+ path = this.plugin_path + '/download.php';
754
+ } else {
755
+ path = chunks[0] + '//' + chunks[2] + this.vars.dl_remote_path;
756
+ }
757
+ }
758
+ //jQuery('#debug').append('<br />path:' + path);
759
+ return path;
760
+ };
761
+
762
+ MP3_JPLAYER.is_local_dload = function ( loc ) {
763
+ var domain = "", file = "", chunks, is_local = false;
764
+ chunks = loc.split('/');
765
+ file = chunks[chunks.length-1];
766
+ if ( loc.charAt(0) === '/' ) {
767
+ is_local = true;
768
+ } else {
769
+ domain = chunks[2].replace(/^www./i, "");
770
+ if ( domain === this.dl_domain ) {
771
+ is_local = true;
772
+ }
773
+ }
774
+ return is_local;
775
+ };
776
+
js/mp3j-admin-1.8.js CHANGED
@@ -1,254 +1,254 @@
1
- /* MP3-jPlayer 1.8 - admin js */
2
-
3
- var MP3J_ADMIN = {
4
- toggle_states: [
5
- { tog_0: false },
6
- { tog_1: false },
7
- { fox_library: false },
8
- { fox_folder: false },
9
- { fox_op1: false },
10
- { fox_op5: false },
11
- { fox_op2: false },
12
- { fox_op3: false },
13
- { fox_op4: false },
14
- { tog_9: false }
15
- ],
16
- toggleit: function ( id, label ) {
17
- if (this.toggle_states[id]) {
18
- jQuery("#" + id + "-list").fadeOut(100);
19
- jQuery("#" + id + "-toggle").empty().append(label).blur();
20
- this.toggle_states[id] = false;
21
- } else {
22
- jQuery("#" + id + "-list").fadeIn(200);
23
- jQuery("#" + id + "-toggle").empty().append('Hide '+label).blur();
24
- this.toggle_states[id] = true;
25
- }
26
- },
27
- showhideit: function ( id, label ) {
28
- if (this.toggle_states[id]) {
29
- jQuery("#" + id + "-list").fadeOut(100);
30
- jQuery("#" + id + "-toggle").empty().append('Show '+label).blur();
31
- this.toggle_states[id] = false;
32
- } else {
33
- jQuery("#" + id + "-list").fadeIn(200);
34
- jQuery("#" + id + "-toggle").empty().append('Hide '+label).blur();
35
- this.toggle_states[id] = true;
36
- }
37
- }
38
- }
39
-
40
-
41
- /* Form select event on player style dropdown */
42
- var player_select=document.getElementById("player-select");
43
- player_select.onchange=function(){
44
- var chosen=this.options[this.selectedIndex];
45
- if (chosen.value=="styleF" || chosen.value=="styleG" || chosen.value=="styleH"){
46
- $S('mp3fcss').color="#d6d6d6";
47
- $S('mp3fcss').backgroundColor="#fcfcfc";
48
- $S('mp3fcss').borderColor="#f0f0f0";
49
- $S('player-csssheet').color="#d6d6d6";
50
- }
51
- if (chosen.value=="styleI"){
52
- $S('mp3fcss').color="#000";
53
- $S('mp3fcss').backgroundColor="#fff";
54
- $S('mp3fcss').borderColor="#dfdfdf";
55
- $S('player-csssheet').color="#444";
56
- }
57
- };
58
-
59
-
60
- /* Admin/Picker interaction */
61
- var curcol="";
62
- var initcolour = "#6d9dde";
63
- var red = 0; // between 0 and 1
64
- var green = 0;
65
- var blue = 0;
66
- var hue = 0; // between 0 and 360
67
- var saturation = 0; // between 0 and 1
68
- var value = 0;
69
-
70
- function putfcolour(fID,blID) {
71
- $woof(fID).value='#'+curcol;
72
- $S(blID).background='#'+curcol;
73
- }
74
- function udfcol(fID, blID) {
75
- $S(blID).background=$woof(fID).value;
76
- }
77
- function sendfcolour(fID) {
78
- hval=$woof(fID).value;
79
- initpicker(hval);
80
- }
81
- function initpicker(hval){
82
- HextoRGB(hval);
83
- RGBtoHSV();
84
- sendHSV={H:hue, S:saturation*100, V:value*100};
85
- HSVupdate(sendHSV);
86
- $S('SVslide').left = Math.round(saturation*100*1.62)-1 + "px";
87
- $S('SVslide').top = 161-Math.round((value*100*1.62)) + "px";
88
- $S('Hslide').top = 159-Math.round((165/360)*hue) + "px";
89
- $S('SV').backgroundColor='#'+color.HSV_HEX({H:hue, S:100, V:100});
90
- }
91
- function HextoRGB(hexString) {
92
- if(hexString === null || typeof(hexString) != "string") {
93
- SetRGB(0,0,0);
94
- return;
95
- }
96
- if (hexString.substr(0, 1) == '#')
97
- hexString = hexString.substr(1);
98
- if(hexString.length != 6) {
99
- SetRGB(0,0,0);
100
- return;
101
- }
102
- var r = parseInt(hexString.substr(0, 2), 16);
103
- var g = parseInt(hexString.substr(2, 2), 16);
104
- var b = parseInt(hexString.substr(4, 2), 16);
105
- if (isNaN(r) || isNaN(g) || isNaN(b)) {
106
- SetRGB(0,0,0);
107
- return;
108
- }
109
- SetRGB(r,g,b);
110
- }
111
- function SetRGB(r, g, b){
112
- red = r/255.0;
113
- green = g/255.0;
114
- blue = b/255.0;
115
- }
116
- function RGBtoHSV(){
117
- var max = Math.max(Math.max(red, green), blue);
118
- var min = Math.min(Math.min(red, green), blue);
119
- value = max;
120
- saturation = 0;
121
- if(max !== 0)
122
- saturation = 1 - min/max;
123
- hue = 0;
124
- if(min == max)
125
- return;
126
-
127
- var delta = (max - min);
128
- if (red == max)
129
- hue = (green - blue) / delta;
130
- else if (green == max)
131
- hue = 2 + ((blue - red) / delta);
132
- else
133
- hue = 4 + ((red - green) / delta);
134
- hue = hue * 60;
135
- if(hue < 0)
136
- hue += 360;
137
- }
138
-
139
- /* Colour picker (modified DHTML Color Square by ColorJack) */
140
- function $woof(v,o) { return((typeof(o)=='object'?o:document).getElementById(v)); }
141
- function $S(o) { o=$woof(o); if(o) return(o.style); }
142
- 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); }
143
- function agent(v) { return(Math.max(navigator.userAgent.toLowerCase().indexOf(v),0)); }
144
- function toggle(v) { $S(v).display=($S(v).display=='none'?'block':'none'); }
145
- function within(v,a,z) { return((v>=a && v<=z)?true:false); }
146
- 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); }
147
- function zero(v) { v=parseInt(v); return(!isNaN(v)?v:0); }
148
-
149
- var maxValue={'H':360,'S':100,'V':100}, HSV={H:360, S:100, V:100};
150
- var slideHSV={H:360, S:100, V:100}, zINDEX=15, stop=1;
151
- function HSVslide(d,o,e) {
152
- function tXY(e) { tY=XY(e).Y-ab.Y; tX=XY(e).X-ab.X; }
153
- function mkHSV(a,b,c) { return(Math.min(a,Math.max(0,Math.ceil((parseInt(c)/b)*a)))); }
154
- function ckHSV(a,b) { if(within(a,0,b)) return(a); else if(a>b) return(b); else if(a<0) return('-'+oo); }
155
- function drag(e) {
156
- if(!stop) {
157
- if(d!='drag') tXY(e);
158
- if(d=='SVslide') {
159
- ds.left=ckHSV(tX-oo,162)+'px';
160
- ds.top=ckHSV(tY-oo,162)+'px';
161
- slideHSV.S=mkHSV(100,162,ds.left);
162
- slideHSV.V=100-mkHSV(100,162,ds.top);
163
- HSVupdate();
164
- }
165
- else if(d=='Hslide') {
166
- var ck=ckHSV(tY-oo,163), r=['H','S','V'], z={};
167
- ds.top=(ck-5)+'px';
168
- slideHSV.H=mkHSV(360,163,ck);
169
- for(var i in r) {
170
- i=r[i];
171
- z[i]=(i=='H')?maxValue[i]-mkHSV(maxValue[i],163,ck):HSV[i];
172
- }
173
- HSVupdate(z);
174
- $S('SV').backgroundColor='#'+color.HSV_HEX({H:HSV.H, S:100, V:100});
175
- }
176
- }}
177
- if(stop) {
178
- stop='';
179
- var ds=$S(d!='drag'?d:o);
180
- var ab=abPos($woof(o)), tX, tY, oo=(d=='Hslide')?2:4;
181
- ab.X+=10; ab.Y+=22;
182
- if(d=='SVslide') slideHSV.H=HSV.H;
183
- document.onmousemove=drag;
184
- document.onmouseup=function(){
185
- stop=1;
186
- document.onmousemove='';
187
- document.onmouseup='';
188
- };
189
- drag(e);
190
- }
191
- }
192
- function HSVupdate(v) {
193
- v=color.HSV_HEX(HSV=v?v:slideHSV);
194
- $woof('plugHEX').innerHTML='#'+v;
195
- $S('plugCUR').background='#'+v;
196
- curcol=v;
197
- return(v);
198
- }
199
- function loadSV() {
200
- var z='';
201
- for(var i=165; i>=0; i--) {
202
- z+="<div style=\"BACKGROUND: #"+color.HSV_HEX({H:Math.round((360/165)*i), S:100, V:100})+";\"><br /><\/div>";
203
- }
204
- }
205
-
206
- /* Colour library */
207
- color={};
208
- color.cords=function(W) {
209
- var W2=W/2, rad=(hsv.H/360)*(Math.PI*2), hyp=(hsv.S+(100-hsv.V))/100*(W2/2);
210
- $S('mCur').left=Math.round(Math.abs(Math.round(Math.sin(rad)*hyp)+W2+3))+'px';
211
- $S('mCur').top=Math.round(Math.abs(Math.round(Math.cos(rad)*hyp)-W2-21))+'px';
212
- };
213
- color.HEX=function(o) { o=Math.round(Math.min(Math.max(0,o),255));
214
- return("0123456789ABCDEF".charAt((o-o%16)/16)+"0123456789ABCDEF".charAt(o%16));
215
- };
216
- color.RGB_HEX=function(o) { var fu=color.HEX; return(fu(o.R)+fu(o.G)+fu(o.B)); };
217
- color.HSV_RGB=function(o) {
218
-
219
- var R, G, A, B, C, S=o.S/100, V=o.V/100, H=o.H/360;
220
- if(S>0) { if(H>=1) H=0;
221
- H=6*H; F=H-Math.floor(H);
222
- A=Math.round(255*V*(1-S));
223
- B=Math.round(255*V*(1-(S*F)));
224
- C=Math.round(255*V*(1-(S*(1-F))));
225
- V=Math.round(255*V);
226
-
227
- switch(Math.floor(H)) {
228
- case 0: R=V; G=C; B=A; break;
229
- case 1: R=B; G=V; B=A; break;
230
- case 2: R=A; G=V; B=C; break;
231
- case 3: R=A; G=B; B=V; break;
232
- case 4: R=C; G=A; B=V; break;
233
- case 5: R=V; G=A; B=B; break;
234
- }
235
- return({'R':R?R:0, 'G':G?G:0, 'B':B?B:0, 'A':1});
236
- }
237
- else return({'R':(V=Math.round(V*255)), 'G':V, 'B':V, 'A':1});
238
- };
239
- color.HSV_HEX=function(o) { return(color.RGB_HEX(color.HSV_RGB(o))); };
240
-
241
- /* Startup */
242
- jQuery("#tog_0-list").css( "display" , "none" );
243
- jQuery("#tog_1-list").css( "display" , "none" );
244
- jQuery("#fox_library-list").css( "display" , "none" );
245
- jQuery("#fox_folder-list").css( "display" , "none" );
246
- jQuery("#fox_op1-list").css( "display" , "none" );
247
- jQuery("#fox_op5-list").css( "display" , "none" );
248
- jQuery("#fox_op2-list").css( "display" , "none" );
249
- jQuery("#fox_op3-list").css( "display" , "none" );
250
- jQuery("#fox_op4-list").css( "display" , "none" );
251
-
252
- $S('plugin').display='block';
253
- loadSV();
254
- initpicker(initcolour);
1
+ /* MP3-jPlayer 1.8 - admin js */
2
+
3
+ var MP3J_ADMIN = {
4
+ toggle_states: [
5
+ { tog_0: false },
6
+ { tog_1: false },
7
+ { fox_library: false },
8
+ { fox_folder: false },
9
+ { fox_op1: false },
10
+ { fox_op5: false },
11
+ { fox_op2: false },
12
+ { fox_op3: false },
13
+ { fox_op4: false },
14
+ { tog_9: false }
15
+ ],
16
+ toggleit: function ( id, label ) {
17
+ if (this.toggle_states[id]) {
18
+ jQuery("#" + id + "-list").fadeOut(100);
19
+ jQuery("#" + id + "-toggle").empty().append(label).blur();
20
+ this.toggle_states[id] = false;
21
+ } else {
22
+ jQuery("#" + id + "-list").fadeIn(200);
23
+ jQuery("#" + id + "-toggle").empty().append('Hide '+label).blur();
24
+ this.toggle_states[id] = true;
25
+ }
26
+ },
27
+ showhideit: function ( id, label ) {
28
+ if (this.toggle_states[id]) {
29
+ jQuery("#" + id + "-list").fadeOut(100);
30
+ jQuery("#" + id + "-toggle").empty().append('Show '+label).blur();
31
+ this.toggle_states[id] = false;
32
+ } else {
33
+ jQuery("#" + id + "-list").fadeIn(200);
34
+ jQuery("#" + id + "-toggle").empty().append('Hide '+label).blur();
35
+ this.toggle_states[id] = true;
36
+ }
37
+ }
38
+ }
39
+
40
+
41
+ /* Form select event on player style dropdown */
42
+ var player_select=document.getElementById("player-select");
43
+ player_select.onchange=function(){
44
+ var chosen=this.options[this.selectedIndex];
45
+ if (chosen.value=="styleF" || chosen.value=="styleG" || chosen.value=="styleH"){
46
+ $S('mp3fcss').color="#d6d6d6";
47
+ $S('mp3fcss').backgroundColor="#fcfcfc";
48
+ $S('mp3fcss').borderColor="#f0f0f0";
49
+ $S('player-csssheet').color="#d6d6d6";
50
+ }
51
+ if (chosen.value=="styleI"){
52
+ $S('mp3fcss').color="#000";
53
+ $S('mp3fcss').backgroundColor="#fff";
54
+ $S('mp3fcss').borderColor="#dfdfdf";
55
+ $S('player-csssheet').color="#444";
56
+ }
57
+ };
58
+
59
+
60
+ /* Admin/Picker interaction */
61
+ var curcol="";
62
+ var initcolour = "#6d9dde";
63
+ var red = 0; // between 0 and 1
64
+ var green = 0;
65
+ var blue = 0;
66
+ var hue = 0; // between 0 and 360
67
+ var saturation = 0; // between 0 and 1
68
+ var value = 0;
69
+
70
+ function putfcolour(fID,blID) {
71
+ $woof(fID).value='#'+curcol;
72
+ $S(blID).background='#'+curcol;
73
+ }
74
+ function udfcol(fID, blID) {
75
+ $S(blID).background=$woof(fID).value;
76
+ }
77
+ function sendfcolour(fID) {
78
+ hval=$woof(fID).value;
79
+ initpicker(hval);
80
+ }
81
+ function initpicker(hval){
82
+ HextoRGB(hval);
83
+ RGBtoHSV();
84
+ sendHSV={H:hue, S:saturation*100, V:value*100};
85
+ HSVupdate(sendHSV);
86
+ $S('SVslide').left = Math.round(saturation*100*1.62)-1 + "px";
87
+ $S('SVslide').top = 161-Math.round((value*100*1.62)) + "px";
88
+ $S('Hslide').top = 159-Math.round((165/360)*hue) + "px";
89
+ $S('SV').backgroundColor='#'+color.HSV_HEX({H:hue, S:100, V:100});
90
+ }
91
+ function HextoRGB(hexString) {
92
+ if(hexString === null || typeof(hexString) != "string") {
93
+ SetRGB(0,0,0);
94
+ return;
95
+ }
96
+ if (hexString.substr(0, 1) == '#')
97
+ hexString = hexString.substr(1);
98
+ if(hexString.length != 6) {
99
+ SetRGB(0,0,0);
100
+ return;
101
+ }
102
+ var r = parseInt(hexString.substr(0, 2), 16);
103
+ var g = parseInt(hexString.substr(2, 2), 16);
104
+ var b = parseInt(hexString.substr(4, 2), 16);
105
+ if (isNaN(r) || isNaN(g) || isNaN(b)) {
106
+ SetRGB(0,0,0);
107
+ return;
108
+ }
109
+ SetRGB(r,g,b);
110
+ }
111
+ function SetRGB(r, g, b){
112
+ red = r/255.0;
113
+ green = g/255.0;
114
+ blue = b/255.0;
115
+ }
116
+ function RGBtoHSV(){
117
+ var max = Math.max(Math.max(red, green), blue);
118
+ var min = Math.min(Math.min(red, green), blue);
119
+ value = max;
120
+ saturation = 0;
121
+ if(max !== 0)
122
+ saturation = 1 - min/max;
123
+ hue = 0;
124
+ if(min == max)
125
+ return;
126
+
127
+ var delta = (max - min);
128
+ if (red == max)
129
+ hue = (green - blue) / delta;
130
+ else if (green == max)
131
+ hue = 2 + ((blue - red) / delta);
132
+ else
133
+ hue = 4 + ((red - green) / delta);
134
+ hue = hue * 60;
135
+ if(hue < 0)
136
+ hue += 360;
137
+ }
138
+
139
+ /* Colour picker (modified DHTML Color Square by ColorJack) */
140
+ function $woof(v,o) { return((typeof(o)=='object'?o:document).getElementById(v)); }
141
+ function $S(o) { o=$woof(o); if(o) return(o.style); }
142
+ 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); }
143
+ function agent(v) { return(Math.max(navigator.userAgent.toLowerCase().indexOf(v),0)); }
144
+ function toggle(v) { $S(v).display=($S(v).display=='none'?'block':'none'); }
145
+ function within(v,a,z) { return((v>=a && v<=z)?true:false); }
146
+ 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); }
147
+ function zero(v) { v=parseInt(v); return(!isNaN(v)?v:0); }
148
+
149
+ var maxValue={'H':360,'S':100,'V':100}, HSV={H:360, S:100, V:100};
150
+ var slideHSV={H:360, S:100, V:100}, zINDEX=15, stop=1;
151
+ function HSVslide(d,o,e) {
152
+ function tXY(e) { tY=XY(e).Y-ab.Y; tX=XY(e).X-ab.X; }
153
+ function mkHSV(a,b,c) { return(Math.min(a,Math.max(0,Math.ceil((parseInt(c)/b)*a)))); }
154
+ function ckHSV(a,b) { if(within(a,0,b)) return(a); else if(a>b) return(b); else if(a<0) return('-'+oo); }
155
+ function drag(e) {
156
+ if(!stop) {
157
+ if(d!='drag') tXY(e);
158
+ if(d=='SVslide') {
159
+ ds.left=ckHSV(tX-oo,162)+'px';
160
+ ds.top=ckHSV(tY-oo,162)+'px';
161
+ slideHSV.S=mkHSV(100,162,ds.left);
162
+ slideHSV.V=100-mkHSV(100,162,ds.top);
163
+ HSVupdate();
164
+ }
165
+ else if(d=='Hslide') {
166
+ var ck=ckHSV(tY-oo,163), r=['H','S','V'], z={};
167
+ ds.top=(ck-5)+'px';
168
+ slideHSV.H=mkHSV(360,163,ck);
169
+ for(var i in r) {
170
+ i=r[i];
171
+ z[i]=(i=='H')?maxValue[i]-mkHSV(maxValue[i],163,ck):HSV[i];
172
+ }
173
+ HSVupdate(z);
174
+ $S('SV').backgroundColor='#'+color.HSV_HEX({H:HSV.H, S:100, V:100});
175
+ }
176
+ }}
177
+ if(stop) {
178
+ stop='';
179
+ var ds=$S(d!='drag'?d:o);
180
+ var ab=abPos($woof(o)), tX, tY, oo=(d=='Hslide')?2:4;
181
+ ab.X+=10; ab.Y+=22;
182
+ if(d=='SVslide') slideHSV.H=HSV.H;
183
+ document.onmousemove=drag;
184
+ document.onmouseup=function(){
185
+ stop=1;
186
+ document.onmousemove='';
187
+ document.onmouseup='';
188
+ };
189
+ drag(e);
190
+ }
191
+ }
192
+ function HSVupdate(v) {
193
+ v=color.HSV_HEX(HSV=v?v:slideHSV);
194
+ $woof('plugHEX').innerHTML='#'+v;
195
+ $S('plugCUR').background='#'+v;
196
+ curcol=v;
197
+ return(v);
198
+ }
199
+ function loadSV() {
200
+ var z='';
201
+ for(var i=165; i>=0; i--) {
202
+ z+="<div style=\"BACKGROUND: #"+color.HSV_HEX({H:Math.round((360/165)*i), S:100, V:100})+";\"><br /><\/div>";
203
+ }
204
+ }
205
+
206
+ /* Colour library */
207
+ color={};
208
+ color.cords=function(W) {
209
+ var W2=W/2, rad=(hsv.H/360)*(Math.PI*2), hyp=(hsv.S+(100-hsv.V))/100*(W2/2);
210
+ $S('mCur').left=Math.round(Math.abs(Math.round(Math.sin(rad)*hyp)+W2+3))+'px';
211
+ $S('mCur').top=Math.round(Math.abs(Math.round(Math.cos(rad)*hyp)-W2-21))+'px';
212
+ };
213
+ color.HEX=function(o) { o=Math.round(Math.min(Math.max(0,o),255));
214
+ return("0123456789ABCDEF".charAt((o-o%16)/16)+"0123456789ABCDEF".charAt(o%16));
215
+ };
216
+ color.RGB_HEX=function(o) { var fu=color.HEX; return(fu(o.R)+fu(o.G)+fu(o.B)); };
217
+ color.HSV_RGB=function(o) {
218
+
219
+ var R, G, A, B, C, S=o.S/100, V=o.V/100, H=o.H/360;
220
+ if(S>0) { if(H>=1) H=0;
221
+ H=6*H; F=H-Math.floor(H);
222
+ A=Math.round(255*V*(1-S));
223
+ B=Math.round(255*V*(1-(S*F)));
224
+ C=Math.round(255*V*(1-(S*(1-F))));
225
+ V=Math.round(255*V);
226
+
227
+ switch(Math.floor(H)) {
228
+ case 0: R=V; G=C; B=A; break;
229
+ case 1: R=B; G=V; B=A; break;
230
+ case 2: R=A; G=V; B=C; break;
231
+ case 3: R=A; G=B; B=V; break;
232
+ case 4: R=C; G=A; B=V; break;
233
+ case 5: R=V; G=A; B=B; break;
234
+ }
235
+ return({'R':R?R:0, 'G':G?G:0, 'B':B?B:0, 'A':1});
236
+ }
237
+ else return({'R':(V=Math.round(V*255)), 'G':V, 'B':V, 'A':1});
238
+ };
239
+ color.HSV_HEX=function(o) { return(color.RGB_HEX(color.HSV_RGB(o))); };
240
+
241
+ /* Startup */
242
+ jQuery("#tog_0-list").css( "display" , "none" );
243
+ jQuery("#tog_1-list").css( "display" , "none" );
244
+ jQuery("#fox_library-list").css( "display" , "none" );
245
+ jQuery("#fox_folder-list").css( "display" , "none" );
246
+ jQuery("#fox_op1-list").css( "display" , "none" );
247
+ jQuery("#fox_op5-list").css( "display" , "none" );
248
+ jQuery("#fox_op2-list").css( "display" , "none" );
249
+ jQuery("#fox_op3-list").css( "display" , "none" );
250
+ jQuery("#fox_op4-list").css( "display" , "none" );
251
+
252
+ $S('plugin').display='block';
253
+ loadSV();
254
+ initpicker(initcolour);
js/ui.core.js CHANGED
@@ -1,17 +1,17 @@
1
- /*!
2
- * jQuery UI 1.8.10
3
- *
4
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5
- * Dual licensed under the MIT or GPL Version 2 licenses.
6
- * http://jquery.org/license
7
- *
8
- * http://docs.jquery.com/UI
9
- */
10
- (function(c,j){function k(a){return!c(a).parents().andSelf().filter(function(){return c.curCSS(this,"visibility")==="hidden"||c.expr.filters.hidden(this)}).length}c.ui=c.ui||{};if(!c.ui.version){c.extend(c.ui,{version:"1.8.10",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,
11
- NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});c.fn.extend({_focus:c.fn.focus,focus:function(a,b){return typeof a==="number"?this.each(function(){var d=this;setTimeout(function(){c(d).focus();b&&b.call(d)},a)}):this._focus.apply(this,arguments)},scrollParent:function(){var a;a=c.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(c.curCSS(this,
12
- "position",1))&&/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!a.length?c(document):a},zIndex:function(a){if(a!==j)return this.css("zIndex",a);if(this.length){a=c(this[0]);for(var b;a.length&&a[0]!==document;){b=a.css("position");
13
- if(b==="absolute"||b==="relative"||b==="fixed"){b=parseInt(a.css("zIndex"),10);if(!isNaN(b)&&b!==0)return b}a=a.parent()}}return 0},disableSelection:function(){return this.bind((c.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});c.each(["Width","Height"],function(a,b){function d(f,g,l,m){c.each(e,function(){g-=parseFloat(c.curCSS(f,"padding"+this,true))||0;if(l)g-=parseFloat(c.curCSS(f,
14
- "border"+this+"Width",true))||0;if(m)g-=parseFloat(c.curCSS(f,"margin"+this,true))||0});return g}var e=b==="Width"?["Left","Right"]:["Top","Bottom"],h=b.toLowerCase(),i={innerWidth:c.fn.innerWidth,innerHeight:c.fn.innerHeight,outerWidth:c.fn.outerWidth,outerHeight:c.fn.outerHeight};c.fn["inner"+b]=function(f){if(f===j)return i["inner"+b].call(this);return this.each(function(){c(this).css(h,d(this,f)+"px")})};c.fn["outer"+b]=function(f,g){if(typeof f!=="number")return i["outer"+b].call(this,f);return this.each(function(){c(this).css(h,
15
- d(this,f,true,g)+"px")})}});c.extend(c.expr[":"],{data:function(a,b,d){return!!c.data(a,d[3])},focusable:function(a){var b=a.nodeName.toLowerCase(),d=c.attr(a,"tabindex");if("area"===b){b=a.parentNode;d=b.name;if(!a.href||!d||b.nodeName.toLowerCase()!=="map")return false;a=c("img[usemap=#"+d+"]")[0];return!!a&&k(a)}return(/input|select|textarea|button|object/.test(b)?!a.disabled:"a"==b?a.href||!isNaN(d):!isNaN(d))&&k(a)},tabbable:function(a){var b=c.attr(a,"tabindex");return(isNaN(b)||b>=0)&&c(a).is(":focusable")}});
16
- c(function(){var a=document.body,b=a.appendChild(b=document.createElement("div"));c.extend(b.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});c.support.minHeight=b.offsetHeight===100;c.support.selectstart="onselectstart"in b;a.removeChild(b).style.display="none"});c.extend(c.ui,{plugin:{add:function(a,b,d){a=c.ui[a].prototype;for(var e in d){a.plugins[e]=a.plugins[e]||[];a.plugins[e].push([b,d[e]])}},call:function(a,b,d){if((b=a.plugins[b])&&a.element[0].parentNode)for(var e=0;e<b.length;e++)a.options[b[e][0]]&&
17
- b[e][1].apply(a.element,d)}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(a,b){if(c(a).css("overflow")==="hidden")return false;b=b&&b==="left"?"scrollLeft":"scrollTop";var d=false;if(a[b]>0)return true;a[b]=1;d=a[b]>0;a[b]=0;return d},isOverAxis:function(a,b,d){return a>b&&a<b+d},isOver:function(a,b,d,e,h,i){return c.ui.isOverAxis(a,d,h)&&c.ui.isOverAxis(b,e,i)}})}})(jQuery);
1
+ /*!
2
+ * jQuery UI 1.8.10
3
+ *
4
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI
9
+ */
10
+ (function(c,j){function k(a){return!c(a).parents().andSelf().filter(function(){return c.curCSS(this,"visibility")==="hidden"||c.expr.filters.hidden(this)}).length}c.ui=c.ui||{};if(!c.ui.version){c.extend(c.ui,{version:"1.8.10",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,
11
+ NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});c.fn.extend({_focus:c.fn.focus,focus:function(a,b){return typeof a==="number"?this.each(function(){var d=this;setTimeout(function(){c(d).focus();b&&b.call(d)},a)}):this._focus.apply(this,arguments)},scrollParent:function(){var a;a=c.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(c.curCSS(this,
12
+ "position",1))&&/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!a.length?c(document):a},zIndex:function(a){if(a!==j)return this.css("zIndex",a);if(this.length){a=c(this[0]);for(var b;a.length&&a[0]!==document;){b=a.css("position");
13
+ if(b==="absolute"||b==="relative"||b==="fixed"){b=parseInt(a.css("zIndex"),10);if(!isNaN(b)&&b!==0)return b}a=a.parent()}}return 0},disableSelection:function(){return this.bind((c.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});c.each(["Width","Height"],function(a,b){function d(f,g,l,m){c.each(e,function(){g-=parseFloat(c.curCSS(f,"padding"+this,true))||0;if(l)g-=parseFloat(c.curCSS(f,
14
+ "border"+this+"Width",true))||0;if(m)g-=parseFloat(c.curCSS(f,"margin"+this,true))||0});return g}var e=b==="Width"?["Left","Right"]:["Top","Bottom"],h=b.toLowerCase(),i={innerWidth:c.fn.innerWidth,innerHeight:c.fn.innerHeight,outerWidth:c.fn.outerWidth,outerHeight:c.fn.outerHeight};c.fn["inner"+b]=function(f){if(f===j)return i["inner"+b].call(this);return this.each(function(){c(this).css(h,d(this,f)+"px")})};c.fn["outer"+b]=function(f,g){if(typeof f!=="number")return i["outer"+b].call(this,f);return this.each(function(){c(this).css(h,
15
+ d(this,f,true,g)+"px")})}});c.extend(c.expr[":"],{data:function(a,b,d){return!!c.data(a,d[3])},focusable:function(a){var b=a.nodeName.toLowerCase(),d=c.attr(a,"tabindex");if("area"===b){b=a.parentNode;d=b.name;if(!a.href||!d||b.nodeName.toLowerCase()!=="map")return false;a=c("img[usemap=#"+d+"]")[0];return!!a&&k(a)}return(/input|select|textarea|button|object/.test(b)?!a.disabled:"a"==b?a.href||!isNaN(d):!isNaN(d))&&k(a)},tabbable:function(a){var b=c.attr(a,"tabindex");return(isNaN(b)||b>=0)&&c(a).is(":focusable")}});
16
+ c(function(){var a=document.body,b=a.appendChild(b=document.createElement("div"));c.extend(b.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});c.support.minHeight=b.offsetHeight===100;c.support.selectstart="onselectstart"in b;a.removeChild(b).style.display="none"});c.extend(c.ui,{plugin:{add:function(a,b,d){a=c.ui[a].prototype;for(var e in d){a.plugins[e]=a.plugins[e]||[];a.plugins[e].push([b,d[e]])}},call:function(a,b,d){if((b=a.plugins[b])&&a.element[0].parentNode)for(var e=0;e<b.length;e++)a.options[b[e][0]]&&
17
+ b[e][1].apply(a.element,d)}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(a,b){if(c(a).css("overflow")==="hidden")return false;b=b&&b==="left"?"scrollLeft":"scrollTop";var d=false;if(a[b]>0)return true;a[b]=1;d=a[b]>0;a[b]=0;return d},isOverAxis:function(a,b,d){return a>b&&a<b+d},isOver:function(a,b,d,e,h,i){return c.ui.isOverAxis(a,d,h)&&c.ui.isOverAxis(b,e,i)}})}})(jQuery);
js/ui.mouse.js CHANGED
@@ -1,17 +1,17 @@
1
- /*!
2
- * jQuery UI Mouse 1.8.10
3
- *
4
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5
- * Dual licensed under the MIT or GPL Version 2 licenses.
6
- * http://jquery.org/license
7
- *
8
- * http://docs.jquery.com/UI/Mouse
9
- *
10
- * Depends:
11
- * jquery.ui.widget.js
12
- */
13
- (function(c){c.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var a=this;this.element.bind("mousedown."+this.widgetName,function(b){return a._mouseDown(b)}).bind("click."+this.widgetName,function(b){if(true===c.data(b.target,a.widgetName+".preventClickEvent")){c.removeData(b.target,a.widgetName+".preventClickEvent");b.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(a){a.originalEvent=
14
- a.originalEvent||{};if(!a.originalEvent.mouseHandled){this._mouseStarted&&this._mouseUp(a);this._mouseDownEvent=a;var b=this,e=a.which==1,f=typeof this.options.cancel=="string"?c(a.target).parents().add(a.target).filter(this.options.cancel).length:false;if(!e||f||!this._mouseCapture(a))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){b.mouseDelayMet=true},this.options.delay);if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a)){this._mouseStarted=
15
- this._mouseStart(a)!==false;if(!this._mouseStarted){a.preventDefault();return true}}this._mouseMoveDelegate=function(d){return b._mouseMove(d)};this._mouseUpDelegate=function(d){return b._mouseUp(d)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);a.preventDefault();return a.originalEvent.mouseHandled=true}},_mouseMove:function(a){if(c.browser.msie&&!(document.documentMode>=9)&&!a.button)return this._mouseUp(a);if(this._mouseStarted){this._mouseDrag(a);
16
- return a.preventDefault()}if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,a)!==false)?this._mouseDrag(a):this._mouseUp(a);return!this._mouseStarted},_mouseUp:function(a){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;a.target==this._mouseDownEvent.target&&c.data(a.target,this.widgetName+".preventClickEvent",
17
- true);this._mouseStop(a)}return false},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery);
1
+ /*!
2
+ * jQuery UI Mouse 1.8.10
3
+ *
4
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI/Mouse
9
+ *
10
+ * Depends:
11
+ * jquery.ui.widget.js
12
+ */
13
+ (function(c){c.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var a=this;this.element.bind("mousedown."+this.widgetName,function(b){return a._mouseDown(b)}).bind("click."+this.widgetName,function(b){if(true===c.data(b.target,a.widgetName+".preventClickEvent")){c.removeData(b.target,a.widgetName+".preventClickEvent");b.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(a){a.originalEvent=
14
+ a.originalEvent||{};if(!a.originalEvent.mouseHandled){this._mouseStarted&&this._mouseUp(a);this._mouseDownEvent=a;var b=this,e=a.which==1,f=typeof this.options.cancel=="string"?c(a.target).parents().add(a.target).filter(this.options.cancel).length:false;if(!e||f||!this._mouseCapture(a))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){b.mouseDelayMet=true},this.options.delay);if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a)){this._mouseStarted=
15
+ this._mouseStart(a)!==false;if(!this._mouseStarted){a.preventDefault();return true}}this._mouseMoveDelegate=function(d){return b._mouseMove(d)};this._mouseUpDelegate=function(d){return b._mouseUp(d)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);a.preventDefault();return a.originalEvent.mouseHandled=true}},_mouseMove:function(a){if(c.browser.msie&&!(document.documentMode>=9)&&!a.button)return this._mouseUp(a);if(this._mouseStarted){this._mouseDrag(a);
16
+ return a.preventDefault()}if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,a)!==false)?this._mouseDrag(a):this._mouseUp(a);return!this._mouseStarted},_mouseUp:function(a){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;a.target==this._mouseDownEvent.target&&c.data(a.target,this.widgetName+".preventClickEvent",
17
+ true);this._mouseStop(a)}return false},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery);
js/ui.slider.js CHANGED
@@ -1,33 +1,33 @@
1
- /*
2
- * jQuery UI Slider 1.8.10
3
- *
4
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5
- * Dual licensed under the MIT or GPL Version 2 licenses.
6
- * http://jquery.org/license
7
- *
8
- * http://docs.jquery.com/UI/Slider
9
- *
10
- * Depends:
11
- * jquery.ui.core.js
12
- * jquery.ui.mouse.js
13
- * jquery.ui.widget.js
14
- */
15
- (function(d){d.widget("ui.slider",d.ui.mouse,{widgetEventPrefix:"slide",options:{animate:false,distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null},_create:function(){var b=this,a=this.options;this._mouseSliding=this._keySliding=false;this._animateOff=true;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all");a.disabled&&this.element.addClass("ui-slider-disabled ui-disabled");
16
- this.range=d([]);if(a.range){if(a.range===true){this.range=d("<div></div>");if(!a.values)a.values=[this._valueMin(),this._valueMin()];if(a.values.length&&a.values.length!==2)a.values=[a.values[0],a.values[0]]}else this.range=d("<div></div>");this.range.appendTo(this.element).addClass("ui-slider-range");if(a.range==="min"||a.range==="max")this.range.addClass("ui-slider-range-"+a.range);this.range.addClass("ui-widget-header")}d(".ui-slider-handle",this.element).length===0&&d("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle");
17
- if(a.values&&a.values.length)for(;d(".ui-slider-handle",this.element).length<a.values.length;)d("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle");this.handles=d(".ui-slider-handle",this.element).addClass("ui-state-default ui-corner-all");this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(c){c.preventDefault()}).hover(function(){a.disabled||d(this).addClass("ui-state-hover")},function(){d(this).removeClass("ui-state-hover")}).focus(function(){if(a.disabled)d(this).blur();
18
- else{d(".ui-slider .ui-state-focus").removeClass("ui-state-focus");d(this).addClass("ui-state-focus")}}).blur(function(){d(this).removeClass("ui-state-focus")});this.handles.each(function(c){d(this).data("index.ui-slider-handle",c)});this.handles.keydown(function(c){var e=true,f=d(this).data("index.ui-slider-handle"),h,g,i;if(!b.options.disabled){switch(c.keyCode){case d.ui.keyCode.HOME:case d.ui.keyCode.END:case d.ui.keyCode.PAGE_UP:case d.ui.keyCode.PAGE_DOWN:case d.ui.keyCode.UP:case d.ui.keyCode.RIGHT:case d.ui.keyCode.DOWN:case d.ui.keyCode.LEFT:e=
19
- false;if(!b._keySliding){b._keySliding=true;d(this).addClass("ui-state-active");h=b._start(c,f);if(h===false)return}break}i=b.options.step;h=b.options.values&&b.options.values.length?(g=b.values(f)):(g=b.value());switch(c.keyCode){case d.ui.keyCode.HOME:g=b._valueMin();break;case d.ui.keyCode.END:g=b._valueMax();break;case d.ui.keyCode.PAGE_UP:g=b._trimAlignValue(h+(b._valueMax()-b._valueMin())/5);break;case d.ui.keyCode.PAGE_DOWN:g=b._trimAlignValue(h-(b._valueMax()-b._valueMin())/5);break;case d.ui.keyCode.UP:case d.ui.keyCode.RIGHT:if(h===
20
- b._valueMax())return;g=b._trimAlignValue(h+i);break;case d.ui.keyCode.DOWN:case d.ui.keyCode.LEFT:if(h===b._valueMin())return;g=b._trimAlignValue(h-i);break}b._slide(c,f,g);return e}}).keyup(function(c){var e=d(this).data("index.ui-slider-handle");if(b._keySliding){b._keySliding=false;b._stop(c,e);b._change(c,e);d(this).removeClass("ui-state-active")}});this._refreshValue();this._animateOff=false},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");
21
- this._mouseDestroy();return this},_mouseCapture:function(b){var a=this.options,c,e,f,h,g;if(a.disabled)return false;this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();c=this._normValueFromMouse({x:b.pageX,y:b.pageY});e=this._valueMax()-this._valueMin()+1;h=this;this.handles.each(function(i){var j=Math.abs(c-h.values(i));if(e>j){e=j;f=d(this);g=i}});if(a.range===true&&this.values(1)===a.min){g+=1;f=d(this.handles[g])}if(this._start(b,
22
- g)===false)return false;this._mouseSliding=true;h._handleIndex=g;f.addClass("ui-state-active").focus();a=f.offset();this._clickOffset=!d(b.target).parents().andSelf().is(".ui-slider-handle")?{left:0,top:0}:{left:b.pageX-a.left-f.width()/2,top:b.pageY-a.top-f.height()/2-(parseInt(f.css("borderTopWidth"),10)||0)-(parseInt(f.css("borderBottomWidth"),10)||0)+(parseInt(f.css("marginTop"),10)||0)};this.handles.hasClass("ui-state-hover")||this._slide(b,g,c);return this._animateOff=true},_mouseStart:function(){return true},
23
- _mouseDrag:function(b){var a=this._normValueFromMouse({x:b.pageX,y:b.pageY});this._slide(b,this._handleIndex,a);return false},_mouseStop:function(b){this.handles.removeClass("ui-state-active");this._mouseSliding=false;this._stop(b,this._handleIndex);this._change(b,this._handleIndex);this._clickOffset=this._handleIndex=null;return this._animateOff=false},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(b){var a;
24
- if(this.orientation==="horizontal"){a=this.elementSize.width;b=b.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{a=this.elementSize.height;b=b.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}a=b/a;if(a>1)a=1;if(a<0)a=0;if(this.orientation==="vertical")a=1-a;b=this._valueMax()-this._valueMin();return this._trimAlignValue(this._valueMin()+a*b)},_start:function(b,a){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value=
25
- this.values(a);c.values=this.values()}return this._trigger("start",b,c)},_slide:function(b,a,c){var e;if(this.options.values&&this.options.values.length){e=this.values(a?0:1);if(this.options.values.length===2&&this.options.range===true&&(a===0&&c>e||a===1&&c<e))c=e;if(c!==this.values(a)){e=this.values();e[a]=c;b=this._trigger("slide",b,{handle:this.handles[a],value:c,values:e});this.values(a?0:1);b!==false&&this.values(a,c,true)}}else if(c!==this.value()){b=this._trigger("slide",b,{handle:this.handles[a],
26
- value:c});b!==false&&this.value(c)}},_stop:function(b,a){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value=this.values(a);c.values=this.values()}this._trigger("stop",b,c)},_change:function(b,a){if(!this._keySliding&&!this._mouseSliding){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value=this.values(a);c.values=this.values()}this._trigger("change",b,c)}},value:function(b){if(arguments.length){this.options.value=
27
- this._trimAlignValue(b);this._refreshValue();this._change(null,0)}return this._value()},values:function(b,a){var c,e,f;if(arguments.length>1){this.options.values[b]=this._trimAlignValue(a);this._refreshValue();this._change(null,b)}if(arguments.length)if(d.isArray(arguments[0])){c=this.options.values;e=arguments[0];for(f=0;f<c.length;f+=1){c[f]=this._trimAlignValue(e[f]);this._change(null,f)}this._refreshValue()}else return this.options.values&&this.options.values.length?this._values(b):this.value();
28
- else return this._values()},_setOption:function(b,a){var c,e=0;if(d.isArray(this.options.values))e=this.options.values.length;d.Widget.prototype._setOption.apply(this,arguments);switch(b){case "disabled":if(a){this.handles.filter(".ui-state-focus").blur();this.handles.removeClass("ui-state-hover");this.handles.attr("disabled","disabled");this.element.addClass("ui-disabled")}else{this.handles.removeAttr("disabled");this.element.removeClass("ui-disabled")}break;case "orientation":this._detectOrientation();
29
- this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation);this._refreshValue();break;case "value":this._animateOff=true;this._refreshValue();this._change(null,0);this._animateOff=false;break;case "values":this._animateOff=true;this._refreshValue();for(c=0;c<e;c+=1)this._change(null,c);this._animateOff=false;break}},_value:function(){var b=this.options.value;return b=this._trimAlignValue(b)},_values:function(b){var a,c;if(arguments.length){a=this.options.values[b];
30
- return a=this._trimAlignValue(a)}else{a=this.options.values.slice();for(c=0;c<a.length;c+=1)a[c]=this._trimAlignValue(a[c]);return a}},_trimAlignValue:function(b){if(b<=this._valueMin())return this._valueMin();if(b>=this._valueMax())return this._valueMax();var a=this.options.step>0?this.options.step:1,c=(b-this._valueMin())%a;alignValue=b-c;if(Math.abs(c)*2>=a)alignValue+=c>0?a:-a;return parseFloat(alignValue.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},
31
- _refreshValue:function(){var b=this.options.range,a=this.options,c=this,e=!this._animateOff?a.animate:false,f,h={},g,i,j,l;if(this.options.values&&this.options.values.length)this.handles.each(function(k){f=(c.values(k)-c._valueMin())/(c._valueMax()-c._valueMin())*100;h[c.orientation==="horizontal"?"left":"bottom"]=f+"%";d(this).stop(1,1)[e?"animate":"css"](h,a.animate);if(c.options.range===true)if(c.orientation==="horizontal"){if(k===0)c.range.stop(1,1)[e?"animate":"css"]({left:f+"%"},a.animate);
32
- if(k===1)c.range[e?"animate":"css"]({width:f-g+"%"},{queue:false,duration:a.animate})}else{if(k===0)c.range.stop(1,1)[e?"animate":"css"]({bottom:f+"%"},a.animate);if(k===1)c.range[e?"animate":"css"]({height:f-g+"%"},{queue:false,duration:a.animate})}g=f});else{i=this.value();j=this._valueMin();l=this._valueMax();f=l!==j?(i-j)/(l-j)*100:0;h[c.orientation==="horizontal"?"left":"bottom"]=f+"%";this.handle.stop(1,1)[e?"animate":"css"](h,a.animate);if(b==="min"&&this.orientation==="horizontal")this.range.stop(1,
33
- 1)[e?"animate":"css"]({width:f+"%"},a.animate);if(b==="max"&&this.orientation==="horizontal")this.range[e?"animate":"css"]({width:100-f+"%"},{queue:false,duration:a.animate});if(b==="min"&&this.orientation==="vertical")this.range.stop(1,1)[e?"animate":"css"]({height:f+"%"},a.animate);if(b==="max"&&this.orientation==="vertical")this.range[e?"animate":"css"]({height:100-f+"%"},{queue:false,duration:a.animate})}}});d.extend(d.ui.slider,{version:"1.8.10"})})(jQuery);
1
+ /*
2
+ * jQuery UI Slider 1.8.10
3
+ *
4
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI/Slider
9
+ *
10
+ * Depends:
11
+ * jquery.ui.core.js
12
+ * jquery.ui.mouse.js
13
+ * jquery.ui.widget.js
14
+ */
15
+ (function(d){d.widget("ui.slider",d.ui.mouse,{widgetEventPrefix:"slide",options:{animate:false,distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null},_create:function(){var b=this,a=this.options;this._mouseSliding=this._keySliding=false;this._animateOff=true;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all");a.disabled&&this.element.addClass("ui-slider-disabled ui-disabled");
16
+ this.range=d([]);if(a.range){if(a.range===true){this.range=d("<div></div>");if(!a.values)a.values=[this._valueMin(),this._valueMin()];if(a.values.length&&a.values.length!==2)a.values=[a.values[0],a.values[0]]}else this.range=d("<div></div>");this.range.appendTo(this.element).addClass("ui-slider-range");if(a.range==="min"||a.range==="max")this.range.addClass("ui-slider-range-"+a.range);this.range.addClass("ui-widget-header")}d(".ui-slider-handle",this.element).length===0&&d("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle");
17
+ if(a.values&&a.values.length)for(;d(".ui-slider-handle",this.element).length<a.values.length;)d("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle");this.handles=d(".ui-slider-handle",this.element).addClass("ui-state-default ui-corner-all");this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(c){c.preventDefault()}).hover(function(){a.disabled||d(this).addClass("ui-state-hover")},function(){d(this).removeClass("ui-state-hover")}).focus(function(){if(a.disabled)d(this).blur();
18
+ else{d(".ui-slider .ui-state-focus").removeClass("ui-state-focus");d(this).addClass("ui-state-focus")}}).blur(function(){d(this).removeClass("ui-state-focus")});this.handles.each(function(c){d(this).data("index.ui-slider-handle",c)});this.handles.keydown(function(c){var e=true,f=d(this).data("index.ui-slider-handle"),h,g,i;if(!b.options.disabled){switch(c.keyCode){case d.ui.keyCode.HOME:case d.ui.keyCode.END:case d.ui.keyCode.PAGE_UP:case d.ui.keyCode.PAGE_DOWN:case d.ui.keyCode.UP:case d.ui.keyCode.RIGHT:case d.ui.keyCode.DOWN:case d.ui.keyCode.LEFT:e=
19
+ false;if(!b._keySliding){b._keySliding=true;d(this).addClass("ui-state-active");h=b._start(c,f);if(h===false)return}break}i=b.options.step;h=b.options.values&&b.options.values.length?(g=b.values(f)):(g=b.value());switch(c.keyCode){case d.ui.keyCode.HOME:g=b._valueMin();break;case d.ui.keyCode.END:g=b._valueMax();break;case d.ui.keyCode.PAGE_UP:g=b._trimAlignValue(h+(b._valueMax()-b._valueMin())/5);break;case d.ui.keyCode.PAGE_DOWN:g=b._trimAlignValue(h-(b._valueMax()-b._valueMin())/5);break;case d.ui.keyCode.UP:case d.ui.keyCode.RIGHT:if(h===
20
+ b._valueMax())return;g=b._trimAlignValue(h+i);break;case d.ui.keyCode.DOWN:case d.ui.keyCode.LEFT:if(h===b._valueMin())return;g=b._trimAlignValue(h-i);break}b._slide(c,f,g);return e}}).keyup(function(c){var e=d(this).data("index.ui-slider-handle");if(b._keySliding){b._keySliding=false;b._stop(c,e);b._change(c,e);d(this).removeClass("ui-state-active")}});this._refreshValue();this._animateOff=false},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");
21
+ this._mouseDestroy();return this},_mouseCapture:function(b){var a=this.options,c,e,f,h,g;if(a.disabled)return false;this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();c=this._normValueFromMouse({x:b.pageX,y:b.pageY});e=this._valueMax()-this._valueMin()+1;h=this;this.handles.each(function(i){var j=Math.abs(c-h.values(i));if(e>j){e=j;f=d(this);g=i}});if(a.range===true&&this.values(1)===a.min){g+=1;f=d(this.handles[g])}if(this._start(b,
22
+ g)===false)return false;this._mouseSliding=true;h._handleIndex=g;f.addClass("ui-state-active").focus();a=f.offset();this._clickOffset=!d(b.target).parents().andSelf().is(".ui-slider-handle")?{left:0,top:0}:{left:b.pageX-a.left-f.width()/2,top:b.pageY-a.top-f.height()/2-(parseInt(f.css("borderTopWidth"),10)||0)-(parseInt(f.css("borderBottomWidth"),10)||0)+(parseInt(f.css("marginTop"),10)||0)};this.handles.hasClass("ui-state-hover")||this._slide(b,g,c);return this._animateOff=true},_mouseStart:function(){return true},
23
+ _mouseDrag:function(b){var a=this._normValueFromMouse({x:b.pageX,y:b.pageY});this._slide(b,this._handleIndex,a);return false},_mouseStop:function(b){this.handles.removeClass("ui-state-active");this._mouseSliding=false;this._stop(b,this._handleIndex);this._change(b,this._handleIndex);this._clickOffset=this._handleIndex=null;return this._animateOff=false},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(b){var a;
24
+ if(this.orientation==="horizontal"){a=this.elementSize.width;b=b.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{a=this.elementSize.height;b=b.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}a=b/a;if(a>1)a=1;if(a<0)a=0;if(this.orientation==="vertical")a=1-a;b=this._valueMax()-this._valueMin();return this._trimAlignValue(this._valueMin()+a*b)},_start:function(b,a){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value=
25
+ this.values(a);c.values=this.values()}return this._trigger("start",b,c)},_slide:function(b,a,c){var e;if(this.options.values&&this.options.values.length){e=this.values(a?0:1);if(this.options.values.length===2&&this.options.range===true&&(a===0&&c>e||a===1&&c<e))c=e;if(c!==this.values(a)){e=this.values();e[a]=c;b=this._trigger("slide",b,{handle:this.handles[a],value:c,values:e});this.values(a?0:1);b!==false&&this.values(a,c,true)}}else if(c!==this.value()){b=this._trigger("slide",b,{handle:this.handles[a],
26
+ value:c});b!==false&&this.value(c)}},_stop:function(b,a){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value=this.values(a);c.values=this.values()}this._trigger("stop",b,c)},_change:function(b,a){if(!this._keySliding&&!this._mouseSliding){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value=this.values(a);c.values=this.values()}this._trigger("change",b,c)}},value:function(b){if(arguments.length){this.options.value=
27
+ this._trimAlignValue(b);this._refreshValue();this._change(null,0)}return this._value()},values:function(b,a){var c,e,f;if(arguments.length>1){this.options.values[b]=this._trimAlignValue(a);this._refreshValue();this._change(null,b)}if(arguments.length)if(d.isArray(arguments[0])){c=this.options.values;e=arguments[0];for(f=0;f<c.length;f+=1){c[f]=this._trimAlignValue(e[f]);this._change(null,f)}this._refreshValue()}else return this.options.values&&this.options.values.length?this._values(b):this.value();
28
+ else return this._values()},_setOption:function(b,a){var c,e=0;if(d.isArray(this.options.values))e=this.options.values.length;d.Widget.prototype._setOption.apply(this,arguments);switch(b){case "disabled":if(a){this.handles.filter(".ui-state-focus").blur();this.handles.removeClass("ui-state-hover");this.handles.attr("disabled","disabled");this.element.addClass("ui-disabled")}else{this.handles.removeAttr("disabled");this.element.removeClass("ui-disabled")}break;case "orientation":this._detectOrientation();
29
+ this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation);this._refreshValue();break;case "value":this._animateOff=true;this._refreshValue();this._change(null,0);this._animateOff=false;break;case "values":this._animateOff=true;this._refreshValue();for(c=0;c<e;c+=1)this._change(null,c);this._animateOff=false;break}},_value:function(){var b=this.options.value;return b=this._trimAlignValue(b)},_values:function(b){var a,c;if(arguments.length){a=this.options.values[b];
30
+ return a=this._trimAlignValue(a)}else{a=this.options.values.slice();for(c=0;c<a.length;c+=1)a[c]=this._trimAlignValue(a[c]);return a}},_trimAlignValue:function(b){if(b<=this._valueMin())return this._valueMin();if(b>=this._valueMax())return this._valueMax();var a=this.options.step>0?this.options.step:1,c=(b-this._valueMin())%a;alignValue=b-c;if(Math.abs(c)*2>=a)alignValue+=c>0?a:-a;return parseFloat(alignValue.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},
31
+ _refreshValue:function(){var b=this.options.range,a=this.options,c=this,e=!this._animateOff?a.animate:false,f,h={},g,i,j,l;if(this.options.values&&this.options.values.length)this.handles.each(function(k){f=(c.values(k)-c._valueMin())/(c._valueMax()-c._valueMin())*100;h[c.orientation==="horizontal"?"left":"bottom"]=f+"%";d(this).stop(1,1)[e?"animate":"css"](h,a.animate);if(c.options.range===true)if(c.orientation==="horizontal"){if(k===0)c.range.stop(1,1)[e?"animate":"css"]({left:f+"%"},a.animate);
32
+ if(k===1)c.range[e?"animate":"css"]({width:f-g+"%"},{queue:false,duration:a.animate})}else{if(k===0)c.range.stop(1,1)[e?"animate":"css"]({bottom:f+"%"},a.animate);if(k===1)c.range[e?"animate":"css"]({height:f-g+"%"},{queue:false,duration:a.animate})}g=f});else{i=this.value();j=this._valueMin();l=this._valueMax();f=l!==j?(i-j)/(l-j)*100:0;h[c.orientation==="horizontal"?"left":"bottom"]=f+"%";this.handle.stop(1,1)[e?"animate":"css"](h,a.animate);if(b==="min"&&this.orientation==="horizontal")this.range.stop(1,
33
+ 1)[e?"animate":"css"]({width:f+"%"},a.animate);if(b==="max"&&this.orientation==="horizontal")this.range[e?"animate":"css"]({width:100-f+"%"},{queue:false,duration:a.animate});if(b==="min"&&this.orientation==="vertical")this.range.stop(1,1)[e?"animate":"css"]({height:f+"%"},a.animate);if(b==="max"&&this.orientation==="vertical")this.range[e?"animate":"css"]({height:100-f+"%"},{queue:false,duration:a.animate})}}});d.extend(d.ui.slider,{version:"1.8.10"})})(jQuery);
js/ui.widget.js CHANGED
@@ -1,15 +1,15 @@
1
- /*!
2
- * jQuery UI Widget 1.8.10
3
- *
4
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5
- * Dual licensed under the MIT or GPL Version 2 licenses.
6
- * http://jquery.org/license
7
- *
8
- * http://docs.jquery.com/UI/Widget
9
- */
10
- (function(b,j){if(b.cleanData){var k=b.cleanData;b.cleanData=function(a){for(var c=0,d;(d=a[c])!=null;c++)b(d).triggerHandler("remove");k(a)}}else{var l=b.fn.remove;b.fn.remove=function(a,c){return this.each(function(){if(!c)if(!a||b.filter(a,[this]).length)b("*",this).add([this]).each(function(){b(this).triggerHandler("remove")});return l.call(b(this),a,c)})}}b.widget=function(a,c,d){var e=a.split(".")[0],f;a=a.split(".")[1];f=e+"-"+a;if(!d){d=c;c=b.Widget}b.expr[":"][f]=function(h){return!!b.data(h,
11
- a)};b[e]=b[e]||{};b[e][a]=function(h,g){arguments.length&&this._createWidget(h,g)};c=new c;c.options=b.extend(true,{},c.options);b[e][a].prototype=b.extend(true,c,{namespace:e,widgetName:a,widgetEventPrefix:b[e][a].prototype.widgetEventPrefix||a,widgetBaseClass:f},d);b.widget.bridge(a,b[e][a])};b.widget.bridge=function(a,c){b.fn[a]=function(d){var e=typeof d==="string",f=Array.prototype.slice.call(arguments,1),h=this;d=!e&&f.length?b.extend.apply(null,[true,d].concat(f)):d;if(e&&d.charAt(0)==="_")return h;
12
- e?this.each(function(){var g=b.data(this,a),i=g&&b.isFunction(g[d])?g[d].apply(g,f):g;if(i!==g&&i!==j){h=i;return false}}):this.each(function(){var g=b.data(this,a);g?g.option(d||{})._init():b.data(this,a,new c(d,this))});return h}};b.Widget=function(a,c){arguments.length&&this._createWidget(a,c)};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(a,c){b.data(c,this.widgetName,this);this.element=b(c);this.options=b.extend(true,{},this.options,
13
- this._getCreateOptions(),a);var d=this;this.element.bind("remove."+this.widgetName,function(){d.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},
14
- widget:function(){return this.element},option:function(a,c){var d=a;if(arguments.length===0)return b.extend({},this.options);if(typeof a==="string"){if(c===j)return this.options[a];d={};d[a]=c}this._setOptions(d);return this},_setOptions:function(a){var c=this;b.each(a,function(d,e){c._setOption(d,e)});return this},_setOption:function(a,c){this.options[a]=c;if(a==="disabled")this.widget()[c?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",c);return this},
15
- enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(a,c,d){var e=this.options[a];c=b.Event(c);c.type=(a===this.widgetEventPrefix?a:this.widgetEventPrefix+a).toLowerCase();d=d||{};if(c.originalEvent){a=b.event.props.length;for(var f;a;){f=b.event.props[--a];c[f]=c.originalEvent[f]}}this.element.trigger(c,d);return!(b.isFunction(e)&&e.call(this.element[0],c,d)===false||c.isDefaultPrevented())}}})(jQuery);
1
+ /*!
2
+ * jQuery UI Widget 1.8.10
3
+ *
4
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI/Widget
9
+ */
10
+ (function(b,j){if(b.cleanData){var k=b.cleanData;b.cleanData=function(a){for(var c=0,d;(d=a[c])!=null;c++)b(d).triggerHandler("remove");k(a)}}else{var l=b.fn.remove;b.fn.remove=function(a,c){return this.each(function(){if(!c)if(!a||b.filter(a,[this]).length)b("*",this).add([this]).each(function(){b(this).triggerHandler("remove")});return l.call(b(this),a,c)})}}b.widget=function(a,c,d){var e=a.split(".")[0],f;a=a.split(".")[1];f=e+"-"+a;if(!d){d=c;c=b.Widget}b.expr[":"][f]=function(h){return!!b.data(h,
11
+ a)};b[e]=b[e]||{};b[e][a]=function(h,g){arguments.length&&this._createWidget(h,g)};c=new c;c.options=b.extend(true,{},c.options);b[e][a].prototype=b.extend(true,c,{namespace:e,widgetName:a,widgetEventPrefix:b[e][a].prototype.widgetEventPrefix||a,widgetBaseClass:f},d);b.widget.bridge(a,b[e][a])};b.widget.bridge=function(a,c){b.fn[a]=function(d){var e=typeof d==="string",f=Array.prototype.slice.call(arguments,1),h=this;d=!e&&f.length?b.extend.apply(null,[true,d].concat(f)):d;if(e&&d.charAt(0)==="_")return h;
12
+ e?this.each(function(){var g=b.data(this,a),i=g&&b.isFunction(g[d])?g[d].apply(g,f):g;if(i!==g&&i!==j){h=i;return false}}):this.each(function(){var g=b.data(this,a);g?g.option(d||{})._init():b.data(this,a,new c(d,this))});return h}};b.Widget=function(a,c){arguments.length&&this._createWidget(a,c)};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(a,c){b.data(c,this.widgetName,this);this.element=b(c);this.options=b.extend(true,{},this.options,
13
+ this._getCreateOptions(),a);var d=this;this.element.bind("remove."+this.widgetName,function(){d.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},
14
+ widget:function(){return this.element},option:function(a,c){var d=a;if(arguments.length===0)return b.extend({},this.options);if(typeof a==="string"){if(c===j)return this.options[a];d={};d[a]=c}this._setOptions(d);return this},_setOptions:function(a){var c=this;b.each(a,function(d,e){c._setOption(d,e)});return this},_setOption:function(a,c){this.options[a]=c;if(a==="disabled")this.widget()[c?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",c);return this},
15
+ enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(a,c,d){var e=this.options[a];c=b.Event(c);c.type=(a===this.widgetEventPrefix?a:this.widgetEventPrefix+a).toLowerCase();d=d||{};if(c.originalEvent){a=b.event.props.length;for(var f;a;){f=b.event.props[--a];c[f]=c.originalEvent[f]}}this.element.trigger(c,d);return!(b.isFunction(e)&&e.call(this.element[0],c,d)===false||c.isDefaultPrevented())}}})(jQuery);
mp3j_admin.php CHANGED
@@ -1,748 +1,748 @@
1
- <?php
2
- function mp3j_print_admin_page() {
3
-
4
- global $mp3_fox;
5
- $O = $mp3_fox->getAdminOptions();
6
- $colours_array = array();
7
-
8
- if ( isset( $_POST['update_mp3foxSettings'] ) )
9
- {
10
-
11
- //prep/sanitize number values
12
- if (isset($_POST['mp3foxVol'])) {
13
- $O['initial_vol'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxVol']);
14
- if ($O['initial_vol'] < 0 || $O['initial_vol']=="") { $O['initial_vol'] = "0"; }
15
- if ($O['initial_vol'] > 100) { $O['initial_vol'] = "100"; }
16
- }
17
- if (isset($_POST['mp3foxPopoutMaxHeight'])) {
18
- $O['popout_max_height'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxPopoutMaxHeight']);
19
- if ( $O['popout_max_height'] == "" ) { $O['popout_max_height'] = "750"; }
20
- if ( $O['popout_max_height'] < 200 ) { $O['popout_max_height'] = "200"; }
21
- if ( $O['popout_max_height'] > 1200 ) { $O['popout_max_height'] = "1200"; }
22
- }
23
- if (isset($_POST['mp3foxPopoutWidth'])) {
24
- $O['popout_width'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxPopoutWidth']);
25
- if ( $O['popout_width'] == "" ) { $O['popout_width'] = "400"; }
26
- if ( $O['popout_width'] < 250 ) { $O['popout_width'] = "250"; }
27
- if ( $O['popout_width'] > 1600 ) { $O['popout_width'] = "1600"; }
28
- }
29
- if (isset($_POST['mp3foxMaxListHeight'])) {
30
- $O['max_list_height'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxMaxListHeight']);
31
- if ( $O['max_list_height'] < 0 ) { $O['max_list_height'] = ""; }
32
- }
33
-
34
- //prep/sanitize paths
35
- if (isset($_POST['mp3foxfolder'])) {
36
- $O['mp3_dir'] = $mp3_fox->prep_path( $_POST['mp3foxfolder'] );
37
- }
38
- if (isset($_POST['mp3foxCustomStylesheet'])) {
39
- $O['custom_stylesheet'] = $mp3_fox->prep_path( $_POST['mp3foxCustomStylesheet'] );
40
- }
41
- if (isset($_POST['mp3foxPopoutBGimage'])) {
42
- $O['popout_background_image'] = $mp3_fox->prep_path( $_POST['mp3foxPopoutBGimage'] );
43
- }
44
-
45
- $O['dloader_remote_path'] = ( isset($_POST['dloader_remote_path']) ) ? $mp3_fox->prep_value( $_POST['dloader_remote_path'] ) : "";
46
- $O['loggedout_dload_link'] = ( $_POST['loggedout_dload_link'] == "" ) ? "" : $mp3_fox->prep_value( $_POST['loggedout_dload_link'] ); //allow it to be empty
47
-
48
- //prep/sanitize options and checkboxes
49
- if (isset($_POST['mp3foxTheme'])) {
50
- $O['player_theme'] = $mp3_fox->prep_value( $_POST['mp3foxTheme'] );
51
- }
52
- if (isset($_POST['mp3foxFloat'])) {
53
- $O['player_float'] = $mp3_fox->prep_value( $_POST['mp3foxFloat'] );
54
- }
55
- if (isset($_POST['librarySortcol'])) {
56
- $O['library_sortcol'] = $mp3_fox->prep_value( $_POST['librarySortcol'] );
57
- }
58
- if (isset($_POST['libraryDirection'])) {
59
- $O['library_direction'] = $mp3_fox->prep_value( $_POST['libraryDirection'] );
60
- }
61
- if (isset($_POST['file_separator'])) {
62
- $O['f_separator'] = $mp3_fox->prep_value( $_POST['file_separator'] );
63
- }
64
- if (isset($_POST['caption_separator'])) {
65
- $O['c_separator'] = $mp3_fox->prep_value( $_POST['caption_separator'] );
66
- }
67
- if (isset($_POST['mp3foxDownloadMp3'])) {
68
- $O['show_downloadmp3'] = $mp3_fox->prep_value( $_POST['mp3foxDownloadMp3'] );
69
- }
70
-
71
- $O['disable_template_tag'] = ( isset($_POST['disableTemplateTag']) ) ? "true" : "false";
72
- $O['echo_debug'] = ( isset($_POST['mp3foxEchoDebug']) ) ? "true" : "false";
73
- $O['add_track_numbering'] = ( isset($_POST['mp3foxAddTrackNumbers']) ) ? "true" : "false";
74
- $O['enable_popout'] = ( isset($_POST['mp3foxEnablePopout']) ) ? "true" : "false";
75
- $O['playlist_repeat'] = ( isset($_POST['mp3foxPlaylistRepeat']) ) ? "true" : "false";
76
- $O['use_fixed_css'] = ( isset($_POST['mp3foxUseFixedCSS']) ) ? "true" : "false";
77
- $O['encode_files'] = ( isset($_POST['mp3foxEncodeFiles']) ) ? "true" : "false";
78
- $O['run_shcode_in_excerpt'] = ( isset($_POST['runShcodeInExcerpt']) ) ? "true" : "false";
79
- $O['volslider_on_singles'] = ( isset($_POST['volslider_onsingles']) ) ? "true" : "false";
80
- $O['volslider_on_mp3j'] = ( isset($_POST['volslider_onmp3j']) ) ? "true" : "false";
81
- $O['touch_punch_js'] = ( isset($_POST['touch_punch_js']) ) ? "true" : "false";
82
- $O['force_browser_dload'] = ( isset($_POST['force_browser_dload']) ) ? "true" : "false";
83
- $O['make_player_from_link'] = ( isset($_POST['make_player_from_link']) ) ? "true" : "false";
84
- $O['auto_play'] = ( isset($_POST['mp3foxAutoplay']) ) ? "true" : "false";
85
- $O['allow_remoteMp3'] = ( isset($_POST['mp3foxAllowRemote']) ) ? "true" : "false";
86
- $O['player_onblog'] = ( isset($_POST['mp3foxOnBlog']) ) ? "true" : "false";
87
- $O['playlist_show'] = ( isset($_POST['mp3foxShowPlaylist']) ) ? "true" : "false";
88
- $O['remember_settings'] = ( isset($_POST['mp3foxRemember']) ) ? "true" : "false";
89
- $O['hide_mp3extension'] = ( isset($_POST['mp3foxHideExtension']) ) ? "true" : "false";
90
-
91
- //prep/sanitize other values
92
- if (isset($_POST['mp3foxPlayerWidth'])) {
93
- $O['player_width'] = $mp3_fox->prep_value( $_POST['mp3foxPlayerWidth'] );
94
- }
95
- if (isset($_POST['disableJSlibs'])) {
96
- $O['disable_jquery_libs'] = ( preg_match("/^yes$/i", $_POST['disableJSlibs']) ) ? "yes" : "";
97
- }
98
-
99
- $O['paddings_top'] = ( $_POST['mp3foxPaddings_top'] == "" ) ? "0px" : $mp3_fox->prep_value( $_POST['mp3foxPaddings_top'] );
100
- $O['paddings_bottom'] = ( $_POST['mp3foxPaddings_bottom'] == "" ) ? "0px" : $mp3_fox->prep_value( $_POST['mp3foxPaddings_bottom'] );
101
- $O['paddings_inner'] = ( $_POST['mp3foxPaddings_inner'] == "" ) ? "0px" : $mp3_fox->prep_value( $_POST['mp3foxPaddings_inner'] );
102
-
103
- if ( isset($_POST['mp3foxPopoutBackground']) ) {
104
- $O['popout_background'] = $mp3_fox->prep_value( $_POST['mp3foxPopoutBackground'] );
105
- }
106
- if ( isset($_POST['mp3foxPluginVersion']) ) {
107
- $O['db_plugin_version'] = $mp3_fox->prep_value( $_POST['mp3foxPluginVersion'] );
108
- }
109
- if ( isset($_POST['MtogBox1']) ) {
110
- $O['admin_toggle_1'] = $mp3_fox->prep_value( $_POST['MtogBox1'] );
111
- }
112
-
113
- //prep/sanitize text
114
- $O['dload_text'] = ( $_POST['dload_text'] == "" ) ? "DOWNLOAD MP3" : $mp3_fox->prep_text( $_POST['dload_text'] );
115
- $O['loggedout_dload_text'] = ( $_POST['loggedout_dload_text'] == "" ) ? "" : $mp3_fox->prep_text( $_POST['loggedout_dload_text'] );
116
-
117
- if ( isset($_POST['mp3foxPopoutButtonText']) ) {
118
- $O['popout_button_title'] = $mp3_fox->prep_text( $_POST['mp3foxPopoutButtonText'] );
119
- }
120
- if ( isset($_POST['make_player_from_link_shcode']) ) {
121
- $O['make_player_from_link_shcode'] = $mp3_fox->prep_text( $_POST['make_player_from_link_shcode'] );
122
- }
123
-
124
- // Colours array//
125
- if (isset($_POST['mp3foxScreenColour'])) { $colours_array['screen_colour'] = $mp3_fox->prep_value( $_POST['mp3foxScreenColour'] ); }
126
- if (isset($_POST['mp3foxScreenOpac'])) { $colours_array['screen_opacity'] = $mp3_fox->prep_value( $_POST['mp3foxScreenOpac'] ); }
127
- if (isset($_POST['mp3foxLoadbarColour'])) { $colours_array['loadbar_colour'] = $mp3_fox->prep_value( $_POST['mp3foxLoadbarColour'] ); }
128
- if (isset($_POST['mp3foxLoadbarOpac'])) { $colours_array['loadbar_opacity'] = $mp3_fox->prep_value( $_POST['mp3foxLoadbarOpac'] ); }
129
- if (isset($_POST['mp3foxPosbarColour'])) { $colours_array['posbar_colour'] = $mp3_fox->prep_value( $_POST['mp3foxPosbarColour'] ); }
130
- if (isset($_POST['mp3foxPosbarTint'])) { $colours_array['posbar_tint'] = $mp3_fox->prep_value( $_POST['mp3foxPosbarTint'] ); }
131
- if (isset($_POST['mp3foxPosbarOpac'])) { $colours_array['posbar_opacity'] = $mp3_fox->prep_value( $_POST['mp3foxPosbarOpac'] ); }
132
- if (isset($_POST['mp3foxScreenTextColour'])) { $colours_array['screen_text_colour'] = $mp3_fox->prep_value( $_POST['mp3foxScreenTextColour'] ); }
133
- if (isset($_POST['mp3foxPlaylistColour'])) { $colours_array['playlist_colour'] = $mp3_fox->prep_value( $_POST['mp3foxPlaylistColour'] ); }
134
- if (isset($_POST['mp3foxPlaylistTint'])) { $colours_array['playlist_tint'] = $mp3_fox->prep_value( $_POST['mp3foxPlaylistTint'] ); }
135
- if (isset($_POST['mp3foxPlaylistOpac'])) { $colours_array['playlist_opacity'] = $mp3_fox->prep_value( $_POST['mp3foxPlaylistOpac'] ); }
136
- if (isset($_POST['mp3foxListTextColour'])) { $colours_array['list_text_colour'] = $mp3_fox->prep_value( $_POST['mp3foxListTextColour'] ); }
137
- if (isset($_POST['mp3foxListCurrentColour'])) { $colours_array['list_current_colour'] = $mp3_fox->prep_value( $_POST['mp3foxListCurrentColour'] ); }
138
- if (isset($_POST['mp3foxListHoverColour'])) { $colours_array['list_hover_colour'] = $mp3_fox->prep_value( $_POST['mp3foxListHoverColour'] ); }
139
- if (isset($_POST['mp3foxListBGaHover'])) { $colours_array['listBGa_hover'] = $mp3_fox->prep_value( $_POST['mp3foxListBGaHover'] ); }
140
- if (isset($_POST['mp3foxListBGaCurrent'])) { $colours_array['listBGa_current'] = $mp3_fox->prep_value( $_POST['mp3foxListBGaCurrent'] ); }
141
- if (isset($_POST['mp3foxVolGrad'])) { $colours_array['volume_grad'] = $mp3_fox->prep_value( $_POST['mp3foxVolGrad'] ); }
142
- if (isset($_POST['mp3foxListDivider'])) { $colours_array['list_divider'] = $mp3_fox->prep_value( $_POST['mp3foxListDivider'] ); }
143
- if (isset($_POST['mp3foxIndicator'])) { $colours_array['indicator'] = $mp3_fox->prep_value( $_POST['mp3foxIndicator'] ); }
144
- $O['colour_settings'] = $colours_array;
145
-
146
- update_option($mp3_fox->adminOptionsName, $O);
147
- $mp3_fox->theSettings = $O;
148
- ?>
149
-
150
- <!-- Settings saved message -->
151
- <div class="updated"><p><strong><?php _e("Settings Updated.", $mp3_fox->textdomain );?></strong></p></div>
152
-
153
- <?php
154
- }
155
- // Pick up current colours
156
- $current_colours = $O['colour_settings'];
157
- ?>
158
-
159
- <div class="wrap">
160
- <h2>&nbsp;</h2>
161
- <h1>MP3<span style="font-size:16px;"> - </span>jPlayer<span class="description" style="font-size:10px;">&nbsp; <?php echo $mp3_fox->version_of_plugin; ?></span> &nbsp;&nbsp;
162
- <?php if ( $O['disable_jquery_libs'] == "yes" ) { ?><span style="font-size: 11px; font-weight:700; color:#f66;">(jQuery and UI scripts are turned off)</span><?php } ?></h1>
163
-
164
- <h5 style="margin: 0 0 30px 0; padding:0; font-size:10px;">
165
- <a href="javascript:MP3J_ADMIN.toggleit('tog_0','HELP');" id="tog_0-toggle" class="fox_buttonlink">HELP</a>&nbsp;<a href="widgets.php" class="fox_buttonlink">WIDGETS</a>
166
- </h5>
167
-
168
- <div id="tog_0-list" style="border-bottom:1px solid #ccc; margin-bottom:25px;">
169
-
170
- <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>
171
-
172
- <br />
173
- <h3 style="margin-left:0;">Shortcode Parameters</h3>
174
- <div class="Ahelp1">
175
-
176
- <h4><code>[mp3-jplayer]</code> <span class="description">Playlist player</span></h4>
177
-
178
- <h5>Parameters:</h5>
179
- <p><code>tracks</code> <span class="description">filenames/URIs/FEEDs (<code>,</code> separated)</span><br />
180
- <code>captions</code> <span class="description">caption text (<code>;</code> separated)</span><br />
181
- <code>vol</code> <span class="description">0 - 100</span><br />
182
- <code>autoplay</code> <span class="description">y/n</span><br />
183
- <code>loop</code> <span class="description">y/n</span><br />
184
- <code>dload</code> <span class="description">y / n / loggedin (show download link)</span><br />
185
- <code>list</code> <span class="description">y/n (show playlist)</span><br />
186
- <code>pick</code> <span class="description">a number (picks random selection)</span><br />
187
- <code>shuffle</code> <span class="description">y/n (shuffle track order)</span><br />
188
- <code>title</code> <span class="description">text above player</span><br />
189
- <code>pos</code> <span class="description">rel-L, rel-C, rel-R, left, right</span><br />
190
- <code>width</code> <span class="description">in px or %</span><br />
191
- <code>height</code> <span class="description">in px (player height excluding list)</span><br />
192
- <code>pn</code> <span class="description">y/n (show prev/next buttons)</span><br />
193
- <code>stop</code> <span class="description">y/n (show stop button)</span><br />
194
- <code>id</code> <span class="description">a page id (to read the custom fields from)</span><br />
195
- <code>images</code> <span class="description">comma separated list of track image urls</span><br />
196
- <!--<code>imglinks</code> <span class="description">comma separated list of arbitrary links</span><br />-->
197
- <code>fsort</code> <span class="description">asc/desc (folder feed direction)</span><br />
198
- <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>
199
-
200
- </div>
201
-
202
- <div class="Ahelp1">
203
- <h4><code>[mp3j]</code> &amp; <code>[mp3t]</code> <span class="description">Single-track players</span></h4>
204
-
205
- <h5>Parameters:</h5>
206
- <p><code>track</code> <span class="description">filename or URI</span><br />
207
- <code>caption</code> <span class="description">caption text (right of title)</span><br />
208
- <code>vol</code> <span class="description">0 - 100</span><br />
209
- <code>volslider</code> <span class="description">y/n</span><br />
210
- <code>autoplay</code> <span class="description">y/n</span><br />
211
- <code>loop</code> <span class="description">y/n</span><br />
212
- <code>title</code> <span class="description">text (replaces both title and caption)</span><br />
213
- <code>bold</code> <span class="description">y/n</span><br />
214
- <code>flip</code> <span class="description">y/n (play/pause)</span><br />
215
- <code>ind</code> <span class="description">y/n (hide indicator and time)</span><br />
216
- <code>flow</code> <span class="description">y/n (don't line break)</span><br />
217
- <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>
218
-
219
- <h5>Also for <code>[mp3t]</code></h5>
220
- <p><code>play</code> play button text<br /><code>stop</code> pause button text</p>
221
-
222
- </div>
223
-
224
- <div class="Ahelp1">
225
- <h4><code>[mp3-popout]</code> <span class="description">Link to pop-out player</span></h4>
226
-
227
- <h5>Parameters:</h5>
228
- <p><code>tracks</code> <span class="description">files/URIs/FEEDs (<code>,</code> separated)</span><br />
229
- <code>captions</code> <span class="description">caption text (<code>;</code> separated)</span><br />
230
- <code>vol</code> <span class="description">0 - 100</span><br />
231
- <code>autoplay</code> <span class="description">y / n</span><br />
232
- <code>loop</code> <span class="description">y / n</span><br />
233
- <code>dload</code> <span class="description">y / n / loggedin (show download link)</span><br />
234
- <code>list</code> <span class="description">y/n (show popout playlist)</span><br />
235
- <code>pick</code> <span class="description">number (pick random selection)</span><br />
236
- <code>shuffle</code> <span class="description">y/n (shuffle track order)</span><br />
237
- <code>title</code> <span class="description">title for the popout window</span><br />
238
- <code>pos</code> <span class="description">rel-L, rel-C, rel-R, left, right (link position)</span><br />
239
- <code>text</code> <span class="description">text for the link</span><br />
240
- <code>height</code> <span class="description">px (popout player height excluding it's list)</span><br />
241
- <code>id</code> <span class="description">a page id (to read the custom fields from)</span><br />
242
- <code>tag</code> <span class="description">html tag for text (eg. <code>h2</code>, Default is <code>p</code>)</span><br />
243
- <code>image</code> <span class="description">image for the popout link</span><br />
244
- <code>images</code> <span class="description">comma separated list of track image urls</span><br />
245
- <!--<code>imglinks</code> <span class="description">comma separated list of arbitrary links</span><br />-->
246
- <code>fsort</code> <span class="description">asc/desc (folder feed direction)</span><br />
247
- <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>
248
- </div>
249
-
250
- <!-- Not in this release
251
- <div class="Ahelp1">
252
- <h5><code>[mp3-link]</code> Play from a playlist player</h5>
253
- <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>
254
- </div>
255
- -->
256
-
257
- <br class="clearB" /><br />
258
-
259
- <p><strong>Eg</strong>. <span class="description">Play a url:</span> <code>[mp3j track="http://somedomain.com/myfile.mp3"]</code><br />
260
- <strong>Eg</strong>. <span class="description">Play a file from default folder (set below) or library:</span> <code>[mp3j track="myfile.mp3"]</code><br />
261
- <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 />
262
- <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 />
263
- <strong>Eg</strong>. <span class="description">Add captions:</span> <code>[mp3-jplayer tracks="fileA.mp3, fileB.mp3" captions="Caption A; Caption B"]</code></p>
264
- <p><a href="http://sjward.org/jplayer-for-wordpress" target="_blank">More shortcode examples</a></p>
265
- <br />
266
-
267
- <p><strong>Use these commands with [mp3-jplayer] in the <code>tracks</code> parameter to playlist entire folders or the library:</strong></p>
268
- <p><code>FEED:LIB</code> playlists all mp3s in the library.<br />
269
- <code>FEED:DF</code> playlists your default folder.<br />
270
- <code>FEED:/my/music</code> playlists a folder or subfolder (relative to root of domain, not the WP install)</p>
271
- <p><strong>Eg</strong>. Play 5 random tracks from the library: <code>[mp3-jplayer tracks="FEED:LIB" pick="5"]</code><br />
272
- <strong>Eg</strong>. Play everything in the folder called 'tunes': <code>[mp3-jplayer tracks="FEED:/tunes"]</code></p>
273
-
274
- <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>.
275
- 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
276
- directory in the default folder eg. <code>tracks=&quot;subfolder/file.mp3&quot;</code>.</p>
277
-
278
- <br />
279
-
280
- <h3 style="margin-left:0;">Custom Fields</h3>
281
- <p>You can write playlists into the custom fields that are on page and post edit screens (check your 'screen options' at top-right
282
- 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
283
- to set them up and some example uses:</p>
284
-
285
- <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>
286
- <p>Add each track or 'FEED' in a new field pair.</p>
287
- <p>To add titles and captions in the custom fields use the following format:</p>
288
- <p class="description">1. Add a dot, then the caption in the left hand box, eg: <code>mp3.My Caption</code>
289
- <br />2. Add the title, then an '@' before the filename in the right box, eg: <code>My Title@filename</code></p>
290
- <p>The keys (left boxes) can be numbered, eg:<code>1 mp3</code> will be first on the playlist.</p>
291
-
292
- <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 />
293
-
294
- <code>[mp3j]</code> or <code>[mp3t]</code> <span class="description">plays the next track from the library in a single player</span> <br />
295
- <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 />
296
- <code>[mp3-jplayer]</code> <span class="description">playlists all the custom fields in a playlist player</span><br /></p>
297
-
298
- <br />
299
-
300
-
301
- <h3 style="margin-left:0;">Widgets</h3>
302
- <p class="description">
303
- MP3j-sh - <span class="description">Adds players by writing shortcodes.</span><br />
304
- 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>
305
- </p>
306
- <br />
307
- <h3 style="margin-left:0;">Template Tags</h3>
308
- <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>
309
- <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>
310
-
311
- <br />
312
-
313
- <h3 style="margin-left:0;">Testing</h3>
314
- <p><strong>Make sure you're using default plugin settings for these tests.</strong></p>
315
- <p>You can test the plugin with a valid mp3 by copy/pasting the following shortcode into a page or post:<br />
316
- <code>[mp3-jplayer tracks="http://sjward.org/seven.mp3"]</code></p>
317
-
318
- <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>
319
- <p>If you use the visual (default) editor: <code><a href="http://sjward.org/seven.mp3">Test link</a></code><br />
320
- If you use the text editor: <code>&lt;a href="http://sjward.org/seven.mp3"&gt;Test link&lt;/a&gt;</code></p>
321
-
322
- <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>
323
- <br /><br />
324
-
325
- </div>
326
-
327
- <form method="post" action="<?php echo $_SERVER["REQUEST_URI"]; ?>">
328
- <p class="jtext">Initial volume &nbsp; <input type="text" style="text-align:center;" size="2" name="mp3foxVol" value="<?php echo $O['initial_vol']; ?>" /> &nbsp; <span class="description">(0 - 100)</span></p>
329
- <p class="jtick"><input type="checkbox" name="mp3foxAutoplay" value="true" <?php if ($O['auto_play'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Autoplay</p>
330
- <p class="jtick"><input type="checkbox" name="mp3foxPlaylistRepeat" value="true" <?php if ($O['playlist_repeat'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Loop</p>
331
- <p class="jtick"><input type="checkbox" name="mp3foxAddTrackNumbers" value="true" <?php if ($O['add_track_numbering'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Number the tracks</p>
332
-
333
- <br />
334
- <p class="jtick"><input type="checkbox" name="make_player_from_link" value="true" <?php if ($O['make_player_from_link'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> />
335
- &nbsp; Turn mp3 links into players</p>
336
- <p style="margin-left:45px;"><span class="description">(Use the 'Add media' button on the edit screen to add links, or you can manually add/write links into the page. Links will be turned into players using the shortcode specified under 'Template Options' below.)</span></p>
337
-
338
-
339
- <br />
340
- <p class="jtick"><input type="checkbox" name="mp3foxOnBlog" value="true" <?php if ($O['player_onblog'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Show players in posts on index, archive, and search pages &nbsp;<span class="description">(doesn't affect widgets)</span></p>
341
- <p class="jtick"><input type="checkbox" name="runShcodeInExcerpt" value="true" <?php if ($O['run_shcode_in_excerpt'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Run shortcodes in post excerpts &nbsp;<span class="description">(this works for manually written post excerpts only)</span></p>
342
- <br />
343
-
344
- <?php
345
- $greyout_field = ( $O['player_theme'] != "styleI" ) ? "background:#fcfcfc; color:#d6d6d6; border-color:#f0f0f0;" : "background:#fff; color:#000; border-color:#dfdfdf;";
346
- $greyout_text = ( $O['player_theme'] != "styleI" ) ? "color:#d6d6d6;" : "color:#444;";
347
- ?>
348
- <!-- COLOUR / STYLE -->
349
- <div style="height:35px"><p style="width:55px; margin:0 0 0 20px; line-height:32px;">Players:</p></div>
350
- <p style="margin:-35px 0px 0px 75px; line-height:32px;"><select name="mp3foxTheme" id="player-select" style="width:94px; font-size:11px; line-height:19px;">
351
- <option value="styleF" <?php if ( 'styleF' == $O['player_theme'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Silver</option>
352
- <option value="styleG" <?php if ( 'styleG' == $O['player_theme'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Dark</option>
353
- <option value="styleH" <?php if ( 'styleH' == $O['player_theme'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Text</option>
354
- <option value="styleI" <?php if ( 'styleI' == $O['player_theme'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Custom</option>
355
- </select>&nbsp;
356
- <span id="player-csssheet" style=" <?php echo $greyout_text; ?>"> &nbsp;uri:</span><input type="text" id="mp3fcss" style="width:480px; <?php echo $greyout_field; ?>" name="mp3foxCustomStylesheet" value="<?php echo $O['custom_stylesheet']; ?>" /></p>
357
-
358
- <?php
359
- //$showbox = ( $O['admin_toggle_1'] == "true" ) ? "" : " display:none;";
360
- //$hide = ( $O['admin_toggle_1'] == "true" ) ? "Hide " : "";
361
- ?>
362
-
363
- <p style="margin:4px 0px 15px 20px;"><a href="javascript:MP3J_ADMIN.toggleit('tog_1','Colour Settings');" id="tog_1-toggle" class="fox_buttonlink bl2">Colour Settings</a></p>
364
-
365
- <div id="tog_1-list" style="position:relative; margin:0px 0px 15px 20px; width:579px;">
366
-
367
- <div style="position:relative; width:579px; height:20px; padding-top:2px; border-top:1px solid #eee; border-bottom:1px solid #eee; background:#f9f9f9;">
368
- <div style="float:left; width:90px; margin-left:9px;"><p class="description" style="margin:0px;"><strong>AREA</strong></p></div>
369
- <div style="float:left; width:390px;"><p class="description" style="margin:0px;">&nbsp;Opacity&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;Colour</p></div>
370
- </div>
371
-
372
- <div style="position:relative; width:579px; padding-top:6px;">
373
- <div style="float:left; width:90px; margin-left:9px; border:0px solid #aaa;"><p style="margin:0px;line-height:32px;">Screen:<br />Loading bar:<br />Position bar:<br />Playlist:</p></div>
374
- <div style="float:left; width:390px; border:0px solid #aaa;">
375
- <p style="margin:0px;line-height:32px;">
376
- <input type="text" size="4" name="mp3foxScreenOpac" value="<?php echo $current_colours['screen_opacity']; ?>" />
377
- &nbsp;&nbsp;<input type="text" id="opA" onkeyup="udfcol('opA','blA');" size="10" name="mp3foxScreenColour" value="<?php echo $current_colours['screen_colour']; ?>" />
378
- <span class="addcol" onclick="putfcolour('opA','blA');">&nbsp;+&nbsp;</span>
379
- <span class="bl" onclick="sendfcolour('opA');" id="blA" style="background:<?php echo $current_colours['screen_colour']; ?>;">&nbsp;&nbsp;</span>
380
- <br />
381
- <input type="text" size="4" name="mp3foxLoadbarOpac" value="<?php echo $current_colours['loadbar_opacity']; ?>" />
382
- &nbsp;&nbsp;<input type="text" id="opB" onkeyup="udfcol('opB','blB');" size="10" name="mp3foxLoadbarColour" value="<?php echo $current_colours['loadbar_colour']; ?>" />
383
- <span class="addcol" onclick="putfcolour('opB','blB');">&nbsp;+&nbsp;</span>
384
- <span class="bl" onclick="sendfcolour('opB');" id="blB" style="background:<?php echo $current_colours['loadbar_colour']; ?>;">&nbsp;&nbsp;</span>
385
- <br />
386
- <input type="text" size="4" name="mp3foxPosbarOpac" value="<?php echo $current_colours['posbar_opacity']; ?>" />
387
- &nbsp;&nbsp;<input type="text" id="opC" onkeyup="udfcol('opC','blC');" size="10" name="mp3foxPosbarColour" value="<?php echo $current_colours['posbar_colour']; ?>" />
388
- <span class="addcol" onclick="putfcolour('opC','blC');">&nbsp;+&nbsp;</span>
389
- <span class="bl" onclick="sendfcolour('opC');" id="blC" style="background:<?php echo $current_colours['posbar_colour']; ?>;">&nbsp;&nbsp;</span>
390
- &nbsp; &nbsp;<select name="mp3foxPosbarTint" style="width:115px; font-size:11px;">
391
- <option value="" <?php if ( '' == $current_colours['posbar_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>(default)</option>
392
- <option value="soften" <?php if ( 'soften' == $current_colours['posbar_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Light grad</option>
393
- <option value="softenT" <?php if ( 'softenT' == $current_colours['posbar_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Tip</option>
394
- <option value="darken" <?php if ( 'darken' == $current_colours['posbar_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Dark grad</option>
395
- <option value="none" <?php if ( 'none' == $current_colours['posbar_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>None</option>
396
- </select>
397
- <br />
398
- <input type="text" size="4" name="mp3foxPlaylistOpac" value="<?php echo $current_colours['playlist_opacity']; ?>" />
399
- &nbsp;&nbsp;<input type="text" id="opD" onkeyup="udfcol('opD','blD');" size="10" name="mp3foxPlaylistColour" value="<?php echo $current_colours['playlist_colour']; ?>" />
400
- <span class="addcol" onclick="putfcolour('opD','blD');">&nbsp;+&nbsp;</span>
401
- <span class="bl" onclick="sendfcolour('opD');" id="blD" style="background:<?php echo $current_colours['playlist_colour']; ?>;">&nbsp;&nbsp;</span>
402
- &nbsp; &nbsp;<select name="mp3foxPlaylistTint" style="width:115px; font-size:11px;">
403
- <option value="" <?php if ( '' == $current_colours['playlist_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>(default)</option>
404
- <option value="lighten2" <?php if ( 'lighten2' == $current_colours['playlist_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Light grad</option>
405
- <option value="lighten1" <?php if ( 'lighten1' == $current_colours['playlist_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Soft grad</option>
406
- <option value="darken1" <?php if ( 'darken1' == $current_colours['playlist_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Dark grad</option>
407
- <option value="darken2" <?php if ( 'darken2' == $current_colours['playlist_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Darker grad</option>
408
- <option value="none" <?php if ( 'none' == $current_colours['playlist_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>None</option>
409
- </select>
410
- </p>
411
- </div>
412
- <br clear="all" />
413
- </div>
414
-
415
- <div id="pickerwrap">
416
- <div id="plugHEX"></div>
417
- <div id="plugCUR"></div>
418
- <div id="plugin" onmousedown="HSVslide('drag','plugin',event); return false;"><div id="SV" onmousedown="HSVslide('SVslide','plugin',event)"><div id="SVslide" style="top:-4px; left:-4px;"><br /></div></div><div id="H" onmousedown="HSVslide('Hslide','plugin',event)"><div id="Hslide" style="top:-7px; left:-8px;"><br /></div><div id="Hmodel"></div></div></div>
419
- </div>
420
-
421
- <div style="position:relative;width:175px; height:150px; margin:-200px 0px 28px 405px; padding:50px 0px 0px 0px; border:0px solid #666;">
422
- <p style="margin:0px 0px 8px 0px; text-align:right;">Indicator:&nbsp;
423
- <select name="mp3foxIndicator" style="width:80px; font-size:11px;">
424
- <option value="" <?php if ( '' == $current_colours['indicator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>(default)</option>
425
- <option value="tint" <?php if ( 'tint' == $current_colours['indicator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Greyscale</option>
426
- <option value="colour" <?php if ( 'colour' == $current_colours['indicator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Colour</option>
427
- </select></p>
428
- <p style="margin:0px 0px 8px 0px; text-align:right;">Volume bar:&nbsp;
429
- <select name="mp3foxVolGrad" style="width:80px; font-size:11px;">
430
- <option value="" <?php if ( '' == $current_colours['volume_grad'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>(default)</option>
431
- <option value="light" <?php if ( 'light' == $current_colours['volume_grad'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Light</option>
432
- <option value="dark" <?php if ( 'dark' == $current_colours['volume_grad'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Dark</option>
433
- </select></p>
434
- <p style="margin:0px 0px 0px 0px; text-align:right;">Dividers:&nbsp;
435
- <select name="mp3foxListDivider" style="width:80px; font-size:11px;">
436
- <option value="" <?php if ( '' == $current_colours['list_divider'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>(default)</option>
437
- <option value="light" <?php if ( 'light' == $current_colours['list_divider'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Light</option>
438
- <option value="med" <?php if ( 'med' == $current_colours['list_divider'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Medium</option>
439
- <option value="dark" <?php if ( 'dark' == $current_colours['list_divider'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Dark</option>
440
- <option value="none" <?php if ( 'none' == $current_colours['list_divider'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>None</option>
441
- </select></p>
442
- </div>
443
-
444
- <div style="position:relative; width:579px; height:20px; padding-top:2px; border-top:1px solid #eee; border-bottom:1px solid #eee; background:#f9f9f9;">
445
- <div style="float:left; width:90px; margin-left:9px;"><p class="description" style="margin:0px;"><strong>TEXT</strong></p></div>
446
- <div style="float:left; width:430px;"><p class="description" style="margin:0px;">Colour</p></div>
447
- <br clear="all" />
448
- </div>
449
-
450
- <div style="position:relative; width:579px; padding-top:6px;">
451
- <div style="float:left; width:65px; margin-left:9px; border:0px solid #aaa;"><p style="margin:0px;line-height:32px;">Screen:<br />Playlist:<br />Selected:<br />Hover:</p></div>
452
- <div style="float:left; width:460px; border:0px solid #aaa;">
453
- <p style="margin:0px;line-height:32px;">
454
- <input type="text" id="opE" onkeyup="udfcol('opE','blE');" size="10" name="mp3foxScreenTextColour" value="<?php echo $current_colours['screen_text_colour']; ?>" />
455
- <span class="addcol" onclick="putfcolour('opE','blE');">&nbsp;+&nbsp;</span>
456
- <span class="bl" onclick="sendfcolour('opE');" id="blE" style="background:<?php echo $current_colours['screen_text_colour']; ?>;">&nbsp;&nbsp;</span>
457
- <br />
458
- <input type="text" id="opF" onkeyup="udfcol('opF','blF');" size="10" name="mp3foxListTextColour" value="<?php echo $current_colours['list_text_colour']; ?>" />
459
- <span class="addcol" onclick="putfcolour('opF','blF');">&nbsp;+&nbsp;</span>
460
- <span class="bl" onclick="sendfcolour('opF');" id="blF" style="background:<?php echo $current_colours['list_text_colour']; ?>;">&nbsp;&nbsp;</span>
461
- <br />
462
- <input type="text" id="opG" onkeyup="udfcol('opG','blG');" size="10" name="mp3foxListCurrentColour" value="<?php echo $current_colours['list_current_colour']; ?>" />
463
- <span class="addcol" onclick="putfcolour('opG','blG');">&nbsp;+&nbsp;</span>
464
- <span class="bl" onclick="sendfcolour('opG');" id="blG" style="background:<?php echo $current_colours['list_current_colour']; ?>;">&nbsp;&nbsp;</span>
465
- &nbsp; &nbsp; Background: <input type="text" id="opH" onkeyup="udfcol('opH','blH');" size="10" name="mp3foxListBGaCurrent" value="<?php echo $current_colours['listBGa_current']; ?>" />
466
- <span class="addcol" onclick="putfcolour('opH','blH');">&nbsp;+&nbsp;</span>
467
- <span class="bl" onclick="sendfcolour('opH');" id="blH" style="background:<?php echo $current_colours['listBGa_current']; ?>;">&nbsp;&nbsp;</span>
468
- <br />
469
- <input type="text" id="opI" onkeyup="udfcol('opI','blI');" size="10" name="mp3foxListHoverColour" value="<?php echo $current_colours['list_hover_colour']; ?>" />
470
- <span class="addcol" onclick="putfcolour('opI','blI');">&nbsp;+&nbsp;</span>
471
- <span class="bl" onclick="sendfcolour('opI');" id="blI" style="background:<?php echo $current_colours['list_hover_colour']; ?>;">&nbsp;&nbsp;</span>
472
- &nbsp; &nbsp; Background: <input type="text" id="opJ" onkeyup="udfcol('opJ','blJ');" size="10" name="mp3foxListBGaHover" value="<?php echo $current_colours['listBGa_hover']; ?>" />
473
- <span class="addcol" onclick="putfcolour('opJ','blJ');">&nbsp;+&nbsp;</span>
474
- <span class="bl" onclick="sendfcolour('opJ');" id="blJ" style="background:<?php echo $current_colours['listBGa_hover']; ?>;">&nbsp;&nbsp;</span>
475
- </p>
476
- </div>
477
- <br clear="all" />
478
- </div>
479
-
480
- <div style="position:relative; width:579px; height:20px; margin-top:30px; padding-top:2px; border-top:1px solid #eee; border-bottom:1px solid #eee; background:#f9f9f9;">
481
- <div style="float:left; width:90px; margin-left:9px;"><p class="description" style="margin:0px;"><strong>POP-OUT</strong></p></div>
482
- <div style="float:left; width:430px;"><p class="description" style="margin:0px;">Background</p></div>
483
- <br clear="all" />
484
- </div>
485
-
486
- <div style="width:579px; padding-top:6px;">
487
- <div style="float:left; width:65px; margin-left:9px; border:0px solid #aaa;"><p style="margin:0px;line-height:32px;">Colour:<br />Image:</p></div>
488
- <div style="float:left; width:460px; border:0px solid #aaa;">
489
- <p style="margin:0px;line-height:32px;">
490
- <input type="text" id="opK" onkeyup="udfcol('opK','blK');" size="10" name="mp3foxPopoutBackground" value="<?php echo $O['popout_background']; ?>" />
491
- <span class="addcol" onclick="putfcolour('opK','blK');">&nbsp;+&nbsp;</span>
492
- <span class="bl" onclick="sendfcolour('opK');" id="blK" style="background:<?php echo $O['popout_background']; ?>;">&nbsp;&nbsp;</span></p>
493
- <p style="margin:4px 0px 0px 0px;line-height:32px;">
494
- <input type="text" style="width:503px;" name="mp3foxPopoutBGimage" value="<?php echo $O['popout_background_image']; ?>" /></p>
495
- </div>
496
- <br clear="all" />
497
- </div>
498
- <p class="description" style="margin-top: 30px; margin-bottom: 0px;">&nbsp;&nbsp;(Opacity values from 0 to 100, leave any fields blank to use the default setting)</p>
499
- </div><!-- close fox_styling-list -->
500
- <br /><br />
501
-
502
- <!-- MP3s -->
503
- <h3>Media Library</h3>
504
- <?php
505
- // create library file list //
506
- $library = $mp3_fox->grab_library_info();
507
- $L_count = ( $library ) ? $library['count'] : "0";
508
- echo "<p class=\"description\" style=\"margin:0 0 2px 35px;\">Library contains <strong>" . $L_count . "</strong> mp3";
509
- if ( $library['count'] != 1 ) { echo "'s&nbsp;"; }
510
- else { echo "&nbsp;"; }
511
-
512
- if ( $L_count > 0 ) {
513
- //echo "<a href=\"javascript:mp3jp_listtoggle('fox_library','files');\" id=\"fox_library-toggle\">Show files</a> | <a href=\"media-new.php\">Upload new</a>";
514
- echo "<a href=\"javascript:MP3J_ADMIN.showhideit('fox_library','files');\" id=\"fox_library-toggle\">Show files</a> | <a href=\"media-new.php\">Upload new</a>";
515
- echo "</p>";
516
- //echo "<div id=\"fox_library-list\" style=\"display:none;\">\n";
517
- echo "<div id=\"fox_library-list\">\n";
518
- $liblist = '<p style="margin-left:0px;">';
519
- $br = '<br />';
520
- $tagclose = '</p>';
521
- $n = 1;
522
- foreach ( $library['filenames'] as $i => $file ) {
523
- //$liblist .= "<a href=\"media.php?attachment_id=" . $library['postIDs'][$i] . "&amp;action=edit\" style=\"font-size:11px;\">[Edit]</a>&nbsp;&nbsp;<span style=\"color:#aaa;font-size:11px;\">" . $n++ . "&nbsp;</span> " . $file . "&nbsp;&nbsp;<span style=\"color:#aaa;font-size:11px;\">\"" . $library['titles'][$i] . "\"&nbsp;&nbsp;" . $library['excerpts'][$i] . "</span>" . $br;
524
- switch( $O['library_sortcol'] ) {
525
- case "title":
526
- $liblist .= "<a href=\"media.php?attachment_id=" . $library['postIDs'][$i] . "&amp;action=edit\" style=\"font-size:11px;\">[Edit]</a>&nbsp;&nbsp;<span style=\"color:#aaa;font-size:11px;\">" . $n++ . "&nbsp;&nbsp;\"" . $library['titles'][$i] . "\"&nbsp;&nbsp;" . $library['excerpts'][$i] . "</span>&nbsp;&nbsp;" . $file . $br;
527
- break;
528
- case "caption":
529
- $liblist .= "<a href=\"media.php?attachment_id=" . $library['postIDs'][$i] . "&amp;action=edit\" style=\"font-size:11px;\">[Edit]</a>&nbsp;&nbsp;<span style=\"color:#aaa;font-size:11px;\">" . $n++ . "&nbsp;&nbsp;" . $library['excerpts'][$i] . "&nbsp;&nbsp;\"" . $library['titles'][$i] . "\"</span>&nbsp;&nbsp;" . $file . $br;
530
- break;
531
- default:
532
- $liblist .= "<a href=\"media.php?attachment_id=" . $library['postIDs'][$i] . "&amp;action=edit\" style=\"font-size:11px;\">[Edit]</a>&nbsp;&nbsp;<span style=\"color:#aaa;font-size:11px;\">" . $n++ . "</span>&nbsp;&nbsp;" . $file . "&nbsp;&nbsp;<span style=\"color:#aaa;font-size:11px;\">\"" . $library['titles'][$i] . "\"&nbsp;&nbsp;" . $library['excerpts'][$i] . "</span>" . $br;
533
- }
534
- }
535
- $liblist .= $tagclose;
536
- echo $liblist;
537
- echo '</div>';
538
- }
539
- else { echo "<a href=\"media-new.php\">Upload new</a></p>"; }
540
- ?>
541
-
542
- <p class="description" style="margin:0 0 0 33px;">You just need to write filenames in playlists to play from the library.</p>
543
- <p style="margin:12px 0 12px 34px;">Order playlists by:&nbsp;
544
- <select name="librarySortcol" style="width:110px; font-size:11px;">
545
- <option value="file" <?php if ( 'file' == $O['library_sortcol'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Filename</option>
546
- <option value="date" <?php if ( 'date' == $O['library_sortcol'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Date Uploaded</option>
547
- <option value="caption" <?php if ( 'caption' == $O['library_sortcol'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Caption, Title</option>
548
- <option value="title" <?php if ( 'title' == $O['library_sortcol'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Title</option>
549
- </select>
550
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Direction:&nbsp;
551
- <select name="libraryDirection" style="width:60px; font-size:11px;">
552
- <option value="ASC" <?php if ( 'ASC' == $O['library_direction'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>ASC</option>
553
- <option value="DESC" <?php if ( 'DESC' == $O['library_direction'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>DESC</option>
554
- </select>
555
- </p><br />
556
-
557
- <!-- Folder -->
558
- <h3>Folder or URI</h3>
559
- <p class="description" style="margin:0 0 0 35px;">Set a default folder or uri for playing mp3's in the box below, eg. <code>/music</code> or <code>www.anothersite.com/music</code><br />You just need to write filenames in playlists to play from here.</p>
560
- <p style="margin:10px 0px 5px 35px;">Default path: &nbsp; <input type="text" style="width:385px;" name="mp3foxfolder" value="<?php echo $O['mp3_dir']; ?>" /></p>
561
-
562
- <?php
563
- // create file-list if directory is local
564
- $n = 1;
565
- $folderuris = $mp3_fox->grab_local_folder_mp3s( $O['mp3_dir'] );
566
- if ( is_array($folderuris) ){
567
- foreach ( $folderuris as $i => $uri ) {
568
- $files[$i] = strrchr( $uri, "/" );
569
- $files[$i] = str_replace( "/", "", $files[$i] );
570
- }
571
- $c = (!empty($files)) ? count($files) : 0;
572
- echo "<p class=\"description\" style=\"margin: 0px 0px 14px 117px;\">This folder contains <strong>" . $c . "</strong> mp3";
573
- if ( $c != 1 ) { echo "'s&nbsp;"; }
574
- else { echo "&nbsp;"; }
575
- if ( $c > 0 ) {
576
- //echo "<a href=\"javascript:mp3jp_listtoggle('fox_folder','files');\" id=\"fox_folder-toggle\">Show files</a></p>";
577
- echo "<a href=\"javascript:MP3J_ADMIN.showhideit('fox_folder','files');\" id=\"fox_folder-toggle\">Show files</a></p>";
578
- //echo "<div id=\"fox_folder-list\" style=\"display:none;\">\n<p style=\"margin-left:0px;\">";
579
- echo "<div id=\"fox_folder-list\">\n<p style=\"margin-left:0px;\">";
580
-
581
- //natcasesort($files);
582
-
583
- foreach ( $files as $i => $val ) {
584
- echo "<span style=\"color:#aaa;font-size:11px;\">" . $n++ . "</span>&nbsp;&nbsp;" . $val . "<br />";
585
- }
586
- echo "</p>\n</div>\n";
587
- }
588
- else { echo "</p>"; }
589
- }
590
- elseif ( $folderuris == true )
591
- echo "<p class=\"description\" style=\"margin: 0px 0px 14px 117px;\">Unable to read or locate the folder <code>" . $O['mp3_dir'] . "</code> check the path and folder permissions</p>";
592
- else
593
- echo "<p class=\"description\" style=\"margin: 0px 0px 14px 117px;\">No info is available on remote folders but you can play from here if you know the filenames</p>";
594
- ?>
595
-
596
-
597
- <br />
598
- <div class="joptionswrap">
599
-
600
- <!--<a class="fox_buttonlink bl3" href="javascript:mp3jp_listtoggle('fox_op1','Playlist Player Options');" id="fox_op1-toggle">Playlist Player Options</a>-->
601
- <a class="fox_buttonlink bl3" href="javascript:MP3J_ADMIN.toggleit('fox_op1','Playlist Player Options');" id="fox_op1-toggle">Playlist Player Options</a>
602
- <div id="fox_op1-list" class="jopbox">
603
- <br />
604
- <p>Width: &nbsp; <input type="text" style="width:75px;" name="mp3foxPlayerWidth" value="<?php echo $O['player_width']; ?>" /> &nbsp; <span class="description">pixels (px) or percent (%)</span></p>
605
- <p>Align: &nbsp;&nbsp;
606
- <select name="mp3foxFloat" style="width:94px; font-size:11px; line-height:16px;">
607
- <option value="none" <?php if ( 'none' == $O['player_float'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Left</option>
608
- <option value="rel-C" <?php if ( 'rel-C' == $O['player_float'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Centre</option>
609
- <option value="rel-R" <?php if ( 'rel-R' == $O['player_float'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Right</option>
610
- <option value="left" <?php if ( 'left' == $O['player_float'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Float left</option>
611
- <option value="right" <?php if ( 'right' == $O['player_float'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Float right</option>
612
- </select></p>
613
- <br /><br />
614
-
615
- <!-- <p><input type="checkbox" name="mp3foxDownloadMp3" value="true" <?php //if ($O['show_downloadmp3'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Display a 'Download mp3' link</p> -->
616
- <h3 style="margin-left:0;"><strong>Downloads</strong></h3>
617
- <p style="margin-bottom:10px;">Show download link:
618
- <select name="mp3foxDownloadMp3" style="width:120px; font-size:11px; line-height:16px;">
619
- <option value="true" <?php if ( 'true' == $O['show_downloadmp3'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Yes</option>
620
- <option value="false" <?php if ( 'false' == $O['show_downloadmp3'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>No</option>
621
- <option value="loggedin" <?php if ( 'loggedin' == $O['show_downloadmp3'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>To logged in users</option>
622
- </select>
623
- &nbsp;&nbsp;
624
- </p>
625
-
626
- <p class="description" style="margin:0 0 5px 30px;">When setting a player for logged in downloads, use the following options to add text/link for logged out visitors:</p>
627
- <p style="margin-left:30px;">Visitor text: &nbsp; <input type="text" style="width:145px;" name="loggedout_dload_text" value="<?php echo $O['loggedout_dload_text']; ?>" /> &nbsp;<span class="description">(leave blank for no text/link)</span></p>
628
- <p style="margin-left:30px;">Visitor link: &nbsp; <input type="text" style="width:350px;" name="loggedout_dload_link" value="<?php echo $O['loggedout_dload_link']; ?>" /> &nbsp;<span class="description">(optional url for visitor text)</span></p>
629
-
630
- <br />
631
- <!--<span class="description">(can be set per-player via shortcodes)</span>-->
632
-
633
- <p>Download link text: <input type="text" style="width:140px;" name="dload_text" value="<?php echo $O['dload_text']; ?>" /></p>
634
-
635
- <p style="margin-top:15px;"><input type="checkbox" name="force_browser_dload" value="true" <?php if ($O['force_browser_dload'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp;
636
- Try to force browsers to save downloads <span class="description">(no mobile support yet)</span>
637
- <!--&nbsp; Local files
638
- <input type="radio" name="force_browser_dload_remote" value="false" <?php //if ($O['force_browser_dload_remote'] == "false") { echo 'checked="checked"'; } ?> />
639
- &nbsp; | &nbsp;
640
- <input type="radio" name="force_browser_dload_remote" value="true" <?php //if ($O['force_browser_dload_remote'] == "true") { echo 'checked="checked"'; } ?>/>
641
- All files -->
642
- </p>
643
-
644
- <p style="margin:10px 0 0 30px;"><span class="description">If you play from other domains and want to force the download, then use
645
- the field<br />below to specify a path to a downloader file. <a href="<?php echo $mp3_fox->PluginFolder; ?>/remote/help.txt">See help on setting this up</a>.</span></p>
646
-
647
- <p style="margin:5px 0 0 30px;">Path to remote downloader files: <input type="text" style="width:240px;" name="dloader_remote_path" value="<?php echo $O['dloader_remote_path']; ?>" /></p>
648
-
649
- <!--<p style="margin:5px 0 0 25px;"><span class="description">(if you select 'All files' then you'll need to place a downloader file on any remote servers you want to force downloads from.
650
- There's a file included in the plugin for use on servers running php, see <a href="<?php //echo $mp3_fox->PluginFolder; ?>/remote/help.txt">remote setup help</a> for instructions)</span></p>-->
651
-
652
-
653
- <br /><br />
654
- <h3 style="margin-left:0;"><strong>Margins</strong></h3>
655
- <p>Above players: &nbsp; <input type="text" size="5" style="text-align:center;" name="mp3foxPaddings_top" value="<?php echo $O['paddings_top']; ?>" /> <span class="description">&nbsp; pixels (px) or percent (%)</span><br />
656
- Inner margin: (floated players) &nbsp; <input type="text" size="5" style="text-align:center;" name="mp3foxPaddings_inner" value="<?php echo $O['paddings_inner']; ?>" /> <span class="description">&nbsp; pixels (px) or percent (%)</span><br />
657
- Below players: &nbsp; <input type="text" size="5" style="text-align:center;" name="mp3foxPaddings_bottom" value="<?php echo $O['paddings_bottom']; ?>" /> <span class="description">&nbsp; pixels (px) or percent (%)</span></p>
658
-
659
-
660
- <br /><br />
661
- <h3 style="margin-left:0;"><strong>Playlists</strong></h3>
662
- <p>Max playlist height: &nbsp; <input type="text" size="6" style="text-align:center;" name="mp3foxMaxListHeight" value="<?php echo $O['max_list_height']; ?>" /> px &nbsp; <span class="description">(a scroll bar will show for longer playlists, leave it blank for no limit)</span></p>
663
- <p><input type="checkbox" name="mp3foxShowPlaylist" value="true" <?php if ($O['playlist_show'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Start with playlists showing</p>
664
-
665
- <div style="margin: 10px 0px 10px 0px; padding:6px; background:#f9f9f9; border:1px solid #eee;">
666
- <p>Playlist Separators <span class="description">- CAUTION: You'll need to manually update any existing playlists if you change the separators!</p>
667
- <p style="margin-left:20px;">Files: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
668
- <select name="file_separator" style="width:120px; font-size:11px; line-height:16px;">
669
- <option value="," <?php if ( ',' == $O['f_separator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>, (comma)</option>
670
- <option value=";" <?php if ( ';' == $O['f_separator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>; (semicolon)</option>
671
- <option value="###" <?php if ( '###' == $O['f_separator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>### (3 hashes)</option>
672
- </select>
673
- &nbsp;&nbsp;<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>
674
-
675
- <p style="margin-left:20px;">Captions: &nbsp;&nbsp;
676
- <select name="caption_separator" style="width:120px; font-size:11px; line-height:16px;">
677
- <option value="," <?php if ( ',' == $O['c_separator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>, (comma)</option>
678
- <option value=";" <?php if ( ';' == $O['c_separator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>; (semicolon)</option>
679
- <option value="###" <?php if ( '###' == $O['c_separator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>### (3 hashes)</option>
680
- </select>
681
- &nbsp;&nbsp;<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>
682
- </div>
683
-
684
- </div>
685
-
686
- <!--<a class="fox_buttonlink bl3" href="javascript:mp3jp_listtoggle('fox_op5','Single Player Options');" id="fox_op5-toggle">Single Player Options</a>-->
687
- <a class="fox_buttonlink bl3" href="javascript:MP3J_ADMIN.toggleit('fox_op5','Single Player Options');" id="fox_op5-toggle">Single Player Options</a>
688
- <div id="fox_op5-list" class="jopbox">
689
- <p><input type="checkbox" name="volslider_onsingles" value="true" <?php if ($O['volslider_on_singles'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Volume sliders on [mp3<strong>t</strong>] players</p>
690
- <p><input type="checkbox" name="volslider_onmp3j" value="true" <?php if ($O['volslider_on_mp3j'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Volume sliders on [mp3<strong>j</strong>] players</p>
691
- </div>
692
-
693
- <!--<a class="fox_buttonlink bl3" href="javascript:mp3jp_listtoggle('fox_op2','Pop-Out Options');" id="fox_op2-toggle">Pop-Out Options</a>-->
694
- <a class="fox_buttonlink bl3" href="javascript:MP3J_ADMIN.toggleit('fox_op2','Pop-Out Options');" id="fox_op2-toggle">Pop-Out Options</a>
695
- <div id="fox_op2-list" class="jopbox">
696
- <p><input type="checkbox" name="mp3foxEnablePopout" value="true" <?php if ($O['enable_popout'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Enable the pop-out player</p>
697
- <p>Window width: &nbsp; <input type="text" size="4" style="text-align:center;" name="mp3foxPopoutWidth" value="<?php echo $O['popout_width']; ?>" /> px <span class="description">&nbsp; (250 - 1600)</span></p>
698
- <p>Window max height: &nbsp; <input type="text" size="4" style="text-align:center;" name="mp3foxPopoutMaxHeight" value="<?php echo $O['popout_max_height']; ?>" /> px <span class="description">&nbsp; (200 - 1200) &nbsp; a scroll bar will show for longer playlists</span></p>
699
- <p>Launch button text: &nbsp; <input type="text" style="width:200px;" name="mp3foxPopoutButtonText" value="<?php echo $O['popout_button_title']; ?>" /></p>
700
- </div>
701
-
702
- <!--<a class="fox_buttonlink bl3" href="javascript:mp3jp_listtoggle('fox_op3','File Options');" id="fox_op3-toggle">File Options</a>-->
703
- <a class="fox_buttonlink bl3" href="javascript:MP3J_ADMIN.toggleit('fox_op3','File Options');" id="fox_op3-toggle">File Options</a>
704
- <div id="fox_op3-list" class="jopbox">
705
- <p><input type="checkbox" name="mp3foxHideExtension" value="true" <?php if ($O['hide_mp3extension'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Hide '.mp3' extension if a filename is displayed<br /><span class="description" style="margin-left:28px;">(filenames are displayed when there's no available titles)</span></p>
706
- <p><input type="checkbox" name="mp3foxEncodeFiles" value="true" <?php if ($O['encode_files'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Encode URI's and filenames<br /><span class="description" style="margin-left:28px;">(provides some obfuscation of your urls in the page source)</span></p>
707
- <p><input type="checkbox" name="mp3foxAllowRemote" value="true" <?php if ($O['allow_remoteMp3'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Allow playing of off-site mp3's<br /><span class="description" style="margin-left:28px;">(unchecking this option doesn't affect mp3's playing from a remote default folder if one is set above)</span></p>
708
- </div>
709
-
710
- <!--<a class="fox_buttonlink bl3" href="javascript:mp3jp_listtoggle('fox_op4','Template Options');" id="fox_op4-toggle">Template Options</a>-->
711
- <a class="fox_buttonlink bl3" href="javascript:MP3J_ADMIN.toggleit('fox_op4','Template Options');" id="fox_op4-toggle">Template Options</a>
712
- <div id="fox_op4-list" class="jopbox">
713
-
714
-
715
- <p style="margin:10px 0 10px 0px;">Shortcode for 'Turn mp3 links into players' option:</p>
716
-
717
- <p style="margin:0px 0 20px 25px;"><textarea class="widefat" style="width:580px; height:100px;" name="make_player_from_link_shcode"><?php
718
- $deslashed = str_replace('\"', '"', $O['make_player_from_link_shcode'] );
719
- echo $deslashed;
720
- ?></textarea><br /><span class="description">Can also include text/html. Placeholders:</span> <code>{TEXT}</code> <span class="description">- Link text,</span> <code>{URL}</code> <span class="description">- Link url.</span></p>
721
-
722
-
723
-
724
- <p><input type="checkbox" name="mp3foxUseFixedCSS" value="true" <?php if ($O['use_fixed_css'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp;Bypass colour settings<br />&nbsp; &nbsp; &nbsp; &nbsp;<span class="description">(colours can still be set in css)</span></p>
725
- <p><input type="checkbox" name="disableTemplateTag" value="true" <?php if ($O['disable_template_tag'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp;Bypass player template-tags in theme files<br />&nbsp; &nbsp; &nbsp; &nbsp;<span class="description">(ignores mp3j_addscripts() and mp3j_put() template functions)</span></p>
726
-
727
- <?php $greyout_text = ( $O['disable_jquery_libs'] == "yes" ) ? ' style="color:#d6d6d6;"' : ''; ?>
728
- <p<?php echo $greyout_text; ?>><input type="checkbox" name="touch_punch_js" value="true" <?php if ($O['touch_punch_js'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp;Include additional js for touch screen support<br />&nbsp; &nbsp; &nbsp; &nbsp;<span class="description"<?php echo $greyout_text; ?>>(adds jquery.ui.touch-punch.js script)</span></p>
729
- <p><input type="checkbox" name="mp3foxEchoDebug" value="true" <?php if ($O['echo_debug'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp;Turn on debug<br />&nbsp; &nbsp; &nbsp; &nbsp;<span class="description">(info appears in the source view near the bottom)</span></p>
730
- <?php $bgc = ( $O['disable_jquery_libs'] == "yes" ) ? "#fdd" : "#f9f9f9"; ?>
731
- <div style="margin: 20px 0px 10px 0px; padding:6px; background:<?php echo $bgc; ?>; border:1px solid #eee;">
732
- <p style="margin:0 0 5px 18px;">Disable jQuery and jQuery-UI javascript libraries? &nbsp; <input type="text" style="width:60px;" name="disableJSlibs" value="<?php echo $O['disable_jquery_libs']; ?>" /></p>
733
- <p style="margin: 0 0 8px 18px;"><span class="description"><strong>CAUTION!!</strong> This option will bypass the request <strong>from this plugin only</strong> for both jQuery <strong>and</strong> jQuery-UI scripts,
734
- you <strong>MUST</strong> be providing these scripts from an alternative source.
735
- <br />Type <code>yes</code> in the box and save settings to bypass jQuery and jQuery-UI.</span></p>
736
- </div>
737
- </div>
738
- </div><!-- close .joptionswrap -->
739
-
740
- <p style="margin-top: 4px;"><input type="submit" name="update_mp3foxSettings" class="button-primary" value="<?php _e('Update Settings', $mp3_fox->textdomain ) ?>" /> &nbsp; Remember settings if plugin is deactivated &nbsp;<input type="checkbox" name="mp3foxRemember" value="true" <?php if ($O['remember_settings'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /></p>
741
- <input id="fox_styling" type="hidden" name="MtogBox1" value="<?php echo $O['admin_toggle_1']; // Colour settings toggle state ?>" />
742
- <input type="hidden" name="mp3foxPluginVersion" value="<?php echo $mp3_fox->version_of_plugin; ?>" />
743
- </form><br />
744
- <div style="margin: 15px 120px 25px 0px; border-top: 1px solid #999; height: 30px;"><p class="description" style="margin: 0px 120px px 0px;"><a href="http://sjward.org/jplayer-for-wordpress">Plugin home page</a></p></div>
745
- </div>
746
- <?php
747
- }
1
+ <?php
2
+ function mp3j_print_admin_page() {
3
+
4
+ global $mp3_fox;
5
+ $O = $mp3_fox->getAdminOptions();
6
+ $colours_array = array();
7
+
8
+ if ( isset( $_POST['update_mp3foxSettings'] ) )
9
+ {
10
+
11
+ //prep/sanitize number values
12
+ if (isset($_POST['mp3foxVol'])) {
13
+ $O['initial_vol'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxVol']);
14
+ if ($O['initial_vol'] < 0 || $O['initial_vol']=="") { $O['initial_vol'] = "0"; }
15
+ if ($O['initial_vol'] > 100) { $O['initial_vol'] = "100"; }
16
+ }
17
+ if (isset($_POST['mp3foxPopoutMaxHeight'])) {
18
+ $O['popout_max_height'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxPopoutMaxHeight']);
19
+ if ( $O['popout_max_height'] == "" ) { $O['popout_max_height'] = "750"; }
20
+ if ( $O['popout_max_height'] < 200 ) { $O['popout_max_height'] = "200"; }
21
+ if ( $O['popout_max_height'] > 1200 ) { $O['popout_max_height'] = "1200"; }
22
+ }
23
+ if (isset($_POST['mp3foxPopoutWidth'])) {
24
+ $O['popout_width'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxPopoutWidth']);
25
+ if ( $O['popout_width'] == "" ) { $O['popout_width'] = "400"; }
26
+ if ( $O['popout_width'] < 250 ) { $O['popout_width'] = "250"; }
27
+ if ( $O['popout_width'] > 1600 ) { $O['popout_width'] = "1600"; }
28
+ }
29
+ if (isset($_POST['mp3foxMaxListHeight'])) {
30
+ $O['max_list_height'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxMaxListHeight']);
31
+ if ( $O['max_list_height'] < 0 ) { $O['max_list_height'] = ""; }
32
+ }
33
+
34
+ //prep/sanitize paths
35
+ if (isset($_POST['mp3foxfolder'])) {
36
+ $O['mp3_dir'] = $mp3_fox->prep_path( $_POST['mp3foxfolder'] );
37
+ }
38
+ if (isset($_POST['mp3foxCustomStylesheet'])) {
39
+ $O['custom_stylesheet'] = $mp3_fox->prep_path( $_POST['mp3foxCustomStylesheet'] );
40
+ }
41
+ if (isset($_POST['mp3foxPopoutBGimage'])) {
42
+ $O['popout_background_image'] = $mp3_fox->prep_path( $_POST['mp3foxPopoutBGimage'] );
43
+ }
44
+
45
+ $O['dloader_remote_path'] = ( isset($_POST['dloader_remote_path']) ) ? $mp3_fox->prep_value( $_POST['dloader_remote_path'] ) : "";
46
+ $O['loggedout_dload_link'] = ( $_POST['loggedout_dload_link'] == "" ) ? "" : $mp3_fox->prep_value( $_POST['loggedout_dload_link'] ); //allow it to be empty
47
+
48
+ //prep/sanitize options and checkboxes
49
+ if (isset($_POST['mp3foxTheme'])) {
50
+ $O['player_theme'] = $mp3_fox->prep_value( $_POST['mp3foxTheme'] );
51
+ }
52
+ if (isset($_POST['mp3foxFloat'])) {
53
+ $O['player_float'] = $mp3_fox->prep_value( $_POST['mp3foxFloat'] );
54
+ }
55
+ if (isset($_POST['librarySortcol'])) {
56
+ $O['library_sortcol'] = $mp3_fox->prep_value( $_POST['librarySortcol'] );
57
+ }
58
+ if (isset($_POST['libraryDirection'])) {
59
+ $O['library_direction'] = $mp3_fox->prep_value( $_POST['libraryDirection'] );
60
+ }
61
+ if (isset($_POST['file_separator'])) {
62
+ $O['f_separator'] = $mp3_fox->prep_value( $_POST['file_separator'] );
63
+ }
64
+ if (isset($_POST['caption_separator'])) {
65
+ $O['c_separator'] = $mp3_fox->prep_value( $_POST['caption_separator'] );
66
+ }
67
+ if (isset($_POST['mp3foxDownloadMp3'])) {
68
+ $O['show_downloadmp3'] = $mp3_fox->prep_value( $_POST['mp3foxDownloadMp3'] );
69
+ }
70
+
71
+ $O['disable_template_tag'] = ( isset($_POST['disableTemplateTag']) ) ? "true" : "false";
72
+ $O['echo_debug'] = ( isset($_POST['mp3foxEchoDebug']) ) ? "true" : "false";
73
+ $O['add_track_numbering'] = ( isset($_POST['mp3foxAddTrackNumbers']) ) ? "true" : "false";
74
+ $O['enable_popout'] = ( isset($_POST['mp3foxEnablePopout']) ) ? "true" : "false";
75
+ $O['playlist_repeat'] = ( isset($_POST['mp3foxPlaylistRepeat']) ) ? "true" : "false";
76
+ $O['use_fixed_css'] = ( isset($_POST['mp3foxUseFixedCSS']) ) ? "true" : "false";
77
+ $O['encode_files'] = ( isset($_POST['mp3foxEncodeFiles']) ) ? "true" : "false";
78
+ $O['run_shcode_in_excerpt'] = ( isset($_POST['runShcodeInExcerpt']) ) ? "true" : "false";
79
+ $O['volslider_on_singles'] = ( isset($_POST['volslider_onsingles']) ) ? "true" : "false";
80
+ $O['volslider_on_mp3j'] = ( isset($_POST['volslider_onmp3j']) ) ? "true" : "false";
81
+ $O['touch_punch_js'] = ( isset($_POST['touch_punch_js']) ) ? "true" : "false";
82
+ $O['force_browser_dload'] = ( isset($_POST['force_browser_dload']) ) ? "true" : "false";
83
+ $O['make_player_from_link'] = ( isset($_POST['make_player_from_link']) ) ? "true" : "false";
84
+ $O['auto_play'] = ( isset($_POST['mp3foxAutoplay']) ) ? "true" : "false";
85
+ $O['allow_remoteMp3'] = ( isset($_POST['mp3foxAllowRemote']) ) ? "true" : "false";
86
+ $O['player_onblog'] = ( isset($_POST['mp3foxOnBlog']) ) ? "true" : "false";
87
+ $O['playlist_show'] = ( isset($_POST['mp3foxShowPlaylist']) ) ? "true" : "false";
88
+ $O['remember_settings'] = ( isset($_POST['mp3foxRemember']) ) ? "true" : "false";
89
+ $O['hide_mp3extension'] = ( isset($_POST['mp3foxHideExtension']) ) ? "true" : "false";
90
+
91
+ //prep/sanitize other values
92
+ if (isset($_POST['mp3foxPlayerWidth'])) {
93
+ $O['player_width'] = $mp3_fox->prep_value( $_POST['mp3foxPlayerWidth'] );
94
+ }
95
+ if (isset($_POST['disableJSlibs'])) {
96
+ $O['disable_jquery_libs'] = ( preg_match("/^yes$/i", $_POST['disableJSlibs']) ) ? "yes" : "";
97
+ }
98
+
99
+ $O['paddings_top'] = ( $_POST['mp3foxPaddings_top'] == "" ) ? "0px" : $mp3_fox->prep_value( $_POST['mp3foxPaddings_top'] );
100
+ $O['paddings_bottom'] = ( $_POST['mp3foxPaddings_bottom'] == "" ) ? "0px" : $mp3_fox->prep_value( $_POST['mp3foxPaddings_bottom'] );
101
+ $O['paddings_inner'] = ( $_POST['mp3foxPaddings_inner'] == "" ) ? "0px" : $mp3_fox->prep_value( $_POST['mp3foxPaddings_inner'] );
102
+
103
+ if ( isset($_POST['mp3foxPopoutBackground']) ) {
104
+ $O['popout_background'] = $mp3_fox->prep_value( $_POST['mp3foxPopoutBackground'] );
105
+ }
106
+ if ( isset($_POST['mp3foxPluginVersion']) ) {
107
+ $O['db_plugin_version'] = $mp3_fox->prep_value( $_POST['mp3foxPluginVersion'] );
108
+ }
109
+ if ( isset($_POST['MtogBox1']) ) {
110
+ $O['admin_toggle_1'] = $mp3_fox->prep_value( $_POST['MtogBox1'] );
111
+ }
112
+
113
+ //prep/sanitize text
114
+ $O['dload_text'] = ( $_POST['dload_text'] == "" ) ? "DOWNLOAD MP3" : $mp3_fox->prep_text( $_POST['dload_text'] );
115
+ $O['loggedout_dload_text'] = ( $_POST['loggedout_dload_text'] == "" ) ? "" : $mp3_fox->prep_text( $_POST['loggedout_dload_text'] );
116
+
117
+ if ( isset($_POST['mp3foxPopoutButtonText']) ) {
118
+ $O['popout_button_title'] = $mp3_fox->prep_text( $_POST['mp3foxPopoutButtonText'] );
119
+ }
120
+ if ( isset($_POST['make_player_from_link_shcode']) ) {
121
+ $O['make_player_from_link_shcode'] = $mp3_fox->prep_text( $_POST['make_player_from_link_shcode'] );
122
+ }
123
+
124
+ // Colours array//
125
+ if (isset($_POST['mp3foxScreenColour'])) { $colours_array['screen_colour'] = $mp3_fox->prep_value( $_POST['mp3foxScreenColour'] ); }
126
+ if (isset($_POST['mp3foxScreenOpac'])) { $colours_array['screen_opacity'] = $mp3_fox->prep_value( $_POST['mp3foxScreenOpac'] ); }
127
+ if (isset($_POST['mp3foxLoadbarColour'])) { $colours_array['loadbar_colour'] = $mp3_fox->prep_value( $_POST['mp3foxLoadbarColour'] ); }
128
+ if (isset($_POST['mp3foxLoadbarOpac'])) { $colours_array['loadbar_opacity'] = $mp3_fox->prep_value( $_POST['mp3foxLoadbarOpac'] ); }
129
+ if (isset($_POST['mp3foxPosbarColour'])) { $colours_array['posbar_colour'] = $mp3_fox->prep_value( $_POST['mp3foxPosbarColour'] ); }
130
+ if (isset($_POST['mp3foxPosbarTint'])) { $colours_array['posbar_tint'] = $mp3_fox->prep_value( $_POST['mp3foxPosbarTint'] ); }
131
+ if (isset($_POST['mp3foxPosbarOpac'])) { $colours_array['posbar_opacity'] = $mp3_fox->prep_value( $_POST['mp3foxPosbarOpac'] ); }
132
+ if (isset($_POST['mp3foxScreenTextColour'])) { $colours_array['screen_text_colour'] = $mp3_fox->prep_value( $_POST['mp3foxScreenTextColour'] ); }
133
+ if (isset($_POST['mp3foxPlaylistColour'])) { $colours_array['playlist_colour'] = $mp3_fox->prep_value( $_POST['mp3foxPlaylistColour'] ); }
134
+ if (isset($_POST['mp3foxPlaylistTint'])) { $colours_array['playlist_tint'] = $mp3_fox->prep_value( $_POST['mp3foxPlaylistTint'] ); }
135
+ if (isset($_POST['mp3foxPlaylistOpac'])) { $colours_array['playlist_opacity'] = $mp3_fox->prep_value( $_POST['mp3foxPlaylistOpac'] ); }
136
+ if (isset($_POST['mp3foxListTextColour'])) { $colours_array['list_text_colour'] = $mp3_fox->prep_value( $_POST['mp3foxListTextColour'] ); }
137
+ if (isset($_POST['mp3foxListCurrentColour'])) { $colours_array['list_current_colour'] = $mp3_fox->prep_value( $_POST['mp3foxListCurrentColour'] ); }
138
+ if (isset($_POST['mp3foxListHoverColour'])) { $colours_array['list_hover_colour'] = $mp3_fox->prep_value( $_POST['mp3foxListHoverColour'] ); }
139
+ if (isset($_POST['mp3foxListBGaHover'])) { $colours_array['listBGa_hover'] = $mp3_fox->prep_value( $_POST['mp3foxListBGaHover'] ); }
140
+ if (isset($_POST['mp3foxListBGaCurrent'])) { $colours_array['listBGa_current'] = $mp3_fox->prep_value( $_POST['mp3foxListBGaCurrent'] ); }
141
+ if (isset($_POST['mp3foxVolGrad'])) { $colours_array['volume_grad'] = $mp3_fox->prep_value( $_POST['mp3foxVolGrad'] ); }
142
+ if (isset($_POST['mp3foxListDivider'])) { $colours_array['list_divider'] = $mp3_fox->prep_value( $_POST['mp3foxListDivider'] ); }
143
+ if (isset($_POST['mp3foxIndicator'])) { $colours_array['indicator'] = $mp3_fox->prep_value( $_POST['mp3foxIndicator'] ); }
144
+ $O['colour_settings'] = $colours_array;
145
+
146
+ update_option($mp3_fox->adminOptionsName, $O);
147
+ $mp3_fox->theSettings = $O;
148
+ ?>
149
+
150
+ <!-- Settings saved message -->
151
+ <div class="updated"><p><strong><?php _e("Settings Updated.", $mp3_fox->textdomain );?></strong></p></div>
152
+
153
+ <?php
154
+ }
155
+ // Pick up current colours
156
+ $current_colours = $O['colour_settings'];
157
+ ?>
158
+
159
+ <div class="wrap">
160
+ <h2>&nbsp;</h2>
161
+ <h1>MP3<span style="font-size:16px;"> - </span>jPlayer<span class="description" style="font-size:10px;">&nbsp; <?php echo $mp3_fox->version_of_plugin; ?></span> &nbsp;&nbsp;
162
+ <?php if ( $O['disable_jquery_libs'] == "yes" ) { ?><span style="font-size: 11px; font-weight:700; color:#f66;">(jQuery and UI scripts are turned off)</span><?php } ?></h1>
163
+
164
+ <h5 style="margin: 0 0 30px 0; padding:0; font-size:10px;">
165
+ <a href="javascript:MP3J_ADMIN.toggleit('tog_0','HELP');" id="tog_0-toggle" class="fox_buttonlink">HELP</a>&nbsp;<a href="widgets.php" class="fox_buttonlink">WIDGETS</a>
166
+ </h5>
167
+
168
+ <div id="tog_0-list" style="border-bottom:1px solid #ccc; margin-bottom:25px;">
169
+
170
+ <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>
171
+
172
+ <br />
173
+ <h3 style="margin-left:0;">Shortcode Parameters</h3>
174
+ <div class="Ahelp1">
175
+
176
+ <h4><code>[mp3-jplayer]</code> <span class="description">Playlist player</span></h4>
177
+
178
+ <h5>Parameters:</h5>
179
+ <p><code>tracks</code> <span class="description">filenames/URIs/FEEDs (<code>,</code> separated)</span><br />
180
+ <code>captions</code> <span class="description">caption text (<code>;</code> separated)</span><br />
181
+ <code>vol</code> <span class="description">0 - 100</span><br />
182
+ <code>autoplay</code> <span class="description">y/n</span><br />
183
+ <code>loop</code> <span class="description">y/n</span><br />
184
+ <code>dload</code> <span class="description">y / n / loggedin (show download link)</span><br />
185
+ <code>list</code> <span class="description">y/n (show playlist)</span><br />
186
+ <code>pick</code> <span class="description">a number (picks random selection)</span><br />
187
+ <code>shuffle</code> <span class="description">y/n (shuffle track order)</span><br />
188
+ <code>title</code> <span class="description">text above player</span><br />
189
+ <code>pos</code> <span class="description">rel-L, rel-C, rel-R, left, right</span><br />
190
+ <code>width</code> <span class="description">in px or %</span><br />
191
+ <code>height</code> <span class="description">in px (player height excluding list)</span><br />
192
+ <code>pn</code> <span class="description">y/n (show prev/next buttons)</span><br />
193
+ <code>stop</code> <span class="description">y/n (show stop button)</span><br />
194
+ <code>id</code> <span class="description">a page id (to read the custom fields from)</span><br />
195
+ <code>images</code> <span class="description">comma separated list of track image urls</span><br />
196
+ <!--<code>imglinks</code> <span class="description">comma separated list of arbitrary links</span><br />-->
197
+ <code>fsort</code> <span class="description">asc/desc (folder feed direction)</span><br />
198
+ <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>
199
+
200
+ </div>
201
+
202
+ <div class="Ahelp1">
203
+ <h4><code>[mp3j]</code> &amp; <code>[mp3t]</code> <span class="description">Single-track players</span></h4>
204
+
205
+ <h5>Parameters:</h5>
206
+ <p><code>track</code> <span class="description">filename or URI</span><br />
207
+ <code>caption</code> <span class="description">caption text (right of title)</span><br />
208
+ <code>vol</code> <span class="description"