Version Description
- Released on 09/07/2022
- Language selection for transcripts thru Blubrry
- Bugfix for transcripts
Download this release
Release Info
Developer | benbeecroft |
Plugin | PowerPress Podcasting plugin by Blubrry |
Version | 9.3.1 |
Comparing to | |
See all releases |
Code changes from version 9.3 to 9.3.1
- css/episode-box.css +40 -0
- css/episode-box.min.css +1 -1
- js/admin.js +15 -0
- powerpress.php +5 -2
- powerpressadmin-editfeed.php +1 -125
- powerpressadmin-metabox.php +38 -6
- powerpressadmin-player-page.php +1 -1
- powerpressadmin.php +285 -132
- readme.txt +6 -1
- views/settings_tab_appearance.php +1 -1
css/episode-box.css
CHANGED
@@ -161,6 +161,30 @@ input[id^="pp-metamark-pos-"], input[id^="pp-metamark-dur-"], input[id^="pp-meta
|
|
161 |
vertical-align: top;
|
162 |
}
|
163 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
164 |
textarea[id^="pp-metamark-val-"][class="pp-ep-box-input"], textarea[id^="pp-metamark-val-"][class="pp-ep-box-input"]:focus {
|
165 |
height: 72px;
|
166 |
width: 100%;
|
@@ -897,6 +921,22 @@ div[id^="ep-box-min-blubrry-connect-"] {
|
|
897 |
div[id^="feature-container"] {
|
898 |
width: 100%;
|
899 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
900 |
}
|
901 |
|
902 |
/* Responsiveness for second option in media details (all 3 stack), explicit switch, and episode and season no */
|
161 |
vertical-align: top;
|
162 |
}
|
163 |
|
164 |
+
select[id^="pp-generate-language-"][class="pp-ep-box-input"], select[id^="pp-generate-language-"][class="pp-ep-box-input"]:focus {
|
165 |
+
width: 20%;
|
166 |
+
margin-top: 1em;
|
167 |
+
}
|
168 |
+
|
169 |
+
select[id^="pp-upload-language-"][class="pp-ep-box-input"], select[id^="pp-upload-language-"][class="pp-ep-box-input"]:focus {
|
170 |
+
width: 20%;
|
171 |
+
margin-top: 1em;
|
172 |
+
}
|
173 |
+
|
174 |
+
select[id^="pp-upload-language-"][class="pp-ep-box-input"] {
|
175 |
+
margin-left: 10px;
|
176 |
+
}
|
177 |
+
|
178 |
+
select[id^="pp-generate-language-"][class="pp-ep-box-input"] {
|
179 |
+
margin-left: 30px;
|
180 |
+
}
|
181 |
+
|
182 |
+
input[id^="powerpress_transcript_url_"][class="pp-ep-box-input"], input[id^="powerpress_transcript_url_"][class="pp-ep-box-input"]:focus {
|
183 |
+
width: 70%;
|
184 |
+
margin-top: 1em;
|
185 |
+
margin-left: 30px;
|
186 |
+
}
|
187 |
+
|
188 |
textarea[id^="pp-metamark-val-"][class="pp-ep-box-input"], textarea[id^="pp-metamark-val-"][class="pp-ep-box-input"]:focus {
|
189 |
height: 72px;
|
190 |
width: 100%;
|
921 |
div[id^="feature-container"] {
|
922 |
width: 100%;
|
923 |
}
|
924 |
+
|
925 |
+
|
926 |
+
select[id^="pp-upload-language-"][class="pp-ep-box-input"], select[id^="pp-generate-language-"][class="pp-ep-box-input"] {
|
927 |
+
width: 90%;
|
928 |
+
}
|
929 |
+
|
930 |
+
select[id^="pp-upload-language-"][class="pp-ep-box-input"]:focus, select[id^="pp-generate-language-"][class="pp-ep-box-input"]:focus {
|
931 |
+
width: 90%;
|
932 |
+
}
|
933 |
+
|
934 |
+
select[id^="pp-upload-language-"][class="pp-ep-box-input"] {
|
935 |
+
margin-left: 30px;
|
936 |
+
}
|
937 |
+
input[id^="powerpress_transcript_url_"][class="pp-ep-box-input"], input[id^="powerpress_transcript_url_"][class="pp-ep-box-input"]:focus {
|
938 |
+
width: 90%;
|
939 |
+
}
|
940 |
}
|
941 |
|
942 |
/* Responsiveness for second option in media details (all 3 stack), explicit switch, and episode and season no */
|
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;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-dur-]:focus,input[id^=pp-metamark-link-],input[id^=pp-metamark-link-]:focus,input[id^=pp-metamark-pos-],input[id^=pp-metamark-pos-]:focus{width:100%;height:58px;vertical-align:top}textarea[id^=pp-metamark-val-][class=pp-ep-box-input],textarea[id^=pp-metamark-val-][class=pp-ep-box-input]:focus{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,.pp-ep-box-input.pp-width:focus{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;font-family:Roboto,sans-serif;display:block}.pp-ep-box-settings-text{font-size:12px;letter-spacing:.35px;margin-top:3ch;margin-bottom:0;display:block}.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}.pp-ep-box-settings{float:right}.ep-box-settings-icon{cursor:pointer}div[id^=pp-edit-media-button]{text-align:center}div[id^=a-pp-selected-media]{padding:1em 2em 0 2em}div[class=powerpress_remove_container]{padding:2ch 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],div[class=ep-box-line-margin-bold]{border-top:2px solid #efefef;width:92%}div[class=ep-box-line-bold]{margin-left:4%;margin-right:4%}.ep-box-line-margin,.ep-box-line-margin-bold{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:#4b4c4e;font-family:Roboto,sans-serif;font-size:14px;letter-spacing:.15px;line-height:56px;margin:0 5px 0 5px;display:inline}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],input[id^=powerpress_size]:focus{width:50%;text-align:center;height:28px}input[id^=powerpress_duration_][class=pp-ep-box-input],input[id^=powerpress_duration_][class=pp-ep-box-input]:focus{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%}div[class=pp-ep-box-input]:focus,input[class=pp-ep-box-input]:focus,select[class=pp-ep-box-input]:focus,textarea[class=pp-ep-box-input]:focus{border-radius:4px;background-color:#fff;border:1px solid #b1b1b1;font-size:14px;height:56px;width:100%}textarea[id^=powerpress_summary_],textarea[id^=powerpress_summary_]:focus{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_],input[id^=powerpress_url_]:focus{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_image_]:focus,input[id^=powerpress_itunes_image_],input[id^=powerpress_itunes_image_]:focus{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.ep-box-checkbox{border:2px solid #d4d8e0;border-radius:3px;height:18px;width:18px;box-shadow:none;margin-right:1em}input.ep-box-checkbox:checked{background-color:#2278cf;border-color:#2278cf}input.ep-box-checkbox:checked:disabled{background-color:rgba(0,0,0,.5);border-color:rgba(0,0,0,.2)}input.ep-box-checkbox:checked::before{content:url(../images/check_white.svg);height:21px;width:21px;margin:-3px 0 0 -4px}input.ep-box-checkbox:checked+label.pp-checkbox-label{color:#0c74d5}.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_image_]:focus,input[id^=powerpress_itunes_image_],input[id^=powerpress_itunes_image_]:focus{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],input[id^=powerpress_duration_][class=pp-ep-box-input]:focus{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],input[id^=powerpress_duration_][class=pp-ep-box-input]:focus{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_image_]:focus,.classic-editor input[id^=powerpress_itunes_image_],.classic-editor input[id^=powerpress_itunes_image_]:focus{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-top: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],.classic-editor input[id^=powerpress_duration_][class=pp-ep-box-input]:focus{width:36px;padding:6px;height:28px}.classic-editor select[id^=powerpress_category] option{width:100%}}
|
1 |
+
.pp-blue-button,div[class^=pp-tooltip] .text-pp-tooltip{color:#fff;font-family:Roboto,sans-serif;text-align:center}div[class^=pp-tooltip]{position:relative;display:inline-block;background-color:#dadada;color:#fff;padding: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;padding:5px;border-radius:6px;z-index:1;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}.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}.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%}.pp-ep-box-settings,.pp-metamark-delete,.pp-metamark-edit,a[id^=ep-box-connect-account],a[id^=pp-change-media-link],div[id^=change-media-button],div[id^=edit-media-file-],div[id^=ep-box-connect-account-button-],div[id^=season-container]{float:right}select[id^=pp-metamark-type-]{width:100%;height:52px;vertical-align:top}input[id^=pp-metamark-dur-],input[id^=pp-metamark-dur-]:focus,input[id^=pp-metamark-link-],input[id^=pp-metamark-link-]:focus,input[id^=pp-metamark-pos-],input[id^=pp-metamark-pos-]:focus{width:100%;height:58px;vertical-align:top}select[id^=pp-generate-language-][class=pp-ep-box-input],select[id^=pp-generate-language-][class=pp-ep-box-input]:focus,select[id^=pp-upload-language-][class=pp-ep-box-input],select[id^=pp-upload-language-][class=pp-ep-box-input]:focus{width:20%;margin-top:1em}select[id^=pp-upload-language-][class=pp-ep-box-input]{margin-left:10px}select[id^=pp-generate-language-][class=pp-ep-box-input]{margin-left:30px}input[id^=powerpress_transcript_url_][class=pp-ep-box-input],input[id^=powerpress_transcript_url_][class=pp-ep-box-input]:focus{width:70%;margin-top:1em;margin-left:30px}textarea[id^=pp-metamark-val-][class=pp-ep-box-input],textarea[id^=pp-metamark-val-][class=pp-ep-box-input]:focus{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}.ep-box-settings-icon,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}.pp-ep-box-input.pp-width,.pp-ep-box-input.pp-width:focus,.pp-section-title-block,div[id^=media-file-details],div[id^=media-input],div[id^=pp-url-input-container-]{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;font-size:16px;font-weight:500;padding:1ch 2em;cursor:pointer}.pp-ep-box-text,.pp-gray-button{font-size:14px;font-family:Roboto,sans-serif}.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-weight:600;padding:.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-ep-box-text{margin-top:2ch;margin-bottom:0;display:block}.pp-ep-box-settings-text{font-size:12px;letter-spacing:.35px;margin-top:3ch;margin-bottom:0;display:block}.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}div[id^=a-pp-selected-media]{padding:1em 2em 0}div[class=powerpress_remove_container]{padding: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],div[class=ep-box-line-margin-bold]{border-top:2px solid #efefef;width:92%}div[class=ep-box-line-bold]{margin-left:4%;margin-right:4%}.ep-box-line-margin,.ep-box-line-margin-bold{margin: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:#4b4c4e;font-family:Roboto,sans-serif;font-size:14px;letter-spacing:.15px;line-height:56px;margin:0 5px;display:inline}.pp-media-edit-details,button.apple-advanced,button.media-details{color:#2c65db;font-size:12px;cursor:pointer;border:none;box-shadow:none}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}.media-details-head,.pp-media-edit-details,button.apple-advanced,button.media-details{font-family:Roboto Medium,sans-serif;line-height:22px}div[id^=ep-box-min-blubrry-connect-],div[id^=media-input-]{margin-top:1ch}.pp-media-edit-details{background-color:#f1f4f9;text-decoration:none}button.apple-advanced,button.media-details{background-color:#f5f5f5;font-weight:700}button.media-details{background-color:#fff}.media-details-head{color:#3e3f42;font-weight:700;font-size:14px;margin:0 1em}input[id^=powerpress_size],input[id^=powerpress_size]:focus{width:50%;text-align:center;height:28px}input[id^=powerpress_duration_][class=pp-ep-box-input],input[id^=powerpress_duration_][class=pp-ep-box-input]:focus{width:48px;text-align:center;height:34px}.pp-detail-section{margin:0 1em 2ch}.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;margin-right:1em;text-align:center;font-family:Roboto,sans-serif;font-size:14px;font-weight:600}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;bottom:10px;background:0 0}label[class^=pp-ep-box-label-under]{position:relative;padding:0 2px;bottom:10px;left:10px;top:0;background:0 0}div[class=pp-ep-box-input],div[class=pp-ep-box-input]:focus,input[class=pp-ep-box-input],input[class=pp-ep-box-input]:focus,select[class=pp-ep-box-input],select[class=pp-ep-box-input]:focus,textarea[class=pp-ep-box-input],textarea[class=pp-ep-box-input]:focus{border-radius:4px;background-color:#fff;border:1px solid #b1b1b1;font-size:14px;height:56px;width:100%}textarea[id^=powerpress_summary_],textarea[id^=powerpress_summary_]:focus{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:1px solid grey}div[id^=pp-url-input-label-container]{display:inline-block;width:calc(100% - 175px)}div[id^=powerpress_url_],input[id^=powerpress_url_],input[id^=powerpress_url_]:focus{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_image_]:focus,input[id^=powerpress_itunes_image_],input[id^=powerpress_itunes_image_]:focus{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.ep-box-checkbox{border:2px solid #d4d8e0;border-radius:3px;height:18px;width:18px;box-shadow:none;margin-right:1em}input.ep-box-checkbox:checked{background-color:#2278cf;border-color:#2278cf}input.ep-box-checkbox:checked:disabled{background-color:rgba(0,0,0,.5);border-color:rgba(0,0,0,.2)}input.ep-box-checkbox:checked::before{content:url('../images/check_white.svg');height:21px;width:21px;margin:-3px 0 0 -4px}input.ep-box-checkbox:checked+label.pp-checkbox-label{color:#0c74d5}.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%}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^=feature-container]{margin-top:3vh;width:70%}div[id^=type-container]{width:29.5%;vertical-align:top;margin:2ch 0 0}@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%}input[id^=powerpress_transcript_url_][class=pp-ep-box-input],input[id^=powerpress_transcript_url_][class=pp-ep-box-input]:focus,select[id^=pp-generate-language-][class=pp-ep-box-input],select[id^=pp-generate-language-][class=pp-ep-box-input]:focus,select[id^=pp-upload-language-][class=pp-ep-box-input],select[id^=pp-upload-language-][class=pp-ep-box-input]:focus{width:90%}select[id^=pp-upload-language-][class=pp-ep-box-input]{margin-left:30px}}@media (max-width:832px){div[class^=details-],div[id^=apple-title-container]{width:100%;margin-top:1em}.pp-detail-section{margin:2ch 1em}div[id^=pp-explicit-container]{width:98%;margin:1em 0 3em;float:left}div[id^=episode-no-container],div[id^=season-container]{width:45%}.pp-tabcontent{padding:15px}#wpbody select{height:52px}div[id^=pp-type-label]{width:99%;margin: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,input[id^=powerpress_image_],input[id^=powerpress_image_]:focus,input[id^=powerpress_itunes_image_],input[id^=powerpress_itunes_image_]:focus{width:100%}div[id^=type-container]{width:50%}input[type=checkbox]:checked:before{font:21px/1 dashicons}.powerpress-art-preview{text-align:center}}@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}.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],div[id^=type-container],select[id^=powerpress_category] option{width:100%}input[id^=powerpress_duration_][class=pp-ep-box-input],input[id^=powerpress_duration_][class=pp-ep-box-input]:focus{width:36px;padding:6px;height:28px}}@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}.tab,a[id^=hide-details-link],a[id^=show-details-link]{font-size:12px}input[id^=powerpress_duration_][class=pp-ep-box-input],input[id^=powerpress_duration_][class=pp-ep-box-input]:focus{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;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-],.classic-editor div[id^=apple-title-container]{width:100%;margin-top:1em}.classic-editor .pp-detail-section{margin:2ch 1em}.classic-editor div[id^=episode-no-container],.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}.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,.classic-editor input[id^=powerpress_image_],.classic-editor input[id^=powerpress_image_]:focus,.classic-editor input[id^=powerpress_itunes_image_],.classic-editor input[id^=powerpress_itunes_image_]:focus{width:100%}.classic-editor div[id^=type-container]{width:50%}.classic-editor input[type=checkbox]:checked:before{font:21px/1 dashicons}.classic-editor .powerpress-art-preview{text-align:center}}@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-top: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],.classic-editor div[id^=type-container],.classic-editor select[id^=powerpress_category] option{width:100%}.classic-editor input[id^=powerpress_duration_][class=pp-ep-box-input],.classic-editor input[id^=powerpress_duration_][class=pp-ep-box-input]:focus{width:36px;padding:6px;height:28px}}
|
js/admin.js
CHANGED
@@ -565,6 +565,9 @@ function setTranscriptCheckboxes(id, feed_slug){
|
|
565 |
let generateTranscript = jQuery('#powerpress_transcript_generate_' + feed_slug);
|
566 |
let uploadTranscript = jQuery('#powerpress_pci_transcript_' + feed_slug);
|
567 |
let uploadTranscriptInput = jQuery('#powerpress_pci_transcript_container_' + feed_slug);
|
|
|
|
|
|
|
568 |
|
569 |
switch(id){
|
570 |
case 'powerpress_transcript_none_' + feed_slug:
|
@@ -576,6 +579,10 @@ function setTranscriptCheckboxes(id, feed_slug){
|
|
576 |
}
|
577 |
uploadTranscriptInput.removeAttr("style");
|
578 |
uploadTranscriptInput.attr("style", "display: none");
|
|
|
|
|
|
|
|
|
579 |
break;
|
580 |
|
581 |
case 'powerpress_transcript_generate_' + feed_slug:
|
@@ -587,6 +594,10 @@ function setTranscriptCheckboxes(id, feed_slug){
|
|
587 |
}
|
588 |
uploadTranscriptInput.removeAttr("style");
|
589 |
uploadTranscriptInput.attr("style", "display: none");
|
|
|
|
|
|
|
|
|
590 |
break;
|
591 |
|
592 |
case 'powerpress_pci_transcript_' + feed_slug:
|
@@ -599,6 +610,10 @@ function setTranscriptCheckboxes(id, feed_slug){
|
|
599 |
}
|
600 |
uploadTranscriptInput.removeAttr("style");
|
601 |
uploadTranscriptInput.attr("style", "display: block");
|
|
|
|
|
|
|
|
|
602 |
break;
|
603 |
}
|
604 |
}
|
565 |
let generateTranscript = jQuery('#powerpress_transcript_generate_' + feed_slug);
|
566 |
let uploadTranscript = jQuery('#powerpress_pci_transcript_' + feed_slug);
|
567 |
let uploadTranscriptInput = jQuery('#powerpress_pci_transcript_container_' + feed_slug);
|
568 |
+
let generateTranscriptLanguage = jQuery('#pp-generate-language-' + feed_slug);
|
569 |
+
let uploadTranscriptLanguage = jQuery('#pp-upload-language-' + feed_slug);
|
570 |
+
let generateTranscriptLanguageContainer = jQuery('#powerpress_generate_transcript_container_' + feed_slug);
|
571 |
|
572 |
switch(id){
|
573 |
case 'powerpress_transcript_none_' + feed_slug:
|
579 |
}
|
580 |
uploadTranscriptInput.removeAttr("style");
|
581 |
uploadTranscriptInput.attr("style", "display: none");
|
582 |
+
generateTranscriptLanguageContainer.removeAttr("style");
|
583 |
+
generateTranscriptLanguageContainer.attr("style", "display: none");
|
584 |
+
uploadTranscriptLanguage.attr('disabled', true);
|
585 |
+
generateTranscriptLanguage.attr('disabled', true);
|
586 |
break;
|
587 |
|
588 |
case 'powerpress_transcript_generate_' + feed_slug:
|
594 |
}
|
595 |
uploadTranscriptInput.removeAttr("style");
|
596 |
uploadTranscriptInput.attr("style", "display: none");
|
597 |
+
generateTranscriptLanguageContainer.removeAttr("style");
|
598 |
+
generateTranscriptLanguageContainer.attr("style", "display: block");
|
599 |
+
uploadTranscriptLanguage.attr('disabled', true);
|
600 |
+
generateTranscriptLanguage.removeAttr('disabled');
|
601 |
break;
|
602 |
|
603 |
case 'powerpress_pci_transcript_' + feed_slug:
|
610 |
}
|
611 |
uploadTranscriptInput.removeAttr("style");
|
612 |
uploadTranscriptInput.attr("style", "display: block");
|
613 |
+
generateTranscriptLanguageContainer.removeAttr("style");
|
614 |
+
generateTranscriptLanguageContainer.attr("style", "display: none");
|
615 |
+
uploadTranscriptLanguage.removeAttr('disabled');
|
616 |
+
generateTranscriptLanguage.attr('disabled', true);
|
617 |
break;
|
618 |
}
|
619 |
}
|
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: 9.3
|
7 |
Author: Blubrry
|
8 |
Author URI: https://blubrry.com/
|
9 |
Requires at least: 3.6
|
@@ -35,7 +35,7 @@ if( !function_exists('add_action') ) {
|
|
35 |
}
|
36 |
|
37 |
// WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
|
38 |
-
define('POWERPRESS_VERSION', '9.3' );
|
39 |
|
40 |
// Translation support:
|
41 |
if ( !defined('POWERPRESS_ABSPATH') )
|
@@ -1084,6 +1084,9 @@ function powerpress_rss2_item()
|
|
1084 |
if (!empty($EpisodeData['pci_transcript']) && !empty($EpisodeData['pci_transcript_url'])) {
|
1085 |
echo "\t\t<podcast:transcript url=\"" . $EpisodeData['pci_transcript_url'] . "\"";
|
1086 |
$transcript_type = powerpress_get_contenttype($EpisodeData['pci_transcript_url']);
|
|
|
|
|
|
|
1087 |
if (!empty($transcript_type)) {
|
1088 |
echo " type=\"" . $transcript_type . "\" rel=\"captions\" />".PHP_EOL;
|
1089 |
} else {
|
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: 9.3.1
|
7 |
Author: Blubrry
|
8 |
Author URI: https://blubrry.com/
|
9 |
Requires at least: 3.6
|
35 |
}
|
36 |
|
37 |
// WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
|
38 |
+
define('POWERPRESS_VERSION', '9.3.1' );
|
39 |
|
40 |
// Translation support:
|
41 |
if ( !defined('POWERPRESS_ABSPATH') )
|
1084 |
if (!empty($EpisodeData['pci_transcript']) && !empty($EpisodeData['pci_transcript_url'])) {
|
1085 |
echo "\t\t<podcast:transcript url=\"" . $EpisodeData['pci_transcript_url'] . "\"";
|
1086 |
$transcript_type = powerpress_get_contenttype($EpisodeData['pci_transcript_url']);
|
1087 |
+
if (!empty($EpisodeData['pci_transcript_language'])) {
|
1088 |
+
echo " language=\"" . $EpisodeData['pci_transcript_language'] . "\"";
|
1089 |
+
}
|
1090 |
if (!empty($transcript_type)) {
|
1091 |
echo " type=\"" . $transcript_type . "\" rel=\"captions\" />".PHP_EOL;
|
1092 |
} else {
|
powerpressadmin-editfeed.php
CHANGED
@@ -2,131 +2,7 @@
|
|
2 |
|
3 |
if( !function_exists('add_action') )
|
4 |
die("access denied.");
|
5 |
-
|
6 |
-
function powerpress_languages()
|
7 |
-
{
|
8 |
-
// List copied from PodPress:
|
9 |
-
$langs = array();
|
10 |
-
$langs['af'] = __('Afrikaans', 'powerpress');
|
11 |
-
$langs['sq'] = __('Albanian', 'powerpress');
|
12 |
-
$langs['ar'] = __('Arabic', 'powerpress');
|
13 |
-
$langs['ar-sa'] = __('Arabic (Saudi Arabia)', 'powerpress');
|
14 |
-
$langs['ar-eg'] = __('Arabic (Egypt)', 'powerpress');
|
15 |
-
$langs['ar-dz'] = __('Arabic (Algeria)', 'powerpress');
|
16 |
-
$langs['ar-tn'] = __('Arabic (Tunisia)', 'powerpress');
|
17 |
-
$langs['ar-ye'] = __('Arabic (Yemen)', 'powerpress');
|
18 |
-
$langs['ar-jo'] = __('Arabic (Jordan)', 'powerpress');
|
19 |
-
$langs['ar-kw'] = __('Arabic (Kuwait)', 'powerpress');
|
20 |
-
$langs['ar-bh'] = __('Arabic (Bahrain)', 'powerpress');
|
21 |
-
$langs['eu'] = __('Basque', 'powerpress');
|
22 |
-
$langs['be'] = __('Belarusian', 'powerpress');
|
23 |
-
$langs['bg'] = __('Bulgarian', 'powerpress');
|
24 |
-
$langs['ca'] = __('Catalan', 'powerpress');
|
25 |
-
$langs['zh-cn'] = __('Chinese (Simplified)', 'powerpress');
|
26 |
-
$langs['zh-tw'] = __('Chinese (Traditional)', 'powerpress');
|
27 |
-
$langs['hr'] = __('Croatian', 'powerpress');
|
28 |
-
$langs['cs'] = __('Czech', 'powerpress');
|
29 |
-
$langs['cr'] = __('Cree', 'powerpress');
|
30 |
-
$langs['da'] = __('Danish', 'powerpress');
|
31 |
-
$langs['nl'] = __('Dutch', 'powerpress');
|
32 |
-
$langs['nl-be'] = __('Dutch (Belgium)', 'powerpress');
|
33 |
-
$langs['nl-nl'] = __('Dutch (Netherlands)', 'powerpress');
|
34 |
-
$langs['en'] = __('English', 'powerpress');
|
35 |
-
$langs['en-au'] = __('English (Australia)', 'powerpress');
|
36 |
-
$langs['en-bz'] = __('English (Belize)', 'powerpress');
|
37 |
-
$langs['en-ca'] = __('English (Canada)', 'powerpress');
|
38 |
-
$langs['en-ie'] = __('English (Ireland)', 'powerpress');
|
39 |
-
$langs['en-jm'] = __('English (Jamaica)', 'powerpress');
|
40 |
-
$langs['en-nz'] = __('English (New Zealand)', 'powerpress');
|
41 |
-
$langs['en-ph'] = __('English (Phillipines)', 'powerpress');
|
42 |
-
$langs['en-za'] = __('English (South Africa)', 'powerpress');
|
43 |
-
$langs['en-tt'] = __('English (Trinidad)', 'powerpress');
|
44 |
-
$langs['en-gb'] = __('English (United Kingdom)', 'powerpress');
|
45 |
-
$langs['en-us'] = __('English (United States)', 'powerpress');
|
46 |
-
$langs['en-zw'] = __('English (Zimbabwe)', 'powerpress');
|
47 |
-
$langs['et'] = __('Estonian', 'powerpress');
|
48 |
-
$langs['fo'] = __('Faeroese', 'powerpress');
|
49 |
-
$langs['fi'] = __('Finnish', 'powerpress');
|
50 |
-
$langs['fr'] = __('French', 'powerpress');
|
51 |
-
$langs['fr-be'] = __('French (Belgium)', 'powerpress');
|
52 |
-
$langs['fr-ca'] = __('French (Canada)', 'powerpress');
|
53 |
-
$langs['fr-fr'] = __('French (France)', 'powerpress');
|
54 |
-
$langs['fr-lu'] = __('French (Luxembourg)', 'powerpress');
|
55 |
-
$langs['fr-mc'] = __('French (Monaco)', 'powerpress');
|
56 |
-
$langs['fr-ch'] = __('French (Switzerland)', 'powerpress');
|
57 |
-
$langs['gl'] = __('Galician', 'powerpress');
|
58 |
-
$langs['gd'] = __('Gaelic', 'powerpress');
|
59 |
-
$langs['de'] = __('German', 'powerpress');
|
60 |
-
$langs['de-at'] = __('German (Austria)', 'powerpress');
|
61 |
-
$langs['de-de'] = __('German (Germany)', 'powerpress');
|
62 |
-
$langs['de-li'] = __('German (Liechtenstein)', 'powerpress');
|
63 |
-
$langs['de-lu'] = __('German (Luxembourg)', 'powerpress');
|
64 |
-
$langs['de-ch'] = __('German (Switzerland)', 'powerpress');
|
65 |
-
$langs['el'] = __('Greek', 'powerpress');
|
66 |
-
$langs['haw'] = __('Hawaiian', 'powerpress');
|
67 |
-
$langs['he_IL'] = __('Hebrew', 'powerpress');
|
68 |
-
$langs['hu'] = __('Hungarian', 'powerpress');
|
69 |
-
$langs['is'] = __('Icelandic', 'powerpress');
|
70 |
-
$langs['in'] = __('Indonesian', 'powerpress');
|
71 |
-
$langs['ga'] = __('Irish', 'powerpress');
|
72 |
-
$langs['it'] = __('Italian', 'powerpress');
|
73 |
-
$langs['hi'] = __('Hindi', 'powerpress');
|
74 |
-
$langs['it-it'] = __('Italian (Italy)', 'powerpress');
|
75 |
-
$langs['it-ch'] = __('Italian (Switzerland)', 'powerpress');
|
76 |
-
$langs['ja'] = __('Japanese', 'powerpress');
|
77 |
-
$langs['ko'] = __('Korean', 'powerpress');
|
78 |
-
$langs['mk'] = __('Macedonian', 'powerpress');
|
79 |
-
$langs['no'] = __('Norwegian', 'powerpress');
|
80 |
-
$langs['pa'] = __('Punjabi', 'powerpress');
|
81 |
-
$langs['pl'] = __('Polish', 'powerpress');
|
82 |
-
$langs['pt'] = __('Portuguese', 'powerpress');
|
83 |
-
$langs['pt-br'] = __('Portuguese (Brazil)', 'powerpress');
|
84 |
-
$langs['pt-pt'] = __('Portuguese (Portugal)', 'powerpress');
|
85 |
-
$langs['ro'] = __('Romanian', 'powerpress');
|
86 |
-
$langs['ro-mo'] = __('Romanian (Moldova)', 'powerpress');
|
87 |
-
$langs['ro-ro'] = __('Romanian (Romania)', 'powerpress');
|
88 |
-
$langs['ru'] = __('Russian', 'powerpress');
|
89 |
-
$langs['ru-mo'] = __('Russian (Moldova)', 'powerpress');
|
90 |
-
$langs['ru-ru'] = __('Russian (Russia)', 'powerpress');
|
91 |
-
$langs['sr'] = __('Serbian', 'powerpress');
|
92 |
-
$langs['sk'] = __('Slovak', 'powerpress');
|
93 |
-
$langs['sl'] = __('Slovenian', 'powerpress');
|
94 |
-
$langs['es'] = __('Spanish', 'powerpress');
|
95 |
-
$langs['es-ar'] = __('Spanish (Argentina)', 'powerpress');
|
96 |
-
$langs['es-bo'] = __('Spanish (Bolivia)', 'powerpress');
|
97 |
-
$langs['es-cl'] = __('Spanish (Chile)', 'powerpress');
|
98 |
-
$langs['es-co'] = __('Spanish (Colombia)', 'powerpress');
|
99 |
-
$langs['es-cr'] = __('Spanish (Costa Rica)', 'powerpress');
|
100 |
-
$langs['es-do'] = __('Spanish (Dominican Republic)', 'powerpress');
|
101 |
-
$langs['es-ec'] = __('Spanish (Ecuador)', 'powerpress');
|
102 |
-
$langs['es-sv'] = __('Spanish (El Salvador)', 'powerpress');
|
103 |
-
$langs['es-gt'] = __('Spanish (Guatemala)', 'powerpress');
|
104 |
-
$langs['es-hn'] = __('Spanish (Honduras)', 'powerpress');
|
105 |
-
$langs['es-mx'] = __('Spanish (Mexico)', 'powerpress');
|
106 |
-
$langs['es-ni'] = __('Spanish (Nicaragua)', 'powerpress');
|
107 |
-
$langs['es-pa'] = __('Spanish (Panama)', 'powerpress');
|
108 |
-
$langs['es-py'] = __('Spanish (Paraguay)', 'powerpress');
|
109 |
-
$langs['es-pe'] = __('Spanish (Peru)', 'powerpress');
|
110 |
-
$langs['es-pr'] = __('Spanish (Puerto Rico)', 'powerpress');
|
111 |
-
$langs['es-es'] = __('Spanish (Spain)', 'powerpress');
|
112 |
-
$langs['es-uy'] = __('Spanish (Uruguay)', 'powerpress');
|
113 |
-
$langs['es-ve'] = __('Spanish (Venezuela)', 'powerpress');
|
114 |
-
$langs['sv'] = __('Swedish', 'powerpress');
|
115 |
-
$langs['sv-fi'] = __('Swedish (Finland)', 'powerpress');
|
116 |
-
$langs['sv-se'] = __('Swedish (Sweden)', 'powerpress');
|
117 |
-
$langs['ta'] = __('Tamil', 'powerpress');
|
118 |
-
$langs['th'] = __('Thai', 'powerpress');
|
119 |
-
$langs['bo'] = __('Tibetan', 'powerpress');
|
120 |
-
$langs['tr'] = __('Turkish', 'powerpress');
|
121 |
-
$langs['uk'] = __('Ukranian', 'powerpress');
|
122 |
-
$langs['ve'] = __('Venda', 'powerpress');
|
123 |
-
$langs['vi'] = __('Vietnamese', 'powerpress');
|
124 |
-
$langs['zu'] = __('Zulu', 'powerpress');
|
125 |
-
$langs['fa'] = __('Persian', 'powerpress');
|
126 |
-
$langs['fa-af'] = __('Persian (Afghanistan)', 'powerpress');
|
127 |
-
|
128 |
-
return $langs;
|
129 |
-
}
|
130 |
|
131 |
function powerpress_admin_capabilities()
|
132 |
{
|
2 |
|
3 |
if( !function_exists('add_action') )
|
4 |
die("access denied.");
|
5 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
|
7 |
function powerpress_admin_capabilities()
|
8 |
{
|
powerpressadmin-metabox.php
CHANGED
@@ -32,6 +32,14 @@ function episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings,
|
|
32 |
if (!$DurationSS) {
|
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; ?>">
|
@@ -241,6 +249,8 @@ function episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings,
|
|
241 |
- <a href="<?php echo $PCITranscriptURL ?>" title="Transcript Link" target="_blank"><?php echo $PCITranscriptURL; ?></a>
|
242 |
<?php } ?>
|
243 |
</p>
|
|
|
|
|
244 |
<?php } ?>
|
245 |
<div id="transcript-box-options-<?php echo $FeedSlug; ?>" style="margin-top: 1.5em;<?php echo $transcript_box_style; ?>">
|
246 |
|
@@ -267,8 +277,20 @@ function episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings,
|
|
267 |
<?php echo esc_html(__('Generate transcript for me', 'powerpress')); ?>
|
268 |
</p>
|
269 |
|
270 |
-
|
271 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
272 |
</div>
|
273 |
|
274 |
<div style="margin-left: 5px; display: <?php echo (!$GeneralSettings['blubrry_hosting'] ? 'inline-flex' : 'none'); ?>; background-color: #FFFEF3; border-left: 4px solid #FFCA28;">
|
@@ -285,19 +307,29 @@ function episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings,
|
|
285 |
<input id="powerpress_pci_transcript_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("Add a transcript","powerpress")); ?>"
|
286 |
class="media-details-radio" onclick="setTranscriptCheckboxes(this.id, '<?php echo $FeedSlug; ?>');"
|
287 |
name="Powerpress[<?php echo $FeedSlug; ?>][transcript][upload]" value="1"
|
288 |
-
type="radio"
|
289 |
<?php echo esc_html(__('Add a transcript', 'powerpress')); ?>
|
290 |
</p>
|
291 |
<div class="powerpress_row" id="powerpress_pci_transcript_container_<?php echo $FeedSlug; ?>" <?php if (empty($PCITranscript)) { echo "style=\"display: none;\""; } ?>>
|
292 |
-
|
293 |
<input type="text" id="powerpress_transcript_url_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("URL to transcript file","powerpress")); ?>"
|
294 |
class="pp-ep-box-input"
|
295 |
name="Powerpress[<?php echo $FeedSlug; ?>][pci_transcript_url]"
|
296 |
value="<?php echo esc_attr($PCITranscriptURL); ?>"
|
297 |
placeholder="<?php echo 'https://' . $_SERVER['SERVER_NAME'] . '/wp-content/uploads/' . date('Y') . '/' . date('m') . '/' . 'transcript.txt'; ?>"
|
298 |
-
|
299 |
<!-- <label class="pp-ep-box-label-under">--><?php //echo esc_html(__("Can be added later by editing this post", 'powerpress')); ?><!--</label>-->
|
300 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
301 |
</div>
|
302 |
</div>
|
303 |
|
32 |
if (!$DurationSS) {
|
33 |
$DurationSS = '00';
|
34 |
}
|
35 |
+
$FeedSettings = get_option('powerpress_feed_'.$FeedSlug);
|
36 |
+
$language = isset($ExtraData['pci_transcript_language']) ? $ExtraData['pci_transcript_language'] : '';
|
37 |
+
if (empty($language) && !empty($FeedSettings['rss_language'])) {
|
38 |
+
$language = $FeedSettings['rss_language'];
|
39 |
+
}
|
40 |
+
if (empty($language)) {
|
41 |
+
$language = get_bloginfo("language");
|
42 |
+
}
|
43 |
?>
|
44 |
<div id="a-pp-selected-media-<?php echo $FeedSlug; ?>" <?php echo $padding; ?>>
|
45 |
<h3 id="pp-pp-selected-media-head-<?php echo $FeedSlug; ?>">
|
249 |
- <a href="<?php echo $PCITranscriptURL ?>" title="Transcript Link" target="_blank"><?php echo $PCITranscriptURL; ?></a>
|
250 |
<?php } ?>
|
251 |
</p>
|
252 |
+
<?php } else { ?>
|
253 |
+
<input type="hidden" name="Powerpress[<?php echo $FeedSlug; ?>][transcript][edit]" value="1" />
|
254 |
<?php } ?>
|
255 |
<div id="transcript-box-options-<?php echo $FeedSlug; ?>" style="margin-top: 1.5em;<?php echo $transcript_box_style; ?>">
|
256 |
|
277 |
<?php echo esc_html(__('Generate transcript for me', 'powerpress')); ?>
|
278 |
</p>
|
279 |
|
280 |
+
<div style="margin-left: 30px; margin-top: 5px; display: <?php echo ($GeneralSettings['blubrry_hosting'] ? 'inline-flex' : 'none'); ?>; background-color: #FFFEF3; border-left: 4px solid #FFCA28;">
|
281 |
+
<p style="font-size: 14px; margin: 8px;">Generated transcripts are free until September 15th. Transcripts are used for displaying closed captions in the new Blubrry podcast player, as well as in podcast apps that support transcripts.</p>
|
282 |
+
</div>
|
283 |
+
<div class="powerpress_row" id="powerpress_generate_transcript_container_<?php echo $FeedSlug; ?>" style="display: none">
|
284 |
+
|
285 |
+
<select id="pp-generate-language-<?php echo $FeedSlug; ?>" class="pp-ep-box-input" name="Powerpress[<?php echo $FeedSlug; ?>][pci_transcript_language]">
|
286 |
+
<?php
|
287 |
+
$Languages = powerpress_revai_languages();
|
288 |
+
|
289 |
+
echo '<option value="">'. __('Select Language', 'powerpress') .'</option>';
|
290 |
+
foreach( $Languages as $value=> $desc )
|
291 |
+
echo "\t<option value=\"$value\"". (substr($language, 0, 2)==$value?' selected':''). ">". esc_attr($desc)."</option>\n";
|
292 |
+
?>
|
293 |
+
</select>
|
294 |
</div>
|
295 |
|
296 |
<div style="margin-left: 5px; display: <?php echo (!$GeneralSettings['blubrry_hosting'] ? 'inline-flex' : 'none'); ?>; background-color: #FFFEF3; border-left: 4px solid #FFCA28;">
|
307 |
<input id="powerpress_pci_transcript_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("Add a transcript","powerpress")); ?>"
|
308 |
class="media-details-radio" onclick="setTranscriptCheckboxes(this.id, '<?php echo $FeedSlug; ?>');"
|
309 |
name="Powerpress[<?php echo $FeedSlug; ?>][transcript][upload]" value="1"
|
310 |
+
type="radio" <?php echo !empty($PCITranscriptURL) ? 'checked' : ''; ?>/>
|
311 |
<?php echo esc_html(__('Add a transcript', 'powerpress')); ?>
|
312 |
</p>
|
313 |
<div class="powerpress_row" id="powerpress_pci_transcript_container_<?php echo $FeedSlug; ?>" <?php if (empty($PCITranscript)) { echo "style=\"display: none;\""; } ?>>
|
314 |
+
|
315 |
<input type="text" id="powerpress_transcript_url_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("URL to transcript file","powerpress")); ?>"
|
316 |
class="pp-ep-box-input"
|
317 |
name="Powerpress[<?php echo $FeedSlug; ?>][pci_transcript_url]"
|
318 |
value="<?php echo esc_attr($PCITranscriptURL); ?>"
|
319 |
placeholder="<?php echo 'https://' . $_SERVER['SERVER_NAME'] . '/wp-content/uploads/' . date('Y') . '/' . date('m') . '/' . 'transcript.txt'; ?>"
|
320 |
+
<?php echo !empty($PCITranscriptURL) ? 'checked' : ''; ?>/>
|
321 |
<!-- <label class="pp-ep-box-label-under">--><?php //echo esc_html(__("Can be added later by editing this post", 'powerpress')); ?><!--</label>-->
|
322 |
+
|
323 |
+
|
324 |
+
<select id="pp-upload-language-<?php echo $FeedSlug; ?>" class="pp-ep-box-input" name="Powerpress[<?php echo $FeedSlug; ?>][pci_transcript_language]">
|
325 |
+
<?php
|
326 |
+
$Languages = powerpress_languages();
|
327 |
+
|
328 |
+
echo '<option value="">'. __('Select Language', 'powerpress') .'</option>';
|
329 |
+
foreach( $Languages as $value=> $desc )
|
330 |
+
echo "\t<option value=\"$value\"". ($language==$value?' selected':''). ">". esc_attr($desc)."</option>\n";
|
331 |
+
?>
|
332 |
+
</select>
|
333 |
</div>
|
334 |
</div>
|
335 |
|
powerpressadmin-player-page.php
CHANGED
@@ -382,7 +382,7 @@ table.html5formats tr > td:first-child {
|
|
382 |
<th scope="row"> </th>
|
383 |
<td>
|
384 |
<ul>
|
385 |
-
<li><label><input type="radio" name="Player[player]" id="player_blubrrymodern" value="blubrrymodern" <?php if( $General['player'] == 'blubrrymodern' ) echo 'checked'; ?> /> <?php echo __('Modern Blubrry Player', 'powerpress'); ?> </label>
|
386 |
<strong style="padding-top: 8px; margin-left: 20px;"><a href="<?php echo admin_url('admin.php?page=powerpress/powerpressadmin_player.php&ep=1'); ?>" id="activate_blubrrymodern" class="activate-player"><?php echo __('Activate Now', 'powerpress'); ?></a></strong>
|
387 |
</li>
|
388 |
<li style="margin-left: 30px; margin-bottom:16px;">
|
382 |
<th scope="row"> </th>
|
383 |
<td>
|
384 |
<ul>
|
385 |
+
<li><label><input type="radio" name="Player[player]" id="player_blubrrymodern" value="blubrrymodern" <?php if( $General['player'] == 'blubrrymodern' ) echo 'checked'; ?> /> <?php echo __('Modern Blubrry Player', 'powerpress') . powerpressadmin_new(true, "margin-left: 5px;"); ?> </label>
|
386 |
<strong style="padding-top: 8px; margin-left: 20px;"><a href="<?php echo admin_url('admin.php?page=powerpress/powerpressadmin_player.php&ep=1'); ?>" id="activate_blubrrymodern" class="activate-player"><?php echo __('Activate Now', 'powerpress'); ?></a></strong>
|
387 |
</li>
|
388 |
<li style="margin-left: 30px; margin-bottom:16px;">
|
powerpressadmin.php
CHANGED
@@ -17,6 +17,178 @@ function powerpress_esc_html($escape)
|
|
17 |
function powerpress_login_create_nonce() {
|
18 |
return wp_create_nonce( 'powerpress-link-blubrry' );
|
19 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
function powerpress_page_message_add_error($msg, $classes='inline', $escape=true)
|
22 |
{
|
@@ -565,8 +737,8 @@ function powerpress_admin_init()
|
|
565 |
$req_url = sprintf('%s/media/%s/coverart.json?url=%s', rtrim($api_url, '/'), $GeneralSettingsTemp['blubrry_program_keyword'], urlencode($TagValues['tag_coverart']));
|
566 |
$req_url .= (defined('POWERPRESS_BLUBRRY_API_QSA') ? '&' . POWERPRESS_BLUBRRY_API_QSA : '');
|
567 |
$json_data = powerpress_remote_fopen($req_url, $GeneralSettingsTemp['blubrry_auth']);
|
568 |
-
if (!$
|
569 |
-
$
|
570 |
}
|
571 |
if ($json_data != false)
|
572 |
break;
|
@@ -1938,7 +2110,7 @@ function powerpress_admin_menu()
|
|
1938 |
} else {
|
1939 |
$parent_slug = 'powerpressadmin_basic';
|
1940 |
$parent_slug = apply_filters('powerpress_submenu_parent_slug', $parent_slug);
|
1941 |
-
add_menu_page(__('PowerPress', 'powerpress'), __('PowerPress', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpressadmin_basic', 'powerpress_admin_page_basic', powerpress_get_root_url() . 'powerpress_ico.png');
|
1942 |
add_submenu_page($parent_slug, __('PowerPress Settings', 'powerpress'), __('Settings', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpressadmin_basic', 'powerpress_admin_page_basic');
|
1943 |
add_submenu_page($parent_slug, __('Get Started', 'powerpress'), __('Get Started', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpressadmin_onboarding.php', 'powerpress_admin_page_onboarding');
|
1944 |
|
@@ -1948,7 +2120,7 @@ function powerpress_admin_menu()
|
|
1948 |
add_submenu_page($parent_slug, __('Import podcast feed from SoundCloud, LibSyn, PodBean or other podcast service.', 'powerpress'), __('Import Podcast', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_import_feed.php', 'powerpress_admin_page_import_feed');
|
1949 |
add_submenu_page($parent_slug, __('Migrate media files to Blubrry Podcast Media Hosting with only a few clicks.', 'powerpress'), __('Migrate Media', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_migrate.php', 'powerpress_admin_page_migrate');
|
1950 |
|
1951 |
-
add_submenu_page($parent_slug, __('PowerPress Audio Player Options', 'powerpress'), __('Audio Player', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_player.php', 'powerpress_admin_page_players');
|
1952 |
add_submenu_page($parent_slug, __('PowerPress Video Player Options', 'powerpress'), __('Video Player', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_videoplayer.php', 'powerpress_admin_page_videoplayers');
|
1953 |
if (!empty($Powerpress['channels']))
|
1954 |
add_submenu_page($parent_slug, __('PowerPress Custom Podcast Channels', 'powerpress'), __('Podcast Channels', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_customfeeds.php', 'powerpress_admin_page_customfeeds');
|
@@ -2217,11 +2389,20 @@ function powerpress_edit_post($post_ID, $post)
|
|
2217 |
$ToSerialize['feed_title'] = stripslashes(trim($Powerpress['feed_title']));
|
2218 |
if( !empty($Powerpress['category']) )
|
2219 |
$ToSerialize['category'] = stripslashes($Powerpress['category']);
|
2220 |
-
if( isset($Powerpress['
|
2221 |
$ToSerialize['pci_transcript'] = 1;
|
2222 |
if (isset($Powerpress['pci_transcript_url']) && trim($Powerpress['pci_transcript_url']) != '') {
|
2223 |
$ToSerialize['pci_transcript_url'] = stripslashes($Powerpress['pci_transcript_url']);
|
2224 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2225 |
}
|
2226 |
if( isset($Powerpress['pci_chapters']) && $Powerpress['pci_chapters'] ) {
|
2227 |
$ToSerialize['pci_chapters'] = 1;
|
@@ -2515,18 +2696,6 @@ function powerpress_create_subscribe_page()
|
|
2515 |
if ( objAJAXRequest.responseText ) {
|
2516 |
errorMsg += ', '+ objAJAXRequest.responseText.replace( /<.[^<>]*?>/g, '' );
|
2517 |
}
|
2518 |
-
/*
|
2519 |
-
jQuery('#powerpress_check_'+FeedSlug).css("display", 'none');
|
2520 |
-
if( strError == 'timeout' )
|
2521 |
-
jQuery( '#powerpress_warning_'+FeedSlug ).text( '<?php echo __('Operation timed out.', 'powerpress'); ?>' );
|
2522 |
-
else if( errorMsg )
|
2523 |
-
jQuery( '#powerpress_warning_'+FeedSlug ).text( '<?php echo __('AJAX Error', 'powerpress') .': '; ?>'+errorMsg );
|
2524 |
-
else if( strError != null )
|
2525 |
-
jQuery( '#powerpress_warning_'+FeedSlug ).text( '<?php echo __('AJAX Error', 'powerpress') .': '; ?>'+strError );
|
2526 |
-
else
|
2527 |
-
jQuery( '#powerpress_warning_'+FeedSlug ).text( '<?php echo __('AJAX Error', 'powerpress') .': '. __('Unknown', 'powerpress'); ?>' );
|
2528 |
-
jQuery( '#powerpress_warning_'+FeedSlug ).css('display', 'block');
|
2529 |
-
*/
|
2530 |
}
|
2531 |
});
|
2532 |
}
|
@@ -2682,47 +2851,7 @@ jQuery(document).ready(function($) {
|
|
2682 |
font-weight: bold;
|
2683 |
text-align: center;
|
2684 |
}
|
2685 |
-
|
2686 |
-
margin: 8px 0;
|
2687 |
-
}
|
2688 |
-
.powerpress-hosting-buttons a.powerpress-hosting-button {
|
2689 |
-
background: #003366;
|
2690 |
-
background-image:-moz-linear-gradient(0% 100% 90deg,#003366,#337EC9);
|
2691 |
-
background-image:-webkit-gradient(linear,0% 0,0% 100%,from(#003366),to(#337EC9));
|
2692 |
-
border: 1px solid #003366;
|
2693 |
-
border-radius:3px;
|
2694 |
-
color: #CFEA93;
|
2695 |
-
color: #FFFFFF;
|
2696 |
-
cursor: pointer;
|
2697 |
-
display: inline-block;
|
2698 |
-
font-weight: bold;
|
2699 |
-
height: 100%;
|
2700 |
-
-moz-border-radius:3px;
|
2701 |
-
padding: 5px 10px 4px 10px;
|
2702 |
-
text-align: center;
|
2703 |
-
text-decoration: none;
|
2704 |
-
-webkit-border-radius:3px;
|
2705 |
-
/* width: 100%; */
|
2706 |
-
}
|
2707 |
-
.powerpress-button {
|
2708 |
-
border: 2px solid #ffffff;
|
2709 |
-
color: white;
|
2710 |
-
display: inline-block;
|
2711 |
-
font-weight: normal;
|
2712 |
-
height: 20px;
|
2713 |
-
padding: 6px 10px;
|
2714 |
-
text-align: center;
|
2715 |
-
width: auto;
|
2716 |
-
}
|
2717 |
-
.powerpress-hosting-buttons a.powerpress-hosting-button {
|
2718 |
-
position: relative;
|
2719 |
-
padding-left: 30px;
|
2720 |
-
}
|
2721 |
-
.powerpress-hosting-button .powerpress-button-icon {
|
2722 |
-
top: 2px;
|
2723 |
-
left: 3px;
|
2724 |
-
position: absolute;
|
2725 |
-
}
|
2726 |
</style>
|
2727 |
<script language="javascript"><!--
|
2728 |
|
@@ -4069,8 +4198,8 @@ function powerpress_process_hosting($post_ID, $post_title)
|
|
4069 |
} else {
|
4070 |
$error = sprintf(__('Blubrry Hosting Error (media info): An error occurred publishing media %s.', 'powerpress'), $EnclosureURL);
|
4071 |
$error .= ' ';
|
|
|
4072 |
$error .= '<a href="#" onclick="document.getElementById(\'powerpress_error_' . $rand_id . '\');this.style.display=\'none\';return false;">' . __('Display Error', 'powerpress') . '</a>';
|
4073 |
-
$error .= '<div id="powerpress_error_' . $rand_id . '" style="display: none;">' . $json_data . '</div>';
|
4074 |
powerpress_add_error($error);
|
4075 |
}
|
4076 |
|
@@ -4136,89 +4265,109 @@ function powerpress_process_hosting($post_ID, $post_title)
|
|
4136 |
}
|
4137 |
}
|
4138 |
// new transcript call here
|
4139 |
-
|
4140 |
-
|
4141 |
-
|
4142 |
-
$
|
4143 |
-
|
4144 |
-
|
4145 |
-
|
4146 |
-
|
4147 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
4148 |
}
|
4149 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4150 |
|
4151 |
-
|
4152 |
-
|
4153 |
-
|
4154 |
-
|
4155 |
-
|
4156 |
-
|
4157 |
|
4158 |
-
|
4159 |
-
|
4160 |
-
|
4161 |
-
|
4162 |
-
|
4163 |
-
|
4164 |
-
|
4165 |
-
|
4166 |
-
|
4167 |
-
|
4168 |
-
|
4169 |
-
|
4170 |
-
|
4171 |
-
|
|
|
|
|
|
|
4172 |
|
4173 |
-
|
4174 |
-
|
4175 |
-
|
4176 |
-
|
4177 |
-
|
4178 |
-
|
4179 |
-
|
4180 |
-
|
|
|
|
|
|
|
|
|
|
|
4181 |
}
|
4182 |
-
if ($json_data != false)
|
4183 |
-
break;
|
4184 |
-
}
|
4185 |
-
$transcriptResults = powerpress_json_decode($json_data);
|
4186 |
-
}
|
4187 |
|
4188 |
-
|
4189 |
-
|
4190 |
-
|
4191 |
-
|
|
|
|
|
|
|
4192 |
|
4193 |
-
|
4194 |
-
|
|
|
|
|
4195 |
|
4196 |
-
|
4197 |
-
|
4198 |
-
}
|
4199 |
|
4200 |
-
|
4201 |
-
|
4202 |
-
|
4203 |
-
|
4204 |
-
|
4205 |
-
|
|
|
|
|
|
|
4206 |
|
4207 |
-
|
4208 |
-
|
4209 |
-
|
4210 |
-
|
4211 |
-
$EnclosureData = $EnclosureURL . "\n" . $EnclosureSize . "\n" . $EnclosureType . "\n" . serialize($EpisodeData);
|
4212 |
-
update_post_meta($post_ID, $field, $EnclosureData);
|
4213 |
|
4214 |
-
// check for notices from api call
|
4215 |
-
if (!empty($transcriptResults['message'])) {
|
4216 |
-
powerpress_add_error($transcriptResults['message']);
|
4217 |
}
|
4218 |
}
|
4219 |
-
|
4220 |
}
|
4221 |
-
|
4222 |
}
|
4223 |
if (empty($program_keyword)) {
|
4224 |
$program_keyword = (!empty($EpisodeData['program_keyword']) ? $EpisodeData['program_keyword'] : $Settings['blubrry_program_keyword'] );
|
@@ -5106,11 +5255,15 @@ function powerpressadmin_support_uploads()
|
|
5106 |
return $g_SupportUploads;
|
5107 |
}
|
5108 |
|
5109 |
-
function powerpressadmin_new($
|
5110 |
{
|
5111 |
-
|
5112 |
-
|
5113 |
-
|
|
|
|
|
|
|
|
|
5114 |
}
|
5115 |
|
5116 |
function powerpressadmin_updated($updated_message)
|
17 |
function powerpress_login_create_nonce() {
|
18 |
return wp_create_nonce( 'powerpress-link-blubrry' );
|
19 |
}
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Returns array of languages supported by RevAI
|
23 |
+
* @return array
|
24 |
+
*/
|
25 |
+
function powerpress_revai_languages(){
|
26 |
+
$languages = array();
|
27 |
+
|
28 |
+
$languages['ar'] = 'Arabic';
|
29 |
+
$languages['bg'] = 'Bulgarian';
|
30 |
+
$languages['ca'] = 'Catalan';
|
31 |
+
$languages['hr'] = 'Croatian';
|
32 |
+
$languages['cs'] = 'Czech';
|
33 |
+
$languages['da'] = 'Danish';
|
34 |
+
$languages['nl'] = 'Dutch';
|
35 |
+
$languages['en'] = 'English';
|
36 |
+
$languages['fa'] = 'Farsi';
|
37 |
+
$languages['fi'] = 'Finnish';
|
38 |
+
$languages['fr'] = 'French';
|
39 |
+
$languages['de'] = 'German';
|
40 |
+
$languages['el'] = 'Greek';
|
41 |
+
$languages['he'] = 'Hebrew';
|
42 |
+
$languages['hi'] = 'Hindi';
|
43 |
+
$languages['hu'] = 'Hungarian';
|
44 |
+
$languages['id'] = 'Indonesian';
|
45 |
+
$languages['it'] = 'Italian';
|
46 |
+
$languages['ja'] = 'Japanese';
|
47 |
+
$languages['ko'] = 'Korean';
|
48 |
+
$languages['lt'] = 'Lithuanian';
|
49 |
+
$languages['lv'] = 'Latvian';
|
50 |
+
$languages['ms'] = 'Malay';
|
51 |
+
$languages['cmn'] = 'Mandarin';
|
52 |
+
$languages['no'] = 'Norwegian';
|
53 |
+
$languages['pl'] = 'Polish';
|
54 |
+
$languages['pt'] = 'Portuguese';
|
55 |
+
$languages['ro'] = 'Romanian';
|
56 |
+
$languages['ru'] = 'Russian';
|
57 |
+
$languages['sk'] = 'Slovak';
|
58 |
+
$languages['sl'] = 'Slovenian';
|
59 |
+
$languages['es'] = 'Spanish';
|
60 |
+
$languages['sv'] = 'Swedish';
|
61 |
+
$languages['ta'] = 'Tamil';
|
62 |
+
$languages['te'] = 'Telugu';
|
63 |
+
$languages['tr'] = 'Turkish';
|
64 |
+
|
65 |
+
return $languages;
|
66 |
+
}
|
67 |
+
|
68 |
+
function powerpress_languages()
|
69 |
+
{
|
70 |
+
// List copied from PodPress:
|
71 |
+
$langs = array();
|
72 |
+
$langs['af'] = __('Afrikaans', 'powerpress');
|
73 |
+
$langs['sq'] = __('Albanian', 'powerpress');
|
74 |
+
$langs['ar'] = __('Arabic', 'powerpress');
|
75 |
+
$langs['ar-sa'] = __('Arabic (Saudi Arabia)', 'powerpress');
|
76 |
+
$langs['ar-eg'] = __('Arabic (Egypt)', 'powerpress');
|
77 |
+
$langs['ar-dz'] = __('Arabic (Algeria)', 'powerpress');
|
78 |
+
$langs['ar-tn'] = __('Arabic (Tunisia)', 'powerpress');
|
79 |
+
$langs['ar-ye'] = __('Arabic (Yemen)', 'powerpress');
|
80 |
+
$langs['ar-jo'] = __('Arabic (Jordan)', 'powerpress');
|
81 |
+
$langs['ar-kw'] = __('Arabic (Kuwait)', 'powerpress');
|
82 |
+
$langs['ar-bh'] = __('Arabic (Bahrain)', 'powerpress');
|
83 |
+
$langs['eu'] = __('Basque', 'powerpress');
|
84 |
+
$langs['be'] = __('Belarusian', 'powerpress');
|
85 |
+
$langs['bg'] = __('Bulgarian', 'powerpress');
|
86 |
+
$langs['ca'] = __('Catalan', 'powerpress');
|
87 |
+
$langs['zh-cn'] = __('Chinese (Simplified)', 'powerpress');
|
88 |
+
$langs['zh-tw'] = __('Chinese (Traditional)', 'powerpress');
|
89 |
+
$langs['hr'] = __('Croatian', 'powerpress');
|
90 |
+
$langs['cs'] = __('Czech', 'powerpress');
|
91 |
+
$langs['cr'] = __('Cree', 'powerpress');
|
92 |
+
$langs['da'] = __('Danish', 'powerpress');
|
93 |
+
$langs['nl'] = __('Dutch', 'powerpress');
|
94 |
+
$langs['nl-be'] = __('Dutch (Belgium)', 'powerpress');
|
95 |
+
$langs['nl-nl'] = __('Dutch (Netherlands)', 'powerpress');
|
96 |
+
$langs['en'] = __('English', 'powerpress');
|
97 |
+
$langs['en-au'] = __('English (Australia)', 'powerpress');
|
98 |
+
$langs['en-bz'] = __('English (Belize)', 'powerpress');
|
99 |
+
$langs['en-ca'] = __('English (Canada)', 'powerpress');
|
100 |
+
$langs['en-ie'] = __('English (Ireland)', 'powerpress');
|
101 |
+
$langs['en-jm'] = __('English (Jamaica)', 'powerpress');
|
102 |
+
$langs['en-nz'] = __('English (New Zealand)', 'powerpress');
|
103 |
+
$langs['en-ph'] = __('English (Phillipines)', 'powerpress');
|
104 |
+
$langs['en-za'] = __('English (South Africa)', 'powerpress');
|
105 |
+
$langs['en-tt'] = __('English (Trinidad)', 'powerpress');
|
106 |
+
$langs['en-gb'] = __('English (United Kingdom)', 'powerpress');
|
107 |
+
$langs['en-us'] = __('English (United States)', 'powerpress');
|
108 |
+
$langs['en-zw'] = __('English (Zimbabwe)', 'powerpress');
|
109 |
+
$langs['et'] = __('Estonian', 'powerpress');
|
110 |
+
$langs['fo'] = __('Faeroese', 'powerpress');
|
111 |
+
$langs['fi'] = __('Finnish', 'powerpress');
|
112 |
+
$langs['fr'] = __('French', 'powerpress');
|
113 |
+
$langs['fr-be'] = __('French (Belgium)', 'powerpress');
|
114 |
+
$langs['fr-ca'] = __('French (Canada)', 'powerpress');
|
115 |
+
$langs['fr-fr'] = __('French (France)', 'powerpress');
|
116 |
+
$langs['fr-lu'] = __('French (Luxembourg)', 'powerpress');
|
117 |
+
$langs['fr-mc'] = __('French (Monaco)', 'powerpress');
|
118 |
+
$langs['fr-ch'] = __('French (Switzerland)', 'powerpress');
|
119 |
+
$langs['gl'] = __('Galician', 'powerpress');
|
120 |
+
$langs['gd'] = __('Gaelic', 'powerpress');
|
121 |
+
$langs['de'] = __('German', 'powerpress');
|
122 |
+
$langs['de-at'] = __('German (Austria)', 'powerpress');
|
123 |
+
$langs['de-de'] = __('German (Germany)', 'powerpress');
|
124 |
+
$langs['de-li'] = __('German (Liechtenstein)', 'powerpress');
|
125 |
+
$langs['de-lu'] = __('German (Luxembourg)', 'powerpress');
|
126 |
+
$langs['de-ch'] = __('German (Switzerland)', 'powerpress');
|
127 |
+
$langs['el'] = __('Greek', 'powerpress');
|
128 |
+
$langs['haw'] = __('Hawaiian', 'powerpress');
|
129 |
+
$langs['he_IL'] = __('Hebrew', 'powerpress');
|
130 |
+
$langs['hu'] = __('Hungarian', 'powerpress');
|
131 |
+
$langs['is'] = __('Icelandic', 'powerpress');
|
132 |
+
$langs['in'] = __('Indonesian', 'powerpress');
|
133 |
+
$langs['ga'] = __('Irish', 'powerpress');
|
134 |
+
$langs['it'] = __('Italian', 'powerpress');
|
135 |
+
$langs['hi'] = __('Hindi', 'powerpress');
|
136 |
+
$langs['it-it'] = __('Italian (Italy)', 'powerpress');
|
137 |
+
$langs['it-ch'] = __('Italian (Switzerland)', 'powerpress');
|
138 |
+
$langs['ja'] = __('Japanese', 'powerpress');
|
139 |
+
$langs['ko'] = __('Korean', 'powerpress');
|
140 |
+
$langs['mk'] = __('Macedonian', 'powerpress');
|
141 |
+
$langs['no'] = __('Norwegian', 'powerpress');
|
142 |
+
$langs['pa'] = __('Punjabi', 'powerpress');
|
143 |
+
$langs['pl'] = __('Polish', 'powerpress');
|
144 |
+
$langs['pt'] = __('Portuguese', 'powerpress');
|
145 |
+
$langs['pt-br'] = __('Portuguese (Brazil)', 'powerpress');
|
146 |
+
$langs['pt-pt'] = __('Portuguese (Portugal)', 'powerpress');
|
147 |
+
$langs['ro'] = __('Romanian', 'powerpress');
|
148 |
+
$langs['ro-mo'] = __('Romanian (Moldova)', 'powerpress');
|
149 |
+
$langs['ro-ro'] = __('Romanian (Romania)', 'powerpress');
|
150 |
+
$langs['ru'] = __('Russian', 'powerpress');
|
151 |
+
$langs['ru-mo'] = __('Russian (Moldova)', 'powerpress');
|
152 |
+
$langs['ru-ru'] = __('Russian (Russia)', 'powerpress');
|
153 |
+
$langs['sr'] = __('Serbian', 'powerpress');
|
154 |
+
$langs['sk'] = __('Slovak', 'powerpress');
|
155 |
+
$langs['sl'] = __('Slovenian', 'powerpress');
|
156 |
+
$langs['es'] = __('Spanish', 'powerpress');
|
157 |
+
$langs['es-ar'] = __('Spanish (Argentina)', 'powerpress');
|
158 |
+
$langs['es-bo'] = __('Spanish (Bolivia)', 'powerpress');
|
159 |
+
$langs['es-cl'] = __('Spanish (Chile)', 'powerpress');
|
160 |
+
$langs['es-co'] = __('Spanish (Colombia)', 'powerpress');
|
161 |
+
$langs['es-cr'] = __('Spanish (Costa Rica)', 'powerpress');
|
162 |
+
$langs['es-do'] = __('Spanish (Dominican Republic)', 'powerpress');
|
163 |
+
$langs['es-ec'] = __('Spanish (Ecuador)', 'powerpress');
|
164 |
+
$langs['es-sv'] = __('Spanish (El Salvador)', 'powerpress');
|
165 |
+
$langs['es-gt'] = __('Spanish (Guatemala)', 'powerpress');
|
166 |
+
$langs['es-hn'] = __('Spanish (Honduras)', 'powerpress');
|
167 |
+
$langs['es-mx'] = __('Spanish (Mexico)', 'powerpress');
|
168 |
+
$langs['es-ni'] = __('Spanish (Nicaragua)', 'powerpress');
|
169 |
+
$langs['es-pa'] = __('Spanish (Panama)', 'powerpress');
|
170 |
+
$langs['es-py'] = __('Spanish (Paraguay)', 'powerpress');
|
171 |
+
$langs['es-pe'] = __('Spanish (Peru)', 'powerpress');
|
172 |
+
$langs['es-pr'] = __('Spanish (Puerto Rico)', 'powerpress');
|
173 |
+
$langs['es-es'] = __('Spanish (Spain)', 'powerpress');
|
174 |
+
$langs['es-uy'] = __('Spanish (Uruguay)', 'powerpress');
|
175 |
+
$langs['es-ve'] = __('Spanish (Venezuela)', 'powerpress');
|
176 |
+
$langs['sv'] = __('Swedish', 'powerpress');
|
177 |
+
$langs['sv-fi'] = __('Swedish (Finland)', 'powerpress');
|
178 |
+
$langs['sv-se'] = __('Swedish (Sweden)', 'powerpress');
|
179 |
+
$langs['ta'] = __('Tamil', 'powerpress');
|
180 |
+
$langs['th'] = __('Thai', 'powerpress');
|
181 |
+
$langs['bo'] = __('Tibetan', 'powerpress');
|
182 |
+
$langs['tr'] = __('Turkish', 'powerpress');
|
183 |
+
$langs['uk'] = __('Ukranian', 'powerpress');
|
184 |
+
$langs['ve'] = __('Venda', 'powerpress');
|
185 |
+
$langs['vi'] = __('Vietnamese', 'powerpress');
|
186 |
+
$langs['zu'] = __('Zulu', 'powerpress');
|
187 |
+
$langs['fa'] = __('Persian', 'powerpress');
|
188 |
+
$langs['fa-af'] = __('Persian (Afghanistan)', 'powerpress');
|
189 |
+
|
190 |
+
return $langs;
|
191 |
+
}
|
192 |
|
193 |
function powerpress_page_message_add_error($msg, $classes='inline', $escape=true)
|
194 |
{
|
737 |
$req_url = sprintf('%s/media/%s/coverart.json?url=%s', rtrim($api_url, '/'), $GeneralSettingsTemp['blubrry_program_keyword'], urlencode($TagValues['tag_coverart']));
|
738 |
$req_url .= (defined('POWERPRESS_BLUBRRY_API_QSA') ? '&' . POWERPRESS_BLUBRRY_API_QSA : '');
|
739 |
$json_data = powerpress_remote_fopen($req_url, $GeneralSettingsTemp['blubrry_auth']);
|
740 |
+
if (!$json_data && $api_url == 'https://api.blubrry.com/') { // Lets force cURL and see if that helps...
|
741 |
+
$json_data = powerpress_remote_fopen($req_url, $GeneralSettingsTemp['blubrry_auth'], array(), 15, false, true);
|
742 |
}
|
743 |
if ($json_data != false)
|
744 |
break;
|
2110 |
} else {
|
2111 |
$parent_slug = 'powerpressadmin_basic';
|
2112 |
$parent_slug = apply_filters('powerpress_submenu_parent_slug', $parent_slug);
|
2113 |
+
add_menu_page(__('PowerPress', 'powerpress'), __('PowerPress', 'powerpress') . powerpressadmin_new(false, "margin-left: 5px;"), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpressadmin_basic', 'powerpress_admin_page_basic', powerpress_get_root_url() . 'powerpress_ico.png');
|
2114 |
add_submenu_page($parent_slug, __('PowerPress Settings', 'powerpress'), __('Settings', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpressadmin_basic', 'powerpress_admin_page_basic');
|
2115 |
add_submenu_page($parent_slug, __('Get Started', 'powerpress'), __('Get Started', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpressadmin_onboarding.php', 'powerpress_admin_page_onboarding');
|
2116 |
|
2120 |
add_submenu_page($parent_slug, __('Import podcast feed from SoundCloud, LibSyn, PodBean or other podcast service.', 'powerpress'), __('Import Podcast', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_import_feed.php', 'powerpress_admin_page_import_feed');
|
2121 |
add_submenu_page($parent_slug, __('Migrate media files to Blubrry Podcast Media Hosting with only a few clicks.', 'powerpress'), __('Migrate Media', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_migrate.php', 'powerpress_admin_page_migrate');
|
2122 |
|
2123 |
+
add_submenu_page($parent_slug, __('PowerPress Audio Player Options', 'powerpress'), __('Audio Player', 'powerpress') . powerpressadmin_new(true, "margin-left: 10px;"), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_player.php', 'powerpress_admin_page_players');
|
2124 |
add_submenu_page($parent_slug, __('PowerPress Video Player Options', 'powerpress'), __('Video Player', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_videoplayer.php', 'powerpress_admin_page_videoplayers');
|
2125 |
if (!empty($Powerpress['channels']))
|
2126 |
add_submenu_page($parent_slug, __('PowerPress Custom Podcast Channels', 'powerpress'), __('Podcast Channels', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_customfeeds.php', 'powerpress_admin_page_customfeeds');
|
2389 |
$ToSerialize['feed_title'] = stripslashes(trim($Powerpress['feed_title']));
|
2390 |
if( !empty($Powerpress['category']) )
|
2391 |
$ToSerialize['category'] = stripslashes($Powerpress['category']);
|
2392 |
+
if( isset($Powerpress['transcript']['upload']) && $Powerpress['transcript']['upload'] ) {
|
2393 |
$ToSerialize['pci_transcript'] = 1;
|
2394 |
if (isset($Powerpress['pci_transcript_url']) && trim($Powerpress['pci_transcript_url']) != '') {
|
2395 |
$ToSerialize['pci_transcript_url'] = stripslashes($Powerpress['pci_transcript_url']);
|
2396 |
}
|
2397 |
+
if (isset($Powerpress['pci_transcript_language']) && trim($Powerpress['pci_transcript_language']) != '') {
|
2398 |
+
$ToSerialize['pci_transcript_language'] = stripslashes($Powerpress['pci_transcript_language']);
|
2399 |
+
}
|
2400 |
+
}
|
2401 |
+
if( isset($Powerpress['transcript']['generate']) && $Powerpress['transcript']['generate'] ) {
|
2402 |
+
$ToSerialize['pci_transcript'] = 1;
|
2403 |
+
if (isset($Powerpress['pci_transcript_language']) && trim($Powerpress['pci_transcript_language']) != '') {
|
2404 |
+
$ToSerialize['pci_transcript_language'] = stripslashes($Powerpress['pci_transcript_language']);
|
2405 |
+
}
|
2406 |
}
|
2407 |
if( isset($Powerpress['pci_chapters']) && $Powerpress['pci_chapters'] ) {
|
2408 |
$ToSerialize['pci_chapters'] = 1;
|
2696 |
if ( objAJAXRequest.responseText ) {
|
2697 |
errorMsg += ', '+ objAJAXRequest.responseText.replace( /<.[^<>]*?>/g, '' );
|
2698 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2699 |
}
|
2700 |
});
|
2701 |
}
|
2851 |
font-weight: bold;
|
2852 |
text-align: center;
|
2853 |
}
|
2854 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2855 |
</style>
|
2856 |
<script language="javascript"><!--
|
2857 |
|
4198 |
} else {
|
4199 |
$error = sprintf(__('Blubrry Hosting Error (media info): An error occurred publishing media %s.', 'powerpress'), $EnclosureURL);
|
4200 |
$error .= ' ';
|
4201 |
+
$rand_id = rand(100, 2000);
|
4202 |
$error .= '<a href="#" onclick="document.getElementById(\'powerpress_error_' . $rand_id . '\');this.style.display=\'none\';return false;">' . __('Display Error', 'powerpress') . '</a>';
|
|
|
4203 |
powerpress_add_error($error);
|
4204 |
}
|
4205 |
|
4265 |
}
|
4266 |
}
|
4267 |
// new transcript call here
|
4268 |
+
// only for hosting customers and Blubrry hosted media
|
4269 |
+
// transcript url is already saved; hosting call will replace it with a hosted version
|
4270 |
+
if (!empty($_POST['Powerpress'][$feed_slug]['transcript']['edit'])) {
|
4271 |
+
$blubrry_hosted_media = true;
|
4272 |
+
if (strpos($EnclosureURL, 'http://') !== false || strpos($EnclosureURL, 'https://') !== false) {
|
4273 |
+
$blubrry_hosted_media = false;
|
4274 |
+
if (strpos($EnclosureURL, 'content.blubrry.com') !== false) {
|
4275 |
+
$blubrry_hosted_media = true;
|
4276 |
+
}
|
4277 |
+
if (strpos($EnclosureURL, 'ins.blubrry.com') !== false) {
|
4278 |
+
$blubrry_hosted_media = true;
|
4279 |
+
}
|
4280 |
+
if (strpos($EnclosureURL, 'mc.blubrry.com') !== false) {
|
4281 |
+
$blubrry_hosted_media = true;
|
4282 |
+
}
|
4283 |
}
|
4284 |
+
if (!empty($Settings['blubrry_hosting']) && $blubrry_hosted_media) {
|
4285 |
+
$podcastId = false;
|
4286 |
+
if (!empty($results['podcast_id'])) {
|
4287 |
+
$EpisodeData['episode_id'] = $results['podcast_id'];
|
4288 |
+
$podcastId = $results['podcast_id'];
|
4289 |
+
} else {
|
4290 |
+
// try using one saved in the postmeta
|
4291 |
+
$postmeta = get_post_meta($post_ID, $field, true);
|
4292 |
+
if (!empty($postmeta['episode_id'])) {
|
4293 |
+
$podcastId = $postmeta['episode_id'];
|
4294 |
+
}
|
4295 |
+
}
|
4296 |
|
4297 |
+
if ($podcastId) {
|
4298 |
+
$podcastSearchAnd = "&podcast_id=" . intval($podcastId);
|
4299 |
+
} else {
|
4300 |
+
// pass in a media_url if we don't have a podcast id
|
4301 |
+
$podcastSearchAnd = "&media_url=" . urlencode($EnclosureURL);
|
4302 |
+
}
|
4303 |
|
4304 |
+
$EnclosureUrLArray = explode('/', $EnclosureURL);
|
4305 |
+
$EnclosureURLQS = end($EnclosureUrLArray);
|
4306 |
+
$EnclosureUrlQSArray = explode('?', $EnclosureURLQS);
|
4307 |
+
$EnclosureFilename = $EnclosureUrlQSArray[0];
|
4308 |
+
if ((!empty($_POST['Powerpress'][$feed_slug]['transcript']['generate']) || (!empty($_POST['Powerpress'][$feed_slug]['transcript']['upload']) && !empty($_POST['Powerpress'][$feed_slug]['pci_transcript_url'])))) {
|
4309 |
+
if (!empty($_POST['Powerpress'][$feed_slug]['pci_transcript_url']) && !empty($_POST['Powerpress'][$feed_slug]['transcript']['upload']))
|
4310 |
+
$podcastSearchAnd .= '&transcript_url=' . urlencode($_POST['Powerpress'][$feed_slug]['pci_transcript_url']);
|
4311 |
+
|
4312 |
+
if (!empty($_POST['Powerpress'][$feed_slug]['pci_transcript_language'])) {
|
4313 |
+
$podcastSearchAnd .= '&language=' . $_POST['Powerpress'][$feed_slug]['pci_transcript_language'];
|
4314 |
+
}
|
4315 |
+
if ($creds) {
|
4316 |
+
$accessToken = powerpress_getAccessToken();
|
4317 |
+
$req_url = sprintf('/2/media/%s/%s?format=json&transcript=true%s&cache=' . md5(rand(0, 999) . time()), urlencode($program_keyword), urlencode($EnclosureFilename), $podcastSearchAnd);
|
4318 |
+
$req_url .= (defined('POWERPRESS_BLUBRRY_API_QSA') ? '?' . POWERPRESS_BLUBRRY_API_QSA : '');
|
4319 |
+
$req_url .= (defined('POWERPRESS_PUBLISH_PROTECTED') ? '&protected=true' : '');
|
4320 |
+
$transcriptResults = $auth->api($accessToken, $req_url, false, false, 60 * 30);
|
4321 |
|
4322 |
+
} else {
|
4323 |
+
foreach ($api_url_array as $index => $api_url) {
|
4324 |
+
$req_url = sprintf('/media/%s/%s?format=json&transcript=true%s&cache=' . md5(rand(0, 999) . time()), urlencode($program_keyword), urlencode($EnclosureFilename), $podcastSearchAnd);
|
4325 |
+
$req_url .= (defined('POWERPRESS_BLUBRRY_API_QSA') ? '&' . POWERPRESS_BLUBRRY_API_QSA : '');
|
4326 |
+
$req_url .= (defined('POWERPRESS_PUBLISH_PROTECTED') ? '&protected=true' : '');
|
4327 |
+
$json_data = powerpress_remote_fopen(rtrim($api_url, '/') . $req_url, $Settings['blubrry_auth'], array(), 60 * 30); // give this up to 30 minutes, though 3 seocnds to 20 seconds is all one should need.
|
4328 |
+
if (!$json_data && $api_url == 'https://api.blubrry.com/') { // Let's force cURL and see if that helps...
|
4329 |
+
$json_data = powerpress_remote_fopen(rtrim($api_url, '/') . $req_url, $Settings['blubrry_auth'], array(), 60 * 30, false, true);
|
4330 |
+
}
|
4331 |
+
if ($json_data != false)
|
4332 |
+
break;
|
4333 |
+
}
|
4334 |
+
$transcriptResults = powerpress_json_decode($json_data);
|
4335 |
}
|
|
|
|
|
|
|
|
|
|
|
4336 |
|
4337 |
+
// Take the temp transcription file and add to the feed
|
4338 |
+
if (!empty($transcriptResults['temp_transcription_file'])) {
|
4339 |
+
$EpisodeData["pci_transcript_url"] = $transcriptResults['temp_transcription_file'];
|
4340 |
+
$EpisodeData["pci_transcript"] = 1;
|
4341 |
+
$EnclosureData = $EnclosureURL . "\n" . $EnclosureSize . "\n" . $EnclosureType . "\n" . serialize($EpisodeData);
|
4342 |
+
update_post_meta($post_ID, $field, $EnclosureData);
|
4343 |
+
}
|
4344 |
|
4345 |
+
// Check for transcription error
|
4346 |
+
if (!empty($transcriptResults['insufficient_transcription_storage'])) {
|
4347 |
+
$error = 'Your episode was published without a transcript because you have reached your transcription limit.
|
4348 |
+
Limits are calculated based on transcripts generated for your total media published/replaced for the month.';
|
4349 |
|
4350 |
+
// Once free trial is over, we will add:
|
4351 |
+
// To increase your transcription limit, upgrade to a hosting plan with more storage. <a href="">Change Plan</a>
|
|
|
4352 |
|
4353 |
+
$error = __($error, 'powerpress');
|
4354 |
+
powerpress_add_error($error);
|
4355 |
+
}
|
4356 |
+
|
4357 |
+
if (isset($transcriptResults['error'])) {
|
4358 |
+
powerpress_add_error(__('Error generating transcript: ', 'powerpress') . $transcriptResults['error']);
|
4359 |
+
} else if (empty($transcriptResults) || !is_array($transcriptResults) || empty($transcriptResults['temp_transcription_file'])) {
|
4360 |
+
powerpress_add_error(__('Error generating transcript', 'powerpress'));
|
4361 |
+
}
|
4362 |
|
4363 |
+
// check for notices from api call
|
4364 |
+
if (!empty($transcriptResults['message'])) {
|
4365 |
+
powerpress_add_error($transcriptResults['message']);
|
4366 |
+
}
|
|
|
|
|
4367 |
|
|
|
|
|
|
|
4368 |
}
|
4369 |
}
|
|
|
4370 |
}
|
|
|
4371 |
}
|
4372 |
if (empty($program_keyword)) {
|
4373 |
$program_keyword = (!empty($EpisodeData['program_keyword']) ? $EpisodeData['program_keyword'] : $Settings['blubrry_program_keyword'] );
|
5255 |
return $g_SupportUploads;
|
5256 |
}
|
5257 |
|
5258 |
+
function powerpressadmin_new($span = false, $additional_style='')
|
5259 |
{
|
5260 |
+
$style = 'color: #CC0000; font-weight: bold; background-color: white; padding: 2px; border-radius: 4px;';
|
5261 |
+
if( !empty($additional_style) )
|
5262 |
+
$style .= $additional_style;
|
5263 |
+
if ($span) {
|
5264 |
+
return '<span style="'.$style.'">'. __('New!', 'powerpress') .'</span>';
|
5265 |
+
}
|
5266 |
+
return '<sup style="'.$style.'">'. __('New!', 'powerpress') .'</sup>';
|
5267 |
}
|
5268 |
|
5269 |
function powerpressadmin_updated($updated_message)
|
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: 6.0
|
7 |
-
Stable tag: 9.3
|
8 |
Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
|
9 |
License: GPLv2 or later
|
10 |
|
@@ -186,6 +186,11 @@ If you are a fan of PowerPress, we would greatly appreciate it if you could take
|
|
186 |
|
187 |
== Changelog ==
|
188 |
|
|
|
|
|
|
|
|
|
|
|
189 |
= 9.3 =
|
190 |
* Released on 08/22/2022
|
191 |
* Support for transcripts thru Blubrry
|
4 |
Requires at least: 3.6
|
5 |
Requires PHP: 5.2
|
6 |
Tested up to: 6.0
|
7 |
+
Stable tag: 9.3.1
|
8 |
Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
|
9 |
License: GPLv2 or later
|
10 |
|
186 |
|
187 |
== Changelog ==
|
188 |
|
189 |
+
= 9.3.1 =
|
190 |
+
* Released on 09/07/2022
|
191 |
+
* Language selection for transcripts thru Blubrry
|
192 |
+
* Bugfix for transcripts
|
193 |
+
|
194 |
= 9.3 =
|
195 |
* Released on 08/22/2022
|
196 |
* Support for transcripts thru Blubrry
|
views/settings_tab_appearance.php
CHANGED
@@ -477,7 +477,7 @@ function powerpress_shortcode_settings($GeneralSettings, $FeedAttribs) {
|
|
477 |
|
478 |
|
479 |
|
480 |
-
<h1 class="pp-heading"><?php echo __('PowerPress Skip-to-Position in Player Shortcode', 'powerpress'); ?>
|
481 |
<div class="pp-shortcode-container">
|
482 |
<b><?php echo '<code class="pp-shortcode">[skipto time="TIME"]</code>'; ?></b>
|
483 |
</div>
|
477 |
|
478 |
|
479 |
|
480 |
+
<h1 class="pp-heading"><?php echo __('PowerPress Skip-to-Position in Player Shortcode', 'powerpress'); ?> </h1>
|
481 |
<div class="pp-shortcode-container">
|
482 |
<b><?php echo '<code class="pp-shortcode">[skipto time="TIME"]</code>'; ?></b>
|
483 |
</div>
|