public static function format_background( $value, $post_id, $field ) {
		if ( self::BACKGROUND !== $field['key'] ) {
			return $value;
		}

		$new_value = [];

		foreach ( $value as $index => $item ) {
			$new_value[ $index ] = [
				'type' => $item['type'],
			];

			if ( 'images' === $item['type'] ) {
				$new_value[ $index ]['images'] = $item['images'];
			}

			if ( 'video' === $item['type'] ) {
				$new_value[ $index ]['video'] = 'file' === $field['sub_fields'][2]['type']
					? $item['video'] : Utils::get_video_embed_url( $item['video'] );
				$new_value[ $index ]['fallback_image'] = $item['fallback_image'];
			}
		}

		return $new_value;
	}