Version Description
- Released 04/23/2020
- Update design for episode box--media URL section and Remove Episode moved
- Artwork previews now will use default images rather than broken ones
- Fixed a compatibility issue with older php versions
Download this release
Release Info
Developer | benbeecroft |
Plugin | PowerPress Podcasting plugin by Blubrry |
Version | 8.2.10 |
Comparing to | |
See all releases |
Code changes from version 8.2.9 to 8.2.10
- css/episode-box.css +200 -112
- css/episode-box.min.css +1 -1
- images/pts_cover.jpg +0 -0
- js/admin.js +119 -53
- powerpress.php +6 -6
- powerpressadmin-basic.php +1 -1
- powerpressadmin-metabox.php +170 -117
- powerpressadmin.php +4 -4
- readme.txt +7 -1
- views/episode-box.php +14 -8
css/episode-box.css
CHANGED
@@ -67,6 +67,7 @@ div[class^="pp-tooltip"] .text-pp-tooltip::after {
|
|
67 |
font-size: 16px;
|
68 |
overflow: hidden;
|
69 |
border-bottom: 1px solid #EFEFEF;
|
|
|
70 |
width: 100%;
|
71 |
}
|
72 |
|
@@ -186,7 +187,9 @@ div[id^="pp-pos-label"], div[id^="pp-type-label"] {
|
|
186 |
|
187 |
div[id^="select-media-file"] {
|
188 |
vertical-align: top;
|
189 |
-
padding-top:
|
|
|
|
|
190 |
}
|
191 |
|
192 |
a[id^="pp-change-media-link"], div[id^="save-media"] {
|
@@ -200,7 +203,7 @@ select[id^="powerpress_category_"] {
|
|
200 |
}
|
201 |
|
202 |
div[id^="pp-category-dropdown-"] {
|
203 |
-
margin: 1em 1em 0
|
204 |
}
|
205 |
|
206 |
.pp-ep-box-input.pp-width {
|
@@ -214,7 +217,7 @@ div[id^="pp-category-dropdown-"] {
|
|
214 |
|
215 |
div[id^="apple-podcast-opt"] {
|
216 |
border-radius: 4px;
|
217 |
-
background-color: #
|
218 |
padding: 3%;
|
219 |
width: 90%;
|
220 |
margin-bottom: 5vh;
|
@@ -233,7 +236,6 @@ div[id^="ep-info-not-apple"] {
|
|
233 |
font-size: 16px;
|
234 |
font-weight: 500;
|
235 |
padding: 1ch 2em 1ch 2em;
|
236 |
-
margin-right: 1em;
|
237 |
cursor: pointer;
|
238 |
text-align: center;
|
239 |
}
|
@@ -245,9 +247,9 @@ div[id^="ep-info-not-apple"] {
|
|
245 |
display: inline-block;
|
246 |
border-radius: 4px;
|
247 |
font-family: Roboto, sans-serif;
|
248 |
-
font-size:
|
249 |
-
font-weight:
|
250 |
-
padding:
|
251 |
margin-right: 1em;
|
252 |
cursor: pointer;
|
253 |
text-align: center;
|
@@ -302,22 +304,19 @@ h3[id^="pp-pp-selected-media-head"] {
|
|
302 |
font-weight: bold;
|
303 |
letter-spacing: -0.06px;
|
304 |
line-height: 24px;
|
305 |
-
margin
|
306 |
-
margin-bottom: 1ch;
|
307 |
}
|
308 |
|
309 |
div[id^="pp-edit-media-button"] {
|
310 |
text-align: center;
|
311 |
-
padding: 1ch 2em 1ch 2em;
|
312 |
}
|
313 |
|
314 |
div[id^="a-pp-selected-media"], .powerpress_remove_container {
|
315 |
-
padding:
|
316 |
-
background-color: #F5F5F5;
|
317 |
}
|
318 |
|
319 |
div[class="powerpress_remove_container"] {
|
320 |
-
padding: 0
|
321 |
}
|
322 |
|
323 |
div[class^="metamark-preview-"] {
|
@@ -356,10 +355,8 @@ div[id^="explicit-switch-base"] {
|
|
356 |
}
|
357 |
|
358 |
div[id^="pp-selected-media-text"] {
|
359 |
-
max-width: 50%;
|
360 |
width: 100%;
|
361 |
display: inline-block;
|
362 |
-
margin: 0 1em 0 3em;
|
363 |
}
|
364 |
|
365 |
.powerpress_podcast_box, #episode-box-container {
|
@@ -368,7 +365,9 @@ div[id^="pp-selected-media-text"] {
|
|
368 |
|
369 |
div[id^="pp-change-media-file"] {
|
370 |
vertical-align: top;
|
371 |
-
margin-top:
|
|
|
|
|
372 |
}
|
373 |
|
374 |
div[class^="ep-box-line"] {
|
@@ -403,6 +402,33 @@ div[class="ep-box-line-bold"] {
|
|
403 |
display: none;
|
404 |
}
|
405 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
406 |
img[id^="pp-image-preview"] {
|
407 |
width: 16vh;
|
408 |
height: 16vh;
|
@@ -426,6 +452,14 @@ img[id^="poster-pp-image-preview"] {
|
|
426 |
display: inline-block;
|
427 |
}
|
428 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
429 |
p[id^="ep-box-filename"] {
|
430 |
color: #6B6C6F;
|
431 |
font-family: Roboto, sans-serif;
|
@@ -440,21 +474,73 @@ div[id^="pp-warning-messages"] {
|
|
440 |
margin-left: 3em;
|
441 |
}
|
442 |
|
443 |
-
div[id^="
|
444 |
-
|
445 |
-
margin-bottom: 2ch;
|
446 |
}
|
447 |
|
448 |
-
|
449 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
450 |
font-family: Roboto, sans-serif;
|
451 |
-
|
452 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
453 |
line-height: 22px;
|
454 |
cursor: pointer;
|
455 |
border: none;
|
456 |
box-shadow: none;
|
457 |
background-color: #F5F5F5;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
458 |
}
|
459 |
|
460 |
input[id^="powerpress_size"] {
|
@@ -473,37 +559,60 @@ div[id^="media-file-details"] {
|
|
473 |
width: 100%;
|
474 |
}
|
475 |
|
476 |
-
.media-details {
|
477 |
-
margin: 0 3em 0 3em;
|
478 |
-
font-weight: 500;
|
479 |
-
}
|
480 |
-
|
481 |
.pp-detail-section {
|
482 |
-
margin:
|
483 |
}
|
484 |
|
485 |
.details-auto-detect {
|
486 |
-
font-family: Roboto, sans-serif;
|
487 |
-
display: inline-block;
|
488 |
width: 30%
|
489 |
}
|
490 |
|
491 |
.details-specify {
|
492 |
-
font-family: Roboto, sans-serif;
|
493 |
-
display: inline-block;
|
494 |
width: 43%;
|
495 |
}
|
496 |
|
497 |
.details-not-specified {
|
498 |
-
font-family: Roboto, sans-serif;
|
499 |
-
display: inline-block;
|
500 |
width: 25%;
|
501 |
}
|
502 |
|
503 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
504 |
text-decoration: none;
|
505 |
display: inline-block;
|
506 |
-
width:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
507 |
}
|
508 |
|
509 |
input[class="media-details-radio"] {
|
@@ -593,16 +702,9 @@ div[id^="pp-url-input-container-"] {
|
|
593 |
width: 100%;
|
594 |
}
|
595 |
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
background-color: #f5f5f5;
|
600 |
-
padding: 0 3px 0 3px;
|
601 |
-
}
|
602 |
-
|
603 |
-
.pp-url-input-label {
|
604 |
-
color: #0c74d5;
|
605 |
-
margin-left: 10px;
|
606 |
}
|
607 |
|
608 |
input[id^="powerpress_url_"], div[id^="powerpress_url_"] {
|
@@ -612,10 +714,12 @@ input[id^="powerpress_url_"], div[id^="powerpress_url_"] {
|
|
612 |
height: 56px;
|
613 |
}
|
614 |
|
615 |
-
|
616 |
-
|
617 |
-
background:
|
618 |
-
|
|
|
|
|
619 |
}
|
620 |
|
621 |
input[id^="powerpress_itunes_image_"], input[id^="powerpress_image_"] {
|
@@ -711,16 +815,15 @@ div[id^="media-input"] {
|
|
711 |
width: 100%;
|
712 |
}
|
713 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
714 |
/* Responsiveness with buttons, Apple Opt Section, and third option in media details */
|
715 |
@media (max-width: 1152px) {
|
716 |
-
div[id^="pp-selected-media-text"] {
|
717 |
-
max-width: 80%;
|
718 |
-
margin-right: 3em;
|
719 |
-
}
|
720 |
-
div[id^="edit-media-file"], div[id^="pp-change-media-file"], div[id^="select-media-file"], div[id^="pp-category-dropdown"] {
|
721 |
-
width: 80%;
|
722 |
-
margin: 1em 3em 0 3em;
|
723 |
-
}
|
724 |
.details-not-specified {
|
725 |
margin-top: 1em;
|
726 |
width: 100%
|
@@ -778,17 +881,6 @@ div[id^="media-input"] {
|
|
778 |
width: 40%;
|
779 |
margin-right: 0;
|
780 |
}
|
781 |
-
.media-details {
|
782 |
-
margin-left: 1em;
|
783 |
-
}
|
784 |
-
div[id^="edit-media-file"], div[id^="pp-change-media-file"], div[id^="select-media-file"], div[id^="pp-category-dropdown"] {
|
785 |
-
margin: 1em 1em 0 1em;
|
786 |
-
width: 90%;
|
787 |
-
}
|
788 |
-
div[id^="pp-selected-media-text"] {
|
789 |
-
margin: 1em 1em 0 1em;
|
790 |
-
max-width: 90%;
|
791 |
-
}
|
792 |
.powerpress-art-text, .powerpress-art-preview {
|
793 |
width: 100%;
|
794 |
}
|
@@ -798,9 +890,6 @@ div[id^="media-input"] {
|
|
798 |
input[type="checkbox"]:checked:before {
|
799 |
font: normal 21px/1 dashicons;
|
800 |
}
|
801 |
-
h3[id^="pp-pp-selected-media-head"] {
|
802 |
-
margin-left: 1em;
|
803 |
-
}
|
804 |
.powerpress-art-preview {
|
805 |
text-align: center;
|
806 |
}
|
@@ -811,13 +900,13 @@ div[id^="media-input"] {
|
|
811 |
|
812 |
/* More responsiveness with buttons */
|
813 |
@media (max-width: 592px) {
|
|
|
|
|
|
|
814 |
.pp-blue-button, .pp-gray-button {
|
815 |
display: block;
|
816 |
margin: 1ch 0 0 0;
|
817 |
}
|
818 |
-
div[id^="edit-media-file"], div[id^="pp-change-media-file"], div[id^="select-media-file"], div[id^="pp-category-dropdown"] {
|
819 |
-
max-width: 90%;
|
820 |
-
}
|
821 |
.pp-explicit-option, .explicit-selected {
|
822 |
font-size: 12px;
|
823 |
}
|
@@ -838,9 +927,6 @@ div[id^="media-input"] {
|
|
838 |
padding: 6px;
|
839 |
height: 28px;
|
840 |
}
|
841 |
-
a[id^="select-media-link"] {
|
842 |
-
width: 100%;
|
843 |
-
}
|
844 |
select[id^="powerpress_category"] option {
|
845 |
width: 100%;
|
846 |
}
|
@@ -875,14 +961,6 @@ div[id^="media-input"] {
|
|
875 |
|
876 |
/* Responsiveness with buttons, Apple Opt Section, and third option in media details */
|
877 |
@media (max-width: 1456px) {
|
878 |
-
.classic-editor div[id^="pp-selected-media-text"] {
|
879 |
-
max-width: 80%;
|
880 |
-
margin-right: 3em;
|
881 |
-
}
|
882 |
-
.classic-editor div[id^="edit-media-file"], .classic-editor div[id^="pp-change-media-file"], .classic-editor div[id^="select-media-file"], .classic-editor div[id^="pp-category-dropdown"] {
|
883 |
-
width: 80%;
|
884 |
-
margin: 1em 3em 0 5em;
|
885 |
-
}
|
886 |
.classic-editor .details-not-specified {
|
887 |
margin-top: 1em;
|
888 |
width: 100%
|
@@ -899,9 +977,10 @@ div[id^="media-input"] {
|
|
899 |
}
|
900 |
|
901 |
@media (max-width: 1350px) {
|
902 |
-
.classic-editor div[id^="pp-explicit-container
|
903 |
width: 98%;
|
904 |
-
margin
|
|
|
905 |
}
|
906 |
}
|
907 |
|
@@ -909,6 +988,7 @@ div[id^="media-input"] {
|
|
909 |
.classic-editor div[class^="details-"] {
|
910 |
width: 100%;
|
911 |
margin-top: 1em;
|
|
|
912 |
}
|
913 |
}
|
914 |
|
@@ -921,11 +1001,6 @@ div[id^="media-input"] {
|
|
921 |
.classic-editor .pp-detail-section {
|
922 |
margin: 2ch 1em 2ch 1em;
|
923 |
}
|
924 |
-
.classic-editor div[id^="pp-explicit-container"] {
|
925 |
-
width: 98%;
|
926 |
-
margin: 1em 0 3em 0;
|
927 |
-
float: left;
|
928 |
-
}
|
929 |
.classic-editor div[id^="apple-title-container"] {
|
930 |
width: 100%;
|
931 |
margin-top: 1em;
|
@@ -954,17 +1029,6 @@ div[id^="media-input"] {
|
|
954 |
width: 40%;
|
955 |
margin-right: 0;
|
956 |
}
|
957 |
-
.classic-editor .media-details {
|
958 |
-
margin-left: 1em;
|
959 |
-
}
|
960 |
-
.classic-editor div[id^="edit-media-file"], .classic-editor div[id^="pp-change-media-file"] .classic-editor div[id^="select-media-file"], .classic-editor div[id^="pp-category-dropdown"] {
|
961 |
-
margin: 1em 1em 0 1em;
|
962 |
-
width: 90%;
|
963 |
-
}
|
964 |
-
.classic-editor div[id^="pp-selected-media-text"] {
|
965 |
-
margin: 1em 1em 0 1em;
|
966 |
-
max-width: 90%;
|
967 |
-
}
|
968 |
.classic-editor .powerpress-art-text, .classic-editor .powerpress-art-preview {
|
969 |
width: 100%;
|
970 |
}
|
@@ -974,9 +1038,6 @@ div[id^="media-input"] {
|
|
974 |
.classic-editor input[type="checkbox"]:checked:before {
|
975 |
font: normal 21px/1 dashicons;
|
976 |
}
|
977 |
-
.classic-editor h3[id^="pp-pp-selected-media-head"] {
|
978 |
-
margin-left: 1em;
|
979 |
-
}
|
980 |
.classic-editor .powerpress-art-preview {
|
981 |
text-align: center;
|
982 |
}
|
@@ -985,14 +1046,41 @@ div[id^="media-input"] {
|
|
985 |
}
|
986 |
}
|
987 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
988 |
/* More responsiveness with buttons */
|
989 |
@media (max-width: 892px) {
|
990 |
.classic-editor .pp-blue-button, .classic-editor .pp-gray-button {
|
991 |
display: block;
|
992 |
-
margin: 1ch 0 0 0;
|
993 |
-
}
|
994 |
-
.classic-editor div[id^="edit-media-file"], .classic-editor div[id^="pp-change-media-file"], .classic-editor div[id^="select-media-file"], .classic-editor div[id^="pp-category-dropdown"] {
|
995 |
-
max-width: 90%;
|
996 |
}
|
997 |
.classic-editor .pp-explicit-option, .classic-editor .explicit-selected {
|
998 |
font-size: 12px;
|
67 |
font-size: 16px;
|
68 |
overflow: hidden;
|
69 |
border-bottom: 1px solid #EFEFEF;
|
70 |
+
border-top: 1px solid #EFEFEF;
|
71 |
width: 100%;
|
72 |
}
|
73 |
|
187 |
|
188 |
div[id^="select-media-file"] {
|
189 |
vertical-align: top;
|
190 |
+
padding-top: 1vh;
|
191 |
+
padding-left: 10px;
|
192 |
+
float: right;
|
193 |
}
|
194 |
|
195 |
a[id^="pp-change-media-link"], div[id^="save-media"] {
|
203 |
}
|
204 |
|
205 |
div[id^="pp-category-dropdown-"] {
|
206 |
+
margin: 1em 1em 0 1em;
|
207 |
}
|
208 |
|
209 |
.pp-ep-box-input.pp-width {
|
217 |
|
218 |
div[id^="apple-podcast-opt"] {
|
219 |
border-radius: 4px;
|
220 |
+
background-color: #F1F4F9;
|
221 |
padding: 3%;
|
222 |
width: 90%;
|
223 |
margin-bottom: 5vh;
|
236 |
font-size: 16px;
|
237 |
font-weight: 500;
|
238 |
padding: 1ch 2em 1ch 2em;
|
|
|
239 |
cursor: pointer;
|
240 |
text-align: center;
|
241 |
}
|
247 |
display: inline-block;
|
248 |
border-radius: 4px;
|
249 |
font-family: Roboto, sans-serif;
|
250 |
+
font-size: 14px;
|
251 |
+
font-weight: 600;
|
252 |
+
padding: 0.5ch 1em 0.5ch 1em;
|
253 |
margin-right: 1em;
|
254 |
cursor: pointer;
|
255 |
text-align: center;
|
304 |
font-weight: bold;
|
305 |
letter-spacing: -0.06px;
|
306 |
line-height: 24px;
|
307 |
+
margin: 0;
|
|
|
308 |
}
|
309 |
|
310 |
div[id^="pp-edit-media-button"] {
|
311 |
text-align: center;
|
|
|
312 |
}
|
313 |
|
314 |
div[id^="a-pp-selected-media"], .powerpress_remove_container {
|
315 |
+
padding: 1em 2em 0 2em;
|
|
|
316 |
}
|
317 |
|
318 |
div[class="powerpress_remove_container"] {
|
319 |
+
padding: 0 2ch;
|
320 |
}
|
321 |
|
322 |
div[class^="metamark-preview-"] {
|
355 |
}
|
356 |
|
357 |
div[id^="pp-selected-media-text"] {
|
|
|
358 |
width: 100%;
|
359 |
display: inline-block;
|
|
|
360 |
}
|
361 |
|
362 |
.powerpress_podcast_box, #episode-box-container {
|
365 |
|
366 |
div[id^="pp-change-media-file"] {
|
367 |
vertical-align: top;
|
368 |
+
margin-top: 1vh;
|
369 |
+
margin-left: 10px;
|
370 |
+
float: right;
|
371 |
}
|
372 |
|
373 |
div[class^="ep-box-line"] {
|
402 |
display: none;
|
403 |
}
|
404 |
|
405 |
+
div[id^="ep-box-blubrry-connect-"] {
|
406 |
+
background-color: #f1f4f9;
|
407 |
+
margin-top: 1em;
|
408 |
+
width: 98%;
|
409 |
+
padding: 1em 1ch;
|
410 |
+
}
|
411 |
+
|
412 |
+
div[id^="ep-box-blubrry-connected-"] {
|
413 |
+
margin-left: 1em;
|
414 |
+
margin-top: 1em;
|
415 |
+
width: 98%;
|
416 |
+
padding: 1em 1ch;
|
417 |
+
}
|
418 |
+
|
419 |
+
.ep-box-blubrry-icon {
|
420 |
+
display: inline-block;
|
421 |
+
width: 2em;
|
422 |
+
vertical-align: top;
|
423 |
+
margin-left: 1em;
|
424 |
+
margin-top: 1ch;
|
425 |
+
}
|
426 |
+
|
427 |
+
.ep-box-blubrry-info-container {
|
428 |
+
display: inline-block;
|
429 |
+
max-width: calc(100% - 320px);
|
430 |
+
}
|
431 |
+
|
432 |
img[id^="pp-image-preview"] {
|
433 |
width: 16vh;
|
434 |
height: 16vh;
|
452 |
display: inline-block;
|
453 |
}
|
454 |
|
455 |
+
div[id^="ep-box-filename-container"] {
|
456 |
+
text-overflow: ellipsis;
|
457 |
+
white-space: nowrap;
|
458 |
+
max-width: 85%;
|
459 |
+
overflow: hidden;
|
460 |
+
display: inline-block;
|
461 |
+
}
|
462 |
+
|
463 |
p[id^="ep-box-filename"] {
|
464 |
color: #6B6C6F;
|
465 |
font-family: Roboto, sans-serif;
|
474 |
margin-left: 3em;
|
475 |
}
|
476 |
|
477 |
+
div[id^="pp-connect-account-"], div[id^="pp-cancel-container"] {
|
478 |
+
display: inline-block;
|
|
|
479 |
}
|
480 |
|
481 |
+
div[id^="pp-cancel-container-"] {
|
482 |
+
float: right;
|
483 |
+
margin-right: 2em;
|
484 |
+
}
|
485 |
+
|
486 |
+
div[id^="hidden-media-details-"] {
|
487 |
+
padding: 1em;
|
488 |
+
margin-top: 2em;
|
489 |
+
background-color: #f1f4f9;
|
490 |
+
}
|
491 |
+
|
492 |
+
div[class^="details-"] {
|
493 |
+
display: inline-block;
|
494 |
font-family: Roboto, sans-serif;
|
495 |
+
}
|
496 |
+
|
497 |
+
.details-specify {
|
498 |
+
width: 45%;
|
499 |
+
}
|
500 |
+
|
501 |
+
.details-not-specified, .details-auto-detect {
|
502 |
+
width: 25%;
|
503 |
+
}
|
504 |
+
|
505 |
+
div[id^="media-input-"] {
|
506 |
+
margin-top: 1ch;
|
507 |
+
}
|
508 |
+
|
509 |
+
.pp-media-edit-details {
|
510 |
+
color: #2C65DB;
|
511 |
+
font-family: Roboto Medium, sans-serif;
|
512 |
+
font-size: 12px;
|
513 |
+
line-height: 22px;
|
514 |
+
cursor: pointer;
|
515 |
+
border: none;
|
516 |
+
box-shadow: none;
|
517 |
+
background-color: #F1F4F9;
|
518 |
+
text-decoration: none;
|
519 |
+
}
|
520 |
+
|
521 |
+
button.media-details, button.apple-advanced {
|
522 |
+
color: #2C65DB;
|
523 |
+
font-family: Roboto Medium, sans-serif;
|
524 |
+
font-size: 12px;
|
525 |
line-height: 22px;
|
526 |
cursor: pointer;
|
527 |
border: none;
|
528 |
box-shadow: none;
|
529 |
background-color: #F5F5F5;
|
530 |
+
font-weight: bold;
|
531 |
+
}
|
532 |
+
|
533 |
+
button.media-details {
|
534 |
+
background-color: #ffffff;
|
535 |
+
}
|
536 |
+
|
537 |
+
.media-details-head {
|
538 |
+
color: #3e3f42;
|
539 |
+
font-weight: bold;
|
540 |
+
font-family: Roboto Medium, sans-serif;
|
541 |
+
font-size: 14px;
|
542 |
+
line-height: 22px;
|
543 |
+
margin: 0 1em;
|
544 |
}
|
545 |
|
546 |
input[id^="powerpress_size"] {
|
559 |
width: 100%;
|
560 |
}
|
561 |
|
|
|
|
|
|
|
|
|
|
|
562 |
.pp-detail-section {
|
563 |
+
margin: 0 1em 2ch 1em;
|
564 |
}
|
565 |
|
566 |
.details-auto-detect {
|
|
|
|
|
567 |
width: 30%
|
568 |
}
|
569 |
|
570 |
.details-specify {
|
|
|
|
|
571 |
width: 43%;
|
572 |
}
|
573 |
|
574 |
.details-not-specified {
|
|
|
|
|
575 |
width: 25%;
|
576 |
}
|
577 |
|
578 |
+
.blubrry-connect-info {
|
579 |
+
margin: 0 1ch;
|
580 |
+
}
|
581 |
+
|
582 |
+
h4.blubrry-connect-info {
|
583 |
+
color: #3E3F42;
|
584 |
+
font-family: Roboto, sans-serif;
|
585 |
+
font-size: 16px;
|
586 |
+
font-weight: bold;
|
587 |
+
line-height: 20px;
|
588 |
+
}
|
589 |
+
|
590 |
+
p.blubrry-connect-info {
|
591 |
+
font-size: 14px;
|
592 |
+
margin-bottom: 0;
|
593 |
+
}
|
594 |
+
|
595 |
+
a[id^="ep-box-connect-account"], a[id^="pp-change-media-link"] {
|
596 |
text-decoration: none;
|
597 |
display: inline-block;
|
598 |
+
width: 35ch;
|
599 |
+
margin-right: 1em;
|
600 |
+
}
|
601 |
+
|
602 |
+
div[id^="ep-box-connect-account-button-"], div[id^="change-media-button"] {
|
603 |
+
border-radius: 4px;
|
604 |
+
border: 1px solid #969696;
|
605 |
+
color: #0c74d5;
|
606 |
+
padding: 1ch 2em 1ch 2em;
|
607 |
+
margin-right: 1em;
|
608 |
+
text-align: center;
|
609 |
+
font-family: Roboto, sans-serif;
|
610 |
+
font-size: 14px;
|
611 |
+
font-weight: 600;
|
612 |
+
}
|
613 |
+
|
614 |
+
a[id^="ep-box-connect-account"], div[id^="ep-box-connect-account-button-"], a[id^="pp-change-media-link"], div[id^="change-media-button"] {
|
615 |
+
float: right;
|
616 |
}
|
617 |
|
618 |
input[class="media-details-radio"] {
|
702 |
width: 100%;
|
703 |
}
|
704 |
|
705 |
+
div[id^="pp-url-input-label-container"] {
|
706 |
+
display: inline-block;
|
707 |
+
width: calc(100% - 175px);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
708 |
}
|
709 |
|
710 |
input[id^="powerpress_url_"], div[id^="powerpress_url_"] {
|
714 |
height: 56px;
|
715 |
}
|
716 |
|
717 |
+
div[id^="powerpress_url_show_"] {
|
718 |
+
width: 100%;
|
719 |
+
background-color: #f1f4f9;
|
720 |
+
font-size: 14px;
|
721 |
+
height: 56px;
|
722 |
+
border-radius: 0;
|
723 |
}
|
724 |
|
725 |
input[id^="powerpress_itunes_image_"], input[id^="powerpress_image_"] {
|
815 |
width: 100%;
|
816 |
}
|
817 |
|
818 |
+
div[id^="edit-media-file-"] {
|
819 |
+
float: right;
|
820 |
+
}
|
821 |
+
div[id^="ep-box-min-blubrry-connect-"] {
|
822 |
+
margin-top: 1ch;
|
823 |
+
}
|
824 |
+
|
825 |
/* Responsiveness with buttons, Apple Opt Section, and third option in media details */
|
826 |
@media (max-width: 1152px) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
827 |
.details-not-specified {
|
828 |
margin-top: 1em;
|
829 |
width: 100%
|
881 |
width: 40%;
|
882 |
margin-right: 0;
|
883 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
884 |
.powerpress-art-text, .powerpress-art-preview {
|
885 |
width: 100%;
|
886 |
}
|
890 |
input[type="checkbox"]:checked:before {
|
891 |
font: normal 21px/1 dashicons;
|
892 |
}
|
|
|
|
|
|
|
893 |
.powerpress-art-preview {
|
894 |
text-align: center;
|
895 |
}
|
900 |
|
901 |
/* More responsiveness with buttons */
|
902 |
@media (max-width: 592px) {
|
903 |
+
div[id^="ep-box-filename-container"] {
|
904 |
+
max-width: 70%;
|
905 |
+
}
|
906 |
.pp-blue-button, .pp-gray-button {
|
907 |
display: block;
|
908 |
margin: 1ch 0 0 0;
|
909 |
}
|
|
|
|
|
|
|
910 |
.pp-explicit-option, .explicit-selected {
|
911 |
font-size: 12px;
|
912 |
}
|
927 |
padding: 6px;
|
928 |
height: 28px;
|
929 |
}
|
|
|
|
|
|
|
930 |
select[id^="powerpress_category"] option {
|
931 |
width: 100%;
|
932 |
}
|
961 |
|
962 |
/* Responsiveness with buttons, Apple Opt Section, and third option in media details */
|
963 |
@media (max-width: 1456px) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
964 |
.classic-editor .details-not-specified {
|
965 |
margin-top: 1em;
|
966 |
width: 100%
|
977 |
}
|
978 |
|
979 |
@media (max-width: 1350px) {
|
980 |
+
.classic-editor div[id^="pp-explicit-container"] {
|
981 |
width: 98%;
|
982 |
+
margin: 1em 0 3em 0;
|
983 |
+
float: left;
|
984 |
}
|
985 |
}
|
986 |
|
988 |
.classic-editor div[class^="details-"] {
|
989 |
width: 100%;
|
990 |
margin-top: 1em;
|
991 |
+
margin-left: 1em;
|
992 |
}
|
993 |
}
|
994 |
|
1001 |
.classic-editor .pp-detail-section {
|
1002 |
margin: 2ch 1em 2ch 1em;
|
1003 |
}
|
|
|
|
|
|
|
|
|
|
|
1004 |
.classic-editor div[id^="apple-title-container"] {
|
1005 |
width: 100%;
|
1006 |
margin-top: 1em;
|
1029 |
width: 40%;
|
1030 |
margin-right: 0;
|
1031 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1032 |
.classic-editor .powerpress-art-text, .classic-editor .powerpress-art-preview {
|
1033 |
width: 100%;
|
1034 |
}
|
1038 |
.classic-editor input[type="checkbox"]:checked:before {
|
1039 |
font: normal 21px/1 dashicons;
|
1040 |
}
|
|
|
|
|
|
|
1041 |
.classic-editor .powerpress-art-preview {
|
1042 |
text-align: center;
|
1043 |
}
|
1046 |
}
|
1047 |
}
|
1048 |
|
1049 |
+
@media (max-width: 1050px) {
|
1050 |
+
.classic-editor .ep-box-blubrry-info-container {
|
1051 |
+
max-width: calc(100% - 50px);
|
1052 |
+
}
|
1053 |
+
.classic-editor a[id^="ep-box-connect-account-"], .classic-editor a[id^="pp-change-media-link-"] {
|
1054 |
+
float: none;
|
1055 |
+
width: 100%;
|
1056 |
+
}
|
1057 |
+
.classic-editor div[id^="ep-box-connect-account-button-"], .classic-editor div[id^="change-media-button-"] {
|
1058 |
+
float: none;
|
1059 |
+
margin: 1em 0 0 1em;
|
1060 |
+
}
|
1061 |
+
}
|
1062 |
+
|
1063 |
+
@media (max-width: 640px) {
|
1064 |
+
.ep-box-blubrry-info-container {
|
1065 |
+
max-width: calc(100% - 50px);
|
1066 |
+
}
|
1067 |
+
a[id^="ep-box-connect-account-"], a[id^="pp-change-media-link-"] {
|
1068 |
+
float: none;
|
1069 |
+
width: 100%;
|
1070 |
+
}
|
1071 |
+
div[id^="ep-box-connect-account-button-"] {
|
1072 |
+
float: none;
|
1073 |
+
margin: 1em 0 0 1ch;
|
1074 |
+
}
|
1075 |
+
div[id^="change-media-button-"] {
|
1076 |
+
float: none;
|
1077 |
+
margin-top: 1em;
|
1078 |
+
}
|
1079 |
+
}
|
1080 |
/* More responsiveness with buttons */
|
1081 |
@media (max-width: 892px) {
|
1082 |
.classic-editor .pp-blue-button, .classic-editor .pp-gray-button {
|
1083 |
display: block;
|
|
|
|
|
|
|
|
|
1084 |
}
|
1085 |
.classic-editor .pp-explicit-option, .classic-editor .explicit-selected {
|
1086 |
font-size: 12px;
|
css/episode-box.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
div[class^=pp-tooltip]{position:relative;display:inline-block;background-color:#dadada;color:#fff;padding:1px 6px 1px 6px;border-radius:9px;width:6px;height:16px;text-align:center;font-family:Roboto,serif}div[class^=pp-tooltip] .text-pp-tooltip{position:absolute;visibility:hidden;min-width:300px;background-color:#3e3f42;color:#fff;text-align:center;padding:5px;border-radius:6px;z-index:1;font-family:Roboto,sans-serif;top:-100%}.pp-tooltip-left .text-pp-tooltip{right:1%;margin-right:120%}.pp-tooltip-right .text-pp-tooltip{margin-left:-5px;border-width:5px;left:150%}div[class^=pp-tooltip]:hover .text-pp-tooltip{visibility:visible}div[class^=pp-tooltip] .text-pp-tooltip::after{content:" ";position:absolute;border-width:5px;border-style:solid;top:50%}.pp-tooltip-left .text-pp-tooltip::after{border-color:transparent transparent transparent #3e3f42;right:-3%}.pp-tooltip-right .text-pp-tooltip::after{border-color:transparent #3e3f42 transparent transparent;left:-3%}.pp-tab{font-size:16px;overflow:hidden;border-bottom:1px solid #efefef;width:100%}.pp-tab button{background-color:inherit;float:left;border:none;outline:0;cursor:pointer;padding:3vh 0;margin:0 3%;transition:.3s;width:19%}.pp-tab button:hover{background-color:#ddd}.pp-tab button.active{border-bottom:3px solid #1a6deb;font-weight:700}.pp-tabcontent{margin:0 14px 14px 14px}.pp-metamarks-row{margin-top:3em;margin-left:1em;position:relative;width:90%;box-shadow:inset 0 0 0 1px #eaedf3;border:1px solid #eaedf3;border-radius:4px}.pp-metamark-delete a{margin:4px 0 0 -2px;cursor:pointer;width:10px;height:10px;text-indent:-9999px;overflow:hidden;top:4px;left:-14px}div[id^=pp-hide-metamark]{padding:2em 2em 0 2em}.pp-metamark-delete,.pp-metamark-preview-pos-{display:inline-block;margin:1em}.pp-metamark-edit,.pp-metamark-preview-type-{margin:1em 0;display:inline-block}.metamark-top-section{border-bottom:1px solid #eaedf3;border-radius:4px 4px 0 0;box-shadow:inset 0 0 0 1px #eaedf3;width:100%}div[class^=metamark-preview-]{font-weight:700}.pp-metamark-delete,.pp-metamark-edit{float:right}select[id^=pp-metamark-type-]{width:100%;height:52px;vertical-align:top}input[id^=pp-metamark-dur-],input[id^=pp-metamark-link-],input[id^=pp-metamark-pos-]{width:100%;height:58px;vertical-align:top}textarea[id^=pp-metamark-val-][class=pp-ep-box-input]{height:72px;width:100%;margin:auto;vertical-align:top;resize:none}div[id^=pp-dur-label]{float:right;width:30%}div[id^=pp-pos-label],div[id^=pp-type-label]{margin-right:4%;width:30%}.powerpress-label-container{display:inline-block;margin-top:2ch;height:70px}div[id^=select-media-file]{vertical-align:top;padding-top:2vh}a[id^=pp-change-media-link],div[id^=save-media]{cursor:pointer}select[id^=powerpress_category_]{max-width:51.6%;width:100%;height:56px}div[id^=pp-category-dropdown-]{margin:1em 1em 0 3em}.pp-ep-box-input.pp-width{width:100%}#powerpress-podcast .inside{margin:0;padding:0}div[id^=apple-podcast-opt]{border-radius:4px;background-color:#f5f5f5;padding:3%;width:90%;margin-bottom:5vh}div[id^=ep-info-not-apple]{margin-bottom:20px}.pp-blue-button{display:inline-block;border-radius:4px;background-color:#0c74d5;color:#fff;font-family:Roboto,sans-serif;font-size:16px;font-weight:500;padding:1ch 2em 1ch 2em;margin-right:1em;cursor:pointer;text-align:center}.pp-gray-button{background-color:#f5f5f5;box-shadow:0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12),0 1px 3px 0 rgba(0,0,0,.2);color:#000;display:inline-block;border-radius:4px;font-family:Roboto,sans-serif;font-size:16px;font-weight:700;padding:1ch 2em 1ch 2em;margin-right:1em;cursor:pointer;text-align:center;border:0}h4[class^=pp-section-title]{color:#3e3f42;font-family:Roboto,sans-serif;font-size:16px;font-weight:700;line-height:38px;margin-bottom:0;margin-top:0;float:left;display:inline-block}.pp-section-title-block{width:100%}.pp-ep-box-text{font-size:14px;margin-top:2ch;margin-bottom:0}.pp-section-subtitle{color:#5a5c60;font-family:Roboto,sans-serif;font-size:14px;font-weight:500;line-height:16px}.pp-tabcontent{display:none;border-top:none;padding:40px}.pp-tabcontent.active{display:block}h3[id^=pp-pp-selected-media-head]{color:#263238;font-family:Roboto,sans-serif;font-size:20px;font-weight:700;letter-spacing:-.06px;line-height:24px;margin-left:2em;margin-bottom:1ch}div[id^=pp-edit-media-button]{text-align:center;padding:1ch 2em 1ch 2em}.powerpress_remove_container,div[id^=a-pp-selected-media]{padding:0 2em 2em 2em;background-color:#f5f5f5}div[class=powerpress_remove_container]{padding:0 4em}div[class^=metamark-preview-]{font-weight:700}div[id^=explicit-switch-base]{display:inline-block;padding:5px;background-color:#e6e6e6;width:100%;border-radius:4px}.pp-explicit-option{background-color:#e6e6e6}.explicit-selected{background-color:#fff;box-shadow:0 2px 4px 0 rgba(0,0,0,.16);border-radius:4px}.explicit-selected,.pp-explicit-option{border-collapse:collapse;font-weight:700;display:inline-block;width:32%;padding-top:1ch;padding-bottom:1ch;text-align:center;font-size:14px;font-family:Roboto,sans-serif;cursor:pointer}div[id^=pp-selected-media-text]{max-width:50%;width:100%;display:inline-block;margin:0 1em 0 3em}#episode-box-container,.powerpress_podcast_box{padding:10px}div[id^=pp-change-media-file]{vertical-align:top;margin-top:3em}div[class^=ep-box-line]{box-sizing:border-box;display:inline-block;height:1px;width:100%;border-top:1px solid #efefef}div[class=ep-box-line-bold]{border-top:2px solid #efefef;width:92%;margin-left:4%;margin-right:4%}.ep-box-line-margin{margin:17px 0 17px 0}.pp-shortcode-example{box-sizing:border-box;border:1px solid #e8e8e8;background-color:#f0f0f0;line-height:36px;padding-left:2em;padding-right:2em}.pp-hidden-settings{display:none}img[id^=pp-image-preview]{width:16vh;height:16vh;border:3px solid #717171}img[id^=poster-pp-image-preview]{width:32ch;height:18ch;border:3px solid #717171}.powerpress-art-text{width:70%;display:inline-block;vertical-align:top}.powerpress-art-preview{width:28%;display:inline-block}p[id^=ep-box-filename]{color:#6b6c6f;font-family:Roboto,sans-serif;font-size:14px;letter-spacing:.15px;line-height:56px;margin:0 5px 0 5px;display:inline}div[id^=pp-warning-messages]{margin-left:3em}div[id^=media-details-container]{margin-top:2ch;margin-bottom:2ch}button.apple-advanced,button.media-details{color:#0c74d5;font-family:Roboto,sans-serif;font-size:14px;font-weight:700;line-height:22px;cursor:pointer;border:none;box-shadow:none;background-color:#f5f5f5}input[id^=powerpress_size]{width:50%;text-align:center;height:28px}input[id^=powerpress_duration_][class=pp-ep-box-input]{width:48px;text-align:center;height:34px}div[id^=media-file-details]{width:100%}.media-details{margin:0 3em 0 3em;font-weight:500}.pp-detail-section{margin:2ch 6em 2ch 6em}.details-auto-detect{font-family:Roboto,sans-serif;display:inline-block;width:30%}.details-specify{font-family:Roboto,sans-serif;display:inline-block;width:43%}.details-not-specified{font-family:Roboto,sans-serif;display:inline-block;width:25%}a[id^=pp-change-media-link],a[id^=select-media-link]{text-decoration:none;display:inline-block;width:27ch}input[class=media-details-radio]{width:22px;height:22px;border:2px solid #b1b1b1}input[class=media-details-radio]:checked{border:2px solid #0c74d5}input[class=media-details-radio]:checked:before{width:12px;height:12px;margin:3px;background-color:#0c74d5}label[class=ep-box-caption]{color:rgba(0,0,0,.6);font-family:Roboto,sans-serif;font-size:12px;letter-spacing:.4px;font-weight:300;margin-left:2em}label[class^=pp-ep-box-label]{position:relative;top:2px;padding:0 2px 0 2px;bottom:10px;background:0 0}label[class^=pp-ep-box-label-under]{position:relative;padding:0 2px 0 2px;bottom:10px;left:10px;top:0;background:0 0}div[class=pp-ep-box-input],input[class=pp-ep-box-input],select[class=pp-ep-box-input],textarea[class=pp-ep-box-input]{border-radius:4px;background-color:#fff;border:1px solid #b1b1b1;font-size:14px;height:56px;width:100%}textarea[id^=powerpress_summary_]{height:130px;resize:none;padding:10px;font-family:Roboto,sans-serif;font-size:14px;line-height:22px;width:100%}textarea[id^=powerpress_embed_]{resize:none}textarea[id^=powerpress_summary_]::-webkit-scrollbar{height:85%}textarea[id^=powerpress_summary_]::-webkit-scrollbar-track{box-shadow:inset 0 0 5px grey;border-radius:4px}textarea[id^=powerpress_summary_]::-webkit-scrollbar-thumb{background:#fff;border-radius:4px;border:grey 1px solid}div[id^=pp-url-input-container-]{width:100%}label[id^=pp-url-input-above]{position:relative;top:8px;background-color:#f5f5f5;padding:0 3px 0 3px}.pp-url-input-label{color:#0c74d5;margin-left:10px}div[id^=powerpress_url_],input[id^=powerpress_url_]{width:100%;border-radius:4px;box-sizing:border-box;height:56px}input[id^=powerpress_url_]{box-shadow:inset 0 0 0 1px #0c74d5;background:0 0;border-color:#0c74d5}input[id^=powerpress_image_],input[id^=powerpress_itunes_image_]{width:90%;border-radius:4px;box-sizing:border-box;height:56px}input[id^=powerpress_feature_]{border-radius:2px;border:2px solid #66788a;height:18px;width:18px}input[class=ep-box-checkbox]{box-sizing:border-box;height:16px;width:16px;border:1px solid #d8dce6;border-radius:3px;background:linear-gradient(0deg,#f6f7f9 0,#fff 100%);box-shadow:inset 0 2px 0 0 rgba(255,255,255,.05),0 1px 1px 0 rgba(22,29,37,.05);margin:1em 1ch 1em 1ch}.pp-section-container{display:block;margin-bottom:4ch;width:100%;justify-content:space-between}.apple-opt-section-container{display:block;margin-bottom:2ch;width:100%;justify-content:space-between}div[id^=apple-feature]{margin-top:1vh}div[id^=title-container]{width:50%}div[id^=season-container]{width:30%}input[id^=powerpress_episode_season]:disabled{background-color:#f5f5f5}div[id^=pp-explicit-container]{display:inline-block;width:35%;float:right;max-height:30px;margin-right:1em}div[id^=apple-title-container]{width:55%;margin-right:3ch}div[id^=episode-no-container],div[id^=season-container]{display:inline-block;width:18%;margin-top:3vh}div[id^=season-container]{float:right}div[id^=feature-container]{margin-top:3vh;width:70%}div[id^=type-container]{width:29.5%;vertical-align:top;margin:2ch 0 0 0}div[id^=media-input]{width:100%}@media (max-width:1152px){div[id^=pp-selected-media-text]{max-width:80%;margin-right:3em}div[id^=edit-media-file],div[id^=pp-category-dropdown],div[id^=pp-change-media-file],div[id^=select-media-file]{width:80%;margin:1em 3em 0 3em}.details-not-specified{margin-top:1em;width:100%}.details-auto-detect,.details-specify{width:48%}div[id^=pp-explicit-container]{width:40%}div[id^=feature-container]{width:100%}}@media (max-width:832px){div[class^=details-]{width:100%;margin-top:1em}.pp-detail-section{margin:2ch 1em 2ch 1em}div[id^=pp-explicit-container]{width:98%;margin:1em 0 3em 0;float:left}div[id^=apple-title-container]{width:100%;margin-top:1em}div[id^=episode-no-container]{width:45%}div[id^=season-container]{width:45%}.pp-tabcontent{padding:15px}#wpbody select{height:52px}div[id^=pp-type-label]{width:99%;margin:1em 0 1em 0}div[id^=pp-pos-label]{width:40%;margin-left:0}div[id^=pp-dur-label]{width:40%;margin-right:0}.media-details{margin-left:1em}div[id^=edit-media-file],div[id^=pp-category-dropdown],div[id^=pp-change-media-file],div[id^=select-media-file]{margin:1em 1em 0 1em;width:90%}div[id^=pp-selected-media-text]{margin:1em 1em 0 1em;max-width:90%}.powerpress-art-preview,.powerpress-art-text{width:100%}div[id^=type-container]{width:50%}input[type=checkbox]:checked:before{font:normal 21px/1 dashicons}h3[id^=pp-pp-selected-media-head]{margin-left:1em}.powerpress-art-preview{text-align:center}input[id^=powerpress_image_],input[id^=powerpress_itunes_image_]{width:100%}}@media (max-width:592px){.pp-blue-button,.pp-gray-button{display:block;margin:1ch 0 0 0}div[id^=edit-media-file],div[id^=pp-category-dropdown],div[id^=pp-change-media-file],div[id^=select-media-file]{max-width:90%}.explicit-selected,.pp-explicit-option{font-size:12px}.artwork-button{padding:1em 2ch}div[id^=apple-podcast-opt]{padding:6%}div[id^=pp-display-player],div[id^=pp-player-size]{width:100%}div[id^=type-container]{width:100%}input[id^=powerpress_duration_][class=pp-ep-box-input]{width:36px;padding:6px;height:28px}a[id^=select-media-link]{width:100%}select[id^=powerpress_category] option{width:100%}}@media (max-width:375px){.pp-detail-section{margin:2ch 1em 2ch 0}.media-details{margin-left:0}.explicit-selected,.pp-explicit-option{width:31%}div[id^=pp-dur-label],div[id^=pp-pos-label]{width:100%;margin:1em 0 1em 0}.tab{font-size:12px}a[id^=hide-details-link],a[id^=show-details-link]{font-size:12px}input[id^=powerpress_duration_][class=pp-ep-box-input]{width:28px;padding:2px}}@media (max-width:1456px){.classic-editor div[id^=pp-selected-media-text]{max-width:80%;margin-right:3em}.classic-editor div[id^=edit-media-file],.classic-editor div[id^=pp-category-dropdown],.classic-editor div[id^=pp-change-media-file],.classic-editor div[id^=select-media-file]{width:80%;margin:1em 3em 0 5em}.classic-editor .details-not-specified{margin-top:1em;width:100%}.classic-editor .details-auto-detect,.classic-editor .details-specify{width:48%}.classic-editor div[id^=pp-explicit-container]{width:40%}.classic-editor div[id^=feature-container]{width:100%}}@media (max-width:1350px){.classic-editor div[id^=pp-explicit-container-]{width:98%;margin-top:10px}}@media (max-width:1256px){.classic-editor div[class^=details-]{width:100%;margin-top:1em}}@media (max-width:1132px){.classic-editor div[class^=details-]{width:100%;margin-top:1em}.classic-editor .pp-detail-section{margin:2ch 1em 2ch 1em}.classic-editor div[id^=pp-explicit-container]{width:98%;margin:1em 0 3em 0;float:left}.classic-editor div[id^=apple-title-container]{width:100%;margin-top:1em}.classic-editor div[id^=episode-no-container]{width:45%}.classic-editor div[id^=season-container]{width:45%}.classic-editor .pp-tabcontent{padding:15px}.classic-editor #wpbody select{height:52px}.classic-editor div[id^=pp-type-label]{width:99%;margin:1em 0 1em 0}.classic-editor div[id^=pp-pos-label]{width:40%;margin-left:0}.classic-editor div[id^=pp-dur-label]{width:40%;margin-right:0}.classic-editor .media-details{margin-left:1em}.classic-editor div[id^=edit-media-file],.classic-editor div[id^=pp-category-dropdown],.classic-editor div[id^=pp-change-media-file] .classic-editor div[id^=select-media-file]{margin:1em 1em 0 1em;width:90%}.classic-editor div[id^=pp-selected-media-text]{margin:1em 1em 0 1em;max-width:90%}.classic-editor .powerpress-art-preview,.classic-editor .powerpress-art-text{width:100%}.classic-editor div[id^=type-container]{width:50%}.classic-editor input[type=checkbox]:checked:before{font:normal 21px/1 dashicons}.classic-editor h3[id^=pp-pp-selected-media-head]{margin-left:1em}.classic-editor .powerpress-art-preview{text-align:center}.classic-editor input[id^=powerpress_image_],.classic-editor input[id^=powerpress_itunes_image_]{width:100%}}@media (max-width:892px){.classic-editor .pp-blue-button,.classic-editor .pp-gray-button{display:block;margin:1ch 0 0 0}.classic-editor div[id^=edit-media-file],.classic-editor div[id^=pp-category-dropdown],.classic-editor div[id^=pp-change-media-file],.classic-editor div[id^=select-media-file]{max-width:90%}.classic-editor .explicit-selected,.classic-editor .pp-explicit-option{font-size:12px}.classic-editor .artwork-button{padding:1em 2ch}.classic-editor div[id^=apple-podcast-opt]{padding:6%}.classic-editor div[id^=pp-display-player],.classic-editor div[id^=pp-player-size]{width:100%}.classic-editor div[id^=type-container]{width:100%}.classic-editor input[id^=powerpress_duration_][class=pp-ep-box-input]{width:36px;padding:6px;height:28px}.classic-editor select[id^=powerpress_category] option{width:100%}}
|
1 |
+
div[class^=pp-tooltip]{position:relative;display:inline-block;background-color:#dadada;color:#fff;padding:1px 6px 1px 6px;border-radius:9px;width:6px;height:16px;text-align:center;font-family:Roboto,serif}div[class^=pp-tooltip] .text-pp-tooltip{position:absolute;visibility:hidden;min-width:300px;background-color:#3e3f42;color:#fff;text-align:center;padding:5px;border-radius:6px;z-index:1;font-family:Roboto,sans-serif;top:-100%}.pp-tooltip-left .text-pp-tooltip{right:1%;margin-right:120%}.pp-tooltip-right .text-pp-tooltip{margin-left:-5px;border-width:5px;left:150%}div[class^=pp-tooltip]:hover .text-pp-tooltip{visibility:visible}div[class^=pp-tooltip] .text-pp-tooltip::after{content:" ";position:absolute;border-width:5px;border-style:solid;top:50%}.pp-tooltip-left .text-pp-tooltip::after{border-color:transparent transparent transparent #3e3f42;right:-3%}.pp-tooltip-right .text-pp-tooltip::after{border-color:transparent #3e3f42 transparent transparent;left:-3%}.pp-tab{font-size:16px;overflow:hidden;border-bottom:1px solid #efefef;border-top:1px solid #efefef;width:100%}.pp-tab button{background-color:inherit;float:left;border:none;outline:0;cursor:pointer;padding:3vh 0;margin:0 3%;transition:.3s;width:19%}.pp-tab button:hover{background-color:#ddd}.pp-tab button.active{border-bottom:3px solid #1a6deb;font-weight:700}.pp-tabcontent{margin:0 14px 14px 14px}.pp-metamarks-row{margin-top:3em;margin-left:1em;position:relative;width:90%;box-shadow:inset 0 0 0 1px #eaedf3;border:1px solid #eaedf3;border-radius:4px}.pp-metamark-delete a{margin:4px 0 0 -2px;cursor:pointer;width:10px;height:10px;text-indent:-9999px;overflow:hidden;top:4px;left:-14px}div[id^=pp-hide-metamark]{padding:2em 2em 0 2em}.pp-metamark-delete,.pp-metamark-preview-pos-{display:inline-block;margin:1em}.pp-metamark-edit,.pp-metamark-preview-type-{margin:1em 0;display:inline-block}.metamark-top-section{border-bottom:1px solid #eaedf3;border-radius:4px 4px 0 0;box-shadow:inset 0 0 0 1px #eaedf3;width:100%}div[class^=metamark-preview-]{font-weight:700}.pp-metamark-delete,.pp-metamark-edit{float:right}select[id^=pp-metamark-type-]{width:100%;height:52px;vertical-align:top}input[id^=pp-metamark-dur-],input[id^=pp-metamark-link-],input[id^=pp-metamark-pos-]{width:100%;height:58px;vertical-align:top}textarea[id^=pp-metamark-val-][class=pp-ep-box-input]{height:72px;width:100%;margin:auto;vertical-align:top;resize:none}div[id^=pp-dur-label]{float:right;width:30%}div[id^=pp-pos-label],div[id^=pp-type-label]{margin-right:4%;width:30%}.powerpress-label-container{display:inline-block;margin-top:2ch;height:70px}div[id^=select-media-file]{vertical-align:top;padding-top:1vh;padding-left:10px;float:right}a[id^=pp-change-media-link],div[id^=save-media]{cursor:pointer}select[id^=powerpress_category_]{max-width:51.6%;width:100%;height:56px}div[id^=pp-category-dropdown-]{margin:1em 1em 0 1em}.pp-ep-box-input.pp-width{width:100%}#powerpress-podcast .inside{margin:0;padding:0}div[id^=apple-podcast-opt]{border-radius:4px;background-color:#f1f4f9;padding:3%;width:90%;margin-bottom:5vh}div[id^=ep-info-not-apple]{margin-bottom:20px}.pp-blue-button{display:inline-block;border-radius:4px;background-color:#0c74d5;color:#fff;font-family:Roboto,sans-serif;font-size:16px;font-weight:500;padding:1ch 2em 1ch 2em;cursor:pointer;text-align:center}.pp-gray-button{background-color:#f5f5f5;box-shadow:0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12),0 1px 3px 0 rgba(0,0,0,.2);color:#000;display:inline-block;border-radius:4px;font-family:Roboto,sans-serif;font-size:14px;font-weight:600;padding:.5ch 1em .5ch 1em;margin-right:1em;cursor:pointer;text-align:center;border:0}h4[class^=pp-section-title]{color:#3e3f42;font-family:Roboto,sans-serif;font-size:16px;font-weight:700;line-height:38px;margin-bottom:0;margin-top:0;float:left;display:inline-block}.pp-section-title-block{width:100%}.pp-ep-box-text{font-size:14px;margin-top:2ch;margin-bottom:0}.pp-section-subtitle{color:#5a5c60;font-family:Roboto,sans-serif;font-size:14px;font-weight:500;line-height:16px}.pp-tabcontent{display:none;border-top:none;padding:40px}.pp-tabcontent.active{display:block}h3[id^=pp-pp-selected-media-head]{color:#263238;font-family:Roboto,sans-serif;font-size:20px;font-weight:700;letter-spacing:-.06px;line-height:24px;margin:0}div[id^=pp-edit-media-button]{text-align:center}.powerpress_remove_container,div[id^=a-pp-selected-media]{padding:1em 2em 0 2em}div[class=powerpress_remove_container]{padding:0 2ch}div[class^=metamark-preview-]{font-weight:700}div[id^=explicit-switch-base]{display:inline-block;padding:5px;background-color:#e6e6e6;width:100%;border-radius:4px}.pp-explicit-option{background-color:#e6e6e6}.explicit-selected{background-color:#fff;box-shadow:0 2px 4px 0 rgba(0,0,0,.16);border-radius:4px}.explicit-selected,.pp-explicit-option{border-collapse:collapse;font-weight:700;display:inline-block;width:32%;padding-top:1ch;padding-bottom:1ch;text-align:center;font-size:14px;font-family:Roboto,sans-serif;cursor:pointer}div[id^=pp-selected-media-text]{width:100%;display:inline-block}#episode-box-container,.powerpress_podcast_box{padding:10px}div[id^=pp-change-media-file]{vertical-align:top;margin-top:1vh;margin-left:10px;float:right}div[class^=ep-box-line]{box-sizing:border-box;display:inline-block;height:1px;width:100%;border-top:1px solid #efefef}div[class=ep-box-line-bold]{border-top:2px solid #efefef;width:92%;margin-left:4%;margin-right:4%}.ep-box-line-margin{margin:17px 0 17px 0}.pp-shortcode-example{box-sizing:border-box;border:1px solid #e8e8e8;background-color:#f0f0f0;line-height:36px;padding-left:2em;padding-right:2em}.pp-hidden-settings{display:none}div[id^=ep-box-blubrry-connect-]{background-color:#f1f4f9;margin-top:1em;width:98%;padding:1em 1ch}div[id^=ep-box-blubrry-connected-]{margin-left:1em;margin-top:1em;width:98%;padding:1em 1ch}.ep-box-blubrry-icon{display:inline-block;width:2em;vertical-align:top;margin-left:1em;margin-top:1ch}.ep-box-blubrry-info-container{display:inline-block;max-width:calc(100% - 320px)}img[id^=pp-image-preview]{width:16vh;height:16vh;border:3px solid #717171}img[id^=poster-pp-image-preview]{width:32ch;height:18ch;border:3px solid #717171}.powerpress-art-text{width:70%;display:inline-block;vertical-align:top}.powerpress-art-preview{width:28%;display:inline-block}div[id^=ep-box-filename-container]{text-overflow:ellipsis;white-space:nowrap;max-width:85%;overflow:hidden;display:inline-block}p[id^=ep-box-filename]{color:#6b6c6f;font-family:Roboto,sans-serif;font-size:14px;letter-spacing:.15px;line-height:56px;margin:0 5px 0 5px;display:inline}div[id^=pp-warning-messages]{margin-left:3em}div[id^=pp-cancel-container],div[id^=pp-connect-account-]{display:inline-block}div[id^=pp-cancel-container-]{float:right;margin-right:2em}div[id^=hidden-media-details-]{padding:1em;margin-top:2em;background-color:#f1f4f9}div[class^=details-]{display:inline-block;font-family:Roboto,sans-serif}.details-specify{width:45%}.details-auto-detect,.details-not-specified{width:25%}div[id^=media-input-]{margin-top:1ch}.pp-media-edit-details{color:#2c65db;font-family:Roboto Medium,sans-serif;font-size:12px;line-height:22px;cursor:pointer;border:none;box-shadow:none;background-color:#f1f4f9;text-decoration:none}button.apple-advanced,button.media-details{color:#2c65db;font-family:Roboto Medium,sans-serif;font-size:12px;line-height:22px;cursor:pointer;border:none;box-shadow:none;background-color:#f5f5f5;font-weight:700}button.media-details{background-color:#fff}.media-details-head{color:#3e3f42;font-weight:700;font-family:Roboto Medium,sans-serif;font-size:14px;line-height:22px;margin:0 1em}input[id^=powerpress_size]{width:50%;text-align:center;height:28px}input[id^=powerpress_duration_][class=pp-ep-box-input]{width:48px;text-align:center;height:34px}div[id^=media-file-details]{width:100%}.pp-detail-section{margin:0 1em 2ch 1em}.details-auto-detect{width:30%}.details-specify{width:43%}.details-not-specified{width:25%}.blubrry-connect-info{margin:0 1ch}h4.blubrry-connect-info{color:#3e3f42;font-family:Roboto,sans-serif;font-size:16px;font-weight:700;line-height:20px}p.blubrry-connect-info{font-size:14px;margin-bottom:0}a[id^=ep-box-connect-account],a[id^=pp-change-media-link]{text-decoration:none;display:inline-block;width:35ch;margin-right:1em}div[id^=change-media-button],div[id^=ep-box-connect-account-button-]{border-radius:4px;border:1px solid #969696;color:#0c74d5;padding:1ch 2em 1ch 2em;margin-right:1em;text-align:center;font-family:Roboto,sans-serif;font-size:14px;font-weight:600}a[id^=ep-box-connect-account],a[id^=pp-change-media-link],div[id^=change-media-button],div[id^=ep-box-connect-account-button-]{float:right}input[class=media-details-radio]{width:22px;height:22px;border:2px solid #b1b1b1}input[class=media-details-radio]:checked{border:2px solid #0c74d5}input[class=media-details-radio]:checked:before{width:12px;height:12px;margin:3px;background-color:#0c74d5}label[class=ep-box-caption]{color:rgba(0,0,0,.6);font-family:Roboto,sans-serif;font-size:12px;letter-spacing:.4px;font-weight:300;margin-left:2em}label[class^=pp-ep-box-label]{position:relative;top:2px;padding:0 2px 0 2px;bottom:10px;background:0 0}label[class^=pp-ep-box-label-under]{position:relative;padding:0 2px 0 2px;bottom:10px;left:10px;top:0;background:0 0}div[class=pp-ep-box-input],input[class=pp-ep-box-input],select[class=pp-ep-box-input],textarea[class=pp-ep-box-input]{border-radius:4px;background-color:#fff;border:1px solid #b1b1b1;font-size:14px;height:56px;width:100%}textarea[id^=powerpress_summary_]{height:130px;resize:none;padding:10px;font-family:Roboto,sans-serif;font-size:14px;line-height:22px;width:100%}textarea[id^=powerpress_embed_]{resize:none}textarea[id^=powerpress_summary_]::-webkit-scrollbar{height:85%}textarea[id^=powerpress_summary_]::-webkit-scrollbar-track{box-shadow:inset 0 0 5px grey;border-radius:4px}textarea[id^=powerpress_summary_]::-webkit-scrollbar-thumb{background:#fff;border-radius:4px;border:grey 1px solid}div[id^=pp-url-input-container-]{width:100%}div[id^=pp-url-input-label-container]{display:inline-block;width:calc(100% - 175px)}div[id^=powerpress_url_],input[id^=powerpress_url_]{width:100%;border-radius:4px;box-sizing:border-box;height:56px}div[id^=powerpress_url_show_]{width:100%;background-color:#f1f4f9;font-size:14px;height:56px;border-radius:0}input[id^=powerpress_image_],input[id^=powerpress_itunes_image_]{width:90%;border-radius:4px;box-sizing:border-box;height:56px}input[id^=powerpress_feature_]{border-radius:2px;border:2px solid #66788a;height:18px;width:18px}input[class=ep-box-checkbox]{box-sizing:border-box;height:16px;width:16px;border:1px solid #d8dce6;border-radius:3px;background:linear-gradient(0deg,#f6f7f9 0,#fff 100%);box-shadow:inset 0 2px 0 0 rgba(255,255,255,.05),0 1px 1px 0 rgba(22,29,37,.05);margin:1em 1ch 1em 1ch}.pp-section-container{display:block;margin-bottom:4ch;width:100%;justify-content:space-between}.apple-opt-section-container{display:block;margin-bottom:2ch;width:100%;justify-content:space-between}div[id^=apple-feature]{margin-top:1vh}div[id^=title-container]{width:50%}div[id^=season-container]{width:30%}input[id^=powerpress_episode_season]:disabled{background-color:#f5f5f5}div[id^=pp-explicit-container]{display:inline-block;width:35%;float:right;max-height:30px;margin-right:1em}div[id^=apple-title-container]{width:55%;margin-right:3ch}div[id^=episode-no-container],div[id^=season-container]{display:inline-block;width:18%;margin-top:3vh}div[id^=season-container]{float:right}div[id^=feature-container]{margin-top:3vh;width:70%}div[id^=type-container]{width:29.5%;vertical-align:top;margin:2ch 0 0 0}div[id^=media-input]{width:100%}div[id^=edit-media-file-]{float:right}div[id^=ep-box-min-blubrry-connect-]{margin-top:1ch}@media (max-width:1152px){.details-not-specified{margin-top:1em;width:100%}.details-auto-detect,.details-specify{width:48%}div[id^=pp-explicit-container]{width:40%}div[id^=feature-container]{width:100%}}@media (max-width:832px){div[class^=details-]{width:100%;margin-top:1em}.pp-detail-section{margin:2ch 1em 2ch 1em}div[id^=pp-explicit-container]{width:98%;margin:1em 0 3em 0;float:left}div[id^=apple-title-container]{width:100%;margin-top:1em}div[id^=episode-no-container]{width:45%}div[id^=season-container]{width:45%}.pp-tabcontent{padding:15px}#wpbody select{height:52px}div[id^=pp-type-label]{width:99%;margin:1em 0 1em 0}div[id^=pp-pos-label]{width:40%;margin-left:0}div[id^=pp-dur-label]{width:40%;margin-right:0}.powerpress-art-preview,.powerpress-art-text{width:100%}div[id^=type-container]{width:50%}input[type=checkbox]:checked:before{font:normal 21px/1 dashicons}.powerpress-art-preview{text-align:center}input[id^=powerpress_image_],input[id^=powerpress_itunes_image_]{width:100%}}@media (max-width:592px){div[id^=ep-box-filename-container]{max-width:70%}.pp-blue-button,.pp-gray-button{display:block;margin:1ch 0 0 0}.explicit-selected,.pp-explicit-option{font-size:12px}.artwork-button{padding:1em 2ch}div[id^=apple-podcast-opt]{padding:6%}div[id^=pp-display-player],div[id^=pp-player-size]{width:100%}div[id^=type-container]{width:100%}input[id^=powerpress_duration_][class=pp-ep-box-input]{width:36px;padding:6px;height:28px}select[id^=powerpress_category] option{width:100%}}@media (max-width:375px){.pp-detail-section{margin:2ch 1em 2ch 0}.media-details{margin-left:0}.explicit-selected,.pp-explicit-option{width:31%}div[id^=pp-dur-label],div[id^=pp-pos-label]{width:100%;margin:1em 0 1em 0}.tab{font-size:12px}a[id^=hide-details-link],a[id^=show-details-link]{font-size:12px}input[id^=powerpress_duration_][class=pp-ep-box-input]{width:28px;padding:2px}}@media (max-width:1456px){.classic-editor .details-not-specified{margin-top:1em;width:100%}.classic-editor .details-auto-detect,.classic-editor .details-specify{width:48%}.classic-editor div[id^=pp-explicit-container]{width:40%}.classic-editor div[id^=feature-container]{width:100%}}@media (max-width:1350px){.classic-editor div[id^=pp-explicit-container]{width:98%;margin:1em 0 3em 0;float:left}}@media (max-width:1256px){.classic-editor div[class^=details-]{width:100%;margin-top:1em;margin-left:1em}}@media (max-width:1132px){.classic-editor div[class^=details-]{width:100%;margin-top:1em}.classic-editor .pp-detail-section{margin:2ch 1em 2ch 1em}.classic-editor div[id^=apple-title-container]{width:100%;margin-top:1em}.classic-editor div[id^=episode-no-container]{width:45%}.classic-editor div[id^=season-container]{width:45%}.classic-editor .pp-tabcontent{padding:15px}.classic-editor #wpbody select{height:52px}.classic-editor div[id^=pp-type-label]{width:99%;margin:1em 0 1em 0}.classic-editor div[id^=pp-pos-label]{width:40%;margin-left:0}.classic-editor div[id^=pp-dur-label]{width:40%;margin-right:0}.classic-editor .powerpress-art-preview,.classic-editor .powerpress-art-text{width:100%}.classic-editor div[id^=type-container]{width:50%}.classic-editor input[type=checkbox]:checked:before{font:normal 21px/1 dashicons}.classic-editor .powerpress-art-preview{text-align:center}.classic-editor input[id^=powerpress_image_],.classic-editor input[id^=powerpress_itunes_image_]{width:100%}}@media (max-width:1050px){.classic-editor .ep-box-blubrry-info-container{max-width:calc(100% - 50px)}.classic-editor a[id^=ep-box-connect-account-],.classic-editor a[id^=pp-change-media-link-]{float:none;width:100%}.classic-editor div[id^=change-media-button-],.classic-editor div[id^=ep-box-connect-account-button-]{float:none;margin:1em 0 0 1em}}@media (max-width:640px){.ep-box-blubrry-info-container{max-width:calc(100% - 50px)}a[id^=ep-box-connect-account-],a[id^=pp-change-media-link-]{float:none;width:100%}div[id^=ep-box-connect-account-button-]{float:none;margin:1em 0 0 1ch}div[id^=change-media-button-]{float:none;margin-top:1em}}@media (max-width:892px){.classic-editor .pp-blue-button,.classic-editor .pp-gray-button{display:block}.classic-editor .explicit-selected,.classic-editor .pp-explicit-option{font-size:12px}.classic-editor .artwork-button{padding:1em 2ch}.classic-editor div[id^=apple-podcast-opt]{padding:6%}.classic-editor div[id^=pp-display-player],.classic-editor div[id^=pp-player-size]{width:100%}.classic-editor div[id^=type-container]{width:100%}.classic-editor input[id^=powerpress_duration_][class=pp-ep-box-input]{width:36px;padding:6px;height:28px}.classic-editor select[id^=powerpress_category] option{width:100%}}
|
images/pts_cover.jpg
ADDED
Binary file
|
js/admin.js
CHANGED
@@ -4,6 +4,7 @@ function powerpress_verifyMedia(el) {
|
|
4 |
}
|
5 |
|
6 |
var interval = false;
|
|
|
7 |
|
8 |
function powerpress_openTab(evt, cityName) {
|
9 |
// Declare all variables
|
@@ -111,16 +112,24 @@ function powerpress_toggleMetamarksSettings(el) {
|
|
111 |
}
|
112 |
}
|
113 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
function powerpress_showHideMediaDetails(el) {
|
115 |
let feed_slug = el.id.replace("show-details-link-", "");
|
116 |
-
//feed_slug = feed_slug.replace("hide-details-link-", "");
|
117 |
let show_det = jQuery("#show-details-link-" + feed_slug);
|
118 |
-
//let hide_det = jQuery("#hide-details-link-" + feed_slug);
|
119 |
let div = jQuery("#hidden-media-details-" + feed_slug);
|
120 |
show_det.toggleClass('pp-hidden-settings');
|
121 |
-
//hide_det.toggleClass('pp-hidden-settings');
|
122 |
show_det.toggleClass('media-details');
|
123 |
-
//hide_det.toggleClass('media-details');
|
124 |
div.toggleClass('pp-hidden-settings');
|
125 |
}
|
126 |
|
@@ -146,7 +155,8 @@ function powerpress_showHideAppleAdvanced(el) {
|
|
146 |
div.toggleClass('pp-hidden-settings');
|
147 |
}
|
148 |
|
149 |
-
function powerpress_changeMediaFile(el) {
|
|
|
150 |
let feed_slug = el.id.replace("pp-edit-media-button-", "");
|
151 |
let input = jQuery("#pp-url-input-container-" + feed_slug);
|
152 |
input.removeAttr("style");
|
@@ -160,10 +170,65 @@ function powerpress_changeMediaFile(el) {
|
|
160 |
let buttons = jQuery("#pp-change-media-file-" + feed_slug);
|
161 |
buttons.removeAttr("style");
|
162 |
buttons.attr("style", "display: inline-block");
|
163 |
-
let
|
164 |
-
|
165 |
-
|
166 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
}
|
168 |
|
169 |
//save button for edit media link
|
@@ -172,17 +237,20 @@ function powerpress_saveMediaFile(el) {
|
|
172 |
powerpress_get_media_info(feed_slug);
|
173 |
let player_size = jQuery("#pp-player-size-" + feed_slug);
|
174 |
let player_size_line = jQuery("#line-above-player-size-" + feed_slug);
|
175 |
-
let link = jQuery("#pp-url-input-container-" + feed_slug + " > input").val();
|
176 |
let display_filename = jQuery("#ep-box-filename-" + feed_slug);
|
177 |
-
let link_parts = "";
|
178 |
let input = jQuery("#pp-url-input-container-" + feed_slug);
|
179 |
let show_input = jQuery("#powerpress_url_show_" + feed_slug);
|
180 |
let edit_media = jQuery("#edit-media-file-" + feed_slug);
|
181 |
let buttons = jQuery("#pp-change-media-file-" + feed_slug);
|
182 |
let warning = jQuery("#file-change-warning-" + feed_slug);
|
183 |
-
let
|
184 |
-
let
|
185 |
if (link !== '') {
|
|
|
|
|
|
|
|
|
186 |
let video_types = [".mp4", ".m4v", ".webm", ".ogg", ".ogv"];
|
187 |
let video = false;
|
188 |
video_types.forEach(function(element) {
|
@@ -201,13 +269,7 @@ function powerpress_saveMediaFile(el) {
|
|
201 |
player_size_line.attr("style", "display: none");
|
202 |
}
|
203 |
show_input.attr("title", link);
|
204 |
-
|
205 |
-
link_parts = link.split("/");
|
206 |
-
} else {
|
207 |
-
link_parts = link.split("\\");
|
208 |
-
}
|
209 |
-
let fname = link_parts.pop();
|
210 |
-
display_filename.html(fname);
|
211 |
warning.css('display', 'none');
|
212 |
input.removeAttr("style");
|
213 |
input.attr("style", "display: none");
|
@@ -217,8 +279,9 @@ function powerpress_saveMediaFile(el) {
|
|
217 |
edit_media.attr("style", "display: inline-block");
|
218 |
buttons.removeAttr("style");
|
219 |
buttons.attr("style", "display: none");
|
220 |
-
|
221 |
-
|
|
|
222 |
} else {
|
223 |
warning.css('display', 'block');
|
224 |
warning.addClass("error");
|
@@ -227,19 +290,17 @@ function powerpress_saveMediaFile(el) {
|
|
227 |
|
228 |
//Continue button for adding media to a post
|
229 |
function powerpress_skipToEpisodeSettings(feed_slug) {
|
230 |
-
console.log("Skipping");
|
231 |
let file_input = jQuery("#pp-url-input-container-" + feed_slug);
|
232 |
let file_show = jQuery("#powerpress_url_show_" + feed_slug);
|
233 |
let tab_container = jQuery("#tab-container-" + feed_slug);
|
234 |
let warning = jQuery("#file-select-warning-" + feed_slug);
|
235 |
let edit_file = jQuery("#edit-media-file-" + feed_slug);
|
236 |
let select_file = jQuery("#select-media-file-" + feed_slug);
|
237 |
-
let head = jQuery("#pp-pp-selected-media-head-" + feed_slug);
|
238 |
-
let above_label = jQuery("#pp-url-input-above-" + feed_slug);
|
239 |
-
let below_label = jQuery("#pp-url-input-below-" + feed_slug);
|
240 |
-
let container = jQuery("#a-pp-selected-media-" + feed_slug);
|
241 |
let details = jQuery("#media-file-details-" + feed_slug);
|
242 |
-
|
|
|
|
|
|
|
243 |
tab_container.removeAttr("style");
|
244 |
tab_container.attr("style", "display: block");
|
245 |
select_file.removeAttr("style");
|
@@ -252,13 +313,19 @@ function powerpress_skipToEpisodeSettings(feed_slug) {
|
|
252 |
file_show.attr("style", "display: inline-block");
|
253 |
warning.removeAttr("style");
|
254 |
warning.attr("style", "display: none");
|
255 |
-
|
256 |
-
|
257 |
-
above_label.attr("style", "display: none");
|
258 |
-
below_label.attr("style", "display: none");
|
259 |
details.removeAttr("style");
|
260 |
details.attr("style", "display: inline-block");
|
261 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
262 |
}
|
263 |
|
264 |
//Continue button for adding media to a post
|
@@ -267,21 +334,24 @@ function powerpress_continueToEpisodeSettings(el) {
|
|
267 |
powerpress_get_media_info(feed_slug);
|
268 |
let player_size = jQuery("#pp-player-size-" + feed_slug);
|
269 |
let player_size_line = jQuery("#line-above-player-size-" + feed_slug);
|
270 |
-
let link = jQuery("#pp-url-input-container-" + feed_slug + " > input").val();
|
271 |
let file_input = jQuery("#pp-url-input-container-" + feed_slug);
|
272 |
let file_show = jQuery("#powerpress_url_show_" + feed_slug);
|
273 |
let display_filename = jQuery("#ep-box-filename-" + feed_slug);
|
274 |
-
let link_parts = [];
|
275 |
let tab_container = jQuery("#tab-container-" + feed_slug);
|
276 |
let warning = jQuery("#file-select-warning-" + feed_slug);
|
277 |
let edit_file = jQuery("#edit-media-file-" + feed_slug);
|
278 |
let select_file = jQuery("#select-media-file-" + feed_slug);
|
279 |
-
let head = jQuery("#pp-pp-selected-media-head-" + feed_slug);
|
280 |
-
let above_label = jQuery("#pp-url-input-above-" + feed_slug);
|
281 |
-
let below_label = jQuery("#pp-url-input-below-" + feed_slug);
|
282 |
-
let container = jQuery("#a-pp-selected-media-" + feed_slug);
|
283 |
let details = jQuery("#media-file-details-" + feed_slug);
|
|
|
|
|
|
|
|
|
284 |
if (link.length > 0) {
|
|
|
|
|
|
|
|
|
285 |
let video_types = [".mp4", ".m4v", ".webm", ".ogg", ".ogv"];
|
286 |
let video = false;
|
287 |
video_types.forEach(function(element) {
|
@@ -300,13 +370,7 @@ function powerpress_continueToEpisodeSettings(el) {
|
|
300 |
player_size_line.attr("style", "display: none");
|
301 |
}
|
302 |
file_show.attr("title", link);
|
303 |
-
|
304 |
-
link_parts = link.split("/");
|
305 |
-
} else {
|
306 |
-
link_parts = link.split("\\");
|
307 |
-
}
|
308 |
-
let fname = link_parts.pop();
|
309 |
-
display_filename.html(fname);
|
310 |
tab_container.removeAttr("style");
|
311 |
tab_container.attr("style", "display: block");
|
312 |
select_file.removeAttr("style");
|
@@ -319,13 +383,15 @@ function powerpress_continueToEpisodeSettings(el) {
|
|
319 |
file_show.attr("style", "display: inline-block");
|
320 |
warning.removeAttr("style");
|
321 |
warning.attr("style", "display: none");
|
322 |
-
|
323 |
-
|
324 |
-
above_label.attr("style", "display: none");
|
325 |
-
below_label.attr("style", "display: none");
|
326 |
details.removeAttr("style");
|
327 |
details.attr("style", "display: inline-block");
|
328 |
-
|
|
|
|
|
|
|
|
|
329 |
} else {
|
330 |
warning.css('display', 'block');
|
331 |
warning.addClass("error");
|
@@ -343,7 +409,7 @@ function powerpress_insertArtIntoPreview(el) {
|
|
343 |
let poster_image = jQuery(poster_input);
|
344 |
let poster_img_tag = jQuery("#poster-pp-image-preview-" + feed_slug);
|
345 |
let poster_caption_tag = jQuery("#poster-pp-image-preview-caption-" + feed_slug);
|
346 |
-
if (poster_img_tag.attr("src") != poster_image.val()) {
|
347 |
poster_img_tag.attr("src", poster_image.val());
|
348 |
let filename = "";
|
349 |
if (poster_image.val().includes("/")) {
|
@@ -355,7 +421,7 @@ function powerpress_insertArtIntoPreview(el) {
|
|
355 |
}
|
356 |
poster_caption_tag[0].innerHTML = filename;
|
357 |
}
|
358 |
-
if (img_tag.attr("src") != episode_artwork.val()) {
|
359 |
img_tag.attr("src", episode_artwork.val());
|
360 |
let filename = "";
|
361 |
if (episode_artwork.val().includes("/")) {
|
4 |
}
|
5 |
|
6 |
var interval = false;
|
7 |
+
var verify_interval = false;
|
8 |
|
9 |
function powerpress_openTab(evt, cityName) {
|
10 |
// Declare all variables
|
112 |
}
|
113 |
}
|
114 |
|
115 |
+
function powerpress_verifyButtonColor(feed_slug) {
|
116 |
+
let verify_button = jQuery("#save-media-" + feed_slug);
|
117 |
+
let other_v_button = jQuery("#continue-to-episode-settings-" + feed_slug);
|
118 |
+
if (jQuery("#powerpress_url_" + feed_slug).val().length > 0) {
|
119 |
+
verify_button.attr("style", "background-color: #0c74d5; color: white;");
|
120 |
+
other_v_button.attr("style", "background-color: #0c74d5; color: white;");
|
121 |
+
} else {
|
122 |
+
verify_button.attr("style", "background-color: #fafafa; color: #263238; border: 1px solid black;");
|
123 |
+
other_v_button.attr("style", "background-color: #fafafa; color: #263238; border: 1px solid black;");
|
124 |
+
}
|
125 |
+
}
|
126 |
+
|
127 |
function powerpress_showHideMediaDetails(el) {
|
128 |
let feed_slug = el.id.replace("show-details-link-", "");
|
|
|
129 |
let show_det = jQuery("#show-details-link-" + feed_slug);
|
|
|
130 |
let div = jQuery("#hidden-media-details-" + feed_slug);
|
131 |
show_det.toggleClass('pp-hidden-settings');
|
|
|
132 |
show_det.toggleClass('media-details');
|
|
|
133 |
div.toggleClass('pp-hidden-settings');
|
134 |
}
|
135 |
|
155 |
div.toggleClass('pp-hidden-settings');
|
156 |
}
|
157 |
|
158 |
+
function powerpress_changeMediaFile(evt, el) {
|
159 |
+
evt.preventDefault();
|
160 |
let feed_slug = el.id.replace("pp-edit-media-button-", "");
|
161 |
let input = jQuery("#pp-url-input-container-" + feed_slug);
|
162 |
input.removeAttr("style");
|
170 |
let buttons = jQuery("#pp-change-media-file-" + feed_slug);
|
171 |
buttons.removeAttr("style");
|
172 |
buttons.attr("style", "display: inline-block");
|
173 |
+
let blubrry_info = jQuery("#ep-box-blubrry-service-" + feed_slug);
|
174 |
+
blubrry_info.removeAttr("style");
|
175 |
+
blubrry_info.attr("style", "display: block");
|
176 |
+
let container = jQuery("#pp-media-blubrry-container-" + feed_slug);
|
177 |
+
container.attr("style", "background-color: #f1f4f9; padding: 2ch;");
|
178 |
+
if(!verify_interval) {
|
179 |
+
verify_interval = setInterval(function() { powerpress_verifyButtonColor(feed_slug); })
|
180 |
+
}
|
181 |
+
}
|
182 |
+
|
183 |
+
//save button for edit media link
|
184 |
+
function powerpress_cancelMediaEdit(el) {
|
185 |
+
let feed_slug = el.id.replace("cancel-media-edit-", "");
|
186 |
+
let player_size = jQuery("#pp-player-size-" + feed_slug);
|
187 |
+
let player_size_line = jQuery("#line-above-player-size-" + feed_slug);
|
188 |
+
let display_filename = jQuery("#ep-box-filename-" + feed_slug);
|
189 |
+
let link = display_filename.val();
|
190 |
+
let input = jQuery("#pp-url-input-container-" + feed_slug);
|
191 |
+
let url_field = jQuery("#powerpress_url_" + feed_slug + " > input");
|
192 |
+
let show_input = jQuery("#powerpress_url_show_" + feed_slug);
|
193 |
+
let edit_media = jQuery("#edit-media-file-" + feed_slug);
|
194 |
+
let buttons = jQuery("#pp-change-media-file-" + feed_slug);
|
195 |
+
let warning = jQuery("#file-change-warning-" + feed_slug);
|
196 |
+
let blubrry_info = jQuery("#ep-box-blubrry-service-" + feed_slug);
|
197 |
+
let container = jQuery("#pp-media-blubrry-container-" + feed_slug);
|
198 |
+
let video_types = [".mp4", ".m4v", ".webm", ".ogg", ".ogv"];
|
199 |
+
let video = false;
|
200 |
+
if(verify_interval) {
|
201 |
+
clearInterval(verify_interval);
|
202 |
+
verify_interval = false;
|
203 |
+
}
|
204 |
+
video_types.forEach(function(element) {
|
205 |
+
if (link.endsWith(element)) {
|
206 |
+
player_size.removeAttr("style");
|
207 |
+
player_size.attr("style", "display: block");
|
208 |
+
player_size_line.removeAttr("style");
|
209 |
+
player_size_line.attr("style", "display: block");
|
210 |
+
video = true;
|
211 |
+
}
|
212 |
+
});
|
213 |
+
if (!video) {
|
214 |
+
player_size.removeAttr("style");
|
215 |
+
player_size.attr("style", "display: none");
|
216 |
+
player_size_line.removeAttr("style");
|
217 |
+
player_size_line.attr("style", "display: none");
|
218 |
+
}
|
219 |
+
url_field.val(link);
|
220 |
+
warning.css('display', 'none');
|
221 |
+
input.removeAttr("style");
|
222 |
+
input.attr("style", "display: none");
|
223 |
+
show_input.removeAttr("style");
|
224 |
+
show_input.attr("style", "display: inline-block");
|
225 |
+
edit_media.removeAttr("style");
|
226 |
+
edit_media.attr("style", "display: inline-block");
|
227 |
+
buttons.removeAttr("style");
|
228 |
+
buttons.attr("style", "display: none");
|
229 |
+
blubrry_info.removeAttr("style");
|
230 |
+
blubrry_info.attr("style", "display: none");
|
231 |
+
container.removeAttr("style");
|
232 |
}
|
233 |
|
234 |
//save button for edit media link
|
237 |
powerpress_get_media_info(feed_slug);
|
238 |
let player_size = jQuery("#pp-player-size-" + feed_slug);
|
239 |
let player_size_line = jQuery("#line-above-player-size-" + feed_slug);
|
240 |
+
let link = jQuery("#pp-url-input-label-container-" + feed_slug + " > input").val();
|
241 |
let display_filename = jQuery("#ep-box-filename-" + feed_slug);
|
|
|
242 |
let input = jQuery("#pp-url-input-container-" + feed_slug);
|
243 |
let show_input = jQuery("#powerpress_url_show_" + feed_slug);
|
244 |
let edit_media = jQuery("#edit-media-file-" + feed_slug);
|
245 |
let buttons = jQuery("#pp-change-media-file-" + feed_slug);
|
246 |
let warning = jQuery("#file-change-warning-" + feed_slug);
|
247 |
+
let blubrry_info = jQuery("#ep-box-blubrry-service-" + feed_slug);
|
248 |
+
let container = jQuery("#pp-media-blubrry-container-" + feed_slug);
|
249 |
if (link !== '') {
|
250 |
+
if(verify_interval) {
|
251 |
+
clearInterval(verify_interval);
|
252 |
+
verify_interval = false;
|
253 |
+
}
|
254 |
let video_types = [".mp4", ".m4v", ".webm", ".ogg", ".ogv"];
|
255 |
let video = false;
|
256 |
video_types.forEach(function(element) {
|
269 |
player_size_line.attr("style", "display: none");
|
270 |
}
|
271 |
show_input.attr("title", link);
|
272 |
+
display_filename.html(link);
|
|
|
|
|
|
|
|
|
|
|
|
|
273 |
warning.css('display', 'none');
|
274 |
input.removeAttr("style");
|
275 |
input.attr("style", "display: none");
|
279 |
edit_media.attr("style", "display: inline-block");
|
280 |
buttons.removeAttr("style");
|
281 |
buttons.attr("style", "display: none");
|
282 |
+
blubrry_info.removeAttr("style");
|
283 |
+
blubrry_info.attr("style", "display: none");
|
284 |
+
container.removeAttr("style");
|
285 |
} else {
|
286 |
warning.css('display', 'block');
|
287 |
warning.addClass("error");
|
290 |
|
291 |
//Continue button for adding media to a post
|
292 |
function powerpress_skipToEpisodeSettings(feed_slug) {
|
|
|
293 |
let file_input = jQuery("#pp-url-input-container-" + feed_slug);
|
294 |
let file_show = jQuery("#powerpress_url_show_" + feed_slug);
|
295 |
let tab_container = jQuery("#tab-container-" + feed_slug);
|
296 |
let warning = jQuery("#file-select-warning-" + feed_slug);
|
297 |
let edit_file = jQuery("#edit-media-file-" + feed_slug);
|
298 |
let select_file = jQuery("#select-media-file-" + feed_slug);
|
|
|
|
|
|
|
|
|
299 |
let details = jQuery("#media-file-details-" + feed_slug);
|
300 |
+
let blubrry_info = jQuery("#ep-box-blubrry-service-" + feed_slug);
|
301 |
+
let blu_container = jQuery("#pp-media-blubrry-container-" + feed_slug);
|
302 |
+
let connect_info = jQuery("#ep-box-blubrry-connect-" + feed_slug);
|
303 |
+
let connect_info_small = jQuery("#ep-box-min-blubrry-connect-" + feed_slug);
|
304 |
tab_container.removeAttr("style");
|
305 |
tab_container.attr("style", "display: block");
|
306 |
select_file.removeAttr("style");
|
313 |
file_show.attr("style", "display: inline-block");
|
314 |
warning.removeAttr("style");
|
315 |
warning.attr("style", "display: none");
|
316 |
+
blubrry_info.removeAttr("style");
|
317 |
+
blubrry_info.attr("style", "display: none");
|
|
|
|
|
318 |
details.removeAttr("style");
|
319 |
details.attr("style", "display: inline-block");
|
320 |
+
blu_container.removeAttr("style");
|
321 |
+
if(verify_interval) {
|
322 |
+
clearInterval(verify_interval);
|
323 |
+
verify_interval = false;
|
324 |
+
}
|
325 |
+
if (connect_info.length) {
|
326 |
+
connect_info.attr("style", "display: none");
|
327 |
+
connect_info_small.removeAttr("style");
|
328 |
+
}
|
329 |
}
|
330 |
|
331 |
//Continue button for adding media to a post
|
334 |
powerpress_get_media_info(feed_slug);
|
335 |
let player_size = jQuery("#pp-player-size-" + feed_slug);
|
336 |
let player_size_line = jQuery("#line-above-player-size-" + feed_slug);
|
337 |
+
let link = jQuery("#pp-url-input-label-container-" + feed_slug + " > input").val();
|
338 |
let file_input = jQuery("#pp-url-input-container-" + feed_slug);
|
339 |
let file_show = jQuery("#powerpress_url_show_" + feed_slug);
|
340 |
let display_filename = jQuery("#ep-box-filename-" + feed_slug);
|
|
|
341 |
let tab_container = jQuery("#tab-container-" + feed_slug);
|
342 |
let warning = jQuery("#file-select-warning-" + feed_slug);
|
343 |
let edit_file = jQuery("#edit-media-file-" + feed_slug);
|
344 |
let select_file = jQuery("#select-media-file-" + feed_slug);
|
|
|
|
|
|
|
|
|
345 |
let details = jQuery("#media-file-details-" + feed_slug);
|
346 |
+
let blubrry_info = jQuery("#ep-box-blubrry-service-" + feed_slug);
|
347 |
+
let blu_container = jQuery("#pp-media-blubrry-container-" + feed_slug);
|
348 |
+
let connect_info = jQuery("#ep-box-blubrry-connect-" + feed_slug);
|
349 |
+
let connect_info_small = jQuery("#ep-box-min-blubrry-connect-" + feed_slug);
|
350 |
if (link.length > 0) {
|
351 |
+
if(verify_interval) {
|
352 |
+
clearInterval(verify_interval);
|
353 |
+
verify_interval = false;
|
354 |
+
}
|
355 |
let video_types = [".mp4", ".m4v", ".webm", ".ogg", ".ogv"];
|
356 |
let video = false;
|
357 |
video_types.forEach(function(element) {
|
370 |
player_size_line.attr("style", "display: none");
|
371 |
}
|
372 |
file_show.attr("title", link);
|
373 |
+
display_filename.html(link);
|
|
|
|
|
|
|
|
|
|
|
|
|
374 |
tab_container.removeAttr("style");
|
375 |
tab_container.attr("style", "display: block");
|
376 |
select_file.removeAttr("style");
|
383 |
file_show.attr("style", "display: inline-block");
|
384 |
warning.removeAttr("style");
|
385 |
warning.attr("style", "display: none");
|
386 |
+
blubrry_info.removeAttr("style");
|
387 |
+
blubrry_info.attr("style", "display: none");
|
|
|
|
|
388 |
details.removeAttr("style");
|
389 |
details.attr("style", "display: inline-block");
|
390 |
+
blu_container.removeAttr("style");
|
391 |
+
if (connect_info.length) {
|
392 |
+
connect_info.attr("style", "display: none");
|
393 |
+
connect_info_small.removeAttr("style");
|
394 |
+
}
|
395 |
} else {
|
396 |
warning.css('display', 'block');
|
397 |
warning.addClass("error");
|
409 |
let poster_image = jQuery(poster_input);
|
410 |
let poster_img_tag = jQuery("#poster-pp-image-preview-" + feed_slug);
|
411 |
let poster_caption_tag = jQuery("#poster-pp-image-preview-caption-" + feed_slug);
|
412 |
+
if (poster_img_tag.attr("src") != poster_image.val() && poster_image.val().length > 0) {
|
413 |
poster_img_tag.attr("src", poster_image.val());
|
414 |
let filename = "";
|
415 |
if (poster_image.val().includes("/")) {
|
421 |
}
|
422 |
poster_caption_tag[0].innerHTML = filename;
|
423 |
}
|
424 |
+
if (img_tag.attr("src") != episode_artwork.val() && episode_artwork.val().length > 0) {
|
425 |
img_tag.attr("src", episode_artwork.val());
|
426 |
let filename = "";
|
427 |
if (episode_artwork.val().includes("/")) {
|
powerpress.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Blubrry PowerPress
|
4 |
Plugin URI: http://create.blubrry.com/resources/powerpress/
|
5 |
Description: <a href="https://create.blubrry.com/resources/powerpress/" target="_blank">Blubrry PowerPress</a> is the No. 1 Podcasting plugin for WordPress. Developed by podcasters for podcasters; features include Simple and Advanced modes, multiple audio/video player options, subscribe to podcast tools, podcast SEO features, and more! Fully supports Apple Podcasts (previously iTunes), Google Podcasts, Spotify, Stitcher, and Blubrry Podcasting directories, as well as all podcast applications and clients.
|
6 |
-
Version: 8.2.
|
7 |
Author: Blubrry
|
8 |
Author URI: https://blubrry.com/
|
9 |
Requires at least: 3.6
|
@@ -36,7 +36,7 @@ if( !function_exists('add_action') ) {
|
|
36 |
|
37 |
// WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
|
38 |
|
39 |
-
define('POWERPRESS_VERSION', '8.2.
|
40 |
|
41 |
// Translation support:
|
42 |
if ( !defined('POWERPRESS_ABSPATH') )
|
@@ -730,7 +730,7 @@ function powerpress_rss2_head()
|
|
730 |
list($Cat2, $SubCat2) = explode('-', $Feed['apple_cat_2']);
|
731 |
if (!empty($Feed['apple_cat_3']))
|
732 |
list($Cat3, $SubCat3) = explode('-', $Feed['apple_cat_3']);
|
733 |
-
$googleplay_category_mapping =
|
734 |
'01-00' => '01-00',
|
735 |
'02-00' => '02-00',
|
736 |
'03-00' => '03-00',
|
@@ -750,7 +750,7 @@ function powerpress_rss2_head()
|
|
750 |
'17-00' => '15-00',
|
751 |
'18-00' => '13-00',
|
752 |
'19-00' => '16-00',
|
753 |
-
|
754 |
}
|
755 |
else {
|
756 |
$Categories = powerpress_itunes_categories();
|
@@ -760,7 +760,7 @@ function powerpress_rss2_head()
|
|
760 |
list($Cat2, $SubCat2) = explode('-', $Feed['itunes_cat_2']);
|
761 |
if (!empty($Feed['itunes_cat_3']))
|
762 |
list($Cat3, $SubCat3) = explode('-', $Feed['itunes_cat_3']);
|
763 |
-
$googleplay_category_mapping =
|
764 |
'01-00' => '01-00',
|
765 |
'02-00' => '02-00',
|
766 |
'03-00' => '03-00',
|
@@ -777,7 +777,7 @@ function powerpress_rss2_head()
|
|
777 |
'14-00' => '14-00',
|
778 |
'15-00' => '15-00',
|
779 |
'16-00' => '16-00',
|
780 |
-
|
781 |
}
|
782 |
|
783 |
$googleplay_categories = powerpress_googleplay_categories();
|
3 |
Plugin Name: Blubrry PowerPress
|
4 |
Plugin URI: http://create.blubrry.com/resources/powerpress/
|
5 |
Description: <a href="https://create.blubrry.com/resources/powerpress/" target="_blank">Blubrry PowerPress</a> is the No. 1 Podcasting plugin for WordPress. Developed by podcasters for podcasters; features include Simple and Advanced modes, multiple audio/video player options, subscribe to podcast tools, podcast SEO features, and more! Fully supports Apple Podcasts (previously iTunes), Google Podcasts, Spotify, Stitcher, and Blubrry Podcasting directories, as well as all podcast applications and clients.
|
6 |
+
Version: 8.2.10
|
7 |
Author: Blubrry
|
8 |
Author URI: https://blubrry.com/
|
9 |
Requires at least: 3.6
|
36 |
|
37 |
// WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
|
38 |
|
39 |
+
define('POWERPRESS_VERSION', '8.2.10' );
|
40 |
|
41 |
// Translation support:
|
42 |
if ( !defined('POWERPRESS_ABSPATH') )
|
730 |
list($Cat2, $SubCat2) = explode('-', $Feed['apple_cat_2']);
|
731 |
if (!empty($Feed['apple_cat_3']))
|
732 |
list($Cat3, $SubCat3) = explode('-', $Feed['apple_cat_3']);
|
733 |
+
$googleplay_category_mapping = array(
|
734 |
'01-00' => '01-00',
|
735 |
'02-00' => '02-00',
|
736 |
'03-00' => '03-00',
|
750 |
'17-00' => '15-00',
|
751 |
'18-00' => '13-00',
|
752 |
'19-00' => '16-00',
|
753 |
+
);
|
754 |
}
|
755 |
else {
|
756 |
$Categories = powerpress_itunes_categories();
|
760 |
list($Cat2, $SubCat2) = explode('-', $Feed['itunes_cat_2']);
|
761 |
if (!empty($Feed['itunes_cat_3']))
|
762 |
list($Cat3, $SubCat3) = explode('-', $Feed['itunes_cat_3']);
|
763 |
+
$googleplay_category_mapping = array(
|
764 |
'01-00' => '01-00',
|
765 |
'02-00' => '02-00',
|
766 |
'03-00' => '03-00',
|
777 |
'14-00' => '14-00',
|
778 |
'15-00' => '15-00',
|
779 |
'16-00' => '16-00',
|
780 |
+
);
|
781 |
}
|
782 |
|
783 |
$googleplay_categories = powerpress_googleplay_categories();
|
powerpressadmin-basic.php
CHANGED
@@ -952,7 +952,7 @@ foreach( $linkoptions as $value => $desc )
|
|
952 |
<?php echo __('Use this option if you are having problems with the players not appearing on some or all of your pages.', 'powerpress'); ?>
|
953 |
</p>
|
954 |
<p style="margin-top: 20px; margin-bottom:0;">
|
955 |
-
<?php echo __('If the above option fixes the player issues, then you most likely have a conflicting theme or plugin activated. You can verify your theme is not causing the problem by testing your site using the latest default WordPress theme (
|
956 |
</p>
|
957 |
</td>
|
958 |
</tr>
|
952 |
<?php echo __('Use this option if you are having problems with the players not appearing on some or all of your pages.', 'powerpress'); ?>
|
953 |
</p>
|
954 |
<p style="margin-top: 20px; margin-bottom:0;">
|
955 |
+
<?php echo __('If the above option fixes the player issues, then you most likely have a conflicting theme or plugin activated. You can verify your theme is not causing the problem by testing your site using the latest default WordPress theme (Twenty Nineteen). For plugins, disable them one by one until the player re-appears, which indicates the last plugin deactivated caused the conflict.', 'powerpress'); ?>
|
956 |
</p>
|
957 |
</td>
|
958 |
</tr>
|
powerpressadmin-metabox.php
CHANGED
@@ -7,15 +7,21 @@ function episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings,
|
|
7 |
$style2 = "display: block";
|
8 |
$style3 = "display: inline-block";
|
9 |
$style4 = "display: none";
|
10 |
-
$
|
11 |
-
$
|
|
|
12 |
} else {
|
13 |
$style1 = "display: inline-block";
|
14 |
$style2 = "display: none";
|
15 |
$style3 = "display: none";
|
16 |
$style4 = "display: block";
|
17 |
-
$
|
18 |
$filename = "";
|
|
|
|
|
|
|
|
|
|
|
19 |
}
|
20 |
if (!$DurationHH) {
|
21 |
$DurationHH = '00';
|
@@ -27,66 +33,91 @@ function episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings,
|
|
27 |
$DurationSS = '00';
|
28 |
}
|
29 |
?>
|
30 |
-
<div id="a-pp-selected-media-<?php echo $FeedSlug; ?>"
|
31 |
-
<h3 id="pp-pp-selected-media-head-<?php echo $FeedSlug; ?>"
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
</div>
|
60 |
</div>
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
</div>
|
91 |
<div id="pp-warning-messages">
|
92 |
<div id="file-select-warning-<?php echo $FeedSlug; ?>"
|
@@ -110,58 +141,24 @@ function episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings,
|
|
110 |
|
111 |
</div>
|
112 |
<div id="media-file-details-<?php echo $FeedSlug; ?>" style="<?php echo $style3; ?>">
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
$cur_cat_id = intval(!empty($ExtraData['category'])?$ExtraData['category']:0);
|
118 |
-
if( count($GeneralSettings['custom_cat_feeds']) == 1 ) // Lets auto select the category
|
119 |
-
{
|
120 |
-
foreach( $GeneralSettings['custom_cat_feeds'] as $null => $cur_cat_id ) {
|
121 |
-
break;
|
122 |
-
}
|
123 |
-
reset($GeneralSettings['custom_cat_feeds']);
|
124 |
-
}
|
125 |
-
|
126 |
-
?>
|
127 |
-
<div id="pp-category-dropdown-<?php echo $FeedSlug; ?>">
|
128 |
-
<label for="Powerpress[<?php echo $FeedSlug; ?>][category]"><?php echo esc_html(__('Category', 'powerpress')); ?></label>
|
129 |
-
<div class="powerpress_row_content"><?php
|
130 |
-
echo '<select id="powerpress_category_'. $FeedSlug . '" name="Powerpress['. $FeedSlug .'][category]" class="pp-ep-box-input"> title="Category"';
|
131 |
-
echo '<option value="0"';
|
132 |
-
echo '>' . esc_html( __('Select category', 'powerpress') ) . '</option>' . "\n";
|
133 |
-
|
134 |
-
foreach( $GeneralSettings['custom_cat_feeds'] as $null => $cat_id ) {
|
135 |
-
$catObj = get_category( $cat_id );
|
136 |
-
if( empty($catObj->name ) )
|
137 |
-
continue; // Do not allow empty categories forward
|
138 |
-
|
139 |
-
$label = $catObj->name; // TODO: Get the category title
|
140 |
-
echo '<option value="' . esc_attr( $cat_id ) . '"';
|
141 |
-
if ( $cat_id == $cur_cat_id )
|
142 |
-
echo ' selected="selected"';
|
143 |
-
echo '>' . esc_html( $label ) . '</option>' . "\n";
|
144 |
-
}
|
145 |
-
echo '</select>';
|
146 |
-
?>
|
147 |
-
</div>
|
148 |
</div>
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
<!--<a id="hide-details-link-<?php //echo $FeedSlug; ?>" class="pp-hidden-settings"
|
158 |
-
onclick="showHideMediaDetails(this)"><?php //echo __('Hide File Size and Duration', 'powerpress'); ?> ˄</a>-->
|
159 |
</div>
|
160 |
</div>
|
161 |
<div id="hidden-media-details-<?php echo $FeedSlug; ?>" class="pp-hidden-settings">
|
162 |
<div class="powerpress_row">
|
163 |
-
<p class="media-details"><?php echo esc_html(__('
|
164 |
-
<div class="ep-box-line-bold"></div>
|
165 |
<div class="pp-detail-section">
|
166 |
<div class="details-auto-detect">
|
167 |
<input class="media-details-radio" id="powerpress_set_size_0_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("Auto detect file size","powerpress")); ?>"
|
@@ -176,15 +173,14 @@ function episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings,
|
|
176 |
<?php echo esc_html(__('Specify', 'powerpress')) . ': '; ?>
|
177 |
<input class="pp-ep-box-input" type="text" id="powerpress_size_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("File size in bytes","powerpress")); ?>"
|
178 |
name="Powerpress[<?php echo $FeedSlug; ?>][size]"
|
179 |
-
value="<?php echo esc_attr($EnclosureLength); ?>" style="width: 110px;"
|
180 |
onchange="javascript:jQuery('#powerpress_set_size_1_<?php echo $FeedSlug; ?>').attr('checked', true);"/>
|
181 |
<?php echo esc_html(__('in bytes', 'powerpress')); ?>
|
182 |
</div>
|
183 |
</div>
|
184 |
</div>
|
185 |
<div class="powerpress_row">
|
186 |
-
<p class="media-details"><?php echo esc_html(__('
|
187 |
-
<div class="ep-box-line-bold"></div>
|
188 |
<div class="pp-detail-section">
|
189 |
<div class="details-auto-detect">
|
190 |
<input class="media-details-radio" id="powerpress_set_duration_0_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("Auto detect duration","powerpress")); ?>"
|
@@ -222,8 +218,57 @@ function episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings,
|
|
222 |
</div>
|
223 |
</div>
|
224 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
225 |
</div>
|
226 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
227 |
}
|
228 |
|
229 |
|
@@ -450,8 +495,16 @@ function artwork_tab($FeedSlug, $ExtraData, $object, $CoverImage)
|
|
450 |
$form_action_url = admin_url("media-upload.php?type=powerpress_image&tab=type&post_id={$object->ID}&powerpress_feed={$FeedSlug}&TB_iframe=true&width=450&height=200");
|
451 |
|
452 |
//Setting for itunes artwork
|
453 |
-
if (!isset($ExtraData['itunes_image']))
|
454 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
455 |
?>
|
456 |
<div class="pp-section-container">
|
457 |
<div class="powerpress-art-text">
|
@@ -479,9 +532,9 @@ function artwork_tab($FeedSlug, $ExtraData, $object, $CoverImage)
|
|
479 |
<div class="powerpress-art-preview">
|
480 |
<p class="pp-section-subtitle" style="font-weight: bold;"><?php echo esc_html(__('PREVIEW', 'powerpress')); ?></p>
|
481 |
<img id="pp-image-preview-<?php echo $FeedSlug; ?>"
|
482 |
-
src="<?php echo esc_attr($
|
483 |
<p id="pp-image-preview-caption-<?php echo $FeedSlug; ?>" class="pp-section-subtitle"
|
484 |
-
style="font-weight: bold;margin: 3px;"><?php echo get_filename_from_path(esc_attr($
|
485 |
</div>
|
486 |
</div>
|
487 |
<div class="ep-box-line-margin"></div>
|
@@ -511,7 +564,7 @@ function artwork_tab($FeedSlug, $ExtraData, $object, $CoverImage)
|
|
511 |
<p class="pp-section-subtitle"
|
512 |
style="font-weight: bold;"><?php echo esc_html(__('PREVIEW', 'powerpress')); ?></p>
|
513 |
<img id="poster-pp-image-preview-<?php echo $FeedSlug; ?>"
|
514 |
-
src="<?php echo esc_attr($
|
515 |
<p id="poster-pp-image-preview-caption-<?php echo $FeedSlug; ?>" class="pp-section-subtitle"
|
516 |
style="font-weight: bold;margin: 3px;"><?php echo get_filename_from_path(esc_attr($CoverImage)); ?></p>
|
517 |
</div>
|
7 |
$style2 = "display: block";
|
8 |
$style3 = "display: inline-block";
|
9 |
$style4 = "display: none";
|
10 |
+
$filename = $EnclosureURL;
|
11 |
+
$style_attr = "";
|
12 |
+
$padding = "";
|
13 |
} else {
|
14 |
$style1 = "display: inline-block";
|
15 |
$style2 = "display: none";
|
16 |
$style3 = "display: none";
|
17 |
$style4 = "display: block";
|
18 |
+
$padding = "style=\"margin-bottom: 2em;\"";
|
19 |
$filename = "";
|
20 |
+
if($GeneralSettings['blubrry_hosting']) {
|
21 |
+
$style_attr = "style=\"padding: 2em;\"";
|
22 |
+
} else {
|
23 |
+
$style_attr = "";
|
24 |
+
}
|
25 |
}
|
26 |
if (!$DurationHH) {
|
27 |
$DurationHH = '00';
|
33 |
$DurationSS = '00';
|
34 |
}
|
35 |
?>
|
36 |
+
<div id="a-pp-selected-media-<?php echo $FeedSlug; ?>" <?php echo $padding; ?>>
|
37 |
+
<h3 id="pp-pp-selected-media-head-<?php echo $FeedSlug; ?>"><?php echo esc_html(__('Media URL', 'powerpress')); ?></h3>
|
38 |
+
<div id="pp-media-blubrry-container-<?php echo $FeedSlug; ?>" <?php echo $style_attr; ?>>
|
39 |
+
<div id="pp-selected-media-text-<?php echo $FeedSlug; ?>">
|
40 |
+
<div id="media-input-<?php echo $FeedSlug; ?>">
|
41 |
+
<div id="pp-url-input-container-<?php echo $FeedSlug; ?>" style="<?php echo $style1 ?>">
|
42 |
+
<div id="pp-url-input-label-container-<?php echo $FeedSlug; ?>">
|
43 |
+
<input type="text" id="powerpress_url_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__('File Media or URL')); ?>"
|
44 |
+
name="Powerpress[<?php echo $FeedSlug; ?>][url]" placeholder="https://example.com/path/to/media.mp3"
|
45 |
+
value="<?php echo esc_attr($EnclosureURL); ?>" />
|
46 |
+
</div>
|
47 |
+
<div id="pp-change-media-file-<?php echo $FeedSlug; ?>" style="display: none;">
|
48 |
+
<div id="save-media-<?php echo $FeedSlug; ?>" class="pp-blue-button"
|
49 |
+
onclick="powerpress_saveMediaFile(this)"><?php echo esc_html(__('VERIFY', 'powerpress')); ?></div>
|
50 |
+
</div>
|
51 |
+
<div id="select-media-file-<?php echo $FeedSlug; ?>" style="<?php echo $style1 ?>">
|
52 |
+
<div id="continue-to-episode-settings-<?php echo $FeedSlug; ?>" class="pp-blue-button"
|
53 |
+
onclick="powerpress_continueToEpisodeSettings(this)"><?php echo esc_html(__('VERIFY', 'powerpress')); ?></div>
|
54 |
+
</div>
|
55 |
+
</div>
|
56 |
+
<div style="<?php echo $style3 ?>" title="<?php echo $EnclosureURL; ?>"
|
57 |
+
id="powerpress_url_show_<?php echo $FeedSlug; ?>">
|
58 |
+
<div id="ep-box-filename-container-<?php echo $FeedSlug; ?>">
|
59 |
+
<p id="ep-box-filename-<?php echo $FeedSlug; ?>"><?php echo $filename ?></p>
|
60 |
+
</div>
|
61 |
+
<img id="powerpress_success_<?php echo $FeedSlug; ?>"
|
62 |
+
src="/wp-content/plugins/powerpress/images/check.svg"
|
63 |
+
style="height: 24px; margin: 14px 1em 0 1em; vertical-align:top; display:none; float: right;"/>
|
64 |
+
<img id="powerpress_fail_<?php echo $FeedSlug; ?>"
|
65 |
+
src="/wp-content/plugins/powerpress/images/redx.svg"
|
66 |
+
style="height: 24px; margin: 14px 1em 0 1em; vertical-align:top; display:none; float: right;"/>
|
67 |
+
<img id="powerpress_check_<?php echo $FeedSlug; ?>"
|
68 |
+
src="<?php echo admin_url(); ?>images/loading.gif"
|
69 |
+
style="height: 24px; margin: 14px 1em 0 1em; vertical-align:top; display: none; float: right;"
|
70 |
+
alt="<?php echo esc_attr(__('Checking Media', 'powerpress')); ?>"/>
|
71 |
+
|
72 |
+
</div>
|
73 |
</div>
|
74 |
</div>
|
75 |
+
<div id="ep-box-blubrry-service-<?php echo $FeedSlug; ?>" style="<?php echo $style4; ?>">
|
76 |
+
<?php if($GeneralSettings['blubrry_hosting']) { ?>
|
77 |
+
<div id="ep-box-blubrry-connected-<?php echo $FeedSlug; ?>">
|
78 |
+
<img class="ep-box-blubrry-icon" src="<?php echo powerpress_get_root_url(); ?>images/blubrry_icon.png" alt="" />
|
79 |
+
<div class="ep-box-blubrry-info-container">
|
80 |
+
<h4 class="blubrry-connect-info"><?php echo __('Your Blubrry account is connected', 'powerpress'); ?></h4>
|
81 |
+
<p class="blubrry-connect-info"><?php echo __('Select or upload your media to your Blubrry hosting account.', 'powerpress'); ?></p>
|
82 |
+
</div>
|
83 |
+
<a id="pp-change-media-link-<?php echo $FeedSlug; ?>"
|
84 |
+
href="<?php echo admin_url('admin.php'); ?>?action=powerpress-jquery-media&podcast-feed=<?php echo $FeedSlug; ?>&KeepThis=true&TB_iframe=true&modal=false"
|
85 |
+
class="thickbox">
|
86 |
+
<div id="change-media-button-<?php echo $FeedSlug; ?>"><?php echo esc_html(__('CHOOSE FILE', 'powerpress')); ?></div>
|
87 |
+
</a>
|
88 |
+
</div>
|
89 |
+
<?php } else {
|
90 |
+
$link_action_url = admin_url('admin.php?action=powerpress-jquery-account');
|
91 |
+
$link_action = 'powerpress-jquery-account';
|
92 |
+
?>
|
93 |
+
<div id="ep-box-blubrry-connect-<?php echo $FeedSlug; ?>" style="<?php echo $style4; ?>">
|
94 |
+
<img class="ep-box-blubrry-icon" src="<?php echo powerpress_get_root_url(); ?>images/blubrry_icon.png" alt="" />
|
95 |
+
<div class="ep-box-blubrry-info-container">
|
96 |
+
<h4 class="blubrry-connect-info"><?php echo __('If you host with Blubrry', 'powerpress'); ?></h4>
|
97 |
+
<p class="blubrry-connect-info"><?php echo __('You can select a media file from your computer by connecting your hosting account.', 'powerpress'); ?></p>
|
98 |
+
</div>
|
99 |
+
<a class="button-blubrry thickbox" id="ep-box-connect-account-<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__('Blubrry Services Integration', 'powerpress')); ?>" href="<?php echo wp_nonce_url($link_action_url, $link_action); ?>&KeepThis=true&TB_iframe=true&width=600&height=400&modal=false">
|
100 |
+
<div id="ep-box-connect-account-button-<?php echo $FeedSlug; ?>"><?php echo __('Connect to Blubrry', 'powerpress'); ?></div>
|
101 |
+
</a>
|
102 |
+
</div>
|
103 |
+
<div id="ep-box-min-blubrry-connect-<?php echo $FeedSlug; ?>" style="<?php echo $style2; ?>">
|
104 |
+
<div id="pp-connect-account-<?php echo $FeedSlug; ?>">
|
105 |
+
<a id="pp-connect-account-link-<?php echo $FeedSlug; ?>" class="pp-media-edit-details button-blubrry thickbox" title="<?php echo esc_attr(__("Blubrry Services Integration","powerpress")); ?>" href="<?php echo wp_nonce_url($link_action_url, $link_action); ?>&KeepThis=true&TB_iframe=true&width=600&height=400&modal=false">
|
106 |
+
<b><?php echo esc_html(__('Connect Blubrry Account', 'powerpress')); ?></b>
|
107 |
+
</a>
|
108 |
+
</div>
|
109 |
+
<div id="pp-cancel-container-<?php echo $FeedSlug; ?>">
|
110 |
+
<!--<div class="ep-box-line-bold"></div>-->
|
111 |
+
<div id="pp-cancel-media-<?php echo $FeedSlug; ?>">
|
112 |
+
<button id="cancel-media-edit-<?php echo $FeedSlug; ?>" class="pp-media-edit-details"
|
113 |
+
onclick="powerpress_cancelMediaEdit(this); return false;"><b><?php echo esc_html(__('CANCEL', 'powerpress')); ?></b></button>
|
114 |
+
<!--<a id="hide-details-link-<?php //echo $FeedSlug; ?>" class="pp-hidden-settings"
|
115 |
+
onclick="showHideMediaDetails(this)"><?php //echo __('Hide File Size and Duration', 'powerpress'); ?> ˄</a>-->
|
116 |
+
</div>
|
117 |
+
</div>
|
118 |
+
</div>
|
119 |
+
<?php } ?>
|
120 |
+
</div>
|
121 |
</div>
|
122 |
<div id="pp-warning-messages">
|
123 |
<div id="file-select-warning-<?php echo $FeedSlug; ?>"
|
141 |
|
142 |
</div>
|
143 |
<div id="media-file-details-<?php echo $FeedSlug; ?>" style="<?php echo $style3; ?>">
|
144 |
+
<div>
|
145 |
+
<div id="edit-media-file-<?php echo $FeedSlug; ?>" style="<?php echo $style3 ?>">
|
146 |
+
<button id="pp-edit-media-button-<?php echo $FeedSlug; ?>" class="media-details"
|
147 |
+
onclick="powerpress_changeMediaFile(event, this)"><?php echo esc_html(__('Edit Media File', 'powerpress')); ?></button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
148 |
</div>
|
149 |
+
<div id="show-hide-media-details-<?php echo $FeedSlug; ?>">
|
150 |
+
<!--<div class="ep-box-line-bold"></div>-->
|
151 |
+
<div id="media-details-container-<?php echo $FeedSlug; ?>">
|
152 |
+
<button id="show-details-link-<?php echo $FeedSlug; ?>" class="media-details" title="<?php echo esc_attr(__("Show file size and duration","powerpress")); ?>"
|
153 |
+
onclick="powerpress_showHideMediaDetails(this); return false;"><?php echo esc_html(__('View File Size and Duration', 'powerpress')); ?> ˅</button>
|
154 |
+
<!--<a id="hide-details-link-<?php //echo $FeedSlug; ?>" class="pp-hidden-settings"
|
155 |
+
onclick="showHideMediaDetails(this)"><?php //echo __('Hide File Size and Duration', 'powerpress'); ?> ˄</a>-->
|
156 |
+
</div>
|
|
|
|
|
157 |
</div>
|
158 |
</div>
|
159 |
<div id="hidden-media-details-<?php echo $FeedSlug; ?>" class="pp-hidden-settings">
|
160 |
<div class="powerpress_row">
|
161 |
+
<p class="media-details-head"><?php echo esc_html(__('File Size', 'powerpress')); ?></p>
|
|
|
162 |
<div class="pp-detail-section">
|
163 |
<div class="details-auto-detect">
|
164 |
<input class="media-details-radio" id="powerpress_set_size_0_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("Auto detect file size","powerpress")); ?>"
|
173 |
<?php echo esc_html(__('Specify', 'powerpress')) . ': '; ?>
|
174 |
<input class="pp-ep-box-input" type="text" id="powerpress_size_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("File size in bytes","powerpress")); ?>"
|
175 |
name="Powerpress[<?php echo $FeedSlug; ?>][size]"
|
176 |
+
value="<?php echo esc_attr($EnclosureLength); ?>" style="width: 110px;height: auto;"
|
177 |
onchange="javascript:jQuery('#powerpress_set_size_1_<?php echo $FeedSlug; ?>').attr('checked', true);"/>
|
178 |
<?php echo esc_html(__('in bytes', 'powerpress')); ?>
|
179 |
</div>
|
180 |
</div>
|
181 |
</div>
|
182 |
<div class="powerpress_row">
|
183 |
+
<p class="media-details-head" style="margin-bottom: 1ch;"><?php echo esc_html(__('Duration', 'powerpress')); ?></p>
|
|
|
184 |
<div class="pp-detail-section">
|
185 |
<div class="details-auto-detect">
|
186 |
<input class="media-details-radio" id="powerpress_set_duration_0_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("Auto detect duration","powerpress")); ?>"
|
218 |
</div>
|
219 |
</div>
|
220 |
</div>
|
221 |
+
<?php
|
222 |
+
if( !empty($GeneralSettings['cat_casting_strict']) && !empty($GeneralSettings['custom_cat_feeds']) )
|
223 |
+
{
|
224 |
+
// Get Podcast Categories...
|
225 |
+
$cur_cat_id = intval(!empty($ExtraData['category'])?$ExtraData['category']:0);
|
226 |
+
if( count($GeneralSettings['custom_cat_feeds']) == 1 ) // Lets auto select the category
|
227 |
+
{
|
228 |
+
foreach( $GeneralSettings['custom_cat_feeds'] as $null => $cur_cat_id ) {
|
229 |
+
break;
|
230 |
+
}
|
231 |
+
reset($GeneralSettings['custom_cat_feeds']);
|
232 |
+
}
|
233 |
+
|
234 |
+
?>
|
235 |
+
<div id="pp-category-dropdown-<?php echo $FeedSlug; ?>">
|
236 |
+
<label for="Powerpress[<?php echo $FeedSlug; ?>][category]"><?php echo esc_html(__('Category', 'powerpress')); ?></label>
|
237 |
+
<div class="powerpress_row_content"><?php
|
238 |
+
echo '<select id="powerpress_category_'. $FeedSlug . '" name="Powerpress['. $FeedSlug .'][category]" class="pp-ep-box-input"> title="Category"';
|
239 |
+
echo '<option value="0"';
|
240 |
+
echo '>' . esc_html( __('Select category', 'powerpress') ) . '</option>' . "\n";
|
241 |
+
|
242 |
+
foreach( $GeneralSettings['custom_cat_feeds'] as $null => $cat_id ) {
|
243 |
+
$catObj = get_category( $cat_id );
|
244 |
+
if( empty($catObj->name ) )
|
245 |
+
continue; // Do not allow empty categories forward
|
246 |
+
|
247 |
+
$label = $catObj->name; // TODO: Get the category title
|
248 |
+
echo '<option value="' . esc_attr( $cat_id ) . '"';
|
249 |
+
if ( $cat_id == $cur_cat_id )
|
250 |
+
echo ' selected="selected"';
|
251 |
+
echo '>' . esc_html( $label ) . '</option>' . "\n";
|
252 |
+
}
|
253 |
+
echo '</select>';
|
254 |
+
?>
|
255 |
+
</div>
|
256 |
+
</div>
|
257 |
+
<?php
|
258 |
+
}
|
259 |
+
?>
|
260 |
+
<?php if($EnclosureURL) { ?>
|
261 |
+
<div class="ep-box-line"></div>
|
262 |
+
<?php } ?>
|
263 |
</div>
|
264 |
+
<?php if($EnclosureURL) { ?>
|
265 |
+
<div class="powerpress_remove_container">
|
266 |
+
<div class="powerpress_row_content">
|
267 |
+
<input type="checkbox" class='ep-box-checkbox' name="Powerpress[$FeedSlug][remove_podcast]" id="powerpress_remove_$FeedSlug" value="1" onchange="javascript:document.getElementById('a-pp-selected-media-<?php echo $FeedSlug; ?>').style.display=(this.checked?'none':'block');javascript:document.getElementById('tab-container-<?php echo $FeedSlug; ?>').style.display=(this.checked?'none':'block');" />
|
268 |
+
<b><?php echo esc_html(__('Remove Episode', 'powerpress')); ?></b><?php echo esc_html(__(' - Podcast episode will be removed from this post upon save', 'powerpress')); ?>
|
269 |
+
</div>
|
270 |
+
</div>
|
271 |
+
<?php }
|
272 |
}
|
273 |
|
274 |
|
495 |
$form_action_url = admin_url("media-upload.php?type=powerpress_image&tab=type&post_id={$object->ID}&powerpress_feed={$FeedSlug}&TB_iframe=true&width=450&height=200");
|
496 |
|
497 |
//Setting for itunes artwork
|
498 |
+
if (!isset($ExtraData['itunes_image']) || !$ExtraData['itunes_image']) {
|
499 |
+
$itunes_image = powerpress_get_root_url() . 'images/pts_cover.jpg';
|
500 |
+
} else {
|
501 |
+
$itunes_image = $ExtraData['itunes_image'];
|
502 |
+
}
|
503 |
+
if (!$CoverImage) {
|
504 |
+
$CoverImage_preview = powerpress_get_root_url() . 'images/pts_cover.jpg';
|
505 |
+
} else {
|
506 |
+
$CoverImage_preview = $CoverImage;
|
507 |
+
}
|
508 |
?>
|
509 |
<div class="pp-section-container">
|
510 |
<div class="powerpress-art-text">
|
532 |
<div class="powerpress-art-preview">
|
533 |
<p class="pp-section-subtitle" style="font-weight: bold;"><?php echo esc_html(__('PREVIEW', 'powerpress')); ?></p>
|
534 |
<img id="pp-image-preview-<?php echo $FeedSlug; ?>"
|
535 |
+
src="<?php echo esc_attr($itunes_image); ?>" alt="No artwork selected"/>
|
536 |
<p id="pp-image-preview-caption-<?php echo $FeedSlug; ?>" class="pp-section-subtitle"
|
537 |
+
style="font-weight: bold;margin: 3px;"><?php echo get_filename_from_path(esc_attr($itunes_image)); ?></p>
|
538 |
</div>
|
539 |
</div>
|
540 |
<div class="ep-box-line-margin"></div>
|
564 |
<p class="pp-section-subtitle"
|
565 |
style="font-weight: bold;"><?php echo esc_html(__('PREVIEW', 'powerpress')); ?></p>
|
566 |
<img id="poster-pp-image-preview-<?php echo $FeedSlug; ?>"
|
567 |
+
src="<?php echo esc_attr($CoverImage_preview); ?>" alt="No thumbnail selected"/>
|
568 |
<p id="poster-pp-image-preview-caption-<?php echo $FeedSlug; ?>" class="pp-section-subtitle"
|
569 |
style="font-weight: bold;margin: 3px;"><?php echo get_filename_from_path(esc_attr($CoverImage)); ?></p>
|
570 |
</div>
|
powerpressadmin.php
CHANGED
@@ -2537,7 +2537,7 @@ function powerpress_check_url(url, DestDiv)
|
|
2537 |
jQuery( '#'+DestDiv ).text('<?php echo esc_js( __('Media URL contains characters that may cause problems for some clients. For maximum compatibility, only use letters, numbers, dash - and underscore _ characters only.', 'powerpress')); ?>');
|
2538 |
jQuery( '#'+DestDiv ).css('display', 'block');
|
2539 |
jQuery('#powerpress_fail_'+FeedSlug).css("display", 'inline-block');
|
2540 |
-
jQuery( '#powerpress_url_show' ).css('background-color', '#eba2a2');
|
2541 |
return false;
|
2542 |
}
|
2543 |
|
@@ -2639,7 +2639,7 @@ function powerpress_get_media_info(FeedSlug)
|
|
2639 |
else
|
2640 |
{
|
2641 |
jQuery( '#powerpress_success_'+FeedSlug ).css('display', 'inline-block');
|
2642 |
-
jQuery( '#powerpress_url_show_'+FeedSlug ).css('background-color', '#c1f2b8');
|
2643 |
// setTimeout( function() { jQuery( '#powerpress_success_'+FeedSlug ).fadeOut(1000); }, 10000 );
|
2644 |
<?php
|
2645 |
if( defined('POWERPRESS_AJAX_DEBUG') )
|
@@ -2666,7 +2666,7 @@ function powerpress_get_media_info(FeedSlug)
|
|
2666 |
?>
|
2667 |
jQuery( '#powerpress_warning_'+FeedSlug ).css('display', 'block');
|
2668 |
jQuery('#powerpress_fail_'+FeedSlug).css("display", 'inline-block');
|
2669 |
-
jQuery( '#powerpress_url_show_'+FeedSlug ).css('background-color', '#eba2a2');
|
2670 |
}
|
2671 |
},
|
2672 |
error: function(objAJAXRequest, textStatus, errorThrown) {
|
@@ -2681,7 +2681,7 @@ function powerpress_get_media_info(FeedSlug)
|
|
2681 |
jQuery('#powerpress_check_'+FeedSlug).css("display", 'none');
|
2682 |
jQuery( '#powerpress_warning_'+FeedSlug ).css('display', 'block');
|
2683 |
jQuery('#powerpress_fail_'+FeedSlug).css("display", 'inline-block');
|
2684 |
-
jQuery( '#powerpress_url_show_'+FeedSlug ).css('background-color', '#eba2a2');
|
2685 |
|
2686 |
if( textStatus == 'timeout' ) {
|
2687 |
jQuery( '#powerpress_warning_'+FeedSlug ).text( '<?php echo __('Operation timed out.', 'powerpress'); ?>' );
|
2537 |
jQuery( '#'+DestDiv ).text('<?php echo esc_js( __('Media URL contains characters that may cause problems for some clients. For maximum compatibility, only use letters, numbers, dash - and underscore _ characters only.', 'powerpress')); ?>');
|
2538 |
jQuery( '#'+DestDiv ).css('display', 'block');
|
2539 |
jQuery('#powerpress_fail_'+FeedSlug).css("display", 'inline-block');
|
2540 |
+
//jQuery( '#powerpress_url_show' ).css('background-color', '#eba2a2');
|
2541 |
return false;
|
2542 |
}
|
2543 |
|
2639 |
else
|
2640 |
{
|
2641 |
jQuery( '#powerpress_success_'+FeedSlug ).css('display', 'inline-block');
|
2642 |
+
//jQuery( '#powerpress_url_show_'+FeedSlug ).css('background-color', '#c1f2b8');
|
2643 |
// setTimeout( function() { jQuery( '#powerpress_success_'+FeedSlug ).fadeOut(1000); }, 10000 );
|
2644 |
<?php
|
2645 |
if( defined('POWERPRESS_AJAX_DEBUG') )
|
2666 |
?>
|
2667 |
jQuery( '#powerpress_warning_'+FeedSlug ).css('display', 'block');
|
2668 |
jQuery('#powerpress_fail_'+FeedSlug).css("display", 'inline-block');
|
2669 |
+
//jQuery( '#powerpress_url_show_'+FeedSlug ).css('background-color', '#eba2a2');
|
2670 |
}
|
2671 |
},
|
2672 |
error: function(objAJAXRequest, textStatus, errorThrown) {
|
2681 |
jQuery('#powerpress_check_'+FeedSlug).css("display", 'none');
|
2682 |
jQuery( '#powerpress_warning_'+FeedSlug ).css('display', 'block');
|
2683 |
jQuery('#powerpress_fail_'+FeedSlug).css("display", 'inline-block');
|
2684 |
+
//jQuery( '#powerpress_url_show_'+FeedSlug ).css('background-color', '#eba2a2');
|
2685 |
|
2686 |
if( textStatus == 'timeout' ) {
|
2687 |
jQuery( '#powerpress_warning_'+FeedSlug ).text( '<?php echo __('Operation timed out.', 'powerpress'); ?>' );
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: podcasting, podcast, podcaster, powerpress, itunes, apple, apple podcasts,
|
|
4 |
Requires at least: 3.6
|
5 |
Requires PHP: 5.2
|
6 |
Tested up to: 5.4
|
7 |
-
Stable tag: 8.2.
|
8 |
Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
|
9 |
License: GPLv2 or later
|
10 |
|
@@ -236,6 +236,12 @@ To install Blubrry PowerPress manually, follow these steps:
|
|
236 |
= Fan of PowerPress and want to show your support? =
|
237 |
If you are a fan of PowerPress, we would greatly appreciate it if you could take a moment and [leave us a review on WordPress.org](https://wordpress.org/support/plugin/powerpress/reviews/?rate=5#new-post). Your support is greatly appreciated!
|
238 |
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
= 8.2.9 =
|
240 |
* Released 04/03/2020
|
241 |
* Corrected a typo in Non-Profit Apple category
|
4 |
Requires at least: 3.6
|
5 |
Requires PHP: 5.2
|
6 |
Tested up to: 5.4
|
7 |
+
Stable tag: 8.2.10
|
8 |
Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
|
9 |
License: GPLv2 or later
|
10 |
|
236 |
= Fan of PowerPress and want to show your support? =
|
237 |
If you are a fan of PowerPress, we would greatly appreciate it if you could take a moment and [leave us a review on WordPress.org](https://wordpress.org/support/plugin/powerpress/reviews/?rate=5#new-post). Your support is greatly appreciated!
|
238 |
|
239 |
+
= 8.2.10 =
|
240 |
+
* Released 04/23/2020
|
241 |
+
* Update design for episode box--media URL section and Remove Episode moved
|
242 |
+
* Artwork previews now will use default images rather than broken ones
|
243 |
+
* Fixed a compatibility issue with older php versions
|
244 |
+
|
245 |
= 8.2.9 =
|
246 |
* Released 04/03/2020
|
247 |
* Corrected a typo in Non-Profit Apple category
|
views/episode-box.php
CHANGED
@@ -63,7 +63,7 @@ function powerpress_meta_box($object, $box)
|
|
63 |
$GeneralSettings['set_duration'] = 0;
|
64 |
if (!isset($GeneralSettings['episode_box_embed']))
|
65 |
$GeneralSettings['episode_box_embed'] = 0;
|
66 |
-
if (!empty($GeneralSettings['blubrry_hosting']) && $GeneralSettings['blubrry_hosting'] === 'false')
|
67 |
$GeneralSettings['blubrry_hosting'] = false;
|
68 |
$ExtraData = array();
|
69 |
|
@@ -199,13 +199,6 @@ function powerpress_meta_box($object, $box)
|
|
199 |
echo "<input style=\"display:none\" type=\"checkbox\" name=\"Powerpress[$FeedSlug][change_podcast]\"";
|
200 |
echo "id=\"powerpress_change_$FeedSlug\" value=\"1\" checked/>";
|
201 |
echo "</div>";
|
202 |
-
echo "<div class=\"powerpress_remove_container\">";
|
203 |
-
echo "<label><b>" . esc_html(__('Remove', 'powerpress')) . "</b></label>";
|
204 |
-
echo "<div class=\"powerpress_row_content\">";
|
205 |
-
echo "<input type=\"checkbox\" class='ep-box-checkbox' name=\"Powerpress[$FeedSlug][remove_podcast]\" id=\"powerpress_remove_$FeedSlug\" value=\"1\" onchange=\"javascript:document.getElementById('a-pp-selected-media-$FeedSlug').style.display=(this.checked?'none':'block');javascript:document.getElementById('tab-container-$FeedSlug').style.display=(this.checked?'none':'block');\" />";
|
206 |
-
echo esc_html(__('Podcast episode will be removed from this post upon save', 'powerpress'));
|
207 |
-
echo "</div>";
|
208 |
-
echo "</div>";
|
209 |
}
|
210 |
episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings, $EnclosureLength, $DurationHH, $DurationMM, $DurationSS);
|
211 |
echo "<div id=\"tab-container-$FeedSlug\" style=\"$style\">";
|
@@ -222,6 +215,19 @@ function powerpress_meta_box($object, $box)
|
|
222 |
notes_tab($FeedSlug, $object);
|
223 |
echo "</div>";
|
224 |
echo "</div>";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
225 |
if( !empty($GeneralSettings['episode_box_background_color'][$FeedSlug]) ) {
|
226 |
echo "<script type=\"text/javascript\">";
|
227 |
echo "jQuery(document).ready(function($) {";
|
63 |
$GeneralSettings['set_duration'] = 0;
|
64 |
if (!isset($GeneralSettings['episode_box_embed']))
|
65 |
$GeneralSettings['episode_box_embed'] = 0;
|
66 |
+
if ((!empty($GeneralSettings['blubrry_hosting']) && $GeneralSettings['blubrry_hosting'] === 'false') || empty($GeneralSettings['blubrry_hosting']))
|
67 |
$GeneralSettings['blubrry_hosting'] = false;
|
68 |
$ExtraData = array();
|
69 |
|
199 |
echo "<input style=\"display:none\" type=\"checkbox\" name=\"Powerpress[$FeedSlug][change_podcast]\"";
|
200 |
echo "id=\"powerpress_change_$FeedSlug\" value=\"1\" checked/>";
|
201 |
echo "</div>";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
202 |
}
|
203 |
episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings, $EnclosureLength, $DurationHH, $DurationMM, $DurationSS);
|
204 |
echo "<div id=\"tab-container-$FeedSlug\" style=\"$style\">";
|
215 |
notes_tab($FeedSlug, $object);
|
216 |
echo "</div>";
|
217 |
echo "</div>";
|
218 |
+
if ($EnclosureURL) {
|
219 |
+
echo "<script type=\"text/javascript\">";
|
220 |
+
echo "jQuery(document).ready(function($) {";
|
221 |
+
echo "powerpress_verifyMedia({id: 'verify-button-$FeedSlug'});";
|
222 |
+
echo "});";
|
223 |
+
echo "</script>";
|
224 |
+
} else {
|
225 |
+
echo "<script type=\"text/javascript\">";
|
226 |
+
echo "jQuery(document).ready(function($) {";
|
227 |
+
echo "verify_interval = setInterval(function() { powerpress_verifyButtonColor('$FeedSlug'); })";
|
228 |
+
echo "});";
|
229 |
+
echo "</script>";
|
230 |
+
}
|
231 |
if( !empty($GeneralSettings['episode_box_background_color'][$FeedSlug]) ) {
|
232 |
echo "<script type=\"text/javascript\">";
|
233 |
echo "jQuery(document).ready(function($) {";
|