From a475b73278ff3355f3a81dc014b568f14baea68a Mon Sep 17 00:00:00 2001 From: Jonny Harris Date: Mon, 11 Dec 2023 17:22:25 +0000 Subject: [PATCH 01/23] Change null to '' for better support with PHP 8.2 and WP 6.2+ --- includes/admin/class-bc-admin-menu.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/admin/class-bc-admin-menu.php b/includes/admin/class-bc-admin-menu.php index bff41251..1399b559 100644 --- a/includes/admin/class-bc-admin-menu.php +++ b/includes/admin/class-bc-admin-menu.php @@ -31,8 +31,8 @@ public function register_admin_menu() { add_submenu_page( 'brightcove', esc_html__( 'Brightcove Labels', 'brightcove' ), esc_html__( 'Labels', 'brightcove' ), 'manage_options', 'brightcove-labels', array( $this, 'render_labels_page' ) ); // These have no parent menu slug so they don't appear in the menu - add_submenu_page( null, esc_html__( 'Add Source', 'brightcove' ), esc_html__( 'Add Source', 'brightcove' ), 'manage_options', 'page-brightcove-edit-source', array( $this, 'render_edit_source_page' ) ); - add_submenu_page( null, esc_html__( 'Edit Label', 'brightcove' ), esc_html__( 'Edit Label', 'brightcove' ), 'manage_options', 'page-brightcove-edit-label', array( $this, 'render_edit_label_page' ) ); + add_submenu_page( '', esc_html__( 'Add Source', 'brightcove' ), esc_html__( 'Add Source', 'brightcove' ), 'manage_options', 'page-brightcove-edit-source', array( $this, 'render_edit_source_page' ) ); + add_submenu_page( '', esc_html__( 'Edit Label', 'brightcove' ), esc_html__( 'Edit Label', 'brightcove' ), 'manage_options', 'page-brightcove-edit-label', array( $this, 'render_edit_label_page' ) ); remove_submenu_page( 'brightcove', 'brightcove' ); } From 5cf2359ebe6b828a14884614771e550e647a823a Mon Sep 17 00:00:00 2001 From: "mohammed.razzaq" Date: Fri, 26 Jan 2024 14:08:52 +0530 Subject: [PATCH 02/23] Fix: Undefined array key sub_type --- includes/admin/api/class-bc-admin-media-api.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/includes/admin/api/class-bc-admin-media-api.php b/includes/admin/api/class-bc-admin-media-api.php index db2b7886..ad42d229 100644 --- a/includes/admin/api/class-bc-admin-media-api.php +++ b/includes/admin/api/class-bc-admin-media-api.php @@ -249,8 +249,9 @@ public function bc_ajax_update_video_or_playlist() { } elseif ( 'videos' === $_POST['type'] ) { $type_msg = 'video'; - if ( 'variant' === $_POST['sub_type'] ) { - $status = $this->videos->update_bc_video( $updated_data, sanitize_text_field( $_POST['sub_type'] ) ); + $sub_type = $_POST['sub_type'] ?? ''; + if ( 'variant' === $sub_type ) { + $status = $this->videos->update_bc_video( $updated_data, sanitize_text_field( $sub_type ) ); } else { $status = $this->videos->update_bc_video( $updated_data ); From 89b9aceb02a3168ada453d163a0c6861af6d539d Mon Sep 17 00:00:00 2001 From: "mohammed.razzaq" Date: Fri, 26 Jan 2024 14:47:32 +0530 Subject: [PATCH 03/23] Fix: Only variables should be passed by reference --- includes/admin/class-bc-admin-labels-page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/admin/class-bc-admin-labels-page.php b/includes/admin/class-bc-admin-labels-page.php index 395636e7..d95a38ae 100644 --- a/includes/admin/class-bc-admin-labels-page.php +++ b/includes/admin/class-bc-admin-labels-page.php @@ -52,7 +52,7 @@ public function render_edit_label_page() { - +

From 695a3a1e5db8a1adafbc3b7b2cfaa869c997ce99 Mon Sep 17 00:00:00 2001 From: Burhan Nasir Date: Mon, 29 Jan 2024 11:58:56 +0500 Subject: [PATCH 04/23] Don't trigger fetch:apiError if request is aborted (#368) --- assets/js/src/models/media-collection.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/js/src/models/media-collection.js b/assets/js/src/models/media-collection.js index c2a89a74..cebb5f3f 100644 --- a/assets/js/src/models/media-collection.js +++ b/assets/js/src/models/media-collection.js @@ -264,14 +264,14 @@ var MediaCollection = Backbone.Collection.extend({ return fallback.sync.apply(this, arguments); }, - fetchFail: function () { + fetchFail: function (response, textStatus) { if (this.pageNumber > 1) { this.pageNumber--; } wpbc.broadcast.trigger('fetch:finished'); wpbc.broadcast.trigger('spinner:off'); - wpbc.broadcast.trigger('fetch:apiError'); - if (status === 'abort') { + if (textStatus !== 'abort') { + wpbc.broadcast.trigger('fetch:apiError'); } }, From 638dc70dc19bbd2bf51d83cd1354a972ae1d8c24 Mon Sep 17 00:00:00 2001 From: "mohammed.razzaq" Date: Tue, 30 Jan 2024 16:11:00 +0530 Subject: [PATCH 05/23] Update code for PHP5 compatibility --- includes/admin/api/class-bc-admin-media-api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/admin/api/class-bc-admin-media-api.php b/includes/admin/api/class-bc-admin-media-api.php index ad42d229..6f9fbb42 100644 --- a/includes/admin/api/class-bc-admin-media-api.php +++ b/includes/admin/api/class-bc-admin-media-api.php @@ -249,9 +249,9 @@ public function bc_ajax_update_video_or_playlist() { } elseif ( 'videos' === $_POST['type'] ) { $type_msg = 'video'; - $sub_type = $_POST['sub_type'] ?? ''; + $sub_type = isset( $_POST['sub_type'] ) ? sanitize_text_field( $_POST['sub_type'] ) : ''; if ( 'variant' === $sub_type ) { - $status = $this->videos->update_bc_video( $updated_data, sanitize_text_field( $sub_type ) ); + $status = $this->videos->update_bc_video( $updated_data, $sub_type ); } else { $status = $this->videos->update_bc_video( $updated_data ); From 4bb58c18cb677e4af03346952c1d847cb2108340 Mon Sep 17 00:00:00 2001 From: "mohammed.razzaq" Date: Thu, 1 Feb 2024 19:02:02 +0530 Subject: [PATCH 06/23] Move playlist notice outside the controls bar and add check for other notices --- includes/admin/class-bc-templates.php | 65 ++++++++++++++++----------- 1 file changed, 40 insertions(+), 25 deletions(-) diff --git a/includes/admin/class-bc-templates.php b/includes/admin/class-bc-templates.php index 2210404b..46e3d437 100644 --- a/includes/admin/class-bc-templates.php +++ b/includes/admin/class-bc-templates.php @@ -21,11 +21,23 @@ public function __construct() { * Adds all templates for Backbone application */ public function add_templates() { - ?> + global $pagenow; ?> @@ -724,14 +724,14 @@ class="brightcove-datetime brightcove-end-date"
<# if ('preview' === data.detailsMode) { #> - + <# } else { #> <# if ( data.images && data.images.thumbnail && data.images.thumbnail.src ) { #> - - + + <# } else { #> - - + + <# } #> <# } #>
From b35126fe285127209a07f9dacbf8d857a6aa86de Mon Sep 17 00:00:00 2001 From: Burhan Nasir Date: Wed, 7 Feb 2024 17:55:19 +0500 Subject: [PATCH 08/23] Fix: Add support for special characters (#373) --- includes/class-bc-utility.php | 4 ++-- includes/sync/class-bc-videos.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/class-bc-utility.php b/includes/class-bc-utility.php index c195b8f4..d1261634 100644 --- a/includes/class-bc-utility.php +++ b/includes/class-bc-utility.php @@ -310,7 +310,7 @@ public static function sanitize_payload_args_recursive( $args ) { if ( is_array( $value ) ) { $args[ $index ] = self::sanitize_payload_args_recursive( $value ); } else { - $args[ $index ] = utf8_uri_encode( sanitize_text_field( $value ) ); + $args[ $index ] = sanitize_text_field( $value ); } } @@ -329,7 +329,7 @@ public static function sanitize_payload_item( $item ) { return self::sanitize_payload_args_recursive( $item ); } - return utf8_uri_encode( sanitize_text_field( $item ) ); + return sanitize_text_field( $item ); } /** diff --git a/includes/sync/class-bc-videos.php b/includes/sync/class-bc-videos.php index c74e413b..952f7673 100644 --- a/includes/sync/class-bc-videos.php +++ b/includes/sync/class-bc-videos.php @@ -54,7 +54,7 @@ public function update_bc_video( $sanitized_post_data, $subtype = false ) { $update_data = array(); if ( array_key_exists( 'name', $sanitized_post_data ) && '' !== $sanitized_post_data['name'] ) { - $update_data['name'] = utf8_uri_encode( sanitize_text_field( $sanitized_post_data['name'] ) ); + $update_data['name'] = BC_Utility::sanitize_payload_item( $sanitized_post_data['name'] ); } if ( array_key_exists( 'description', $sanitized_post_data ) && ! empty( $sanitized_post_data['description'] ) ) { From 9e68966126d13b224dda114e05e5c4c6e66acf66 Mon Sep 17 00:00:00 2001 From: Burhan Nasir Date: Tue, 13 Feb 2024 11:39:18 +0500 Subject: [PATCH 09/23] Fix: Don't show 'Label added' message if label data is empty (#374) --- includes/class-bc-labels.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/includes/class-bc-labels.php b/includes/class-bc-labels.php index be6fcc5d..d48197d0 100644 --- a/includes/class-bc-labels.php +++ b/includes/class-bc-labels.php @@ -137,8 +137,15 @@ public function add_label() { ) { $label_name = sanitize_text_field( $_POST['label-name'] ); $label_path = ! empty( $_POST['label-path'] ) ? $_POST['label-path'] : ''; - $this->cms_api->add_label( $label_name, $label_path ); - wp_safe_redirect( admin_url( 'admin.php?page=brightcove-labels&add_label=1&refresh_labels=1' ) ); + + $redirect_url = admin_url( 'admin.php?page=brightcove-labels&refresh_labels=1' ); + + if ( ! empty( $label_name ) || ! empty( $label_path ) ) { + $this->cms_api->add_label( $label_name, $label_path ); + $redirect_url = add_query_arg( 'add_label', '1', $redirect_url ); + } + + wp_safe_redirect( $redirect_url ); exit; } } From 2e1106b10817ea99dfb28d8e28be9665cd7d70dd Mon Sep 17 00:00:00 2001 From: "mohammed.razzaq" Date: Thu, 15 Feb 2024 16:54:42 +0530 Subject: [PATCH 10/23] Fix: Search box allignment --- assets/css/brightcove_video_connect.css | 1 + assets/css/brightcove_video_connect.min.css | 2 +- assets/scss/components/_modals.scss | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/css/brightcove_video_connect.css b/assets/css/brightcove_video_connect.css index de75655d..be929ffb 100644 --- a/assets/css/brightcove_video_connect.css +++ b/assets/css/brightcove_video_connect.css @@ -89,6 +89,7 @@ div.brightcove-uploader div.brightcove-messages .updated { .brightcove-modal .brightcove .media-toolbar-primary.search-form input[type=search] { float: left; + margin: 0; padding-bottom: 0px; width: 200px; } diff --git a/assets/css/brightcove_video_connect.min.css b/assets/css/brightcove_video_connect.min.css index 6c145fd0..c19003ed 100644 --- a/assets/css/brightcove_video_connect.min.css +++ b/assets/css/brightcove_video_connect.min.css @@ -1 +1 @@ -div.brightcove-messages{text-align:left;width:calc(100% - 4px)}div.brightcove-messages .updated{margin-left:0;margin-bottom:15px}div.brightcove-uploader div.brightcove-messages .updated{margin:20px 15px 2px}.brightcove-file-uploader{text-align:center}.brightcove-upload-queued-files{display:table;width:calc(100% - 20px);border:1px solid #ddd}.brightcove-pending-upload td{cursor:pointer}.brightcove-pending-upload td:first-child{width:35%}.brightcove-pending-upload td:nth-child(2){width:10%}.brightcove-pending-upload td:nth-child(3){width:20%}.brightcove-pending-upload td:nth-child(4){width:35%}.brightcove-pending-upload.selected{background-color:#35a3ca}.brightcove-pending-upload.selected td{color:#fff}.ingest-success{background-color:#00adff}.upload-success{color:#003148}.brightcove-pending-upload-details{width:30%;display:table-cell;padding:20px;background-color:#f3f3f3;text-align:left;vertical-align:top}.pending-uploads{display:table-cell;width:70%;text-align:left;vertical-align:top;background-color:#fff}.pending-uploads table.widefat{border:0}.pending-uploads .brightcove-start-upload{margin-left:10px;margin-bottom:10px}.brightcove-media .spinner,.brightcove-media-videos .spinner{float:none;margin:5px 0;vertical-align:top}.brightcove-modal .media-frame-content,.brightcove-modal .media-frame-router,.brightcove-modal .media-frame-title,.brightcove-modal .media-frame-toolbar{left:0}.brightcove-modal .brightcove-media{overflow:hidden}.brightcove-modal .brightcove .wp-filter{border:0;box-shadow:none;right:0;width:100%;margin:0}.brightcove-modal .brightcove .media-toolbar-secondary{padding:0;min-width:280px}.brightcove-modal .brightcove .media-toolbar-primary.search-form input[type=search]{float:left;padding-bottom:0;width:200px}.brightcove-modal .brightcove #media-search{float:left;margin-left:10px;margin-right:5px}.brightcove-modal .pending-uploads{width:calc(100% - 40px);display:block;margin:20px}.brightcove-modal .brightcove-upload-queued-files{border:0;width:100%}.brightcove-modal .brightcove.media-frame-content{padding:0 20px;width:100%}@media screen and (min-width:700px){.brightcove-modal .brightcove.media-frame-content{width:calc(100% - 390px)}}.brightcove-modal .brightcove.video-preview{margin-top:20px}.brightcove-modal .video-preview-frame .brightcove.media-frame-content{padding:20px;box-sizing:border-box;border-right:1px solid #ddd;transform:translate3d(0,0,0)}.brightcove-modal .video-preview-frame .brightcove.brightcove.media-frame-menu{padding-top:20px}@media screen and (max-width:900px){.media-frame:not(.hide-menu) .media-frame-menu{width:300px}}.brightcove.media-frame-menu .attachment-detail .playlist-details label.experiencelabel,.brightcove.media-frame-menu .attachment-detail .video-details label.experiencelabel,select.experienceplayer{width:100%}.bc-page-icon{padding-right:5px;padding-top:5px}.notice{margin:5px 20px 2px 0}.brightcove-media-videos .error{margin:5px 20px 10px 0;text-align:left}.brightcove-media.playlist,.brightcove.media-frame-content{border-bottom:none;border-right:1px solid #ddd;border-top:none;position:static;width:calc(100% - 370px);float:left;margin-right:30px;padding-right:20px}.brightcove-media.playlist .video-preview,.brightcove.media-frame-content .video-preview{padding-bottom:56.25%;position:relative}.brightcove-media.playlist .video-preview iframe,.brightcove.media-frame-content .video-preview iframe{height:100%;position:absolute;width:100%}.brightcove-media.playlist .brightcove-buttons,.brightcove.media-frame-content .brightcove-buttons{float:right;margin-top:20px}.brightcove-media.playlist.edit-view,.brightcove.media-frame-content.edit-view{width:calc(100% - 20px);border-right:none;height:auto}.brightcove-media.playlist .video-edit,.brightcove.media-frame-content .video-edit{max-width:721px;padding:5px}.brightcove-buttons .delete{color:#a00;padding-top:6px;display:inline-block}.brightcove-buttons .delete:hover{color:red}.brightcove.media-frame-router{position:relative;left:0;top:auto;height:auto}.brightcove.media-frame-router a.brightcove-toolbar{margin-left:1em}.brightcove.media-frame-menu{left:inherit;width:300px;position:relative;padding-top:0;left:auto;right:auto;top:auto;bottom:auto;float:left}.brightcove.media-frame-menu .brightcove-buttons::after{clear:both;content:"";display:table}.brightcove.media-frame-menu .more-actions{float:right}.brightcove.media-toolbar{padding:0}.brightcove.media-toolbar .wp-filter{padding:0 16px}.brightcove.media-toolbar .media-toolbar-secondary{margin:8px}@media screen and (max-width:780px){.brightcove.media-toolbar .brightcove.media-toolbar-secondary{margin:4px}}@media screen and (min-width:1500px){.brightcove-media.playlist .video-preview,.brightcove.media-frame-content .video-preview{padding-bottom:43.25%}}.brightcove .media-toolbar{position:relative;right:10px;width:calc(100% - 10px);height:auto}@media screen and (min-width:782px){.brightcove .media-toolbar{right:20px;width:calc(100% - 20px)}}.brightcove .media-toolbar-secondary{padding:12px 0;box-sizing:border-box}.wp-core-ui .brightcove.attachment{float:none}.wp-core-ui .brightcove.attachment.details:focus,.wp-core-ui .brightcove.attachment:focus,.wp-core-ui .selected.brightcove.attachment:focus{box-shadow:none}.brightcove.media-frame-content,.playlist-edit-container{background-color:transparent}.brightcove.media-frame-content .spinner,.playlist-edit-container .spinner{display:inline-block;margin:7px;visibility:visible}.brightcove.media-frame-content .spinner.hidden,.playlist-edit-container .spinner.hidden{visibility:hidden}.brightcove.media-frame-content .menu-visible .highlighted .thumbnail,.playlist-edit-container .menu-visible .highlighted .thumbnail{box-shadow:0 0 2px 5px #5b9dd9;outline:0}.brightcove.media-frame-content ul,.playlist-edit-container ul{text-align:justify}.brightcove.media-frame-content .attachment,.playlist-edit-container .attachment{display:inline-block;margin:0;vertical-align:top;word-wrap:break-word;padding:10px;width:100%}@media screen and (min-width:700px){.brightcove.media-frame-content .attachment,.playlist-edit-container .attachment{width:50%}}@media screen and (min-width:1000px){.brightcove.media-frame-content .attachment,.playlist-edit-container .attachment{width:33%}}@media screen and (min-width:1200px){.brightcove.media-frame-content .attachment,.playlist-edit-container .attachment{width:25%}}.brightcove.media-frame-content .attachment .attachment-preview,.playlist-edit-container .attachment .attachment-preview{background-color:transparent;box-shadow:none}.brightcove.media-frame-content .attachment .attachment-preview:before,.playlist-edit-container .attachment .attachment-preview:before{display:none}.brightcove.media-frame-content .attachment .thumbnail,.playlist-edit-container .attachment .thumbnail{overflow:hidden;position:relative;margin-bottom:10px}.brightcove.media-frame-content .attachment .thumbnail:after,.playlist-edit-container .attachment .thumbnail:after{display:none}.brightcove.media-frame-content .attachment .thumbnail img,.playlist-edit-container .attachment .thumbnail img{display:block;position:relative;width:100%;height:auto}.brightcove.media-frame-content .attachment .thumbnail .processing,.playlist-edit-container .attachment .thumbnail .processing{position:absolute;z-index:9999;top:0;left:0;width:100%;text-align:center;background:rgba(50,50,50,.7);color:#fff;font-size:12px;height:100%}.brightcove.media-frame-content .attachment .thumbnail .processing span,.playlist-edit-container .attachment .thumbnail .processing span{position:absolute;top:50%;margin-top:-9px;width:100%;left:0;text-align:center}.brightcove.media-frame-content .attachment .thumbnail .duration,.brightcove.media-frame-content .attachment .thumbnail .video-count,.playlist-edit-container .attachment .thumbnail .duration,.playlist-edit-container .attachment .thumbnail .video-count{background-color:#fff;bottom:0;padding:3px;position:absolute;right:0;width:auto;z-index:1000}.brightcove.media-frame-content .attachment .bc-info,.playlist-edit-container .attachment .bc-info{clear:both;display:block;height:auto;padding:1px;position:relative}.brightcove.media-frame-content .attachment .bc-info .bc-name,.playlist-edit-container .attachment .bc-info .bc-name{background-color:transparent;box-shadow:none!important;clear:both;display:inline;float:left;font-weight:700;height:auto;text-align:left!important;top:95px;word-break:break-word}.brightcove.media-frame-content .attachment .bc-info .bc-name div,.playlist-edit-container .attachment .bc-info .bc-name div{padding:0}.brightcove.media-frame-content .attachment .bc-info .bc-updated,.playlist-edit-container .attachment .bc-info .bc-updated{clear:both;color:#999;float:left;font-weight:400;height:100%}.brightcove.media-frame-content .attachment .media-actions,.playlist-edit-container .attachment .media-actions{clear:both;text-align:right}.brightcove.media-frame-content .attachment .media-actions .button,.playlist-edit-container .attachment .media-actions .button{margin-left:1em}@media screen and (min-width:700px){.brightcove.media-frame-content .attachment .media-actions,.playlist-edit-container .attachment .media-actions{display:none}}.brightcove.media-frame-content .brightcove-datetime-wrapper,.playlist-edit-container .brightcove-datetime-wrapper{display:-ms-flexbox;display:flex}.brightcove.media-frame-content .brightcove-datetime-colon,.playlist-edit-container .brightcove-datetime-colon{width:10px;min-width:auto;margin-right:0;font-size:14px}.brightcove.media-frame-content .schedule-end-date,.brightcove.media-frame-content .schedule-start-date,.playlist-edit-container .schedule-end-date,.playlist-edit-container .schedule-start-date{margin-right:calc(4% + 7px)}.brightcove.media-frame-menu{height:100%;box-sizing:border-box}.brightcove.media-frame-menu .attachment-detail .thumbnail{clear:both;position:relative}.brightcove.media-frame-menu .attachment-detail .thumbnail img{display:block;max-width:100%;height:auto}.brightcove.media-frame-menu .attachment-detail .thumbnail .processing{position:absolute;z-index:9999;top:0;left:0;width:100%;text-align:center;background:rgba(50,50,50,.7);color:#fff;font-size:12px;height:100%}.brightcove.media-frame-menu .attachment-detail .thumbnail .processing span{position:absolute;top:50%;margin-top:-6px;width:100%;left:0;text-align:center}.brightcove.media-frame-menu .attachment-detail .thumbnail .detail-duration,.brightcove.media-frame-menu .attachment-detail .thumbnail .detail-video-count{bottom:0;padding:0;position:absolute;right:0;z-index:1000}.brightcove.media-frame-menu .attachment-detail .thumbnail .detail-duration span,.brightcove.media-frame-menu .attachment-detail .thumbnail .detail-video-count span{background-color:#fff;float:right;padding:3px}.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info,.brightcove.media-frame-menu .attachment-detail .playlist-info,.brightcove.media-frame-menu .attachment-detail .video-info{margin:10px 0;overflow:hidden}.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .inpageexperiences-name,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .playlist-name,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .video-name,.brightcove.media-frame-menu .attachment-detail .playlist-info .inpageexperiences-name,.brightcove.media-frame-menu .attachment-detail .playlist-info .playlist-name,.brightcove.media-frame-menu .attachment-detail .playlist-info .video-name,.brightcove.media-frame-menu .attachment-detail .video-info .inpageexperiences-name,.brightcove.media-frame-menu .attachment-detail .video-info .playlist-name,.brightcove.media-frame-menu .attachment-detail .video-info .video-name{clear:both;float:left;font-size:130%;font-weight:700;margin:5px 0 10px 0;word-break:break-word}.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .bc-video-section,.brightcove.media-frame-menu .attachment-detail .playlist-info .bc-video-section,.brightcove.media-frame-menu .attachment-detail .video-info .bc-video-section{display:block;float:left;height:auto;margin-bottom:20px;width:100%}.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .brightcove-player,.brightcove.media-frame-menu .attachment-detail .playlist-info .brightcove-player,.brightcove.media-frame-menu .attachment-detail .video-info .brightcove-player{display:block;padding:3px 0}.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .account-name,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .created-date,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .playlist-id,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .playlist-type,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .updated-date,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .video-created,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .video-description,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .video-long-description,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .video-updated,.brightcove.media-frame-menu .attachment-detail .playlist-info .account-name,.brightcove.media-frame-menu .attachment-detail .playlist-info .created-date,.brightcove.media-frame-menu .attachment-detail .playlist-info .playlist-id,.brightcove.media-frame-menu .attachment-detail .playlist-info .playlist-type,.brightcove.media-frame-menu .attachment-detail .playlist-info .updated-date,.brightcove.media-frame-menu .attachment-detail .playlist-info .video-created,.brightcove.media-frame-menu .attachment-detail .playlist-info .video-description,.brightcove.media-frame-menu .attachment-detail .playlist-info .video-long-description,.brightcove.media-frame-menu .attachment-detail .playlist-info .video-updated,.brightcove.media-frame-menu .attachment-detail .video-info .account-name,.brightcove.media-frame-menu .attachment-detail .video-info .created-date,.brightcove.media-frame-menu .attachment-detail .video-info .playlist-id,.brightcove.media-frame-menu .attachment-detail .video-info .playlist-type,.brightcove.media-frame-menu .attachment-detail .video-info .updated-date,.brightcove.media-frame-menu .attachment-detail .video-info .video-created,.brightcove.media-frame-menu .attachment-detail .video-info .video-description,.brightcove.media-frame-menu .attachment-detail .video-info .video-long-description,.brightcove.media-frame-menu .attachment-detail .video-info .video-updated{clear:both;display:block;color:#999;float:left}.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .account-name .title,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .created-date .title,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .playlist-id .title,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .playlist-type .title,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .updated-date .title,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .video-created .title,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .video-description .title,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .video-long-description .title,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .video-updated .title,.brightcove.media-frame-menu .attachment-detail .playlist-info .account-name .title,.brightcove.media-frame-menu .attachment-detail .playlist-info .created-date .title,.brightcove.media-frame-menu .attachment-detail .playlist-info .playlist-id .title,.brightcove.media-frame-menu .attachment-detail .playlist-info .playlist-type .title,.brightcove.media-frame-menu .attachment-detail .playlist-info .updated-date .title,.brightcove.media-frame-menu .attachment-detail .playlist-info .video-created .title,.brightcove.media-frame-menu .attachment-detail .playlist-info .video-description .title,.brightcove.media-frame-menu .attachment-detail .playlist-info .video-long-description .title,.brightcove.media-frame-menu .attachment-detail .playlist-info .video-updated .title,.brightcove.media-frame-menu .attachment-detail .video-info .account-name .title,.brightcove.media-frame-menu .attachment-detail .video-info .created-date .title,.brightcove.media-frame-menu .attachment-detail .video-info .playlist-id .title,.brightcove.media-frame-menu .attachment-detail .video-info .playlist-type .title,.brightcove.media-frame-menu .attachment-detail .video-info .updated-date .title,.brightcove.media-frame-menu .attachment-detail .video-info .video-created .title,.brightcove.media-frame-menu .attachment-detail .video-info .video-description .title,.brightcove.media-frame-menu .attachment-detail .video-info .video-long-description .title,.brightcove.media-frame-menu .attachment-detail .video-info .video-updated .title{margin-right:5px}.brightcove.media-frame-menu .attachment-detail .inpageexperiences-details .left-col,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-details label,.brightcove.media-frame-menu .attachment-detail .playlist-details .left-col,.brightcove.media-frame-menu .attachment-detail .playlist-details label,.brightcove.media-frame-menu .attachment-detail .video-details .left-col,.brightcove.media-frame-menu .attachment-detail .video-details label{display:inline-block;float:left;clear:left;width:100px;padding-top:5px}.brightcove.media-frame-menu .attachment-detail .inpageexperiences-details .right-col,.brightcove.media-frame-menu .attachment-detail .playlist-details .right-col,.brightcove.media-frame-menu .attachment-detail .video-details .right-col{display:inline-block;float:left;padding-top:5px}.brightcove.media-frame-menu .attachment-detail .inpageexperiences-details .clear,.brightcove.media-frame-menu .attachment-detail .playlist-details .clear,.brightcove.media-frame-menu .attachment-detail .video-details .clear{clear:both}.brightcove.media-frame-menu .attachment-detail .inpageexperiences-details input[type=number],.brightcove.media-frame-menu .attachment-detail .playlist-details input[type=number],.brightcove.media-frame-menu .attachment-detail .video-details input[type=number]{width:20%}.brightcove.media-frame-menu .attachment-detail .inpageexperiences-details input[type=checkbox],.brightcove.media-frame-menu .attachment-detail .playlist-details input[type=checkbox],.brightcove.media-frame-menu .attachment-detail .video-details input[type=checkbox]{margin-left:10px}.brightcove.media-frame-menu .attachment-detail .inpageexperiences-details textarea,.brightcove.media-frame-menu .attachment-detail .playlist-details textarea,.brightcove.media-frame-menu .attachment-detail .video-details textarea{margin-top:10px;width:100%}.brightcove.media-frame-menu .attachment-detail .inpageexperiences-details #custom,.brightcove.media-frame-menu .attachment-detail .playlist-details #custom,.brightcove.media-frame-menu .attachment-detail .video-details #custom{display:none}@media screen and (max-width:700px){.brightcove.media-frame-content{border-right-width:0;margin-right:0;padding-right:0;width:auto}}@media screen and (max-width:412px){.brightcove.media-frame-content .attachment{padding:20px 10px}}.brightcove.video-edit .image-preview,.brightcove.video-edit .setting{margin-bottom:8px}.brightcove.video-edit .image-preview .description,.brightcove.video-edit .setting .description{margin-left:0}@media screen and (min-width:900px){.brightcove.video-edit .image-preview .description,.brightcove.video-edit .setting .description{margin-left:252px}}.brightcove.video-edit .setting-content,.brightcove.video-edit select{margin-left:7px}.brightcove.video-edit .setting-content{float:left;width:64%}.brightcove.video-edit .setting-content .button-secondary{clear:left;display:inline-block}.brightcove.video-edit .attachment{cursor:pointer;padding:8px 0 0;width:auto}.brightcove.video-edit .attachment.active{display:block;max-width:100%}.brightcove.video-edit .attachment.active .check{display:block;top:9px}.brightcove.video-edit .attachment.active .button{display:none}.brightcove.video-edit .attachment img{height:auto;max-width:100%}.brightcove.video-edit .action-row{clear:both}.brightcove.video-edit .action-row .delete{color:#a00;display:inline-block;padding-top:6px}.brightcove.video-edit .label-repeater.empty-row{display:none}.brightcove.video-edit .caption-url,.brightcove.video-edit button.-captions{float:left}.brightcove.video-edit button.-captions{margin-right:1em}.brightcove.video-edit .caption-url{color:#666;line-height:28px}.brightcove.video-edit .add-remote-caption{line-height:28px}.brightcove.video-edit .caption-repeater{box-sizing:border-box;-moz-box-sizing:border-box;border-bottom:1px solid #d5d5d5;clear:both;padding:1em 0;width:100%}.brightcove.video-edit .caption-repeater:last-child{border-bottom:0}.brightcove.video-edit .caption-repeater.empty-row{display:none}.brightcove.video-edit .caption-repeater.active{display:block}.brightcove.video-edit input.brightcove-captions{clear:both;margin-bottom:.75em;width:100%}.brightcove.video-edit input.brightcove-labels{clear:both;margin-top:.7em;margin-bottom:.2em;width:100%}.brightcove.video-edit .caption-secondary-fields{clear:both}.brightcove.video-edit .caption-secondary-fields:after,.brightcove.video-edit .caption-secondary-fields:before{content:" ";display:table}.brightcove.video-edit .caption-secondary-fields:after{clear:both}.brightcove.video-edit .caption-secondary-fields label{box-sizing:border-box;display:block;float:left;width:50%;margin-bottom:3px}.brightcove.video-edit .caption-secondary-fields label:after,.brightcove.video-edit .caption-secondary-fields label:before{content:" ";display:table}.brightcove.video-edit .caption-secondary-fields label:after{clear:both}.brightcove.video-edit .caption-secondary-fields label:first-child{padding-right:1em}.brightcove.video-edit .caption-secondary-fields label input[type=text],.brightcove.video-edit .caption-secondary-fields label select,.brightcove.video-edit .caption-secondary-fields label span{margin:0;min-width:100%;text-align:left;width:100%}.brightcove.video-edit .caption-secondary-fields label input[type=checkbox]{margin:auto}.playlist-edit.brightcove.attachment-details{width:100%;height:auto;margin-right:0;float:none;overflow:hidden;padding:20px;box-sizing:border-box}.playlist-edit.brightcove.attachment-details .settings{max-width:50%;margin-bottom:20px}.playlist-edit.brightcove.attachment-details .playlist-name{font-weight:700}.playlist-edit.brightcove.attachment-details .playlist-name span{display:inline-block;margin-right:20px;margin-left:10px}.playlist-edit.brightcove.attachment-details .playlist-name input{width:65%}.playlist-edit.brightcove.attachment-details .playlist-videos-list{border-right:1px solid #ddd;clear:both}.playlist-edit.brightcove.attachment-details .playlist-add-videos-list,.playlist-edit.brightcove.attachment-details .playlist-videos-list{width:50%;float:left;box-sizing:border-box}.playlist-edit.brightcove.attachment-details .playlist-add-videos-list h2,.playlist-edit.brightcove.attachment-details .playlist-videos-list h2{margin-bottom:0;padding-bottom:10px;padding-left:10px;border-bottom:1px solid #ddd}.playlist-edit.brightcove.attachment-details .playlist-add-videos-list ul,.playlist-edit.brightcove.attachment-details .playlist-videos-list ul{height:450px;overflow:auto}.playlist-edit.brightcove.attachment-details .playlist-add-videos-list .attachment,.playlist-edit.brightcove.attachment-details .playlist-videos-list .attachment{width:100%!important}.playlist-edit.brightcove.attachment-details .playlist-add-videos-list .thumbnail,.playlist-edit.brightcove.attachment-details .playlist-videos-list .thumbnail{width:162px;float:left}.playlist-edit.brightcove.attachment-details .playlist-add-videos-list .bc-info,.playlist-edit.brightcove.attachment-details .playlist-videos-list .bc-info{clear:none;float:left;margin-left:10px}.playlist-edit.brightcove.attachment-details .playlist-add-videos-list .row-actions,.playlist-edit.brightcove.attachment-details .playlist-videos-list .row-actions{visibility:visible;clear:both;display:block;text-align:left;position:relative;left:auto}.brightcove-labels-column{padding:8px} \ No newline at end of file +div.brightcove-messages{text-align:left;width:calc(100% - 4px)}div.brightcove-messages .updated{margin-left:0;margin-bottom:15px}div.brightcove-uploader div.brightcove-messages .updated{margin:20px 15px 2px}.brightcove-file-uploader{text-align:center}.brightcove-upload-queued-files{display:table;width:calc(100% - 20px);border:1px solid #ddd}.brightcove-pending-upload td{cursor:pointer}.brightcove-pending-upload td:first-child{width:35%}.brightcove-pending-upload td:nth-child(2){width:10%}.brightcove-pending-upload td:nth-child(3){width:20%}.brightcove-pending-upload td:nth-child(4){width:35%}.brightcove-pending-upload.selected{background-color:#35a3ca}.brightcove-pending-upload.selected td{color:#fff}.ingest-success{background-color:#00adff}.upload-success{color:#003148}.brightcove-pending-upload-details{width:30%;display:table-cell;padding:20px;background-color:#f3f3f3;text-align:left;vertical-align:top}.pending-uploads{display:table-cell;width:70%;text-align:left;vertical-align:top;background-color:#fff}.pending-uploads table.widefat{border:0}.pending-uploads .brightcove-start-upload{margin-left:10px;margin-bottom:10px}.brightcove-media .spinner,.brightcove-media-videos .spinner{float:none;margin:5px 0;vertical-align:top}.brightcove-modal .media-frame-content,.brightcove-modal .media-frame-router,.brightcove-modal .media-frame-title,.brightcove-modal .media-frame-toolbar{left:0}.brightcove-modal .brightcove-media{overflow:hidden}.brightcove-modal .brightcove .wp-filter{border:0;box-shadow:none;right:0;width:100%;margin:0}.brightcove-modal .brightcove .media-toolbar-secondary{padding:0;min-width:280px}.brightcove-modal .brightcove .media-toolbar-primary.search-form input[type=search]{float:left;margin:0;padding-bottom:0;width:200px}.brightcove-modal .brightcove #media-search{float:left;margin-left:10px;margin-right:5px}.brightcove-modal .pending-uploads{width:calc(100% - 40px);display:block;margin:20px}.brightcove-modal .brightcove-upload-queued-files{border:0;width:100%}.brightcove-modal .brightcove.media-frame-content{padding:0 20px;width:100%}@media screen and (min-width:700px){.brightcove-modal .brightcove.media-frame-content{width:calc(100% - 390px)}}.brightcove-modal .brightcove.video-preview{margin-top:20px}.brightcove-modal .video-preview-frame .brightcove.media-frame-content{padding:20px;box-sizing:border-box;border-right:1px solid #ddd;transform:translate3d(0,0,0)}.brightcove-modal .video-preview-frame .brightcove.brightcove.media-frame-menu{padding-top:20px}@media screen and (max-width:900px){.media-frame:not(.hide-menu) .media-frame-menu{width:300px}}.brightcove.media-frame-menu .attachment-detail .playlist-details label.experiencelabel,.brightcove.media-frame-menu .attachment-detail .video-details label.experiencelabel,select.experienceplayer{width:100%}.bc-page-icon{padding-right:5px;padding-top:5px}.notice{margin:5px 20px 2px 0}.brightcove-media-videos .error{margin:5px 20px 10px 0;text-align:left}.brightcove-media.playlist,.brightcove.media-frame-content{border-bottom:none;border-right:1px solid #ddd;border-top:none;position:static;width:calc(100% - 370px);float:left;margin-right:30px;padding-right:20px}.brightcove-media.playlist .video-preview,.brightcove.media-frame-content .video-preview{padding-bottom:56.25%;position:relative}.brightcove-media.playlist .video-preview iframe,.brightcove.media-frame-content .video-preview iframe{height:100%;position:absolute;width:100%}.brightcove-media.playlist .brightcove-buttons,.brightcove.media-frame-content .brightcove-buttons{float:right;margin-top:20px}.brightcove-media.playlist.edit-view,.brightcove.media-frame-content.edit-view{width:calc(100% - 20px);border-right:none;height:auto}.brightcove-media.playlist .video-edit,.brightcove.media-frame-content .video-edit{max-width:721px;padding:5px}.brightcove-buttons .delete{color:#a00;padding-top:6px;display:inline-block}.brightcove-buttons .delete:hover{color:red}.brightcove.media-frame-router{position:relative;left:0;top:auto;height:auto}.brightcove.media-frame-router a.brightcove-toolbar{margin-left:1em}.brightcove.media-frame-menu{left:inherit;width:300px;position:relative;padding-top:0;left:auto;right:auto;top:auto;bottom:auto;float:left}.brightcove.media-frame-menu .brightcove-buttons::after{clear:both;content:"";display:table}.brightcove.media-frame-menu .more-actions{float:right}.brightcove.media-toolbar{padding:0}.brightcove.media-toolbar .wp-filter{padding:0 16px}.brightcove.media-toolbar .media-toolbar-secondary{margin:8px}@media screen and (max-width:780px){.brightcove.media-toolbar .brightcove.media-toolbar-secondary{margin:4px}}@media screen and (min-width:1500px){.brightcove-media.playlist .video-preview,.brightcove.media-frame-content .video-preview{padding-bottom:43.25%}}.brightcove .media-toolbar{position:relative;right:10px;width:calc(100% - 10px);height:auto}@media screen and (min-width:782px){.brightcove .media-toolbar{right:20px;width:calc(100% - 20px)}}.brightcove .media-toolbar-secondary{padding:12px 0;box-sizing:border-box}.wp-core-ui .brightcove.attachment{float:none}.wp-core-ui .brightcove.attachment.details:focus,.wp-core-ui .brightcove.attachment:focus,.wp-core-ui .selected.brightcove.attachment:focus{box-shadow:none}.brightcove.media-frame-content,.playlist-edit-container{background-color:transparent}.brightcove.media-frame-content .spinner,.playlist-edit-container .spinner{display:inline-block;margin:7px;visibility:visible}.brightcove.media-frame-content .spinner.hidden,.playlist-edit-container .spinner.hidden{visibility:hidden}.brightcove.media-frame-content .menu-visible .highlighted .thumbnail,.playlist-edit-container .menu-visible .highlighted .thumbnail{box-shadow:0 0 2px 5px #5b9dd9;outline:0}.brightcove.media-frame-content ul,.playlist-edit-container ul{text-align:justify}.brightcove.media-frame-content .attachment,.playlist-edit-container .attachment{display:inline-block;margin:0;vertical-align:top;word-wrap:break-word;padding:10px;width:100%}@media screen and (min-width:700px){.brightcove.media-frame-content .attachment,.playlist-edit-container .attachment{width:50%}}@media screen and (min-width:1000px){.brightcove.media-frame-content .attachment,.playlist-edit-container .attachment{width:33%}}@media screen and (min-width:1200px){.brightcove.media-frame-content .attachment,.playlist-edit-container .attachment{width:25%}}.brightcove.media-frame-content .attachment .attachment-preview,.playlist-edit-container .attachment .attachment-preview{background-color:transparent;box-shadow:none}.brightcove.media-frame-content .attachment .attachment-preview:before,.playlist-edit-container .attachment .attachment-preview:before{display:none}.brightcove.media-frame-content .attachment .thumbnail,.playlist-edit-container .attachment .thumbnail{overflow:hidden;position:relative;margin-bottom:10px}.brightcove.media-frame-content .attachment .thumbnail:after,.playlist-edit-container .attachment .thumbnail:after{display:none}.brightcove.media-frame-content .attachment .thumbnail img,.playlist-edit-container .attachment .thumbnail img{display:block;position:relative;width:100%;height:auto}.brightcove.media-frame-content .attachment .thumbnail .processing,.playlist-edit-container .attachment .thumbnail .processing{position:absolute;z-index:9999;top:0;left:0;width:100%;text-align:center;background:rgba(50,50,50,.7);color:#fff;font-size:12px;height:100%}.brightcove.media-frame-content .attachment .thumbnail .processing span,.playlist-edit-container .attachment .thumbnail .processing span{position:absolute;top:50%;margin-top:-9px;width:100%;left:0;text-align:center}.brightcove.media-frame-content .attachment .thumbnail .duration,.brightcove.media-frame-content .attachment .thumbnail .video-count,.playlist-edit-container .attachment .thumbnail .duration,.playlist-edit-container .attachment .thumbnail .video-count{background-color:#fff;bottom:0;padding:3px;position:absolute;right:0;width:auto;z-index:1000}.brightcove.media-frame-content .attachment .bc-info,.playlist-edit-container .attachment .bc-info{clear:both;display:block;height:auto;padding:1px;position:relative}.brightcove.media-frame-content .attachment .bc-info .bc-name,.playlist-edit-container .attachment .bc-info .bc-name{background-color:transparent;box-shadow:none!important;clear:both;display:inline;float:left;font-weight:700;height:auto;text-align:left!important;top:95px;word-break:break-word}.brightcove.media-frame-content .attachment .bc-info .bc-name div,.playlist-edit-container .attachment .bc-info .bc-name div{padding:0}.brightcove.media-frame-content .attachment .bc-info .bc-updated,.playlist-edit-container .attachment .bc-info .bc-updated{clear:both;color:#999;float:left;font-weight:400;height:100%}.brightcove.media-frame-content .attachment .media-actions,.playlist-edit-container .attachment .media-actions{clear:both;text-align:right}.brightcove.media-frame-content .attachment .media-actions .button,.playlist-edit-container .attachment .media-actions .button{margin-left:1em}@media screen and (min-width:700px){.brightcove.media-frame-content .attachment .media-actions,.playlist-edit-container .attachment .media-actions{display:none}}.brightcove.media-frame-content .brightcove-datetime-wrapper,.playlist-edit-container .brightcove-datetime-wrapper{display:-ms-flexbox;display:flex}.brightcove.media-frame-content .brightcove-datetime-colon,.playlist-edit-container .brightcove-datetime-colon{width:10px;min-width:auto;margin-right:0;font-size:14px}.brightcove.media-frame-content .schedule-end-date,.brightcove.media-frame-content .schedule-start-date,.playlist-edit-container .schedule-end-date,.playlist-edit-container .schedule-start-date{margin-right:calc(4% + 7px)}.brightcove.media-frame-menu{height:100%;box-sizing:border-box}.brightcove.media-frame-menu .attachment-detail .thumbnail{clear:both;position:relative}.brightcove.media-frame-menu .attachment-detail .thumbnail img{display:block;max-width:100%;height:auto}.brightcove.media-frame-menu .attachment-detail .thumbnail .processing{position:absolute;z-index:9999;top:0;left:0;width:100%;text-align:center;background:rgba(50,50,50,.7);color:#fff;font-size:12px;height:100%}.brightcove.media-frame-menu .attachment-detail .thumbnail .processing span{position:absolute;top:50%;margin-top:-6px;width:100%;left:0;text-align:center}.brightcove.media-frame-menu .attachment-detail .thumbnail .detail-duration,.brightcove.media-frame-menu .attachment-detail .thumbnail .detail-video-count{bottom:0;padding:0;position:absolute;right:0;z-index:1000}.brightcove.media-frame-menu .attachment-detail .thumbnail .detail-duration span,.brightcove.media-frame-menu .attachment-detail .thumbnail .detail-video-count span{background-color:#fff;float:right;padding:3px}.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info,.brightcove.media-frame-menu .attachment-detail .playlist-info,.brightcove.media-frame-menu .attachment-detail .video-info{margin:10px 0;overflow:hidden}.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .inpageexperiences-name,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .playlist-name,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .video-name,.brightcove.media-frame-menu .attachment-detail .playlist-info .inpageexperiences-name,.brightcove.media-frame-menu .attachment-detail .playlist-info .playlist-name,.brightcove.media-frame-menu .attachment-detail .playlist-info .video-name,.brightcove.media-frame-menu .attachment-detail .video-info .inpageexperiences-name,.brightcove.media-frame-menu .attachment-detail .video-info .playlist-name,.brightcove.media-frame-menu .attachment-detail .video-info .video-name{clear:both;float:left;font-size:130%;font-weight:700;margin:5px 0 10px 0;word-break:break-word}.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .bc-video-section,.brightcove.media-frame-menu .attachment-detail .playlist-info .bc-video-section,.brightcove.media-frame-menu .attachment-detail .video-info .bc-video-section{display:block;float:left;height:auto;margin-bottom:20px;width:100%}.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .brightcove-player,.brightcove.media-frame-menu .attachment-detail .playlist-info .brightcove-player,.brightcove.media-frame-menu .attachment-detail .video-info .brightcove-player{display:block;padding:3px 0}.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .account-name,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .created-date,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .playlist-id,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .playlist-type,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .updated-date,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .video-created,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .video-description,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .video-long-description,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .video-updated,.brightcove.media-frame-menu .attachment-detail .playlist-info .account-name,.brightcove.media-frame-menu .attachment-detail .playlist-info .created-date,.brightcove.media-frame-menu .attachment-detail .playlist-info .playlist-id,.brightcove.media-frame-menu .attachment-detail .playlist-info .playlist-type,.brightcove.media-frame-menu .attachment-detail .playlist-info .updated-date,.brightcove.media-frame-menu .attachment-detail .playlist-info .video-created,.brightcove.media-frame-menu .attachment-detail .playlist-info .video-description,.brightcove.media-frame-menu .attachment-detail .playlist-info .video-long-description,.brightcove.media-frame-menu .attachment-detail .playlist-info .video-updated,.brightcove.media-frame-menu .attachment-detail .video-info .account-name,.brightcove.media-frame-menu .attachment-detail .video-info .created-date,.brightcove.media-frame-menu .attachment-detail .video-info .playlist-id,.brightcove.media-frame-menu .attachment-detail .video-info .playlist-type,.brightcove.media-frame-menu .attachment-detail .video-info .updated-date,.brightcove.media-frame-menu .attachment-detail .video-info .video-created,.brightcove.media-frame-menu .attachment-detail .video-info .video-description,.brightcove.media-frame-menu .attachment-detail .video-info .video-long-description,.brightcove.media-frame-menu .attachment-detail .video-info .video-updated{clear:both;display:block;color:#999;float:left}.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .account-name .title,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .created-date .title,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .playlist-id .title,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .playlist-type .title,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .updated-date .title,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .video-created .title,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .video-description .title,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .video-long-description .title,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-info .video-updated .title,.brightcove.media-frame-menu .attachment-detail .playlist-info .account-name .title,.brightcove.media-frame-menu .attachment-detail .playlist-info .created-date .title,.brightcove.media-frame-menu .attachment-detail .playlist-info .playlist-id .title,.brightcove.media-frame-menu .attachment-detail .playlist-info .playlist-type .title,.brightcove.media-frame-menu .attachment-detail .playlist-info .updated-date .title,.brightcove.media-frame-menu .attachment-detail .playlist-info .video-created .title,.brightcove.media-frame-menu .attachment-detail .playlist-info .video-description .title,.brightcove.media-frame-menu .attachment-detail .playlist-info .video-long-description .title,.brightcove.media-frame-menu .attachment-detail .playlist-info .video-updated .title,.brightcove.media-frame-menu .attachment-detail .video-info .account-name .title,.brightcove.media-frame-menu .attachment-detail .video-info .created-date .title,.brightcove.media-frame-menu .attachment-detail .video-info .playlist-id .title,.brightcove.media-frame-menu .attachment-detail .video-info .playlist-type .title,.brightcove.media-frame-menu .attachment-detail .video-info .updated-date .title,.brightcove.media-frame-menu .attachment-detail .video-info .video-created .title,.brightcove.media-frame-menu .attachment-detail .video-info .video-description .title,.brightcove.media-frame-menu .attachment-detail .video-info .video-long-description .title,.brightcove.media-frame-menu .attachment-detail .video-info .video-updated .title{margin-right:5px}.brightcove.media-frame-menu .attachment-detail .inpageexperiences-details .left-col,.brightcove.media-frame-menu .attachment-detail .inpageexperiences-details label,.brightcove.media-frame-menu .attachment-detail .playlist-details .left-col,.brightcove.media-frame-menu .attachment-detail .playlist-details label,.brightcove.media-frame-menu .attachment-detail .video-details .left-col,.brightcove.media-frame-menu .attachment-detail .video-details label{display:inline-block;float:left;clear:left;width:100px;padding-top:5px}.brightcove.media-frame-menu .attachment-detail .inpageexperiences-details .right-col,.brightcove.media-frame-menu .attachment-detail .playlist-details .right-col,.brightcove.media-frame-menu .attachment-detail .video-details .right-col{display:inline-block;float:left;padding-top:5px}.brightcove.media-frame-menu .attachment-detail .inpageexperiences-details .clear,.brightcove.media-frame-menu .attachment-detail .playlist-details .clear,.brightcove.media-frame-menu .attachment-detail .video-details .clear{clear:both}.brightcove.media-frame-menu .attachment-detail .inpageexperiences-details input[type=number],.brightcove.media-frame-menu .attachment-detail .playlist-details input[type=number],.brightcove.media-frame-menu .attachment-detail .video-details input[type=number]{width:20%}.brightcove.media-frame-menu .attachment-detail .inpageexperiences-details input[type=checkbox],.brightcove.media-frame-menu .attachment-detail .playlist-details input[type=checkbox],.brightcove.media-frame-menu .attachment-detail .video-details input[type=checkbox]{margin-left:10px}.brightcove.media-frame-menu .attachment-detail .inpageexperiences-details textarea,.brightcove.media-frame-menu .attachment-detail .playlist-details textarea,.brightcove.media-frame-menu .attachment-detail .video-details textarea{margin-top:10px;width:100%}.brightcove.media-frame-menu .attachment-detail .inpageexperiences-details #custom,.brightcove.media-frame-menu .attachment-detail .playlist-details #custom,.brightcove.media-frame-menu .attachment-detail .video-details #custom{display:none}@media screen and (max-width:700px){.brightcove.media-frame-content{border-right-width:0;margin-right:0;padding-right:0;width:auto}}@media screen and (max-width:412px){.brightcove.media-frame-content .attachment{padding:20px 10px}}.brightcove.video-edit .image-preview,.brightcove.video-edit .setting{margin-bottom:8px}.brightcove.video-edit .image-preview .description,.brightcove.video-edit .setting .description{margin-left:0}@media screen and (min-width:900px){.brightcove.video-edit .image-preview .description,.brightcove.video-edit .setting .description{margin-left:252px}}.brightcove.video-edit .setting-content,.brightcove.video-edit select{margin-left:7px}.brightcove.video-edit .setting-content{float:left;width:64%}.brightcove.video-edit .setting-content .button-secondary{clear:left;display:inline-block}.brightcove.video-edit .attachment{cursor:pointer;padding:8px 0 0;width:auto}.brightcove.video-edit .attachment.active{display:block;max-width:100%}.brightcove.video-edit .attachment.active .check{display:block;top:9px}.brightcove.video-edit .attachment.active .button{display:none}.brightcove.video-edit .attachment img{height:auto;max-width:100%}.brightcove.video-edit .action-row{clear:both}.brightcove.video-edit .action-row .delete{color:#a00;display:inline-block;padding-top:6px}.brightcove.video-edit .label-repeater.empty-row{display:none}.brightcove.video-edit .caption-url,.brightcove.video-edit button.-captions{float:left}.brightcove.video-edit button.-captions{margin-right:1em}.brightcove.video-edit .caption-url{color:#666;line-height:28px}.brightcove.video-edit .add-remote-caption{line-height:28px}.brightcove.video-edit .caption-repeater{box-sizing:border-box;-moz-box-sizing:border-box;border-bottom:1px solid #d5d5d5;clear:both;padding:1em 0;width:100%}.brightcove.video-edit .caption-repeater:last-child{border-bottom:0}.brightcove.video-edit .caption-repeater.empty-row{display:none}.brightcove.video-edit .caption-repeater.active{display:block}.brightcove.video-edit input.brightcove-captions{clear:both;margin-bottom:.75em;width:100%}.brightcove.video-edit input.brightcove-labels{clear:both;margin-top:.7em;margin-bottom:.2em;width:100%}.brightcove.video-edit .caption-secondary-fields{clear:both}.brightcove.video-edit .caption-secondary-fields:after,.brightcove.video-edit .caption-secondary-fields:before{content:" ";display:table}.brightcove.video-edit .caption-secondary-fields:after{clear:both}.brightcove.video-edit .caption-secondary-fields label{box-sizing:border-box;display:block;float:left;width:50%;margin-bottom:3px}.brightcove.video-edit .caption-secondary-fields label:after,.brightcove.video-edit .caption-secondary-fields label:before{content:" ";display:table}.brightcove.video-edit .caption-secondary-fields label:after{clear:both}.brightcove.video-edit .caption-secondary-fields label:first-child{padding-right:1em}.brightcove.video-edit .caption-secondary-fields label input[type=text],.brightcove.video-edit .caption-secondary-fields label select,.brightcove.video-edit .caption-secondary-fields label span{margin:0;min-width:100%;text-align:left;width:100%}.brightcove.video-edit .caption-secondary-fields label input[type=checkbox]{margin:auto}.playlist-edit.brightcove.attachment-details{width:100%;height:auto;margin-right:0;float:none;overflow:hidden;padding:20px;box-sizing:border-box}.playlist-edit.brightcove.attachment-details .settings{max-width:50%;margin-bottom:20px}.playlist-edit.brightcove.attachment-details .playlist-name{font-weight:700}.playlist-edit.brightcove.attachment-details .playlist-name span{display:inline-block;margin-right:20px;margin-left:10px}.playlist-edit.brightcove.attachment-details .playlist-name input{width:65%}.playlist-edit.brightcove.attachment-details .playlist-videos-list{border-right:1px solid #ddd;clear:both}.playlist-edit.brightcove.attachment-details .playlist-add-videos-list,.playlist-edit.brightcove.attachment-details .playlist-videos-list{width:50%;float:left;box-sizing:border-box}.playlist-edit.brightcove.attachment-details .playlist-add-videos-list h2,.playlist-edit.brightcove.attachment-details .playlist-videos-list h2{margin-bottom:0;padding-bottom:10px;padding-left:10px;border-bottom:1px solid #ddd}.playlist-edit.brightcove.attachment-details .playlist-add-videos-list ul,.playlist-edit.brightcove.attachment-details .playlist-videos-list ul{height:450px;overflow:auto}.playlist-edit.brightcove.attachment-details .playlist-add-videos-list .attachment,.playlist-edit.brightcove.attachment-details .playlist-videos-list .attachment{width:100%!important}.playlist-edit.brightcove.attachment-details .playlist-add-videos-list .thumbnail,.playlist-edit.brightcove.attachment-details .playlist-videos-list .thumbnail{width:162px;float:left}.playlist-edit.brightcove.attachment-details .playlist-add-videos-list .bc-info,.playlist-edit.brightcove.attachment-details .playlist-videos-list .bc-info{clear:none;float:left;margin-left:10px}.playlist-edit.brightcove.attachment-details .playlist-add-videos-list .row-actions,.playlist-edit.brightcove.attachment-details .playlist-videos-list .row-actions{visibility:visible;clear:both;display:block;text-align:left;position:relative;left:auto}.brightcove-labels-column{padding:8px} \ No newline at end of file diff --git a/assets/scss/components/_modals.scss b/assets/scss/components/_modals.scss index 9e4a5166..3487e698 100644 --- a/assets/scss/components/_modals.scss +++ b/assets/scss/components/_modals.scss @@ -25,6 +25,7 @@ .media-toolbar-primary.search-form{ input[type=search] { float: left; + margin: 0; padding-bottom: 0px; width: 200px; } From 8b0bb8b6304d8731629448f60343dde349966bbd Mon Sep 17 00:00:00 2001 From: "mohammed.razzaq" Date: Thu, 15 Feb 2024 17:17:42 +0530 Subject: [PATCH 11/23] Assign the value to a variable --- includes/admin/class-bc-admin-labels-page.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/includes/admin/class-bc-admin-labels-page.php b/includes/admin/class-bc-admin-labels-page.php index d95a38ae..a06475fb 100644 --- a/includes/admin/class-bc-admin-labels-page.php +++ b/includes/admin/class-bc-admin-labels-page.php @@ -35,6 +35,7 @@ public function __construct() { * Renders html of the edit labels page */ public function render_edit_label_page() { + $label_name = $_GET['update_label'] ?? ''; ?>

@@ -46,13 +47,13 @@ public function render_edit_label_page() {
- + - + From ccd400653533d9ec2cdddea22c8def9879f4a554 Mon Sep 17 00:00:00 2001 From: "mohammed.razzaq" Date: Thu, 15 Feb 2024 17:46:46 +0530 Subject: [PATCH 12/23] Feedback added --- includes/admin/class-bc-templates.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/admin/class-bc-templates.php b/includes/admin/class-bc-templates.php index 46e3d437..cb3b6ec8 100644 --- a/includes/admin/class-bc-templates.php +++ b/includes/admin/class-bc-templates.php @@ -21,7 +21,8 @@ public function __construct() { * Adds all templates for Backbone application */ public function add_templates() { - global $pagenow; ?> + global $pagenow; + ?>
- +