Version Description
- January 24, 2013 =
- Fixed bug that permanently disabled buttons on the Embed Video from URL tab.
- Disabled "Delete Permanently" option for encoded files found on other servers.
- Reduced the jQuery UI Dialog css and put it in its own scope to avoid conflicts with existing jQuery UI Dialog themes.
- Cleaned out some leftover code.
Download this release
Release Info
Developer | kylegilman |
Plugin | Video Embed & Thumbnail Generator |
Version | 3.0.2 |
Comparing to | |
See all releases |
Code changes from version 3.0 to 3.0.2
- css/kgvid_video_gallery.css +39 -542
- js/kgvid_video_embed.js +1 -1
- js/kgvid_video_plugin_admin.js +9 -7
- readme.txt +12 -3
- video-embed-thumbnail-generator.php +31 -40
css/kgvid_video_gallery.css
CHANGED
@@ -32,568 +32,65 @@
|
|
32 |
left:5px;
|
33 |
}
|
34 |
|
35 |
-
|
36 |
-
|
37 |
/*!
|
38 |
-
* jQuery UI
|
39 |
*
|
40 |
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
|
41 |
* Dual licensed under the MIT or GPL Version 2 licenses.
|
42 |
* http://jquery.org/license
|
43 |
*
|
44 |
-
* http://docs.jquery.com/UI/
|
45 |
*/
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
.ui-
|
50 |
-
.ui-
|
51 |
-
.ui-
|
52 |
-
.ui-
|
53 |
-
.ui-
|
54 |
-
.ui-
|
55 |
-
.ui-
|
56 |
-
|
57 |
-
|
58 |
-
/* Interaction Cues
|
59 |
-
----------------------------------*/
|
60 |
-
.ui-state-disabled { cursor: default !important; }
|
61 |
-
|
62 |
-
|
63 |
-
/* Icons
|
64 |
-
----------------------------------*/
|
65 |
-
|
66 |
-
/* states and images */
|
67 |
-
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
|
68 |
-
|
69 |
-
|
70 |
-
/* Misc visuals
|
71 |
-
----------------------------------*/
|
72 |
|
73 |
/* Overlays */
|
74 |
-
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
|
75 |
-
|
76 |
-
|
77 |
-
/*!
|
78 |
-
* jQuery UI CSS Framework 1.8.22
|
79 |
-
*
|
80 |
-
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
|
81 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
82 |
-
* http://jquery.org/license
|
83 |
-
*
|
84 |
-
* http://docs.jquery.com/UI/Theming/API
|
85 |
-
*
|
86 |
-
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana,Arial,sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=05_inset_soft.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=000000&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=80&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=20&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
|
87 |
-
*/
|
88 |
-
|
89 |
|
90 |
/* Component containers
|
91 |
----------------------------------*/
|
92 |
-
.ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; }
|
93 |
-
.ui-widget .ui-widget { font-size: 1em; }
|
94 |
-
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; }
|
95 |
-
.ui-widget-content { }
|
96 |
-
.ui-widget-content a { color: #222222; }
|
97 |
-
.ui-widget-header { color: #222222; font-weight: bold; }
|
98 |
-
.ui-widget-header a { color: #222222; }
|
99 |
-
|
100 |
-
/* Interaction states
|
101 |
-
----------------------------------*/
|
102 |
-
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d3d3d3; background: #e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #555555; }
|
103 |
-
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555; text-decoration: none; }
|
104 |
-
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #7a7a7a; background: #000000 url(images/ui-bg_highlight-soft_60_000000_1x100.png) 50% 50% repeat-x; font-weight: normal; color: #ebebeb; }
|
105 |
-
.ui-state-hover a, .ui-state-hover a:hover { color: #212121; text-decoration: none; }
|
106 |
-
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; }
|
107 |
-
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121; text-decoration: none; }
|
108 |
-
.ui-widget :active { outline: none; }
|
109 |
-
|
110 |
-
/* Interaction Cues
|
111 |
-
----------------------------------*/
|
112 |
-
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; }
|
113 |
-
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
|
114 |
-
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_inset-soft_95_fef1ec_1x100.png) 50% bottom repeat-x; color: #cd0a0a; }
|
115 |
-
.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
|
116 |
-
.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
|
117 |
-
.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
|
118 |
-
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
|
119 |
-
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
|
120 |
-
|
121 |
-
/* Icons
|
122 |
-
----------------------------------*/
|
123 |
-
|
124 |
-
/* states and images */
|
125 |
-
.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_bbbbbb_256x240.png); }
|
126 |
-
.ui-widget-content .ui-icon {background-image: url(images/ui-icons_bbbbbb_256x240.png); }
|
127 |
-
.ui-widget-header .ui-icon {background-image: url(images/ui-icons_cccccc_256x240.png); }
|
128 |
-
.ui-state-default .ui-icon { background-image: url(images/ui-icons_ffffff_256x240.png); }
|
129 |
-
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_00a2f2_256x240.png); }
|
130 |
-
.ui-state-active .ui-icon {background-image: url(images/ui-icons_00a2f2_256x240.png); }
|
131 |
-
.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_aaaaaa_256x240.png); }
|
132 |
-
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); }
|
133 |
-
|
134 |
-
/* positioning */
|
135 |
-
.ui-icon-carat-1-n { background-position: 0 0; }
|
136 |
-
.ui-icon-carat-1-ne { background-position: -16px 0; }
|
137 |
-
.ui-icon-carat-1-e { background-position: -32px 0; }
|
138 |
-
.ui-icon-carat-1-se { background-position: -48px 0; }
|
139 |
-
.ui-icon-carat-1-s { background-position: -64px 0; }
|
140 |
-
.ui-icon-carat-1-sw { background-position: -80px 0; }
|
141 |
-
.ui-icon-carat-1-w { background-position: -96px 0; }
|
142 |
-
.ui-icon-carat-1-nw { background-position: -112px 0; }
|
143 |
-
.ui-icon-carat-2-n-s { background-position: -128px 0; }
|
144 |
-
.ui-icon-carat-2-e-w { background-position: -144px 0; }
|
145 |
-
.ui-icon-triangle-1-n { background-position: 0 -16px; }
|
146 |
-
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
|
147 |
-
.ui-icon-triangle-1-e { background-position: -32px -16px; }
|
148 |
-
.ui-icon-triangle-1-se { background-position: -48px -16px; }
|
149 |
-
.ui-icon-triangle-1-s { background-position: -64px -16px; }
|
150 |
-
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
|
151 |
-
.ui-icon-triangle-1-w { background-position: -96px -16px; }
|
152 |
-
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
|
153 |
-
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
|
154 |
-
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
|
155 |
-
.ui-icon-arrow-1-n { background-position: 0 -32px; }
|
156 |
-
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
|
157 |
-
.ui-icon-arrow-1-e { background-position: -32px -32px; }
|
158 |
-
.ui-icon-arrow-1-se { background-position: -48px -32px; }
|
159 |
-
.ui-icon-arrow-1-s { background-position: -64px -32px; }
|
160 |
-
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
|
161 |
-
.ui-icon-arrow-1-w { background-position: -96px -32px; }
|
162 |
-
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
|
163 |
-
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
|
164 |
-
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
|
165 |
-
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
|
166 |
-
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
|
167 |
-
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
|
168 |
-
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
|
169 |
-
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
|
170 |
-
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
|
171 |
-
.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
|
172 |
-
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
|
173 |
-
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
|
174 |
-
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
|
175 |
-
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
|
176 |
-
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
|
177 |
-
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
|
178 |
-
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
|
179 |
-
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
|
180 |
-
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
|
181 |
-
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
|
182 |
-
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
|
183 |
-
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
|
184 |
-
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
|
185 |
-
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
|
186 |
-
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
|
187 |
-
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
|
188 |
-
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
|
189 |
-
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
|
190 |
-
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
|
191 |
-
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
|
192 |
-
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
|
193 |
-
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
|
194 |
-
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
|
195 |
-
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
|
196 |
-
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
|
197 |
-
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
|
198 |
-
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
|
199 |
-
.ui-icon-arrow-4 { background-position: 0 -80px; }
|
200 |
-
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
|
201 |
-
.ui-icon-extlink { background-position: -32px -80px; }
|
202 |
-
.ui-icon-newwin { background-position: -48px -80px; }
|
203 |
-
.ui-icon-refresh { background-position: -64px -80px; }
|
204 |
-
.ui-icon-shuffle { background-position: -80px -80px; }
|
205 |
-
.ui-icon-transfer-e-w { background-position: -96px -80px; }
|
206 |
-
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
|
207 |
-
.ui-icon-folder-collapsed { background-position: 0 -96px; }
|
208 |
-
.ui-icon-folder-open { background-position: -16px -96px; }
|
209 |
-
.ui-icon-document { background-position: -32px -96px; }
|
210 |
-
.ui-icon-document-b { background-position: -48px -96px; }
|
211 |
-
.ui-icon-note { background-position: -64px -96px; }
|
212 |
-
.ui-icon-mail-closed { background-position: -80px -96px; }
|
213 |
-
.ui-icon-mail-open { background-position: -96px -96px; }
|
214 |
-
.ui-icon-suitcase { background-position: -112px -96px; }
|
215 |
-
.ui-icon-comment { background-position: -128px -96px; }
|
216 |
-
.ui-icon-person { background-position: -144px -96px; }
|
217 |
-
.ui-icon-print { background-position: -160px -96px; }
|
218 |
-
.ui-icon-trash { background-position: -176px -96px; }
|
219 |
-
.ui-icon-locked { background-position: -192px -96px; }
|
220 |
-
.ui-icon-unlocked { background-position: -208px -96px; }
|
221 |
-
.ui-icon-bookmark { background-position: -224px -96px; }
|
222 |
-
.ui-icon-tag { background-position: -240px -96px; }
|
223 |
-
.ui-icon-home { background-position: 0 -112px; }
|
224 |
-
.ui-icon-flag { background-position: -16px -112px; }
|
225 |
-
.ui-icon-calendar { background-position: -32px -112px; }
|
226 |
-
.ui-icon-cart { background-position: -48px -112px; }
|
227 |
-
.ui-icon-pencil { background-position: -64px -112px; }
|
228 |
-
.ui-icon-clock { background-position: -80px -112px; }
|
229 |
-
.ui-icon-disk { background-position: -96px -112px; }
|
230 |
-
.ui-icon-calculator { background-position: -112px -112px; }
|
231 |
-
.ui-icon-zoomin { background-position: -128px -112px; }
|
232 |
-
.ui-icon-zoomout { background-position: -144px -112px; }
|
233 |
-
.ui-icon-search { background-position: -160px -112px; }
|
234 |
-
.ui-icon-wrench { background-position: -176px -112px; }
|
235 |
-
.ui-icon-gear { background-position: -192px -112px; }
|
236 |
-
.ui-icon-heart { background-position: -208px -112px; }
|
237 |
-
.ui-icon-star { background-position: -224px -112px; }
|
238 |
-
.ui-icon-link { background-position: -240px -112px; }
|
239 |
-
.ui-icon-cancel { background-position: 0 -128px; }
|
240 |
-
.ui-icon-plus { background-position: -16px -128px; }
|
241 |
-
.ui-icon-plusthick { background-position: -32px -128px; }
|
242 |
-
.ui-icon-minus { background-position: -48px -128px; }
|
243 |
-
.ui-icon-minusthick { background-position: -64px -128px; }
|
244 |
-
.ui-icon-close { background-position: -80px -128px; }
|
245 |
-
.ui-icon-closethick { background-position: -96px -128px; }
|
246 |
-
.ui-icon-key { background-position: -112px -128px; }
|
247 |
-
.ui-icon-lightbulb { background-position: -128px -128px; }
|
248 |
-
.ui-icon-scissors { background-position: -144px -128px; }
|
249 |
-
.ui-icon-clipboard { background-position: -160px -128px; }
|
250 |
-
.ui-icon-copy { background-position: -176px -128px; }
|
251 |
-
.ui-icon-contact { background-position: -192px -128px; }
|
252 |
-
.ui-icon-image { background-position: -208px -128px; }
|
253 |
-
.ui-icon-video { background-position: -224px -128px; }
|
254 |
-
.ui-icon-script { background-position: -240px -128px; }
|
255 |
-
.ui-icon-alert { background-position: 0 -144px; }
|
256 |
-
.ui-icon-info { background-position: -16px -144px; }
|
257 |
-
.ui-icon-notice { background-position: -32px -144px; }
|
258 |
-
.ui-icon-help { background-position: -48px -144px; }
|
259 |
-
.ui-icon-check { background-position: -64px -144px; }
|
260 |
-
.ui-icon-bullet { background-position: -80px -144px; }
|
261 |
-
.ui-icon-radio-off { background-position: -96px -144px; }
|
262 |
-
.ui-icon-radio-on { background-position: -112px -144px; }
|
263 |
-
.ui-icon-pin-w { background-position: -128px -144px; }
|
264 |
-
.ui-icon-pin-s { background-position: -144px -144px; }
|
265 |
-
.ui-icon-play { background-position: 0 -160px; }
|
266 |
-
.ui-icon-pause { background-position: -16px -160px; }
|
267 |
-
.ui-icon-seek-next { background-position: -32px -160px; }
|
268 |
-
.ui-icon-seek-prev { background-position: -48px -160px; }
|
269 |
-
.ui-icon-seek-end { background-position: -64px -160px; }
|
270 |
-
.ui-icon-seek-start { background-position: -80px -160px; }
|
271 |
-
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
|
272 |
-
.ui-icon-seek-first { background-position: -80px -160px; }
|
273 |
-
.ui-icon-stop { background-position: -96px -160px; }
|
274 |
-
.ui-icon-eject { background-position: -112px -160px; }
|
275 |
-
.ui-icon-volume-off { background-position: -128px -160px; }
|
276 |
-
.ui-icon-volume-on { background-position: -144px -160px; }
|
277 |
-
.ui-icon-power { background-position: 0 -176px; }
|
278 |
-
.ui-icon-signal-diag { background-position: -16px -176px; }
|
279 |
-
.ui-icon-signal { background-position: -32px -176px; }
|
280 |
-
.ui-icon-battery-0 { background-position: -48px -176px; }
|
281 |
-
.ui-icon-battery-1 { background-position: -64px -176px; }
|
282 |
-
.ui-icon-battery-2 { background-position: -80px -176px; }
|
283 |
-
.ui-icon-battery-3 { background-position: -96px -176px; }
|
284 |
-
.ui-icon-circle-plus { background-position: 0 -192px; }
|
285 |
-
.ui-icon-circle-minus { background-position: -16px -192px; }
|
286 |
-
.ui-icon-circle-close { background-position: -32px -192px; }
|
287 |
-
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
|
288 |
-
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
|
289 |
-
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
|
290 |
-
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
|
291 |
-
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
|
292 |
-
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
|
293 |
-
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
|
294 |
-
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
|
295 |
-
.ui-icon-circle-zoomin { background-position: -176px -192px; }
|
296 |
-
.ui-icon-circle-zoomout { background-position: -192px -192px; }
|
297 |
-
.ui-icon-circle-check { background-position: -208px -192px; }
|
298 |
-
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
|
299 |
-
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
|
300 |
-
.ui-icon-circlesmall-close { background-position: -32px -208px; }
|
301 |
-
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
|
302 |
-
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
|
303 |
-
.ui-icon-squaresmall-close { background-position: -80px -208px; }
|
304 |
-
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
|
305 |
-
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
|
306 |
-
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
|
307 |
-
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
|
308 |
-
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
|
309 |
-
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
|
310 |
-
|
311 |
|
312 |
/* Misc visuals
|
313 |
----------------------------------*/
|
314 |
|
315 |
/* Corner radius */
|
316 |
-
.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; border-top-left-radius: 4px; }
|
317 |
-
.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -khtml-border-top-right-radius: 4px; border-top-right-radius: 4px; }
|
318 |
-
.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
|
319 |
-
.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
|
320 |
|
321 |
/* Overlays */
|
322 |
-
.ui-widget-overlay { background-color: black; opacity: .80;filter:Alpha(Opacity=80); }
|
323 |
-
.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #000000 url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }
|
324 |
-
* jQuery UI Resizable 1.8.22
|
325 |
-
*
|
326 |
-
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
|
327 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
328 |
-
* http://jquery.org/license
|
329 |
-
*
|
330 |
-
* http://docs.jquery.com/UI/Resizable#theming
|
331 |
-
*/
|
332 |
-
.ui-resizable { position: relative;}
|
333 |
-
.ui-resizable-handle { position: absolute;font-size: 0.1px; display: block; }
|
334 |
-
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
|
335 |
-
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
|
336 |
-
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
|
337 |
-
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
|
338 |
-
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
|
339 |
-
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
|
340 |
-
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
|
341 |
-
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
|
342 |
-
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*!
|
343 |
-
* jQuery UI Selectable 1.8.22
|
344 |
-
*
|
345 |
-
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
|
346 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
347 |
-
* http://jquery.org/license
|
348 |
-
*
|
349 |
-
* http://docs.jquery.com/UI/Selectable#theming
|
350 |
-
*/
|
351 |
-
.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
|
352 |
-
/*!
|
353 |
-
* jQuery UI Accordion 1.8.22
|
354 |
-
*
|
355 |
-
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
|
356 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
357 |
-
* http://jquery.org/license
|
358 |
-
*
|
359 |
-
* http://docs.jquery.com/UI/Accordion#theming
|
360 |
-
*/
|
361 |
-
/* IE/Win - Fix animation bug - #4615 */
|
362 |
-
.ui-accordion { width: 100%; }
|
363 |
-
.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
|
364 |
-
.ui-accordion .ui-accordion-li-fix { display: inline; }
|
365 |
-
.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
|
366 |
-
.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }
|
367 |
-
.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
|
368 |
-
.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
|
369 |
-
.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
|
370 |
-
.ui-accordion .ui-accordion-content-active { display: block; }
|
371 |
-
/*!
|
372 |
-
* jQuery UI Autocomplete 1.8.22
|
373 |
-
*
|
374 |
-
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
|
375 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
376 |
-
* http://jquery.org/license
|
377 |
-
*
|
378 |
-
* http://docs.jquery.com/UI/Autocomplete#theming
|
379 |
-
*/
|
380 |
-
.ui-autocomplete { position: absolute; cursor: default; }
|
381 |
-
|
382 |
-
/* workarounds */
|
383 |
-
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
|
384 |
|
385 |
-
/*
|
386 |
-
|
387 |
-
*
|
388 |
-
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
389 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
390 |
-
* http://jquery.org/license
|
391 |
-
*
|
392 |
-
* http://docs.jquery.com/UI/Menu#theming
|
393 |
-
*/
|
394 |
-
.ui-menu {
|
395 |
-
list-style:none;
|
396 |
-
padding: 2px;
|
397 |
-
margin: 0;
|
398 |
-
display:block;
|
399 |
-
float: left;
|
400 |
-
}
|
401 |
-
.ui-menu .ui-menu {
|
402 |
-
margin-top: -3px;
|
403 |
-
}
|
404 |
-
.ui-menu .ui-menu-item {
|
405 |
-
margin:0;
|
406 |
-
padding: 0;
|
407 |
-
zoom: 1;
|
408 |
-
float: left;
|
409 |
-
clear: left;
|
410 |
-
width: 100%;
|
411 |
-
}
|
412 |
-
.ui-menu .ui-menu-item a {
|
413 |
-
text-decoration:none;
|
414 |
-
display:block;
|
415 |
-
padding:.2em .4em;
|
416 |
-
line-height:1.5;
|
417 |
-
zoom:1;
|
418 |
-
}
|
419 |
-
.ui-menu .ui-menu-item a.ui-state-hover,
|
420 |
-
.ui-menu .ui-menu-item a.ui-state-active {
|
421 |
-
font-weight: normal;
|
422 |
-
margin: -1px;
|
423 |
-
}
|
424 |
-
/*!
|
425 |
-
* jQuery UI Button 1.8.22
|
426 |
-
*
|
427 |
-
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
|
428 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
429 |
-
* http://jquery.org/license
|
430 |
-
*
|
431 |
-
* http://docs.jquery.com/UI/Button#theming
|
432 |
-
*/
|
433 |
-
.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
|
434 |
-
.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
|
435 |
-
button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
|
436 |
-
.ui-button-icons-only { width: 3.4em; }
|
437 |
-
button.ui-button-icons-only { width: 3.7em; }
|
438 |
|
439 |
-
/*
|
440 |
-
.
|
441 |
-
.
|
442 |
-
.
|
443 |
-
.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }
|
444 |
-
.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; }
|
445 |
-
.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
|
446 |
-
/* no icon support for input elements, provide padding by default */
|
447 |
-
input.ui-button { padding: .4em 1em; }
|
448 |
|
449 |
/*button icon element(s) */
|
450 |
-
.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
|
451 |
-
.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
|
452 |
-
.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
|
453 |
-
.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
|
454 |
-
.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
|
455 |
-
|
456 |
-
/*button sets*/
|
457 |
-
.ui-buttonset { margin-right: 7px; }
|
458 |
-
.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
|
459 |
-
|
460 |
-
/* workarounds */
|
461 |
-
button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
|
462 |
-
/*!
|
463 |
-
* jQuery UI Dialog 1.8.22
|
464 |
-
*
|
465 |
-
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
|
466 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
467 |
-
* http://jquery.org/license
|
468 |
-
*
|
469 |
-
* http://docs.jquery.com/UI/Dialog#theming
|
470 |
-
*/
|
471 |
-
.ui-dialog { position: absolute; width: 300px; background-color:black; }
|
472 |
-
.ui-dialog .ui-dialog-titlebar { position: relative; float:right; }
|
473 |
-
.ui-dialog .ui-dialog-title { float: left; }
|
474 |
-
.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; left:10px; top:-10px; }
|
475 |
-
.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
|
476 |
-
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
|
477 |
-
.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: 0px; background: none; overflow: hidden; zoom: 1; }
|
478 |
-
.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
|
479 |
-
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
|
480 |
-
.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
|
481 |
-
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
|
482 |
-
.ui-draggable .ui-dialog-titlebar { }
|
483 |
-
/*!
|
484 |
-
* jQuery UI Slider 1.8.22
|
485 |
-
*
|
486 |
-
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
|
487 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
488 |
-
* http://jquery.org/license
|
489 |
-
*
|
490 |
-
* http://docs.jquery.com/UI/Slider#theming
|
491 |
-
*/
|
492 |
-
.ui-slider { position: relative; text-align: left; }
|
493 |
-
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
|
494 |
-
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
|
495 |
-
|
496 |
-
.ui-slider-horizontal { height: .8em; }
|
497 |
-
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
|
498 |
-
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
|
499 |
-
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
|
500 |
-
.ui-slider-horizontal .ui-slider-range-max { right: 0; }
|
501 |
-
|
502 |
-
.ui-slider-vertical { width: .8em; height: 100px; }
|
503 |
-
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
|
504 |
-
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
|
505 |
-
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
|
506 |
-
.ui-slider-vertical .ui-slider-range-max { top: 0; }/*!
|
507 |
-
* jQuery UI Tabs 1.8.22
|
508 |
-
*
|
509 |
-
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
|
510 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
511 |
-
* http://jquery.org/license
|
512 |
-
*
|
513 |
-
* http://docs.jquery.com/UI/Tabs#theming
|
514 |
-
*/
|
515 |
-
.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
|
516 |
-
.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
|
517 |
-
.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
|
518 |
-
.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
|
519 |
-
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
|
520 |
-
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
|
521 |
-
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
|
522 |
-
.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
|
523 |
-
.ui-tabs .ui-tabs-hide { display: none !important; }
|
524 |
-
/*!
|
525 |
-
* jQuery UI Datepicker 1.8.22
|
526 |
-
*
|
527 |
-
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
|
528 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
529 |
-
* http://jquery.org/license
|
530 |
-
*
|
531 |
-
* http://docs.jquery.com/UI/Datepicker#theming
|
532 |
-
*/
|
533 |
-
.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
|
534 |
-
.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
|
535 |
-
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
|
536 |
-
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
|
537 |
-
.ui-datepicker .ui-datepicker-prev { left:2px; }
|
538 |
-
.ui-datepicker .ui-datepicker-next { right:2px; }
|
539 |
-
.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
|
540 |
-
.ui-datepicker .ui-datepicker-next-hover { right:1px; }
|
541 |
-
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
|
542 |
-
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
|
543 |
-
.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
|
544 |
-
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
|
545 |
-
.ui-datepicker select.ui-datepicker-month,
|
546 |
-
.ui-datepicker select.ui-datepicker-year { width: 49%;}
|
547 |
-
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
|
548 |
-
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
|
549 |
-
.ui-datepicker td { border: 0; padding: 1px; }
|
550 |
-
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
|
551 |
-
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
|
552 |
-
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
|
553 |
-
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
|
554 |
-
|
555 |
-
/* with multiple calendars */
|
556 |
-
.ui-datepicker.ui-datepicker-multi { width:auto; }
|
557 |
-
.ui-datepicker-multi .ui-datepicker-group { float:left; }
|
558 |
-
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
|
559 |
-
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
|
560 |
-
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
|
561 |
-
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
|
562 |
-
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
|
563 |
-
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
|
564 |
-
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
|
565 |
-
.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; }
|
566 |
-
|
567 |
-
/* RTL support */
|
568 |
-
.ui-datepicker-rtl { direction: rtl; }
|
569 |
-
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
|
570 |
-
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
|
571 |
-
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
|
572 |
-
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
|
573 |
-
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
|
574 |
-
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
|
575 |
-
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
|
576 |
-
.ui-datepicker-rtl .ui-datepicker-group { float:right; }
|
577 |
-
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
578 |
-
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
579 |
-
|
580 |
-
/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
|
581 |
-
.ui-datepicker-cover {
|
582 |
-
position: absolute; /*must have*/
|
583 |
-
z-index: -1; /*must have*/
|
584 |
-
filter: mask(); /*must have*/
|
585 |
-
top: -4px; /*must have*/
|
586 |
-
left: -4px; /*must have*/
|
587 |
-
width: 200px; /*must have*/
|
588 |
-
height: 200px; /*must have*/
|
589 |
-
}/*!
|
590 |
-
* jQuery UI Progressbar 1.8.22
|
591 |
-
*
|
592 |
-
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
|
593 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
594 |
-
* http://jquery.org/license
|
595 |
-
*
|
596 |
-
* http://docs.jquery.com/UI/Progressbar#theming
|
597 |
-
*/
|
598 |
-
.ui-progressbar { height:2em; text-align: left; overflow: hidden; }
|
599 |
-
.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }
|
32 |
left:5px;
|
33 |
}
|
34 |
|
|
|
|
|
35 |
/*!
|
36 |
+
* jQuery UI Dialog 1.8.22
|
37 |
*
|
38 |
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
|
39 |
* Dual licensed under the MIT or GPL Version 2 licenses.
|
40 |
* http://jquery.org/license
|
41 |
*
|
42 |
+
* http://docs.jquery.com/UI/Dialog#theming
|
43 |
*/
|
44 |
+
.kgvid_gallery .ui-dialog { position: absolute; width: 300px; background-color:black; }
|
45 |
+
.kgvid_gallery .ui-dialog .ui-dialog-titlebar { position: relative; float:right; }
|
46 |
+
.kgvid_gallery .ui-dialog .ui-dialog-title { float: left; }
|
47 |
+
.kgvid_gallery .ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; left:10px; top:-10px; }
|
48 |
+
.kgvid_gallery .ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
|
49 |
+
.kgvid_gallery .ui-dialog .ui-dialog-titlebar-close:hover, .kgvid_gallery .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
|
50 |
+
.kgvid_gallery .ui-dialog .ui-dialog-content { position: relative; border: 0; padding: 0px; background: none; overflow: hidden; zoom: 1; }
|
51 |
+
.kgvid_gallery .ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
|
52 |
+
.kgvid_gallery .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
|
53 |
+
.kgvid_gallery .ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
|
54 |
+
.kgvid_gallery .ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
|
55 |
+
.kgvid_gallery .ui-draggable .ui-dialog-titlebar { }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
|
57 |
/* Overlays */
|
58 |
+
.kgvid_gallery .ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
|
60 |
/* Component containers
|
61 |
----------------------------------*/
|
62 |
+
.kgvid_gallery .ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; }
|
63 |
+
.kgvid_gallery .ui-widget .ui-widget { font-size: 1em; }
|
64 |
+
.kgvid_gallery .ui-widget input, .kgvid_gallery .ui-widget select, .kgvid_gallery .ui-widget textarea, .kgvid_gallery .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; }
|
65 |
+
.kgvid_gallery .ui-widget-content { }
|
66 |
+
.kgvid_gallery .ui-widget-content a { color: #222222; }
|
67 |
+
.kgvid_gallery .ui-widget-header { color: #222222; font-weight: bold; }
|
68 |
+
.kgvid_gallery .ui-widget-header a { color: #222222; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
|
70 |
/* Misc visuals
|
71 |
----------------------------------*/
|
72 |
|
73 |
/* Corner radius */
|
74 |
+
.kgvid_gallery .ui-corner-all, .kgvid_gallery .ui-corner-top, .kgvid_gallery .ui-corner-left, .kgvid_gallery .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; border-top-left-radius: 4px; }
|
75 |
+
.kgvid_gallery .ui-corner-all, .kgvid_gallery .ui-corner-top, .kgvid_gallery .ui-corner-right, .kgvid_gallery .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -khtml-border-top-right-radius: 4px; border-top-right-radius: 4px; }
|
76 |
+
.kgvid_gallery .ui-corner-all, .kgvid_gallery .ui-corner-bottom, .kgvid_gallery .ui-corner-left, .kgvid_gallery .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
|
77 |
+
.kgvid_gallery .ui-corner-all, .kgvid_gallery .ui-corner-bottom, .kgvid_gallery .ui-corner-right, .kgvid_gallery .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
|
78 |
|
79 |
/* Overlays */
|
80 |
+
.kgvid_gallery .ui-widget-overlay { background-color: black; opacity: .80;filter:Alpha(Opacity=80); }
|
81 |
+
.kgvid_gallery .ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #000000 url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
|
83 |
+
/* Icons
|
84 |
+
----------------------------------*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
|
86 |
+
/* states and images */
|
87 |
+
.kgvid_gallery .ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
|
88 |
+
.kgvid_gallery .ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_bbbbbb_256x240.png); }
|
89 |
+
.kgvid_gallery .ui-icon-closethick { background-position: -96px -128px; }
|
|
|
|
|
|
|
|
|
|
|
90 |
|
91 |
/*button icon element(s) */
|
92 |
+
.kgvid_gallery .ui-button-icon-only .ui-icon, .kgvid_gallery .ui-button-text-icon-primary .ui-icon, .kgvid_gallery .ui-button-text-icon-secondary .ui-icon, .kgvid_gallery .ui-button-text-icons .ui-icon, .kgvid_gallery .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
|
93 |
+
.kgvid_gallery .ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
|
94 |
+
.kgvid_gallery .ui-button-text-icon-primary .ui-button-icon-primary, .kgvid_gallery .ui-button-text-icons .ui-button-icon-primary, .kgvid_gallery .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
|
95 |
+
.kgvid_gallery .ui-button-text-icon-secondary .ui-button-icon-secondary, .kgvid_gallery .ui-button-text-icons .ui-button-icon-secondary, .kgvid_gallery .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
|
96 |
+
.kgvid_gallery .ui-button-text-icons .ui-button-icon-secondary, .kgvid_gallery .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/kgvid_video_embed.js
CHANGED
@@ -33,7 +33,7 @@ function kgvid_SetVideo(source, width, height) {
|
|
33 |
jQuery('#kgvid_GalleryPlayerDiv').closest('.ui-dialog').height(parseInt(height))
|
34 |
//jQuery('#kgvid_GalleryPlayerDiv').dialog("option", "height", parseInt(height)+30);
|
35 |
jQuery('#kgvid_GalleryPlayerDiv').dialog('open');
|
36 |
-
jQuery('.ui-widget-overlay').click(function () {
|
37 |
}
|
38 |
|
39 |
function kgvid_video_counter(id, plays, ends, event) {
|
33 |
jQuery('#kgvid_GalleryPlayerDiv').closest('.ui-dialog').height(parseInt(height))
|
34 |
//jQuery('#kgvid_GalleryPlayerDiv').dialog("option", "height", parseInt(height)+30);
|
35 |
jQuery('#kgvid_GalleryPlayerDiv').dialog('open');
|
36 |
+
jQuery('.ui-widget-overlay').click(function () { jQuery('#kgvid_GalleryPlayerDiv').dialog('close'); });
|
37 |
}
|
38 |
|
39 |
function kgvid_video_counter(id, plays, ends, event) {
|
js/kgvid_video_plugin_admin.js
CHANGED
@@ -159,23 +159,20 @@ function kgvid_hide_standard_wordpress_display_settings(postID) {
|
|
159 |
|
160 |
function kgvid_set_singleurl() {
|
161 |
|
162 |
-
var url = document.getElementById('attachments-singleurl-kgflashmediaplayer-url').value;
|
163 |
var oldbasename = jQuery('#kgflashmediaplayer-table').data("kgvid_attachment_id") || "singleurl";
|
164 |
-
|
165 |
var validExtensions = new Array(".flv", ".f4v", ".mp4", ".mov", ".m4v", ".webm", ".ogg", ".ogv");
|
166 |
var extensionExists = false;
|
167 |
for (var i = 0; i < validExtensions.length; i++) {
|
168 |
if (url.indexOf(validExtensions[i]) != -1) {
|
169 |
extensionExists = true;
|
170 |
-
if ( document.getElementById('attachments-'+oldbasename+'-kgflashmediaplayer-ffmpegexists').value
|
171 |
document.getElementById('attachments-'+oldbasename+'-thumbgenerate').disabled = false;
|
172 |
document.getElementById('attachments-'+oldbasename+'-thumbgenerate').title = "";
|
173 |
document.getElementById('attachments-'+oldbasename+'-thumbrandomize').disabled = false;
|
174 |
document.getElementById('attachments-'+oldbasename+'-thumbrandomize').title = "";
|
175 |
document.getElementById('attachments-'+oldbasename+'-kgflashmediaplayer-encode').disabled = false;
|
176 |
document.getElementById('attachments-'+oldbasename+'-kgflashmediaplayer-encode').title = "";
|
177 |
-
document.getElementById('insertonlybutton').disabled = false;
|
178 |
-
document.getElementById('insertonlybutton').title = "";
|
179 |
var basename = "singleurl_"+url.replace(/^.*\/|\.[^.]*$/g, '');
|
180 |
//jQuery('#kgflashmediaplayer-table :input').each(function(){
|
181 |
jQuery('#kgvid-form :input').each(function(){
|
@@ -190,8 +187,14 @@ function kgvid_set_singleurl() {
|
|
190 |
document.getElementById('attachments-'+oldbasename+'-kgflashmediaplayer-encodeboxes').id = 'attachments-'+basename+'-kgflashmediaplayer-encodeboxes';
|
191 |
document.getElementById('attachments-'+oldbasename+'-thumbnailplaceholder').id = 'attachments-'+basename+'-thumbnailplaceholder';
|
192 |
jQuery('#attachments-'+basename+'-thumbgenerate').replaceWith('<input type="button" id="attachments-'+basename+'-thumbgenerate" class="button-secondary" value="Generate" name="thumbgenerate" onclick="kgvid_generate_thumb(\''+basename+'\', \'generate\');" >');
|
193 |
-
jQuery('#attachments-'+basename+'-thumbrandomize').replaceWith('<input type="button" id="attachments-'+basename+'-
|
|
|
|
|
|
|
|
|
194 |
}
|
|
|
|
|
195 |
break;
|
196 |
}
|
197 |
}
|
@@ -207,7 +210,6 @@ function kgvid_set_singleurl() {
|
|
207 |
document.getElementById('insertonlybutton').title = "Please enter a valid video URL";
|
208 |
basename = "singleurl";
|
209 |
}
|
210 |
-
//console.log(basename);
|
211 |
kgvid_redraw_encode_checkboxes(url, basename, 'attachment');
|
212 |
}
|
213 |
|
159 |
|
160 |
function kgvid_set_singleurl() {
|
161 |
|
|
|
162 |
var oldbasename = jQuery('#kgflashmediaplayer-table').data("kgvid_attachment_id") || "singleurl";
|
163 |
+
var url = document.getElementById('attachments-'+oldbasename+'-kgflashmediaplayer-url').value;
|
164 |
var validExtensions = new Array(".flv", ".f4v", ".mp4", ".mov", ".m4v", ".webm", ".ogg", ".ogv");
|
165 |
var extensionExists = false;
|
166 |
for (var i = 0; i < validExtensions.length; i++) {
|
167 |
if (url.indexOf(validExtensions[i]) != -1) {
|
168 |
extensionExists = true;
|
169 |
+
if ( document.getElementById('attachments-'+oldbasename+'-kgflashmediaplayer-ffmpegexists').value == "on" ) {
|
170 |
document.getElementById('attachments-'+oldbasename+'-thumbgenerate').disabled = false;
|
171 |
document.getElementById('attachments-'+oldbasename+'-thumbgenerate').title = "";
|
172 |
document.getElementById('attachments-'+oldbasename+'-thumbrandomize').disabled = false;
|
173 |
document.getElementById('attachments-'+oldbasename+'-thumbrandomize').title = "";
|
174 |
document.getElementById('attachments-'+oldbasename+'-kgflashmediaplayer-encode').disabled = false;
|
175 |
document.getElementById('attachments-'+oldbasename+'-kgflashmediaplayer-encode').title = "";
|
|
|
|
|
176 |
var basename = "singleurl_"+url.replace(/^.*\/|\.[^.]*$/g, '');
|
177 |
//jQuery('#kgflashmediaplayer-table :input').each(function(){
|
178 |
jQuery('#kgvid-form :input').each(function(){
|
187 |
document.getElementById('attachments-'+oldbasename+'-kgflashmediaplayer-encodeboxes').id = 'attachments-'+basename+'-kgflashmediaplayer-encodeboxes';
|
188 |
document.getElementById('attachments-'+oldbasename+'-thumbnailplaceholder').id = 'attachments-'+basename+'-thumbnailplaceholder';
|
189 |
jQuery('#attachments-'+basename+'-thumbgenerate').replaceWith('<input type="button" id="attachments-'+basename+'-thumbgenerate" class="button-secondary" value="Generate" name="thumbgenerate" onclick="kgvid_generate_thumb(\''+basename+'\', \'generate\');" >');
|
190 |
+
jQuery('#attachments-'+basename+'-thumbrandomize').replaceWith('<input type="button" id="attachments-'+basename+'-thumbrandomize" class="button-secondary" value="Randomize" name="thumbgenerate" onclick="kgvid_generate_thumb(\''+basename+'\', \'random\');" >');
|
191 |
+
}
|
192 |
+
else {
|
193 |
+
document.getElementById('attachments-'+oldbasename+'-thumbgenerate').title = "FFMPEG not found";
|
194 |
+
document.getElementById('attachments-'+oldbasename+'-thumbrandomize').title = "FFMPEG not found";
|
195 |
}
|
196 |
+
document.getElementById('insertonlybutton').disabled = false;
|
197 |
+
document.getElementById('insertonlybutton').title = "";
|
198 |
break;
|
199 |
}
|
200 |
}
|
210 |
document.getElementById('insertonlybutton').title = "Please enter a valid video URL";
|
211 |
basename = "singleurl";
|
212 |
}
|
|
|
213 |
kgvid_redraw_encode_checkboxes(url, basename, 'attachment');
|
214 |
}
|
215 |
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: kylegilman
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=kylegilman@gmail.com&item_name=Video%20Embed%20And%20Thumbnail%20Generator%20Plugin%20Donation/
|
4 |
Tags: video, video gallery, html5, shortcode, thumbnail, ffmpeg, libav, embed, mobile, webm, ogg, h.264
|
5 |
Requires at least: 3.5
|
6 |
-
Tested up to: 3.5
|
7 |
-
Stable tag: 3.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -126,7 +126,16 @@ Use the "Embed from URL" tab. Use the format http://username:password@yourdomain
|
|
126 |
|
127 |
== Changelog ==
|
128 |
|
129 |
-
= 3.0 - January
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
* Updated to provide compatibility with several media changes in WordPress 3.5. With this version, thumbnail generating & video encoding will only work in WordPress 3.5 and above.
|
131 |
* Added popup video gallery.
|
132 |
* Changed shortcode tag to [KGVID]. Retained [FMP] for backwards compatibility.
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=kylegilman@gmail.com&item_name=Video%20Embed%20And%20Thumbnail%20Generator%20Plugin%20Donation/
|
4 |
Tags: video, video gallery, html5, shortcode, thumbnail, ffmpeg, libav, embed, mobile, webm, ogg, h.264
|
5 |
Requires at least: 3.5
|
6 |
+
Tested up to: 3.5.1
|
7 |
+
Stable tag: 3.0.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
126 |
|
127 |
== Changelog ==
|
128 |
|
129 |
+
= 3.0.2 - January 24, 2013 =
|
130 |
+
* Fixed bug that permanently disabled buttons on the Embed Video from URL tab.
|
131 |
+
* Disabled "Delete Permanently" option for encoded files found on other servers.
|
132 |
+
* Reduced the jQuery UI Dialog css and put it in its own scope to avoid conflicts with existing jQuery UI Dialog themes.
|
133 |
+
* Cleaned out some leftover code.
|
134 |
+
|
135 |
+
= 3.0.1 - January 24, 2013 =
|
136 |
+
* Fixed bug that inserted empty options into gallery shortcodes.
|
137 |
+
|
138 |
+
= 3.0 - January 23, 2013 =
|
139 |
* Updated to provide compatibility with several media changes in WordPress 3.5. With this version, thumbnail generating & video encoding will only work in WordPress 3.5 and above.
|
140 |
* Added popup video gallery.
|
141 |
* Changed shortcode tag to [KGVID]. Retained [FMP] for backwards compatibility.
|
video-embed-thumbnail-generator.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Video Embed & Thumbnail Generator
|
4 |
Plugin URI: http://www.kylegilman.net/2011/01/18/video-embed-thumbnail-generator-wordpress-plugin/
|
5 |
Description: Generates thumbnails, HTML5-compliant videos, and embed codes for locally hosted videos. Requires FFMPEG for thumbnails and encodes. <a href="options-general.php?page=video-embed-thumbnail-generator/video-embed-thumbnail-generator.php">Settings</a> | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=kylegilman@gmail.com&item_name=Video%20Embed%20And%20Thumbnail%20Generator%20Plugin%20Donation/">Donate</a>
|
6 |
-
Version: 3.0
|
7 |
Author: Kyle Gilman
|
8 |
Author URI: http://www.kylegilman.net/
|
9 |
|
@@ -529,11 +529,6 @@ function KGVID_shortcode($atts, $content = ''){
|
|
529 |
}
|
530 |
}
|
531 |
|
532 |
-
/* if ( $mp4_srcs ) {
|
533 |
-
$mp4_srcs["id"] = $div_suffix;
|
534 |
-
$JSON_mp4_srcs = json_encode($mp4_srcs);
|
535 |
-
} */
|
536 |
-
|
537 |
$code = "";
|
538 |
|
539 |
if ($id !="") {
|
@@ -643,7 +638,29 @@ function KGVID_shortcode($atts, $content = ''){
|
|
643 |
$code .= '<div class="kgvid_video_gallery_thumb" style="width:'.$query_atts["gallery_thumb"].'px"><a href="#" onclick="javascript:kgvid_SetVideo(\''.site_url('/').'?attachment_id='.$attachment->ID.'&kgvid_video_embed[gallery]=true&kgvid_video_embed[width]='.$video_width.'&kgvid_video_embed[height]='.$video_height.'\', \''.$video_width.'\', \''.$video_height.'\');return false;"><img src="'.$thumbnail_url.'"></a><span class="videotitle">'.$attachment->post_title.'</span></div>';
|
644 |
}
|
645 |
$code .= '<div id="kgvid_GalleryPlayerDiv"><iframe id="kgvid_GalleryVideo" src="" width="640" height="360" frameborder="0" webkitallowfullscreen="" allowfullscreen=""></iframe></div>';
|
646 |
-
$code .= '<script type="text/javascript">jQuery(document).ready(function() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
647 |
|
648 |
} //if there are attachments
|
649 |
} //if gallery
|
@@ -836,10 +853,6 @@ function kgvid_generate_queue_table() {
|
|
836 |
$html .= "<input type='hidden' name='attachments[kgflashmediaplayer-security]' value='".$nonce."' />";
|
837 |
|
838 |
foreach ( $video_embed_queue as $order => $video_entry ) {
|
839 |
-
/* if ( $video_entry['attachmentID'] == "singleurl" ) {
|
840 |
-
$info = pathinfo($video_entry['movieurl']);
|
841 |
-
$video_entry['attachmentID'] = 'singleurl_'.basename($video_entry['movieurl'],'.'.$info['extension']);
|
842 |
-
} */
|
843 |
$html .= "\t<tr id='tr_".$video_entry['attachmentID']."'";
|
844 |
foreach ( $video_formats as $format => $format_stats ) {
|
845 |
if ( $video_entry['encode_formats'][$format]['status'] == "encoding" ) {
|
@@ -1612,8 +1625,6 @@ function kgvid_video_attachment_fields_to_save($post, $attachment) {
|
|
1612 |
if( isset($attachment['thumbtime']) ) {update_post_meta($post['ID'], '_kgflashmediaplayer-thumbtime', $attachment['thumbtime']); }
|
1613 |
if( isset($attachment['kgflashmediaplayer-width']) ) { update_post_meta($post['ID'], '_kgflashmediaplayer-width', $attachment['kgflashmediaplayer-width']); }
|
1614 |
if( isset($attachment['kgflashmediaplayer-height']) ) { update_post_meta($post['ID'], '_kgflashmediaplayer-height', $attachment['kgflashmediaplayer-height']); }
|
1615 |
-
/*if( isset($attachment['kgflashmediaplayer-actualwidth']) ) { update_post_meta($post['ID'], '_kgflashmediaplayer-actualwidth', $attachment['kgflashmediaplayer-actualwidth']); }
|
1616 |
-
if( isset($attachment['kgflashmediaplayer-actualheight']) ) { update_post_meta($post['ID'], '_kgflashmediaplayer-actualheight', $attachment['kgflashmediaplayer-actualheight']); } */
|
1617 |
if( isset($attachment['kgflashmediaplayer-aspect']) ) { update_post_meta($post['ID'], '_kgflashmediaplayer-aspect', $attachment['kgflashmediaplayer-aspect']); }
|
1618 |
if( isset($attachment['kgflashmediaplayer-lockaspect']) ) { update_post_meta($post['ID'], '_kgflashmediaplayer-lockaspect', $attachment['kgflashmediaplayer-lockaspect']); }
|
1619 |
else { update_post_meta($post['ID'], '_kgflashmediaplayer-lockaspect', "notchecked"); }
|
@@ -1637,9 +1648,6 @@ function kgvid_video_attachment_fields_to_save($post, $attachment) {
|
|
1637 |
if( isset($attachment['kgflashmediaplayer-gallery_orderby']) ) { update_post_meta($post['ID'], '_kgflashmediaplayer-gallery_orderby', $attachment['kgflashmediaplayer-gallery_orderby']); }
|
1638 |
if( isset($attachment['kgflashmediaplayer-gallery_order']) ) { update_post_meta($post['ID'], '_kgflashmediaplayer-gallery_order', $attachment['kgflashmediaplayer-gallery_order']); }
|
1639 |
if( isset($attachment['kgflashmediaplayer-gallery_id']) ) { update_post_meta($post['ID'], '_kgflashmediaplayer-gallery_id', $attachment['kgflashmediaplayer-gallery_id']); }
|
1640 |
-
|
1641 |
-
//if( isset($attachment['kgflashmediaplayer-altembed']) ) { update_post_meta($post['ID'], '_kgflashmediaplayer-altembed', $attachment['kgflashmediaplayer-altembed']); }
|
1642 |
-
/* if( isset($attachment['kgflashmediaplayer-encoded']) ) { update_post_meta($post['ID'], '_kgflashmediaplayer-encoded', $attachment['kgflashmediaplayer-encoded']); } */
|
1643 |
|
1644 |
//$attachment_printr = print_r($attachment, true);
|
1645 |
//update_post_meta($post['ID'], '_kgflashmediaplayer-attachment', $attachment_printr );
|
@@ -1700,12 +1708,12 @@ class kgInsertMedia {
|
|
1700 |
|
1701 |
$output = "";
|
1702 |
$output .= '[KGVID gallery="true"';
|
1703 |
-
if ($attachment['gallery_thumb'] != $options['gallery_thumb'] ) { $output .= ' gallery_thumb="'.$attachment["gallery_thumb"].'"'; }
|
1704 |
-
if ($attachment['gallery_exclude']
|
1705 |
-
if ($attachment['gallery_include']
|
1706 |
-
if ($attachment['gallery_orderby'] != "menu_order" ) { $output .= ' gallery_orderby="'.$attachment["gallery_orderby"].'"'; }
|
1707 |
-
if ($attachment['gallery_order'] != "ASC" ) { $output .= ' gallery_order="'.$attachment["gallery_order"].'"'; }
|
1708 |
-
if ($attachment['gallery_id'] != $parent_id ) { $output .= ' gallery_id="'.$attachment["gallery_id"].'"'; }
|
1709 |
$output .= '][/KGVID]';
|
1710 |
}
|
1711 |
|
@@ -1725,12 +1733,10 @@ function media_embedurl_process() {
|
|
1725 |
|
1726 |
$options = get_option('kgvid_video_embed_options');
|
1727 |
|
1728 |
-
|
1729 |
kgvid_check_ffmpeg_exists($options, true);
|
1730 |
$options = get_option('kgvid_video_embed_options');
|
1731 |
}
|
1732 |
-
if ( $options['ffmpeg_exists'] == "notinstalled" ) { $ffmpeg_disabled_text = 'disabled="disabled" title="'.strtoupper($options['video_app']).' not found at '.$options['app_path'].'"'; }
|
1733 |
-
else { $ffmpeg_disabled_text = ""; } */
|
1734 |
|
1735 |
$video_formats = kgvid_video_formats();
|
1736 |
$checkboxes = kgvid_generate_encode_checkboxes("", "singleurl", "attachment");
|
@@ -2048,11 +2054,6 @@ function kgvid_callffmpeg() {
|
|
2048 |
$embeddable = array("flv", "f4v", "mp4", "mov", "m4v", "ogv", "ogg", "webm");
|
2049 |
$h264extensions = array("mp4", "m4v");
|
2050 |
$video_formats = kgvid_video_formats();
|
2051 |
-
|
2052 |
-
/*if ( !is_numeric($postID) ) {
|
2053 |
-
$info = pathinfo($movieurl);
|
2054 |
-
$postID = 'singleurl_'.basename($movieurl,'.'.$info['extension']);
|
2055 |
-
}*/
|
2056 |
|
2057 |
$encodevideo_info = kgvid_encodevideo_info($movieurl, $postID);
|
2058 |
|
@@ -2250,16 +2251,6 @@ function kgvid_encode_videos() {
|
|
2250 |
$h264bitrate = round($h264_movie_height * 2.75);
|
2251 |
$vpre_flags = "";
|
2252 |
if ( $options['ffmpeg_vpre'] == 'on' ) { $vpre_flags = '-vpre slow -vpre ipod640'; }
|
2253 |
-
|
2254 |
-
/* $faststart = "";
|
2255 |
-
$faststart_app = get_option('wp_FMP_faststart');
|
2256 |
-
if ( $faststart_app = 'qt-faststart' ) {
|
2257 |
-
$faststart_tmp_file = str_replace('.m4v' '-faststart.m4v', $encodevideo_info['mobilefilepath']);
|
2258 |
-
$faststart = ' && '.get_option("wp_FMP_ffmpeg").'/'.$faststart_app.' '.$encodevideo_info["mobilefilepath"].' '.$faststart_tmp_file.' && rm '.$encodevideo_info["mobilefilepath"].' && mv '.$faststart_tmp_file.' '.$encodevideo_info["mobilefilepath"];
|
2259 |
-
}
|
2260 |
-
if ( $faststart_app = 'MP4Box' ) {
|
2261 |
-
$faststart = ' && '.get_option("wp_FMP_ffmpeg").'/'.$faststart_app.' -inter 500 '.$encodevideo_info["mobilefilepath"];
|
2262 |
-
} */
|
2263 |
|
2264 |
$ffmpeg_options = ' -acodec '.$aaclib.' -'.$audio_bitrate_flag.' 128k -s '.$h264_movie_width.'x'.$h264_movie_height.' -vcodec libx264 '.$vpre_flags.' -threads 1 '.$movie_rotate.' -'.$video_bitrate_flag.' '.$h264bitrate.'k -bt 800k -f ipod "'.$encodevideo_info[$format.'filepath'].'"';
|
2265 |
$embed_display .= "<strong>Encoding ".$format_stats['name']."</strong>";
|
3 |
Plugin Name: Video Embed & Thumbnail Generator
|
4 |
Plugin URI: http://www.kylegilman.net/2011/01/18/video-embed-thumbnail-generator-wordpress-plugin/
|
5 |
Description: Generates thumbnails, HTML5-compliant videos, and embed codes for locally hosted videos. Requires FFMPEG for thumbnails and encodes. <a href="options-general.php?page=video-embed-thumbnail-generator/video-embed-thumbnail-generator.php">Settings</a> | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=kylegilman@gmail.com&item_name=Video%20Embed%20And%20Thumbnail%20Generator%20Plugin%20Donation/">Donate</a>
|
6 |
+
Version: 3.0.2
|
7 |
Author: Kyle Gilman
|
8 |
Author URI: http://www.kylegilman.net/
|
9 |
|
529 |
}
|
530 |
}
|
531 |
|
|
|
|
|
|
|
|
|
|
|
532 |
$code = "";
|
533 |
|
534 |
if ($id !="") {
|
638 |
$code .= '<div class="kgvid_video_gallery_thumb" style="width:'.$query_atts["gallery_thumb"].'px"><a href="#" onclick="javascript:kgvid_SetVideo(\''.site_url('/').'?attachment_id='.$attachment->ID.'&kgvid_video_embed[gallery]=true&kgvid_video_embed[width]='.$video_width.'&kgvid_video_embed[height]='.$video_height.'\', \''.$video_width.'\', \''.$video_height.'\');return false;"><img src="'.$thumbnail_url.'"></a><span class="videotitle">'.$attachment->post_title.'</span></div>';
|
639 |
}
|
640 |
$code .= '<div id="kgvid_GalleryPlayerDiv"><iframe id="kgvid_GalleryVideo" src="" width="640" height="360" frameborder="0" webkitallowfullscreen="" allowfullscreen=""></iframe></div>';
|
641 |
+
$code .= '<script type="text/javascript">jQuery(document).ready(function() {
|
642 |
+
jQuery(\'head\').append(\'<link rel="stylesheet" href="'.plugins_url("", __FILE__).'/css/kgvid_video_gallery.css" type="text/css" />\');
|
643 |
+
jQuery(\'#kgvid_GalleryPlayerDiv\').dialog({
|
644 |
+
zIndex: 10000,
|
645 |
+
autoOpen: false,
|
646 |
+
modal: true,
|
647 |
+
resizable: false,
|
648 |
+
dialogClass: \'notitle\',
|
649 |
+
create: function(event, ui){
|
650 |
+
jQuery(\'.ui-dialog\').wrap(\'<div class="kgvid_gallery" />\');
|
651 |
+
},
|
652 |
+
open: function(event, ui){
|
653 |
+
jQuery(\'.ui-widget-overlay\').wrap(\'<div class="kgvid_gallery" />\');
|
654 |
+
},
|
655 |
+
close: function(event, ui){
|
656 |
+
jQuery(".kgvid_gallery").filter(function(){
|
657 |
+
if (jQuery(this).text() == "") { return true; }
|
658 |
+
return false;
|
659 |
+
}).remove();
|
660 |
+
}
|
661 |
+
});
|
662 |
+
jQuery(\'#kgvid_GalleryPlayerDiv\').bind("dialogclose", function (event, ui) { jQuery(\'#kgvid_GalleryVideo\').attr(\'src\', \'\'); });
|
663 |
+
}); </script>';
|
664 |
|
665 |
} //if there are attachments
|
666 |
} //if gallery
|
853 |
$html .= "<input type='hidden' name='attachments[kgflashmediaplayer-security]' value='".$nonce."' />";
|
854 |
|
855 |
foreach ( $video_embed_queue as $order => $video_entry ) {
|
|
|
|
|
|
|
|
|
856 |
$html .= "\t<tr id='tr_".$video_entry['attachmentID']."'";
|
857 |
foreach ( $video_formats as $format => $format_stats ) {
|
858 |
if ( $video_entry['encode_formats'][$format]['status'] == "encoding" ) {
|
1625 |
if( isset($attachment['thumbtime']) ) {update_post_meta($post['ID'], '_kgflashmediaplayer-thumbtime', $attachment['thumbtime']); }
|
1626 |
if( isset($attachment['kgflashmediaplayer-width']) ) { update_post_meta($post['ID'], '_kgflashmediaplayer-width', $attachment['kgflashmediaplayer-width']); }
|
1627 |
if( isset($attachment['kgflashmediaplayer-height']) ) { update_post_meta($post['ID'], '_kgflashmediaplayer-height', $attachment['kgflashmediaplayer-height']); }
|
|
|
|
|
1628 |
if( isset($attachment['kgflashmediaplayer-aspect']) ) { update_post_meta($post['ID'], '_kgflashmediaplayer-aspect', $attachment['kgflashmediaplayer-aspect']); }
|
1629 |
if( isset($attachment['kgflashmediaplayer-lockaspect']) ) { update_post_meta($post['ID'], '_kgflashmediaplayer-lockaspect', $attachment['kgflashmediaplayer-lockaspect']); }
|
1630 |
else { update_post_meta($post['ID'], '_kgflashmediaplayer-lockaspect', "notchecked"); }
|
1648 |
if( isset($attachment['kgflashmediaplayer-gallery_orderby']) ) { update_post_meta($post['ID'], '_kgflashmediaplayer-gallery_orderby', $attachment['kgflashmediaplayer-gallery_orderby']); }
|
1649 |
if( isset($attachment['kgflashmediaplayer-gallery_order']) ) { update_post_meta($post['ID'], '_kgflashmediaplayer-gallery_order', $attachment['kgflashmediaplayer-gallery_order']); }
|
1650 |
if( isset($attachment['kgflashmediaplayer-gallery_id']) ) { update_post_meta($post['ID'], '_kgflashmediaplayer-gallery_id', $attachment['kgflashmediaplayer-gallery_id']); }
|
|
|
|
|
|
|
1651 |
|
1652 |
//$attachment_printr = print_r($attachment, true);
|
1653 |
//update_post_meta($post['ID'], '_kgflashmediaplayer-attachment', $attachment_printr );
|
1708 |
|
1709 |
$output = "";
|
1710 |
$output .= '[KGVID gallery="true"';
|
1711 |
+
if ( !empty($attachment['gallery_thumb']) && $attachment['gallery_thumb'] != $options['gallery_thumb'] ) { $output .= ' gallery_thumb="'.$attachment["gallery_thumb"].'"'; }
|
1712 |
+
if ( !empty($attachment['gallery_exclude']) ) { $output .= ' gallery_exclude="'.$attachment["gallery_exclude"].'"'; }
|
1713 |
+
if ( !empty($attachment['gallery_include']) ) { $output .= ' gallery_include="'.$attachment["gallery_include"].'"'; }
|
1714 |
+
if ( !empty($attachment['gallery_orderby']) && $attachment['gallery_orderby'] != "menu_order" ) { $output .= ' gallery_orderby="'.$attachment["gallery_orderby"].'"'; }
|
1715 |
+
if ( !empty($attachment['gallery_order']) && $attachment['gallery_order'] != "ASC" ) { $output .= ' gallery_order="'.$attachment["gallery_order"].'"'; }
|
1716 |
+
if ( !empty($attachment['gallery_id']) && $attachment['gallery_id'] != $parent_id ) { $output .= ' gallery_id="'.$attachment["gallery_id"].'"'; }
|
1717 |
$output .= '][/KGVID]';
|
1718 |
}
|
1719 |
|
1733 |
|
1734 |
$options = get_option('kgvid_video_embed_options');
|
1735 |
|
1736 |
+
if ( !isset($options['ffmpeg_exists']) || $options['ffmpeg_exists'] == "notchecked" ) {
|
1737 |
kgvid_check_ffmpeg_exists($options, true);
|
1738 |
$options = get_option('kgvid_video_embed_options');
|
1739 |
}
|
|
|
|
|
1740 |
|
1741 |
$video_formats = kgvid_video_formats();
|
1742 |
$checkboxes = kgvid_generate_encode_checkboxes("", "singleurl", "attachment");
|
2054 |
$embeddable = array("flv", "f4v", "mp4", "mov", "m4v", "ogv", "ogg", "webm");
|
2055 |
$h264extensions = array("mp4", "m4v");
|
2056 |
$video_formats = kgvid_video_formats();
|
|
|
|
|
|
|
|
|
|
|
2057 |
|
2058 |
$encodevideo_info = kgvid_encodevideo_info($movieurl, $postID);
|
2059 |
|
2251 |
$h264bitrate = round($h264_movie_height * 2.75);
|
2252 |
$vpre_flags = "";
|
2253 |
if ( $options['ffmpeg_vpre'] == 'on' ) { $vpre_flags = '-vpre slow -vpre ipod640'; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2254 |
|
2255 |
$ffmpeg_options = ' -acodec '.$aaclib.' -'.$audio_bitrate_flag.' 128k -s '.$h264_movie_width.'x'.$h264_movie_height.' -vcodec libx264 '.$vpre_flags.' -threads 1 '.$movie_rotate.' -'.$video_bitrate_flag.' '.$h264bitrate.'k -bt 800k -f ipod "'.$encodevideo_info[$format.'filepath'].'"';
|
2256 |
$embed_display .= "<strong>Encoding ".$format_stats['name']."</strong>";
|