Changeset 2768723
- Timestamp:
- 08/10/2022 07:52:28 AM (4 years ago)
- Location:
- tencentcloud-vod
- Files:
-
- 4 deleted
- 16 edited
- 1 copied
-
tags/1.0.4 (copied) (copied from tencentcloud-vod/trunk)
-
tags/1.0.4/TencentCloudVodActions.php (modified) (2 diffs)
-
tags/1.0.4/TencentCloudVodOptions.php (modified) (2 diffs)
-
tags/1.0.4/TencentCloudVodSettingPage.php (modified) (1 diff)
-
tags/1.0.4/css/tcplayer.css (deleted)
-
tags/1.0.4/js/vod-js-sdk-v6.js (deleted)
-
tags/1.0.4/readme.txt (modified) (2 diffs)
-
tags/1.0.4/tencentcloud-vod.php (modified) (2 diffs)
-
tags/1.0.4/uninstall.php (modified) (1 diff)
-
tags/1.0.4/vendor/symfony/polyfill-intl-idn/bootstrap80.php (modified) (1 diff)
-
tags/1.0.4/vendor/symfony/polyfill-intl-normalizer/bootstrap80.php (modified) (1 diff)
-
trunk/TencentCloudVodActions.php (modified) (2 diffs)
-
trunk/TencentCloudVodOptions.php (modified) (2 diffs)
-
trunk/TencentCloudVodSettingPage.php (modified) (1 diff)
-
trunk/css/tcplayer.css (deleted)
-
trunk/js/vod-js-sdk-v6.js (deleted)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/tencentcloud-vod.php (modified) (2 diffs)
-
trunk/uninstall.php (modified) (1 diff)
-
trunk/vendor/symfony/polyfill-intl-idn/bootstrap80.php (modified) (1 diff)
-
trunk/vendor/symfony/polyfill-intl-normalizer/bootstrap80.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tencentcloud-vod/tags/1.0.4/TencentCloudVodActions.php
r2552077 r2768723 1 1 <?php 2 2 /* 3 * Copyright (C) 202 0Tencent Cloud.3 * Copyright (C) 2021 Tencent Cloud. 4 4 * 5 5 * Licensed under the Apache License, Version 2.0 (the "License"); … … 237 237 return 'SDKAppId 未填写.'; 238 238 } 239 if (empty($transcode)) {240 return '是否转码未填写.';241 }242 239 return true; 243 240 } -
tencentcloud-vod/tags/1.0.4/TencentCloudVodOptions.php
r2552077 r2768723 1 1 <?php 2 2 /* 3 * Copyright (C) 202 0Tencent Cloud.3 * Copyright (C) 2021 Tencent Cloud. 4 4 * 5 5 * Licensed under the Apache License, Version 2.0 (the "License"); … … 59 59 60 60 public function setTranscode($transcode) { 61 if ( empty($transcode)) { 62 wp_send_json_error(array('msg' => 'transcode不能为空')); 63 // throw new \Exception('transcode不能为空'); 61 if ( !in_array($transcode, array(self::DO_NOT_TRANSCODE, self::HLS_TRANSCODE)) ) { 62 wp_send_json_error(array('msg' => '开启自适应码流传参错误')); 64 63 } 65 64 $this->transcode = intval($transcode); -
tencentcloud-vod/tags/1.0.4/TencentCloudVodSettingPage.php
r2552077 r2768723 1 1 <?php 2 2 /* 3 * Copyright (C) 202 0Tencent Cloud.3 * Copyright (C) 2021 Tencent Cloud. 4 4 * 5 5 * Licensed under the Apache License, Version 2.0 (the "License"); -
tencentcloud-vod/tags/1.0.4/readme.txt
r2552077 r2768723 6 6 Requires at least: 4.5.0 7 7 Tested up to: 5.7 8 Stable tag: 1.0. 38 Stable tag: 1.0.4 9 9 License:Apache 2.0 10 10 License URI:http://www.apache.org/licenses/LICENSE-2.0 … … 45 45 * 3、change remote call curl_init to wp_remote_post; 46 46 * 4、modify generic function/class/define/namespace names; 47 * 5、remove redundant style and script files 47 48 = 1.0.3 = 49 * 1、remove redundant script and style files; 50 51 = 1.0.4 = 52 * 1. fixed an issue where the adaptive stream option could not be turned off; -
tencentcloud-vod/tags/1.0.4/tencentcloud-vod.php
r2552077 r2768723 4 4 * Plugin URI: https://wordpress.org/plugins/tencentcloud-vod 5 5 * Description: 通过腾讯云云点播技术,为有音视频应用相关需求的客户提供包括音视频存储管理、音视频转码处理、音视频加速播放和音视频通信服务的一站式解决方案。 6 * Version: 1.0. 36 * Version: 1.0.4 7 7 * Author: 腾讯云 8 8 * Author URI: https://www.tencent.com/ 9 * Copyright (C) 202 0Tencent Cloud.9 * Copyright (C) 2021 Tencent Cloud. 10 10 * 11 11 * Licensed under the Apache License, Version 2.0 (the "License"); … … 21 21 * limitations under the License. 22 22 */ 23 define('TENCENT_WORDPRESS_VOD_VERSION', '1.0. 3');23 define('TENCENT_WORDPRESS_VOD_VERSION', '1.0.4'); 24 24 define('TENCENT_WORDPRESS_VOD_DIR', plugin_dir_path(__FILE__)); 25 25 define('TENCNET_WORDPRESS_VOD_BASENAME', plugin_basename(__FILE__)); -
tencentcloud-vod/tags/1.0.4/uninstall.php
r2552077 r2768723 1 1 <?php 2 2 /* 3 * Copyright (C) 202 0Tencent Cloud.3 * Copyright (C) 2021 Tencent Cloud. 4 4 * 5 5 * Licensed under the Apache License, Version 2.0 (the "License"); -
tencentcloud-vod/tags/1.0.4/vendor/symfony/polyfill-intl-idn/bootstrap80.php
r2552077 r2768723 122 122 123 123 if (!function_exists('idn_to_ascii')) { 124 function idn_to_ascii(?string $domain, ?int $flags = 0, ?int $variant = INTL_IDNA_VARIANT_UTS46, &$idna_info = null) { return p\Idn::idn_to_ascii((string) $domain, (int) $flags, (int) $variant, $idna_info); }124 function idn_to_ascii(?string $domain, ?int $flags = 0, ?int $variant = INTL_IDNA_VARIANT_UTS46, &$idna_info = null): string|false { return p\Idn::idn_to_ascii((string) $domain, (int) $flags, (int) $variant, $idna_info); } 125 125 } 126 126 if (!function_exists('idn_to_utf8')) { 127 function idn_to_utf8(?string $domain, ?int $flags = 0, ?int $variant = INTL_IDNA_VARIANT_UTS46, &$idna_info = null) { return p\Idn::idn_to_utf8((string) $domain, (int) $flags, (int) $variant, $idna_info); }127 function idn_to_utf8(?string $domain, ?int $flags = 0, ?int $variant = INTL_IDNA_VARIANT_UTS46, &$idna_info = null): string|false { return p\Idn::idn_to_utf8((string) $domain, (int) $flags, (int) $variant, $idna_info); } 128 128 } -
tencentcloud-vod/tags/1.0.4/vendor/symfony/polyfill-intl-normalizer/bootstrap80.php
r2552077 r2768723 13 13 14 14 if (!function_exists('normalizer_is_normalized')) { 15 function normalizer_is_normalized(?string $string, ?int $form = p\Normalizer::FORM_C) { return p\Normalizer::isNormalized((string) $string, (int) $form); }15 function normalizer_is_normalized(?string $string, ?int $form = p\Normalizer::FORM_C): bool { return p\Normalizer::isNormalized((string) $string, (int) $form); } 16 16 } 17 17 if (!function_exists('normalizer_normalize')) { 18 function normalizer_normalize(?string $string, ?int $form = p\Normalizer::FORM_C) { return p\Normalizer::normalize((string) $string, (int) $form); }18 function normalizer_normalize(?string $string, ?int $form = p\Normalizer::FORM_C): string|false { return p\Normalizer::normalize((string) $string, (int) $form); } 19 19 } -
tencentcloud-vod/trunk/TencentCloudVodActions.php
r2552077 r2768723 1 1 <?php 2 2 /* 3 * Copyright (C) 202 0Tencent Cloud.3 * Copyright (C) 2021 Tencent Cloud. 4 4 * 5 5 * Licensed under the Apache License, Version 2.0 (the "License"); … … 237 237 return 'SDKAppId 未填写.'; 238 238 } 239 if (empty($transcode)) {240 return '是否转码未填写.';241 }242 239 return true; 243 240 } -
tencentcloud-vod/trunk/TencentCloudVodOptions.php
r2552077 r2768723 1 1 <?php 2 2 /* 3 * Copyright (C) 202 0Tencent Cloud.3 * Copyright (C) 2021 Tencent Cloud. 4 4 * 5 5 * Licensed under the Apache License, Version 2.0 (the "License"); … … 59 59 60 60 public function setTranscode($transcode) { 61 if ( empty($transcode)) { 62 wp_send_json_error(array('msg' => 'transcode不能为空')); 63 // throw new \Exception('transcode不能为空'); 61 if ( !in_array($transcode, array(self::DO_NOT_TRANSCODE, self::HLS_TRANSCODE)) ) { 62 wp_send_json_error(array('msg' => '开启自适应码流传参错误')); 64 63 } 65 64 $this->transcode = intval($transcode); -
tencentcloud-vod/trunk/TencentCloudVodSettingPage.php
r2552077 r2768723 1 1 <?php 2 2 /* 3 * Copyright (C) 202 0Tencent Cloud.3 * Copyright (C) 2021 Tencent Cloud. 4 4 * 5 5 * Licensed under the Apache License, Version 2.0 (the "License"); -
tencentcloud-vod/trunk/readme.txt
r2552077 r2768723 6 6 Requires at least: 4.5.0 7 7 Tested up to: 5.7 8 Stable tag: 1.0. 38 Stable tag: 1.0.4 9 9 License:Apache 2.0 10 10 License URI:http://www.apache.org/licenses/LICENSE-2.0 … … 45 45 * 3、change remote call curl_init to wp_remote_post; 46 46 * 4、modify generic function/class/define/namespace names; 47 * 5、remove redundant style and script files 47 48 = 1.0.3 = 49 * 1、remove redundant script and style files; 50 51 = 1.0.4 = 52 * 1. fixed an issue where the adaptive stream option could not be turned off; -
tencentcloud-vod/trunk/tencentcloud-vod.php
r2552077 r2768723 4 4 * Plugin URI: https://wordpress.org/plugins/tencentcloud-vod 5 5 * Description: 通过腾讯云云点播技术,为有音视频应用相关需求的客户提供包括音视频存储管理、音视频转码处理、音视频加速播放和音视频通信服务的一站式解决方案。 6 * Version: 1.0. 36 * Version: 1.0.4 7 7 * Author: 腾讯云 8 8 * Author URI: https://www.tencent.com/ 9 * Copyright (C) 202 0Tencent Cloud.9 * Copyright (C) 2021 Tencent Cloud. 10 10 * 11 11 * Licensed under the Apache License, Version 2.0 (the "License"); … … 21 21 * limitations under the License. 22 22 */ 23 define('TENCENT_WORDPRESS_VOD_VERSION', '1.0. 3');23 define('TENCENT_WORDPRESS_VOD_VERSION', '1.0.4'); 24 24 define('TENCENT_WORDPRESS_VOD_DIR', plugin_dir_path(__FILE__)); 25 25 define('TENCNET_WORDPRESS_VOD_BASENAME', plugin_basename(__FILE__)); -
tencentcloud-vod/trunk/uninstall.php
r2552077 r2768723 1 1 <?php 2 2 /* 3 * Copyright (C) 202 0Tencent Cloud.3 * Copyright (C) 2021 Tencent Cloud. 4 4 * 5 5 * Licensed under the Apache License, Version 2.0 (the "License"); -
tencentcloud-vod/trunk/vendor/symfony/polyfill-intl-idn/bootstrap80.php
r2552077 r2768723 122 122 123 123 if (!function_exists('idn_to_ascii')) { 124 function idn_to_ascii(?string $domain, ?int $flags = 0, ?int $variant = INTL_IDNA_VARIANT_UTS46, &$idna_info = null) { return p\Idn::idn_to_ascii((string) $domain, (int) $flags, (int) $variant, $idna_info); }124 function idn_to_ascii(?string $domain, ?int $flags = 0, ?int $variant = INTL_IDNA_VARIANT_UTS46, &$idna_info = null): string|false { return p\Idn::idn_to_ascii((string) $domain, (int) $flags, (int) $variant, $idna_info); } 125 125 } 126 126 if (!function_exists('idn_to_utf8')) { 127 function idn_to_utf8(?string $domain, ?int $flags = 0, ?int $variant = INTL_IDNA_VARIANT_UTS46, &$idna_info = null) { return p\Idn::idn_to_utf8((string) $domain, (int) $flags, (int) $variant, $idna_info); }127 function idn_to_utf8(?string $domain, ?int $flags = 0, ?int $variant = INTL_IDNA_VARIANT_UTS46, &$idna_info = null): string|false { return p\Idn::idn_to_utf8((string) $domain, (int) $flags, (int) $variant, $idna_info); } 128 128 } -
tencentcloud-vod/trunk/vendor/symfony/polyfill-intl-normalizer/bootstrap80.php
r2552077 r2768723 13 13 14 14 if (!function_exists('normalizer_is_normalized')) { 15 function normalizer_is_normalized(?string $string, ?int $form = p\Normalizer::FORM_C) { return p\Normalizer::isNormalized((string) $string, (int) $form); }15 function normalizer_is_normalized(?string $string, ?int $form = p\Normalizer::FORM_C): bool { return p\Normalizer::isNormalized((string) $string, (int) $form); } 16 16 } 17 17 if (!function_exists('normalizer_normalize')) { 18 function normalizer_normalize(?string $string, ?int $form = p\Normalizer::FORM_C) { return p\Normalizer::normalize((string) $string, (int) $form); }18 function normalizer_normalize(?string $string, ?int $form = p\Normalizer::FORM_C): string|false { return p\Normalizer::normalize((string) $string, (int) $form); } 19 19 }
Note: See TracChangeset
for help on using the changeset viewer.