From a224f64b9d83bfe3ac77e25360c64191c2b7f3e9 Mon Sep 17 00:00:00 2001 From: sunmu Date: Mon, 31 May 2021 13:56:16 +0800 Subject: [PATCH 1/2] Remove video upload URL --- .../PLShortVideoKitDemo/PlayViewController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ShortVideoFunctionDemo/PLShortVideoKitDemo/PlayViewController.m b/ShortVideoFunctionDemo/PLShortVideoKitDemo/PlayViewController.m index 458dff0b..05a26782 100644 --- a/ShortVideoFunctionDemo/PLShortVideoKitDemo/PlayViewController.m +++ b/ShortVideoFunctionDemo/PLShortVideoKitDemo/PlayViewController.m @@ -16,8 +16,8 @@ #define PLS_BaseToolboxView_HEIGHT 64 #define PLS_EditToolboxView_HEIGHT 50 -static NSString *const kUploadToken = @"QxZugR8TAhI38AiJ_cptTl3RbzLyca3t-AAiH-Hh:3hK7jJJQKwmemseSwQ1duO5AXOw=:eyJzY29wZSI6InNhdmUtc2hvcnQtdmlkZW8tZnJvbS1kZW1vIiwiZGVhZGxpbmUiOjM1NTk2OTU4NzYsInVwaG9zdHMiOlsiaHR0cDovL3VwLXoyLnFpbml1LmNvbSIsImh0dHA6Ly91cGxvYWQtejIucWluaXUuY29tIiwiLUggdXAtejIucWluaXUuY29tIGh0dHA6Ly8xNC4xNTIuMzcuNCJdfQ=="; -static NSString *const kURLPrefix = @"http://panm32w98.bkt.clouddn.com"; +static NSString *const kUploadToken = @"YOUR TOKEN"; +static NSString *const kURLPrefix = @"YOUR URL"; @interface PlayViewController () < From 7c86ec142dce9e776df12f534321d82596ee6ad8 Mon Sep 17 00:00:00 2001 From: sunmu Date: Mon, 31 May 2021 14:45:01 +0800 Subject: [PATCH 2/2] Add comments --- .../PLShortVideoKitDemo/PlayViewController.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ShortVideoFunctionDemo/PLShortVideoKitDemo/PlayViewController.m b/ShortVideoFunctionDemo/PLShortVideoKitDemo/PlayViewController.m index 05a26782..559f17c2 100644 --- a/ShortVideoFunctionDemo/PLShortVideoKitDemo/PlayViewController.m +++ b/ShortVideoFunctionDemo/PLShortVideoKitDemo/PlayViewController.m @@ -16,6 +16,9 @@ #define PLS_BaseToolboxView_HEIGHT 64 #define PLS_EditToolboxView_HEIGHT 50 +// 如何生成 TOKEN:https://developer.qiniu.com/kodo/1208/upload-token +#warning 填写自己的请求上传 token,上传自己的空间 + static NSString *const kUploadToken = @"YOUR TOKEN"; static NSString *const kURLPrefix = @"YOUR URL";